/* recycle.reviews - Maximalist Futurism HUD Design */
/* Colors: #1a1a2e (deep base), #4a90d9 (primary blue), #f5f0e8 (warm off-white), #e8b84b (accent gold), #6c757d (muted gray) */
/* Fonts: Nunito (rounded sans), Fredoka (display) */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: #1a1a2e;
    color: #f5f0e8;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Neon Glow Text Effect */
.glow-text {
    color: #4a90d9;
    text-shadow: 0 0 10px rgba(74, 144, 217, 0.5), 0 0 20px rgba(74, 144, 217, 0.3), 0 0 40px rgba(74, 144, 217, 0.15);
}

/* Blob Background */
#blob-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#blob-bg svg {
    width: 100%;
    height: 100%;
}

.blob {
    animation: blobFloat 20s ease-in-out infinite;
}

.blob-2 {
    animation-delay: -7s;
    animation-duration: 25s;
}

.blob-3 {
    animation-delay: -14s;
    animation-duration: 22s;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -30px) scale(1.05); }
    50% { transform: translate(-15px, 20px) scale(0.95); }
    75% { transform: translate(25px, 15px) scale(1.02); }
}

/* Path Overlay SVG */
#path-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.connect-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 2s ease-out;
}

.connect-line.revealed {
    stroke-dashoffset: 0;
}

/* HUD Navigation */
#hud-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(74, 144, 217, 0.2);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    display: flex;
    align-items: center;
}

.logo-ring {
    animation: logoSpin 10s linear infinite;
    transform-origin: 20px 20px;
}

@keyframes logoSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-text {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #f5f0e8;
    letter-spacing: -0.5px;
}

.logo-dot {
    color: #e8b84b;
    text-shadow: 0 0 8px rgba(232, 184, 75, 0.6);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s, text-shadow 0.3s;
}

.nav-link:hover {
    color: #4a90d9;
    text-shadow: 0 0 8px rgba(74, 144, 217, 0.4);
}

.hud-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4a90d9;
    box-shadow: 0 0 8px rgba(74, 144, 217, 0.8);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(74, 144, 217, 0.8); }
    50% { opacity: 0.5; box-shadow: 0 0 16px rgba(74, 144, 217, 1); }
}

.status-text {
    font-size: 0.75rem;
    font-weight: 800;
    color: #4a90d9;
    letter-spacing: 2px;
}

/* Hero Section */
#hero {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 80px;
}

.hero-hud-frame {
    position: relative;
    max-width: 900px;
    width: 100%;
    padding: 60px;
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(74, 144, 217, 0.15);
}

.hud-corner {
    position: absolute;
    width: 24px;
    height: 24px;
}

.hud-tl {
    top: -1px;
    left: -1px;
    border-top: 2px solid #4a90d9;
    border-left: 2px solid #4a90d9;
}

.hud-tr {
    top: -1px;
    right: -1px;
    border-top: 2px solid #4a90d9;
    border-right: 2px solid #4a90d9;
}

.hud-bl {
    bottom: -1px;
    left: -1px;
    border-bottom: 2px solid #e8b84b;
    border-left: 2px solid #e8b84b;
}

.hud-br {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid #e8b84b;
    border-right: 2px solid #e8b84b;
}

.hero-content {
    text-align: center;
}

.hero-tag {
    font-family: 'Nunito', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #e8b84b;
    letter-spacing: 3px;
    margin-bottom: 24px;
    text-shadow: 0 0 10px rgba(232, 184, 75, 0.3);
}

.hero-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #f5f0e8;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
}

.stat-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #4a90d9;
    text-shadow: 0 0 20px rgba(74, 144, 217, 0.4);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
}

.hero-cta {
    display: inline-block;
    padding: 14px 40px;
    background: transparent;
    border: 2px solid #4a90d9;
    color: #4a90d9;
    text-decoration: none;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 3px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 217, 0.15), transparent);
    transition: left 0.5s ease;
}

.hero-cta:hover::before {
    left: 100%;
}

.hero-cta:hover {
    background: rgba(74, 144, 217, 0.1);
    box-shadow: 0 0 20px rgba(74, 144, 217, 0.3), inset 0 0 20px rgba(74, 144, 217, 0.1);
}

.hero-grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(74, 144, 217, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 144, 217, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 700;
    color: #e8b84b;
    letter-spacing: 3px;
    margin-bottom: 16px;
    text-shadow: 0 0 10px rgba(232, 184, 75, 0.3);
}

.section-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #f5f0e8;
}

/* Reviews Section */
#reviews {
    position: relative;
    z-index: 2;
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.review-card {
    position: relative;
    background: rgba(26, 26, 46, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(74, 144, 217, 0.12);
    padding: 28px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.review-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.review-card:hover {
    transform: translateY(-4px);
    border-color: rgba(74, 144, 217, 0.35);
    box-shadow: 0 8px 32px rgba(74, 144, 217, 0.12), 0 0 0 1px rgba(74, 144, 217, 0.1);
}

.card-hud-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #4a90d9, transparent);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.card-category {
    font-size: 0.7rem;
    font-weight: 800;
    color: #e8b84b;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 4px 10px;
    border: 1px solid rgba(232, 184, 75, 0.3);
    background: rgba(232, 184, 75, 0.05);
}

.card-rating-ring {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rating-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.rating-track {
    fill: none;
    stroke: rgba(74, 144, 217, 0.15);
    stroke-width: 4;
}

.rating-fill {
    fill: none;
    stroke: #4a90d9;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 213.6;
    stroke-dashoffset: 213.6;
    transition: stroke-dashoffset 1.5s ease-out;
    filter: drop-shadow(0 0 4px rgba(74, 144, 217, 0.5));
}

.rating-number {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #4a90d9;
    z-index: 1;
}

.card-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #f5f0e8;
    margin-bottom: 12px;
    line-height: 1.3;
}

.card-excerpt {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.meta-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: #4a90d9;
    padding: 3px 8px;
    border: 1px solid rgba(74, 144, 217, 0.25);
    letter-spacing: 0.5px;
}

.meta-date {
    font-size: 0.75rem;
    color: #6c757d;
    margin-left: auto;
}

/* Categories Section */
#categories {
    position: relative;
    z-index: 2;
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.categories-hud {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.category-panel {
    position: relative;
    background: rgba(26, 26, 46, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(74, 144, 217, 0.12);
    padding: 32px;
    transition: all 0.3s ease;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.category-panel.visible {
    opacity: 1;
    transform: translateY(0);
}

.category-panel:hover {
    border-color: rgba(74, 144, 217, 0.35);
    transform: translateY(-2px);
}

.panel-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(74, 144, 217, 0.06) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.category-panel:hover .panel-glow {
    opacity: 1;
}

.category-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
}

.panel-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #f5f0e8;
    margin-bottom: 6px;
}

.panel-count {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 600;
}

.panel-bar {
    margin-top: 20px;
    height: 3px;
    background: rgba(74, 144, 217, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #4a90d9, #e8b84b);
    border-radius: 2px;
    width: 0%;
    transition: width 1.5s ease-out;
    box-shadow: 0 0 8px rgba(74, 144, 217, 0.4);
}

/* Ratings / Leaderboard Section */
#ratings {
    position: relative;
    z-index: 2;
    padding: 100px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.leaderboard {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.leader-row {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 32px;
    background: rgba(26, 26, 46, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(74, 144, 217, 0.12);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-30px);
}

.leader-row.visible {
    opacity: 1;
    transform: translateX(0);
}

.leader-row:hover {
    border-color: rgba(74, 144, 217, 0.35);
    background: rgba(26, 26, 46, 0.85);
}

.rank-badge {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #e8b84b;
    text-shadow: 0 0 12px rgba(232, 184, 75, 0.3);
    min-width: 50px;
}

.leader-info {
    flex: 1;
}

.leader-name {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #f5f0e8;
    margin-bottom: 4px;
}

.leader-category {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.leader-score {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 200px;
}

.score-bar-container {
    flex: 1;
    height: 4px;
    background: rgba(74, 144, 217, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.score-bar {
    height: 100%;
    background: linear-gradient(90deg, #4a90d9, #e8b84b);
    border-radius: 2px;
    width: 0%;
    transition: width 1.5s ease-out;
    box-shadow: 0 0 6px rgba(74, 144, 217, 0.4);
}

.score-value {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    min-width: 40px;
    text-align: right;
}

/* About Section */
#about {
    position: relative;
    z-index: 2;
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
}

.about-panel {
    position: relative;
    background: rgba(26, 26, 46, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(74, 144, 217, 0.12);
    padding: 40px;
}

.about-main {
    opacity: 0;
    transform: translateY(30px);
}

.about-main.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-heading {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #f5f0e8;
    margin-bottom: 20px;
}

.about-text {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-text:last-child {
    margin-bottom: 0;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 24px;
    opacity: 0;
    transform: translateY(30px);
}

.about-values.visible {
    opacity: 1;
    transform: translateY(0);
}

.value-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px;
    border: 1px solid rgba(74, 144, 217, 0.08);
    transition: border-color 0.3s ease;
}

.value-item:hover {
    border-color: rgba(74, 144, 217, 0.25);
}

.value-icon {
    flex-shrink: 0;
}

.value-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #f5f0e8;
    margin-bottom: 4px;
}

.value-desc {
    font-size: 0.85rem;
    color: #6c757d;
    line-height: 1.5;
}

/* Footer */
#footer {
    position: relative;
    z-index: 2;
    margin-top: 60px;
    border-top: 1px solid rgba(74, 144, 217, 0.15);
    background: rgba(26, 26, 46, 0.9);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 48px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-tagline {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 6px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #4a90d9;
}

.footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.footer-copy {
    font-size: 0.8rem;
    color: #6c757d;
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #6c757d;
}

/* Responsive */
@media (max-width: 1024px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .categories-hud {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-hud-frame {
        padding: 40px 24px;
    }
    .hero-stats {
        gap: 30px;
    }
    .stat-number {
        font-size: 2rem;
    }
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    .categories-hud {
        grid-template-columns: 1fr;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .leader-row {
        flex-wrap: wrap;
    }
    .leader-score {
        min-width: 100%;
    }
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-meta {
        align-items: flex-start;
    }
    .section-title {
        font-size: 2rem;
    }
}

/* Transition utility for scroll animations */
.review-card,
.category-panel,
.leader-row,
.about-main,
.about-values {
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
}