/* Sakura Gaming Paradise - Anime Theme CSS */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Anime Color Palette */
    --primary-pink: #ff69b4;
    --secondary-purple: #9d4edd;
    --accent-cyan: #00f5ff;
    --kawaii-yellow: #ffd700;
    --soft-pink: #ffb3d9;
    --neon-green: #39ff14;

    /* Gradients */
    --gradient-main: linear-gradient(135deg, #ff69b4, #9d4edd, #00f5ff);
    --gradient-card: linear-gradient(145deg, #fff0f8, #f0e6ff);
    --gradient-button: linear-gradient(45deg, #ff69b4, #ff1493);

    /* Typography */
    --font-main: 'Nunito', sans-serif;
    --font-accent: 'Comfortaa', cursive;

    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 4rem 0;
}

body {
    font-family: var(--font-main);
    background: var(--gradient-main);
    background-attachment: fixed;
    color: #333;
    overflow-x: hidden;
    position: relative;
}

/* Sakura Petals Animation */
.sakura-petals {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.petal {
    position: absolute;
    font-size: 2rem;
    opacity: 0.7;
    animation: fall 15s infinite linear;
}

.petal-1 { left: 10%; animation-delay: 0s; }
.petal-2 { left: 30%; animation-delay: 3s; }
.petal-3 { left: 50%; animation-delay: 6s; }
.petal-4 { left: 70%; animation-delay: 9s; }
.petal-5 { left: 90%; animation-delay: 12s; }

@keyframes fall {
    0% {
        top: -10%;
        transform: rotate(0deg);
    }
    100% {
        top: 110%;
        transform: rotate(360deg);
    }
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Age Disclaimer Banner */
.age-disclaimer {
    background: linear-gradient(45deg, #ff0000, #cc0000);
    color: white;
    padding: 0.8rem 0;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 2px 10px rgba(255, 0, 0, 0.3);
    position: relative;
    z-index: 2000;
    border-bottom: 3px solid #990000;
}

.disclaimer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    animation: pulse-warning 3s infinite;
}

.disclaimer-icon {
    font-size: 1.5rem;
    animation: rotate-warning 2s infinite linear;
}

.disclaimer-text {
    font-family: var(--font-accent);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

@keyframes pulse-warning {
    0%, 100% {
        background: linear-gradient(45deg, #ff0000, #cc0000);
    }
    50% {
        background: linear-gradient(45deg, #ff3333, #ff0000);
    }
}

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

@media (max-width: 768px) {
    .age-disclaimer {
        font-size: 0.9rem;
        padding: 0.6rem 0;
    }

    .disclaimer-content {
        gap: 0.5rem;
    }

    .disclaimer-icon {
        font-size: 1.2rem;
    }
}

/* Header Styles */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 3px solid var(--primary-pink);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(255, 105, 180, 0.3);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    font-size: 3rem;
    animation: bounce 2s infinite;
}

.logo-text h1 {
    font-family: var(--font-accent);
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-button);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 0.9rem;
    color: var(--secondary-purple);
    font-weight: 600;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border: none;
    background: transparent;
    position: relative;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--secondary-purple);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    background: var(--gradient-button);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.4);
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.btn-login, .btn-signup {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-login {
    background: white;
    color: var(--primary-pink);
    border: 2px solid var(--primary-pink);
}

.btn-signup {
    background: var(--gradient-button);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
}

.btn-login:hover, .btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.4);
}

/* Hero Section */
.hero-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(255, 240, 248, 0.9), rgba(240, 230, 255, 0.9));
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    font-family: var(--font-accent);
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-button);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-button);
    color: white;
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-pink);
    border: 2px solid var(--primary-pink);
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.5);
}

.hero-visual {
    position: relative;
    height: 400px;
}

.anime-mascot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mascot-character {
    font-size: 8rem;
    animation: float 3s ease-in-out infinite;
}

.speech-bubble {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 20px;
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    color: var(--primary-pink);
    white-space: nowrap;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
    border-top-color: white;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-20px); }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.heart, .sparkle {
    position: absolute;
    font-size: 2rem;
    animation: float-random 4s ease-in-out infinite;
}

.heart-1 { top: 20%; left: 20%; animation-delay: 0s; }
.heart-2 { top: 60%; left: 80%; animation-delay: 1s; }
.heart-3 { top: 80%; left: 30%; animation-delay: 2s; }
.sparkle-1 { top: 30%; left: 70%; animation-delay: 0.5s; }
.sparkle-2 { top: 70%; left: 20%; animation-delay: 1.5s; }

@keyframes float-random {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(90deg); }
    50% { transform: translateY(-5px) rotate(180deg); }
    75% { transform: translateY(-15px) rotate(270deg); }
}

/* Featured Games Section */
.featured-games {
    padding: var(--section-padding);
    background: rgba(255, 255, 255, 0.9);
}

.section-title {
    text-align: center;
    font-family: var(--font-accent);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-button);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.game-card {
    background: var(--gradient-card);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(255, 105, 180, 0.3);
}

.game-card.featured {
    border: 3px solid var(--primary-pink);
    background: linear-gradient(145deg, #fff0f8, #ffe6f0);
}

.game-image {
    position: relative;
    margin-bottom: 1.5rem;
}

.game-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.game-label {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--neon-green);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    animation: flash 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.game-card h3 {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    color: var(--secondary-purple);
    margin-bottom: 0.5rem;
}

.game-card p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.play-btn {
    background: var(--gradient-button);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.4);
}

.view-all-games {
    text-align: center;
}

.btn-outline {
    background: transparent;
    color: var(--primary-pink);
    border: 2px solid var(--primary-pink);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--primary-pink);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.4);
}

/* Promotions Banner */
.promotions-banner {
    padding: var(--section-padding);
    background: var(--gradient-main);
    position: relative;
    overflow: hidden;
}

.promotions-banner .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.promo-content h2 {
    font-family: var(--font-accent);
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.promo-content p {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.bonus-characters {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.bonus-emoji {
    font-size: 4rem;
    animation: bounce-rotate 2s infinite;
}

.bonus-emoji:nth-child(2) { animation-delay: 0.3s; }
.bonus-emoji:nth-child(3) { animation-delay: 0.6s; }

@keyframes bounce-rotate {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, #2c1810, #4a0e4e);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    font-family: var(--font-accent);
    margin-bottom: 1rem;
    color: var(--soft-pink);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-pink);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 105, 180, 0.3);
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
    font-size: 0.9rem;
}

/* Footer Age Disclaimer */
.footer-age-disclaimer {
    background: linear-gradient(45deg, #ff0000, #cc0000);
    color: white;
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 4px solid #990000;
    border-bottom: 4px solid #990000;
}

.age-warning {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    animation: pulse-warning 3s infinite;
}

.age-warning .age-icon {
    font-size: 3rem;
    animation: rotate-warning 2s infinite linear;
}

.age-text {
    text-align: center;
    flex: 1;
}

.age-text h3 {
    font-family: var(--font-accent);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    animation: glow-text 2s ease-in-out infinite alternate;
}

.age-text p {
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin: 0;
}

@keyframes glow-text {
    from {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 255, 255, 0.3);
    }
    to {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.6);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        position: relative;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        border-left: 3px solid var(--primary-pink);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        opacity: 0;
        transform: translateX(50px);
        animation: slideInNav 0.3s ease forwards;
    }

    .nav-menu.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { animation-delay: 0.4s; }

    .nav-link {
        font-size: 1.3rem;
        padding: 1rem 2rem;
        border-radius: 25px;
        text-align: center;
        min-width: 200px;
        background: var(--gradient-card);
        border: 2px solid transparent;
    }

    .nav-link:hover,
    .nav-link.active {
        background: var(--gradient-button);
        color: white;
        transform: translateY(-2px);
        border-color: var(--primary-pink);
    }

    /* Mobile menu overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    @keyframes slideInNav {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-visual {
        height: 300px;
    }

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

    .promotions-banner .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .promo-content h2 {
        font-size: 2rem;
    }

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

    .age-warning {
        flex-direction: column;
        gap: 1rem;
    }

    .age-warning .age-icon {
        font-size: 2rem;
    }

    .age-text h3 {
        font-size: 1.5rem;
    }

    .age-text p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

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