/* --- style_vtuber_premium.css (Holographic Neon Ver. 3.0) --- */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

/* ========================================
   0. Keyframes & Animations
   ======================================== */

/* neon-pulse animation removed - no pulsing effect */

@keyframes holographic-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes float-up {
    0% {
        transform: translateY(0px);
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100px);
        opacity: 0;
    }
}

@keyframes glow-text {

    0%,
    100% {
        text-shadow:
            0 0 5px currentColor,
            0 0 10px currentColor;
    }

    50% {
        text-shadow:
            0 0 10px currentColor,
            0 0 20px currentColor,
            0 0 30px currentColor;
    }
}

@keyframes border-flow {
    0% {
        border-image-source: linear-gradient(90deg, #ff0055, #00ffcc, #bd00ff, #ff0055);
    }

    25% {
        border-image-source: linear-gradient(90deg, #00ffcc, #bd00ff, #ff0055, #00ffcc);
    }

    50% {
        border-image-source: linear-gradient(90deg, #bd00ff, #ff0055, #00ffcc, #bd00ff);
    }

    75% {
        border-image-source: linear-gradient(90deg, #ff0055, #00ffcc, #bd00ff, #ff0055);
    }

    100% {
        border-image-source: linear-gradient(90deg, #00ffcc, #bd00ff, #ff0055, #00ffcc);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* ========================================
   1. Base & Reset
   ======================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --bg-dark: #0a0a0f;
    --bg-card: rgba(15, 15, 20, 0.85);
    --primary: #ff0055;
    --secondary: #00ffcc;
    --tertiary: #bd00ff;
    --accent-pink: #ff1493;
    --accent-blue: #00d4ff;
    --accent-purple: #9d00ff;
    --text-main: #f0f0f0;
    --text-dim: #888;
    --gold: #ffd700;
    --border-glow: rgba(255, 255, 255, 0.1);
}

html {
    width: 100%;
    overflow-x: hidden;
    background-color: var(--bg-dark);
}

body {
    font-family: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background:
        radial-gradient(ellipse at top, rgba(189, 0, 255, 0.15), transparent 50%),
        radial-gradient(ellipse at bottom, rgba(0, 255, 204, 0.1), transparent 50%),
        linear-gradient(180deg, #0a0a0f 0%, #050508 100%);
    background-attachment: fixed;
    color: var(--text-main);
    margin: 0;
    padding: 0 0 80px 0;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    position: relative;
}

/* Floating particles effect */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(255, 0, 85, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(0, 255, 204, 0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(189, 0, 255, 0.3), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.3), transparent);
    background-size: 200% 200%;
    background-position: 0% 0%;
    animation: holographic-shift 20s ease infinite;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ========================================
   2. Header: Holographic Interface
   ======================================== */

.header-container {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--primary), var(--secondary), var(--tertiary), var(--primary)) 1;
    padding: 40px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-title h1 {
    font-size: 1.5rem;
    margin: 0;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--tertiary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 900;
    animation: holographic-shift 3s linear infinite, glow-text 2s ease-in-out infinite;
    display: inline-block;
}

.header-title .meta {
    font-size: 0.7rem;
    color: var(--secondary);
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px var(--secondary);
    margin-top: 5px;
    letter-spacing: 0.1em;
}

/* ========================================
   3. Navigation: Neon Pills
   ======================================== */

.scroll-nav {
    display: flex;
    overflow-x: auto;
    padding: 15px 10px;
    gap: 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

.scroll-nav::-webkit-scrollbar {
    height: 4px;
}

.scroll-nav::-webkit-scrollbar-track {
    background: transparent;
}

.scroll-nav::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 2px;
}

.pill {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: rgba(20, 20, 25, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #888;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
}

.pill::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.pill:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.3);
    transform: translateY(-2px);
}

.pill:hover::before {
    left: 100%;
}

.pill.active {
    background: linear-gradient(135deg, rgba(255, 0, 85, 0.2), rgba(189, 0, 255, 0.2));
    border-color: var(--primary);
    color: var(--primary);
    box-shadow:
        0 0 20px rgba(255, 0, 85, 0.5),
        inset 0 0 20px rgba(255, 0, 85, 0.1);
    text-shadow: 0 0 10px var(--primary);
    --glow-color: var(--primary);
}

/* ========================================
   4. Main Container
   ======================================== */

.main-container {
    max-width: 800px;
    margin: 50px auto 0;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

/* ========================================
   5. Cards: Holographic Data Panels
   ======================================== */

.card {
    background: linear-gradient(135deg,
            rgba(20, 20, 25, 0.95),
            rgba(15, 15, 20, 0.98));
    border: 2px solid rgba(255, 255, 255, 0.1);
    margin: 0 0 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-color), transparent);
    box-shadow: 0 0 15px var(--accent-color);
    z-index: 1;
}

.card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0.5;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-color);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(var(--accent-color-rgb), 0.3);
}

.card-main {
    padding: 20px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* ========================================
   6. Rank Display
   ======================================== */

.rank-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    position: relative;
    flex-shrink: 0;
}

.rank-num {
    font-size: 2rem;
    font-weight: 900;
    font-style: italic;
    color: var(--text-dim);
    text-shadow: 0 0 10px currentColor;
    position: relative;
    z-index: 1;
}

.rank-1 .rank-num {
    color: var(--primary);
    text-shadow:
        0 0 10px var(--primary),
        0 0 20px var(--primary),
        0 0 30px var(--primary);
}

.rank-2 .rank-num {
    color: var(--secondary);
    text-shadow:
        0 0 10px var(--secondary),
        0 0 20px var(--secondary);
}

.rank-3 .rank-num {
    color: var(--tertiary);
    text-shadow:
        0 0 10px var(--tertiary),
        0 0 20px var(--tertiary);
}

/* ========================================
   7. Profile Thumbnail
   ======================================== */

.rank-thumb,
.rank-thumb-img {
    width: 60px;
    height: 60px;
    border: 3px solid var(--accent-color);
    border-radius: 12px;
    box-shadow:
        0 0 15px var(--accent-color),
        inset 0 0 10px rgba(0, 0, 0, 0.5);
    margin-right: 15px;
    object-fit: cover;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
}

.rank-thumb:hover,
.rank-thumb-img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow:
        0 0 25px var(--accent-color),
        0 0 35px var(--accent-color);
}

/* ========================================
   8. Profile Info
   ======================================== */

.profile {
    flex: 1;
    min-width: 0;
}

.name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    text-shadow:
        0 0 5px rgba(255, 255, 255, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.5);
    background: linear-gradient(90deg, #fff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sub-info {
    font-size: 0.65rem;
    color: var(--secondary);
    font-family: 'Courier New', monospace;
    background: rgba(0, 255, 204, 0.1);
    display: inline-block;
    padding: 3px 8px;
    border: 1px solid var(--secondary);
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.2);
    letter-spacing: 0.05em;
}

/* ========================================
   9. Stats Grid
   ======================================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 8px 8px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-box:hover {
    border-color: var(--secondary);
    box-shadow:
        0 0 15px rgba(0, 255, 204, 0.3),
        inset 0 0 15px rgba(0, 255, 204, 0.1);
    background: rgba(0, 255, 204, 0.05);
    transform: translateY(-2px);
}

.stat-box:hover::before {
    opacity: 1;
}

.stat-label {
    font-size: 0.6rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
    font-weight: 600;
}

.stat-val {
    font-size: 1rem;
    color: #fff;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.unit {
    font-size: 0.7em;
    color: var(--primary);
    margin-left: 2px;
}

/* ========================================
   10. Main Metric Display
   ======================================== */

.main-metric {
    text-align: right;
    min-width: 100px;
    margin-left: auto;
    flex-shrink: 0;
}

.metric-val {
    font-size: 1.5rem;
    color: #fff !important;
    text-shadow:
        0 0 10px var(--accent-color),
        0 0 20px var(--accent-color),
        0 2px 4px rgba(0, 0, 0, 0.5);
    font-family: "Courier New", monospace;
    font-weight: 900;
    display: inline-block;
    background: linear-gradient(135deg, #fff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    margin-top: 4px;
    font-size: 0.6rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
}

/* ========================================
   11. Stream Cards (Daily/Realtime)
   ======================================== */

.stream-rank-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg,
            rgba(20, 20, 25, 0.95),
            rgba(15, 15, 20, 0.98));
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stream-rank-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--secondary), var(--tertiary));
    box-shadow: 0 0 10px var(--primary);
}

.stream-rank-card:hover {
    transform: translateY(-3px);
    border-color: var(--secondary);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(0, 255, 204, 0.2);
}

.rank-thumb-wrapper {
    position: relative;
    width: 160px;
    min-width: 160px;
    height: 90px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.stream-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.stream-rank-card:hover .stream-thumb-img {
    transform: scale(1.05);
}

.rank-badge-overlay {
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 4px 10px;
    font-weight: 900;
    font-size: 0.9rem;
    z-index: 2;
    border-radius: 4px;
    border: 1px solid var(--primary);
    box-shadow: 0 0 10px rgba(255, 0, 85, 0.5);
    text-shadow: 0 0 5px var(--primary);
}

.time-badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.9);
    color: var(--secondary);
    border: 1px solid var(--secondary);
    font-family: 'Courier New', monospace;
    padding: 2px 6px;
    font-size: 0.7rem;
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(0, 255, 204, 0.5);
}

.stream-info-col {
    flex: 1;
    min-width: 0;
    padding: 0 10px;
}

.streamer-name-text {
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 4px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 0 8px currentColor;
}

.stream-title-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: #f0f0f0;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.stream-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.75rem;
    opacity: 0.95;
    align-items: center;
}

.stream-stats-row span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    white-space: nowrap;
}

.stream-stats-row i {
    font-size: 0.85em;
    opacity: 0.8;
}

.member-icon-col img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stream-rank-card:hover .member-icon-col img {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* ========================================
   12. Hero Section (Live/Next Streams)
   ======================================== */

.hero-section-title {
    font-size: 1.3rem;
    font-weight: 900;
    margin: 30px 0 15px;
    padding-left: 15px;
    border-left: 4px solid var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px var(--primary);
    position: relative;
}

.hero-section-title i {
    margin-right: 10px;
    color: var(--primary);
    filter: drop-shadow(0 0 10px var(--primary));
}

.stream-scroll-box {
    overflow-x: auto;
    padding-bottom: 20px;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

.stream-scroll-box::-webkit-scrollbar {
    height: 6px;
}

.stream-scroll-box::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.stream-scroll-box::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
    box-shadow: 0 0 10px var(--primary);
}

.hero-grid {
    display: flex;
    gap: 20px;
    padding: 0 10px;
    list-style: none;
    margin: 0;
}

.hero-grid li {
    flex: 0 0 320px;
}

.hero-card {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(20, 20, 25, 0.9), rgba(15, 15, 20, 0.95));
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-card:hover {
    border-color: var(--primary);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(255, 0, 85, 0.3);
    transform: translateY(-4px);
}

.hero-card:hover::before {
    opacity: 1;
}

.hero-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    margin-right: 15px;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.5);
    transition: all 0.3s ease;
}

.hero-card:hover .hero-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 25px rgba(255, 0, 85, 0.8);
}

.hero-content {
    flex: 1;
    min-width: 0;
}

.hero-title {
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    color: var(--text-dim);
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

.status-pill {
    font-size: 0.65rem;
    padding: 3px 8px;
    font-weight: 800;
    border: 1px solid transparent;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pill-live {
    background: rgba(255, 0, 85, 0.2);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 10px rgba(255, 0, 85, 0.5);
    text-shadow: 0 0 5px var(--primary);
    --glow-color: var(--primary);
}

.pill-next {
    background: rgba(0, 255, 204, 0.2);
    border-color: var(--secondary);
    color: var(--secondary);
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
    text-shadow: 0 0 5px var(--secondary);
}

/* ========================================
   13. Date Navigation
   ======================================== */

.date-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-weight: 800;
    padding: 15px;
    background: rgba(20, 20, 25, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.date-nav a {
    color: var(--secondary);
    text-decoration: none;
    padding: 0 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.date-nav a:hover {
    color: var(--primary);
    text-shadow: 0 0 15px var(--primary);
    transform: scale(1.2);
}

.date-nav span {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
}

/* ========================================
   14. Ranking Card Detailed (Profile Mode)
   ======================================== */

.ranking-card-detailed {
    background: linear-gradient(135deg, rgba(20, 20, 25, 0.95), rgba(15, 15, 20, 0.98));
    border: 2px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.ranking-card-detailed::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-color), transparent);
    box-shadow: 0 0 15px var(--accent-color);
}

.ranking-card-detailed:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.7),
        0 0 25px rgba(var(--accent-color-rgb), 0.3);
}

.rc-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rc-rank {
    font-size: 1.8rem;
    font-weight: 900;
    width: 50px;
    text-align: center;
    margin-right: 15px;
    color: var(--text-dim);
    text-shadow: 0 0 10px currentColor;
}

.rk-1 .rc-rank {
    color: var(--primary);
    text-shadow: 0 0 15px var(--primary), 0 0 25px var(--primary);
}

.rk-2 .rc-rank {
    color: var(--secondary);
    text-shadow: 0 0 15px var(--secondary);
}

.rk-3 .rc-rank {
    color: var(--tertiary);
    text-shadow: 0 0 15px var(--tertiary);
}

.rc-thumb {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    margin-right: 15px;
    box-shadow: 0 0 15px var(--accent-color);
    transition: all 0.3s ease;
}

.ranking-card-detailed:hover .rc-thumb {
    transform: scale(1.1);
    box-shadow: 0 0 25px var(--accent-color);
}

.rc-info {
    flex: 1;
    min-width: 0;
}

.rc-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.rc-diff {
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    font-weight: 700;
    margin-top: 4px;
    box-shadow: 0 0 10px currentColor;
}

.rc-love-area {
    text-align: right;
    margin-left: auto;
}

.rc-love-val {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 15px var(--accent-color);
    font-family: 'Courier New', monospace;
}

.rc-love-label {
    font-size: 0.65rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
    font-weight: 600;
}

.rc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
}

.rc-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.rc-box:hover {
    border-color: var(--secondary);
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.2);
    background: rgba(0, 255, 204, 0.05);
    transform: translateY(-2px);
}

.rc-box-label {
    font-size: 0.6rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
    font-weight: 600;
}

.rc-box-val {
    font-size: 0.95rem;
    color: #fff;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.rc-unit-small {
    font-size: 0.7em;
    color: var(--primary);
}

/* ========================================
   15. Daily Ratio Card (Special Design)
   ======================================== */

.ranking-card-daily-ratio {
    background: linear-gradient(135deg, rgba(20, 20, 25, 0.95), rgba(15, 15, 20, 0.98));
    border: 2px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ranking-card-daily-ratio:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.7),
        0 0 25px rgba(var(--accent-color-rgb), 0.3);
}

.ratio-val-high {
    color: #fbbf24 !important;
    text-shadow: 0 0 15px #fbbf24 !important;
}

.ratio-val-low {
    color: #3b82f6 !important;
    text-shadow: 0 0 15px #3b82f6 !important;
}

/* ========================================
   16. Footer
   ======================================== */

.footer-copy {
    color: #444;
    font-size: 0.7rem;
    font-family: 'Courier New', monospace;
    text-align: center;
    padding: 30px 20px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ========================================
   17. No Data Message
   ======================================== */

.no-data-msg {
    text-align: center;
    padding: 60px 20px;
    font-size: 1.1rem;
    color: var(--text-dim);
    background: rgba(20, 20, 25, 0.8);
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin: 40px 0;
}

/* ========================================
   18. Responsive Design
   ======================================== */

@media (max-width: 768px) {
    .header-title h1 {
        font-size: 1.2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rc-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rank-thumb-wrapper {
        width: 120px;
        height: 68px;
    }

    .hero-grid li {
        flex: 0 0 280px;
    }
}

@media (max-width: 480px) {
    .pill {
        padding: 8px 15px;
        font-size: 0.7rem;
    }

    .rank-num {
        font-size: 1.5rem;
    }

    .name {
        font-size: 1rem;
    }

    .metric-val {
        font-size: 1.2rem;
    }
}

/* ========================================
   19. Utility Classes
   ======================================== */

.text-glow-primary {
    text-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary);
}

.text-glow-secondary {
    text-shadow: 0 0 10px var(--secondary), 0 0 20px var(--secondary);
}

.text-glow-tertiary {
    text-shadow: 0 0 10px var(--tertiary), 0 0 20px var(--tertiary);
}

.border-glow {
    box-shadow: 0 0 15px currentColor;
}