/* ============================================================
   ROOT VARIABLES
   ============================================================ */
:root {
    --primary-gradient: linear-gradient(135deg, #6C3CE1 0%, #E83E8C 100%);
    --glass-bg: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.25);
    --text-dark: #1A202C;
    --shadow-float: 0 25px 50px -12px rgba(108, 60, 225, 0.25);
    --font-family: 'Inter', 'Segoe UI', sans-serif;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font-family);
    background: #F8F9FE;
    color: var(--text-dark);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ============================================================
   NAVBAR (Glassmorphism)
   ============================================================ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 6%;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.logo-avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(108, 60, 225, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.3s;
}
.logo-avatar-img:hover {
    transform: scale(1.1) rotate(-5deg);
}
.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.3s;
}
.nav-links a:hover {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.mode-toggle {
    background: var(--primary-gradient);
    padding: 10px 24px;
    border-radius: 60px;
    color: white;
    border: none;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(108, 60, 225, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}
.mode-toggle:active {
    transform: scale(0.95);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    background: radial-gradient(circle at 20% 30%, rgba(108, 60, 225, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(232, 62, 140, 0.06) 0%, transparent 50%);
}
.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}
.hero-content h1 span {
    -webkit-text-fill-color: #E83E8C;
}
.hero-content p {
    font-size: 1.2rem;
    color: #4A5568;
    max-width: 500px;
    margin-bottom: 30px;
    line-height: 1.7;
}
.character-container {
    width: 300px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.character-card {
    width: 260px;
    height: 340px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 50% 50% 30% 30% / 60% 60% 20% 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-float);
    animation: gentleFloat 4s ease-in-out infinite;
    padding: 20px;
    transition: transform 0.3s;
    cursor: pointer;
}
.character-card:hover {
    transform: scale(1.02);
}
.vota-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    box-shadow: 0 15px 35px rgba(108, 60, 225, 0.3);
    margin-bottom: 15px;
}
.vota-character-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    animation: gentlePulse 3s ease-in-out infinite;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.vota-character-img:hover {
    transform: scale(1.08) rotate(-4deg);
    animation-play-state: paused;
}
.vota-character-img:active {
    animation: wave 0.8s ease-in-out;
}
@keyframes gentlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}
@keyframes wave {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(15deg) scale(1.1); }
    75% { transform: rotate(-10deg) scale(1.05); }
    100% { transform: rotate(0deg) scale(1); }
}
@keyframes gentleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1.5deg); }
}
.character-card h3 {
    font-size: 1.8rem;
    font-weight: 900;
    color: #6C3CE1;
}
.character-card p {
    font-size: 0.9rem;
    color: #4A5568;
    text-align: center;
    max-width: 180px;
}

/* ============================================================
   STATS
   ============================================================ */
.stats-section {
    display: flex;
    justify-content: space-around;
    padding: 40px 10%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    margin: 0 6% 40px 6%;
    border-radius: 80px;
    border: 1px solid rgba(255, 255, 255, 0.6);
}
.stat-item {
    text-align: center;
}
.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label {
    color: #4A5568;
    font-weight: 500;
}

/* ============================================================
   PRODUCT GRID
   ============================================================ */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    padding: 30px 0 10px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    padding: 30px 8% 60px;
}
.product-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(6px);
    border-radius: 40px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.product-card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 0 30px 60px -15px rgba(108, 60, 225, 0.15);
}
.product-card img {
    width: 130px;
    height: 160px;
    object-fit: cover;
    border-radius: 24px;
    margin-bottom: 15px;
}
.product-card h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
}
.product-card .price {
    display: block;
    margin-top: 12px;
    font-weight: 800;
    font-size: 1.4rem;
    color: #6C3CE1;
}

/* ============================================================
   RIPPLE EFFECT
   ============================================================ */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(108, 60, 225, 0.25);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}
@keyframes ripple-animation {
    to { transform: scale(4); opacity: 0; }
}

/* ============================================================
   YOUTUBE SECTION
   ============================================================ */
.youtube-section {
    text-align: center;
    padding: 60px 10%;
    background: var(--primary-gradient);
    margin: 20px 6% 40px;
    border-radius: 80px;
    color: white;
}
.youtube-section h2 {
    font-size: 2.8rem;
    font-weight: 800;
}
.youtube-section p {
    opacity: 0.9;
    max-width: 550px;
    margin: 15px auto;
}
.btn-youtube {
    display: inline-block;
    margin-top: 20px;
    padding: 16px 45px;
    background: #FF0000;
    color: white;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
    transition: 0.3s;
    border: none;
    font-size: 1.1rem;
}
.btn-youtube:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.4);
}

/* ============================================================
   COOKIE BANNER (GDPR)
   ============================================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 32, 44, 0.92);
    backdrop-filter: blur(10px);
    padding: 18px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    z-index: 9999;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 15px;
}
.cookie-banner p {
    font-size: 0.95rem;
    max-width: 70%;
}
.cookie-banner p a {
    color: #E83E8C;
    text-decoration: underline;
}
.cookie-btn {
    background: var(--primary-gradient);
    border: none;
    padding: 10px 30px;
    border-radius: 60px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}
.cookie-btn:hover {
    opacity: 0.8;
    transform: scale(0.96);
}

/* ============================================================
   CUSTOMIZE MODAL
   ============================================================ */
.customize-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    animation: fadeInModal 0.3s ease;
}
.customize-modal-content {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 60px;
    padding: 40px 45px;
    max-width: 550px;
    width: 90%;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: slideUpModal 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUpModal {
    from { transform: translateY(50px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}
.close-modal-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: 300;
    color: #6C3CE1;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
}
.close-modal-btn:hover {
    transform: rotate(90deg) scale(1.2);
    color: #E83E8C;
}
.customize-modal-content h2 {
    font-size: 2rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 0;
    margin-bottom: 5px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 30px;
    border: 2px solid rgba(108, 60, 225, 0.1);
    background: rgba(255, 255, 255, 0.6);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: 0.3s;
    color: var(--text-dark);
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: #6C3CE1;
    outline: none;
    box-shadow: 0 0 0 4px rgba(108, 60, 225, 0.1);
}
.form-group textarea {
    resize: vertical;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 5%;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .character-container {
        margin-top: 30px;
        width: 100%;
    }
    .character-card {
        width: 200px;
        height: 260px;
    }
    .vota-avatar {
        width: 90px;
        height: 90px;
    }
    .stats-section {
        flex-direction: column;
        gap: 20px;
        border-radius: 40px;
        padding: 30px;
    }
    .nav-links {
        display: none;
    }
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
    .cookie-banner p {
        max-width: 100%;
    }
}
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .products-grid {
        gap: 20px;
        padding: 20px 5%;
    }
    .customize-modal-content {
        padding: 30px 20px;
        border-radius: 40px;
    }
    .customize-modal-content h2 {
        font-size: 1.5rem;
    }
}