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

:root {
    --primary-bg: #1b002f;
    --primary-pink: #ff69b4;
    --accent-peach: #ffb347;
    --text-light: #ffffff;
    --text-muted: #b8b8ff;
    --card-bg: rgba(255, 255, 255, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary-pink), var(--accent-peach));
    --gradient-bg: linear-gradient(135deg, #1b002f 0%, #2d1b4e 50%, #1b002f 100%);
    --shadow-glow: 0 0 30px rgba(255, 105, 180, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--gradient-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lobster Two', cursive;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Animated Background Elements */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eee, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 160px 30px, #ddd, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: sparkle 20s linear infinite;
    z-index: -1;
}

@keyframes sparkle {
    from { transform: translateY(0px); }
    to { transform: translateY(-100px); }
}

.hearts-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.heart {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-pink);
    transform: rotate(-45deg);
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.heart:before,
.heart:after {
    content: '';
    width: 20px;
    height: 20px;
    position: absolute;
    left: 50%;
    top: 0;
    background: var(--primary-pink);
    border-radius: 50%;
    transform: translate(-50%, 0);
}

.heart:after {
    left: 0;
    transform: translate(0, -50%);
    top: 50%;
}

.heart:nth-child(1) { left: 10%; animation-delay: 0s; }
.heart:nth-child(2) { left: 20%; animation-delay: -2s; }
.heart:nth-child(3) { left: 35%; animation-delay: -4s; }
.heart:nth-child(4) { left: 50%; animation-delay: -1s; }
.heart:nth-child(5) { left: 70%; animation-delay: -3s; }
.heart:nth-child(6) { left: 85%; animation-delay: -5s; }

@keyframes float {
    0%, 100% { transform: translateY(100vh) rotate(-45deg); opacity: 0; }
    10%, 90% { opacity: 0.6; }
    50% { transform: translateY(-100px) rotate(-45deg); }
}

/* Header */
.header {
    padding: 1rem 0;
    background: rgba(27, 0, 47, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 105, 180, 0.2);
    position: relative;
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-light);
}

.logo-icon {
    font-size: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

.logo-text {
    font-family: 'Lobster Two', cursive;
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-pink);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.cta-btn {
    background: var(--gradient-primary);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(255, 105, 180, 0.5);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

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

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

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(255, 105, 180, 0.6);
}

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

.btn-secondary:hover {
    background: var(--primary-pink);
    color: white;
    transform: translateY(-3px);
}

.hero-image {
    margin-top: 3rem;
    position: relative;
    height: 300px;
}

.cosmic-planet {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-pink), var(--accent-peach));
    animation: orbit 10s linear infinite;
    box-shadow: 0 0 30px rgba(255, 105, 180, 0.5);
}

.cosmic-planet.planet-2 {
    width: 60px;
    height: 60px;
    animation-duration: 8s;
    animation-direction: reverse;
    left: 60%;
    background: radial-gradient(circle, var(--accent-peach), var(--primary-pink));
}

.cosmic-planet.planet-3 {
    width: 40px;
    height: 40px;
    animation-duration: 6s;
    left: 20%;
    background: radial-gradient(circle, #9d4edd, var(--primary-pink));
}

@keyframes orbit {
    0% { transform: rotate(0deg) translateX(100px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(100px) rotate(-360deg); }
}

/* Games Section */
.games-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.05);
}

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

.game-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 105, 180, 0.2);
}

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

.game-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 0, 47, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.play-btn {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
}

.game-card:hover .play-btn {
    transform: translateY(0);
}

.play-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 40px rgba(255, 105, 180, 0.6);
}

.game-info {
    padding: 1.5rem;
}

.game-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.game-description {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
}

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

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 105, 180, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    font-size: 2rem;
    min-width: 50px;
}

.feature-content h3 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.features-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    position: relative;
}

.features-image {
    width: 100%;
    max-width: 350px;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    border: 2px solid rgba(255, 105, 180, 0.3);
    transition: all 0.3s ease;
}

.features-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255, 105, 180, 0.4);
}

.cosmic-visual {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-heart {
    position: absolute;
    background: var(--primary-pink);
    border-radius: 50%;
    animation: float-gentle 4s ease-in-out infinite;
}

.big-heart {
    width: 60px;
    height: 60px;
    top: 10%;
    right: 10%;
    box-shadow: 0 0 30px rgba(255, 105, 180, 0.6);
}

.medium-heart {
    width: 30px;
    height: 30px;
    top: 70%;
    left: 10%;
    animation-delay: -1s;
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.4);
}

.small-heart {
    width: 20px;
    height: 20px;
    bottom: 10%;
    right: 30%;
    animation-delay: -2s;
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.3);
}

@keyframes float-gentle {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.05);
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 105, 180, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.stat-item h3 {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-muted);
    font-weight: 500;
}

/* Disclaimer Section */
.disclaimer-section {
    padding: 3rem 0;
    background: rgba(255, 105, 180, 0.1);
    border-top: 1px solid rgba(255, 105, 180, 0.2);
    border-bottom: 1px solid rgba(255, 105, 180, 0.2);
}

.disclaimer-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.disclaimer-content h3 {
    color: var(--accent-peach);
    margin-bottom: 1rem;
}

.disclaimer-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.disclaimer-content p:last-child {
    margin-bottom: 0;
}

/* Footer */
.footer {
    padding: 3rem 0 1rem;
    background: rgba(27, 0, 47, 0.8);
    backdrop-filter: blur(10px);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.footer-link {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link:hover {
    color: var(--primary-pink);
    transform: translateY(-2px);
}

.footer-link::after {
    content: '💖';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.footer-link:hover::after {
    transform: translateX(-50%) scale(1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 105, 180, 0.2);
    color: var(--text-muted);
}

/* Game Page Styles */
.game-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.game-container {
    flex: 1;
    padding: 2rem 0;
}

.game-header {
    text-align: center;
    margin-bottom: 2rem;
}

.game-header h1 {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.game-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 105, 180, 0.2);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
}

.back-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(255, 105, 180, 0.6);
}

/* Contact Page Styles */
.contact-section {
    padding: 4rem 0;
    min-height: 80vh;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 105, 180, 0.2);
    box-shadow: var(--shadow-card);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 105, 180, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-pink);
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(255, 105, 180, 0.6);
}

/* Legal Pages Styles */
.legal-section {
    padding: 4rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.legal-content {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 105, 180, 0.2);
    box-shadow: var(--shadow-card);
    line-height: 1.8;
}

.legal-content h2 {
    color: var(--primary-pink);
    margin-bottom: 1.5rem;
}

.legal-content h3 {
    color: var(--accent-peach);
    margin: 2rem 0 1rem;
}

.legal-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.legal-content ul {
    color: var(--text-muted);
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .nav-menu {
        display: none;
    }

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

    .hero-content h1 {
        font-size: 2rem;
    }

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

    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .features-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }

    .footer-links {
        justify-content: center;
    }

    .game-frame {
        height: 400px;
    }

    .contact-form {
        padding: 2rem;
    }

    .legal-content {
        padding: 2rem;
    }

    .features-visual {
        height: 300px;
    }

    .features-image {
        max-width: 280px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

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

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

    .game-card {
        margin: 0;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
    }
}

/* AOS Animation Styles */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}