:root {
    --primary-purple: #6B46C1;
    --secondary-orange: #F59E0B;
    --tertiary-pink: #EC4899;
    --accent-green: #10B981;
    --accent-blue: #3B82F6;
    --dark-bg: #1F2937;
    --light-text: #F9FAFB;
    --gradient-magic: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #000;
    /* color: #F7BE0A; */
    overflow-x: hidden;
    scroll-behavior: smooth;

    
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 8px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff0080, #7928ca);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-links.mobile {
    position: fixed;
    top: 39px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 40px);
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    transition: left 0.3s ease;
    z-index: 999;
}

.nav-links.mobile.active {
    left: 0;
}

.nav-links.mobile a {
    font-size: 1.8rem;
    font-weight: 600;
}

.hero {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 300%;
    height: 300%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><linearGradient id="star" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:rgba(245,158,11,0.8);stop-opacity:1" /><stop offset="100%" style="stop-color:rgba(236,72,153,0.8);stop-opacity:1" /></linearGradient></defs><polygon fill="url(%23star)" points="100,10 40,198 190,78 10,78 160,198"/></svg>') repeat;
    animation: magicFloat 25s linear infinite;
    opacity: 0.1;
}

@keyframes magicFloat {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }

    100% {
        transform: translateX(-67px) translateY(-67px) rotate(360deg);
    }
}

.castle-silhouette {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 400"><path d="M0,400 L0,200 L50,200 L50,150 L100,150 L100,100 L150,100 L150,50 L200,50 L200,100 L250,100 L250,150 L300,150 L300,200 L350,200 L350,150 L400,150 L400,100 L450,100 L450,150 L500,150 L500,200 L550,200 L550,150 L600,150 L600,100 L650,100 L650,50 L700,50 L700,100 L750,100 L750,150 L800,150 L800,400 Z" fill="rgba(0,0,0,0.4)"/></svg>') no-repeat center bottom;
    background-size: cover;
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 900px;
    padding: 0 2rem;
    position: relative;
}

.hero h1 {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(3rem, 10vw, 7rem);
    background: linear-gradient(45deg, var(--secondary-orange), var(--tertiary-pink), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    animation: heroGlow 4s ease-in-out infinite alternate;
    filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.7));
}

@keyframes heroGlow {
    from {
        filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 20px rgba(245, 158, 11, 0.3));
    }

    to {
        filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 40px rgba(245, 158, 11, 0.6));
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--light-text);
    margin-bottom: 2rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(249, 250, 251, 0.9);
    margin-bottom: 3rem;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: linear-gradient(45deg, var(--secondary-orange), var(--tertiary-pink));
    color: white;
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '✨';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: left 0.3s ease;
}

.cta-button:hover::before {
    left: 20px;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.6);
    padding-left: 4rem;
}

.about-section {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-blue) 100%);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="rgba(255,255,255,0.1)"/></svg>') no-repeat;
    background-size: cover;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-family: 'Fredoka One', cursive;
    font-size: 3rem;
    color: white;
    margin-bottom: 4rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    right: -60px;
    top: -10px;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

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

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

    60% {
        transform: translateY(-5px);
    }
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text {
    background: rgba(255, 255, 255, 0.95);
    padding: 3.5rem;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(245, 158, 11, 0.3);
    position: relative;
}

.about-text::before {
    content: '⭐';
    position: absolute;
    top: -15px;
    left: 30px;
    background: var(--secondary-orange);
    padding: 10px;
    border-radius: 50%;
    font-size: 1.5rem;
}

.about-text h3 {
    color: var(--primary-purple);
    font-family: 'Fredoka One', cursive;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.about-text p {
    color: #374151;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-image {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.3s ease;
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.characters-section {
    background: linear-gradient(135deg, var(--tertiary-pink) 0%, var(--secondary-orange) 100%);
    padding: 8rem 0;
    position: relative;
}

.characters-intro {
    text-align: center;
    margin-bottom: 5rem;
}

.characters-intro p {
    font-size: 1.2rem;
    color: white;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.character-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.character-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(var(--accent-green), var(--accent-blue), var(--tertiary-pink), var(--secondary-orange), var(--accent-green));
    animation: rotate 4s linear infinite;
    z-index: -1;
}

.character-card::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: white;
    border-radius: 22px;
    z-index: -1;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

.character-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.character-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 2rem;
    background: linear-gradient(45deg, var(--accent-green), var(--accent-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    position: relative;
}

.character-avatar::after {
    content: '';
    position: absolute;
    inset: -5px;
    background: linear-gradient(45deg, var(--secondary-orange), var(--tertiary-pink));
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {

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

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.character-name {
    font-family: 'Fredoka One', cursive;
    font-size: 1.5rem;
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.character-description {
    color: #6B7280;
    font-size: 0.95rem;
    line-height: 1.6;
}

.memories-section {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--primary-purple) 100%);
    padding: 8rem 0;
    position: relative;
}

.memories-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.memories-showcase {
    position: relative;
}

.main-memory {
    width: 100%;
    height: 400px;
    border-radius: 25px;
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    border: 4px solid var(--secondary-orange);
}

.main-memory:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.memory-thumbnails {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    position: relative;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--secondary-orange);
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.5);
}

.memories-text {
    background: rgba(255, 255, 255, 0.95);
    padding: 4rem;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.memories-text::before {
    content: '🎬';
    position: absolute;
    top: -20px;
    right: 30px;
    background: var(--tertiary-pink);
    padding: 15px;
    border-radius: 50%;
    font-size: 2rem;
}

.memories-text h3 {
    color: var(--accent-green);
    font-family: 'Fredoka One', cursive;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.memories-text p {
    color: #374151;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}


.trivia-section {
    background: var(--dark-bg);
    padding: 8rem 0;
    position: relative;
}

.trivia-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.trivia-card {
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.1), rgba(59, 130, 246, 0.1));
    border: 2px solid var(--secondary-orange);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.trivia-card:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.2), rgba(59, 130, 246, 0.2));
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.3);
}

.trivia-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.trivia-title {
    color: var(--secondary-orange);
    font-family: 'Fredoka One', cursive;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.trivia-text {
    color: var(--light-text);
    font-size: 1rem;
    line-height: 1.6;
}


.footer {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    color: var(--light-text);
    text-align: center;
    padding: 4rem 0;
    border-top: 3px solid var(--secondary-orange);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-orange), var(--tertiary-pink), var(--accent-blue), var(--accent-green));
    animation: rainbow 3s linear infinite;
}

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

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

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--secondary-orange), var(--tertiary-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 1024px) {

    .about-content,
    .memories-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .characters-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }

    .about-image {
        transform: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-links.mobile {
        display: flex;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

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

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #ff0080;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 480px) {
    header {
        padding: 0 1rem;
    }

    span {
        font-size: 16px;
        font-weight: 700;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .car-showcase,
    .features,
    .specs {
        padding: 3rem 1rem;
    }

    .spec-number {
        font-size: 2.5rem;
    }
}