/* ===== CSS Variables - Dark Green/Teal Theme with Gold Accents ===== */
:root {
    /* Primary Colors from Guideline */
    --bg-dark: #0a1f1a;
    --bg-darker: #071614;
    --bg-card: #0f2d26;
    --bg-card-hover: #143832;
    --accent-gold: #c9a962;
    --accent-gold-light: #dbc078;
    --accent-gold-dark: #a88b4a;
    --text-primary: #e8f5e9;
    --text-secondary: #a5d6a7;
    --text-muted: #6b9b7a;
    --border-color: #1a4d40;
    --border-glow: rgba(201, 169, 98, 0.3);

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #c9a962, #dbc078);
    --gradient-green: linear-gradient(135deg, #0f2d26, #1a4d40);
    --gradient-hero: linear-gradient(180deg, #0a1f1a 0%, #143832 100%);

    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(201, 169, 98, 0.2);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);

    /* Animation */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Floating Decorations ===== */
.floating-leaf,
.floating-star {
    position: fixed;
    font-size: 2rem;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

.leaf-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.leaf-2 {
    top: 60%;
    right: 8%;
    animation-delay: 2s;
}

.leaf-3 {
    bottom: 20%;
    left: 10%;
    animation-delay: 4s;
}

.star-1 {
    top: 30%;
    right: 5%;
    animation-delay: 1s;
}

.star-2 {
    bottom: 30%;
    right: 15%;
    animation-delay: 3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* ===== Hero Section ===== */
.hero {
    background: var(--gradient-hero);
    padding: 80px 20px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(201, 169, 98, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(201, 169, 98, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--bg-dark);
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 24px;
    box-shadow: var(--shadow-glow);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero h1 .highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Stats Section ===== */
.stats-section {
    padding: 60px 0;
    background: var(--bg-darker);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.stat-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-glow);
}

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

.stat-card.winner {
    background: linear-gradient(135deg, #143832 0%, #1a5244 100%);
    border-color: var(--accent-gold);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===== Vote Section ===== */
.vote-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.vote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.logo-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    position: relative;
}

.logo-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold-dark);
    box-shadow: var(--shadow-card);
}

.logo-card.featured {
    background: linear-gradient(135deg, #1a4d40 0%, #206050 100%);
    border: 2px solid var(--accent-gold);
    box-shadow: var(--shadow-glow);
}

.winner-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--gradient-gold);
    color: var(--bg-dark);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    animation: shine 2s ease-in-out infinite;
}

@keyframes shine {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(201, 169, 98, 0.5);
    }

    50% {
        box-shadow: 0 0 25px rgba(201, 169, 98, 0.8);
    }
}

.logo-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

.logo-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Logo Image Styles */
.logo-image-container {
    width: 100%;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-darker);
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: var(--transition-smooth);
}

.logo-card:hover .logo-image-container {
    border-color: var(--accent-gold-dark);
}

.logo-card.featured .logo-image-container {
    border-color: var(--accent-gold);
    box-shadow: 0 0 20px rgba(201, 169, 98, 0.2);
}

.logo-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.logo-card:hover .logo-image {
    transform: scale(1.05);
}

.vote-bar {
    height: 12px;
    background: var(--bg-darker);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
}

.vote-fill {
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 10px;
    width: var(--percentage);
    transition: width 1s ease-out;
    position: relative;
}

.vote-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.vote-stats {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.vote-percent {
    color: var(--accent-gold);
    font-weight: 600;
}

.logo-mood {
    text-align: center;
    font-size: 2.5rem;
    margin-top: 8px;
}

/* ===== Rating Section ===== */
.rating-section {
    padding: 80px 0;
    background: var(--bg-darker);
}

.rating-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.rating-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.rating-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold-dark);
    box-shadow: var(--shadow-card);
}

.rating-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.rating-title {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.rating-value {
    margin-bottom: 20px;
}

.rating-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.rating-stars {
    font-size: 1rem;
    margin-top: 8px;
}

.rating-bar {
    height: 8px;
    background: var(--bg-darker);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
}

.rating-fill {
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 10px;
    width: var(--rating);
    transition: width 1s ease-out;
}

.rating-mood {
    font-size: 2rem;
}

/* ===== Impressions Section ===== */
.impressions-section {
    padding: 80px 0;
    background: var(--bg-dark);
    overflow: hidden;
}

.impressions-marquee {
    margin-top: 48px;
    overflow: hidden;
    position: relative;
}

.impressions-marquee::before,
.impressions-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
}

.impressions-marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-dark), transparent);
}

.impressions-marquee::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-dark), transparent);
}

.marquee-content {
    display: flex;
    gap: 16px;
    animation: marquee 30s linear infinite;
    width: max-content;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.impression-chip {
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    white-space: nowrap;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.impression-chip.positive {
    background: linear-gradient(135deg, #1a4d40, #206050);
    color: var(--accent-gold-light);
    border-color: var(--accent-gold-dark);
}

.impression-chip.neutral {
    background: var(--bg-card);
    color: var(--text-secondary);
}

.impression-chip.negative {
    background: #3d2020;
    color: #f5a5a5;
    border-color: #5a3030;
}

/* ===== Feedback Section ===== */
.feedback-section {
    padding: 80px 0;
    background: var(--bg-darker);
}

.feedback-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
    margin-top: 32px;
}

.tab-btn {
    padding: 12px 24px;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    background: transparent;
    color: var(--text-secondary);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    border-color: var(--accent-gold-dark);
    color: var(--accent-gold);
}

.tab-btn.active {
    background: var(--gradient-gold);
    color: var(--bg-dark);
    border-color: var(--accent-gold);
    font-weight: 600;
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.feedback-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feedback-card:hover {
    border-color: var(--accent-gold-dark);
    box-shadow: var(--shadow-card);
}

.feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.feedback-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feedback-logo-badge {
    background: var(--gradient-gold);
    color: var(--bg-dark);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.feedback-emoji {
    font-size: 1.8rem;
}

.feedback-sentiment {
    font-size: 2rem;
}

.feedback-content h4 {
    color: var(--accent-gold-light);
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.feedback-reason {
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.feedback-meaning {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.6;
    padding-left: 16px;
    border-left: 3px solid var(--accent-gold-dark);
}

.feedback-notes {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    padding: 12px 16px;
    background: var(--bg-darker);
    border-radius: 10px;
    margin-top: 8px;
    border-left: 3px solid var(--accent-gold);
}

.feedback-ratings {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.rating-pill {
    background: var(--bg-darker);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.rating-pill span {
    color: var(--accent-gold);
    font-weight: 600;
}

/* ===== Notes Section ===== */
.notes-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 48px;
}

.note-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    display: flex;
    gap: 16px;
}

.note-card:hover {
    border-color: var(--accent-gold-dark);
}

.note-emoji {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.note-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-darker);
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 16px;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.footer-emoji {
    font-size: 2rem;
    letter-spacing: 8px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px 40px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .stats-grid,
    .vote-grid,
    .rating-grid,
    .feedback-grid,
    .notes-grid {
        grid-template-columns: 1fr;
    }

    .feedback-tabs {
        gap: 8px;
    }

    .tab-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .floating-leaf,
    .floating-star {
        display: none;
    }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold-dark);
}

/* ===== Selection ===== */
::selection {
    background: var(--accent-gold);
    color: var(--bg-dark);
}