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

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(140deg, #1e1b4b 0%, #312e81 35%, #3730a3 70%, #1e40af 100%);
    color: #f8fafc;
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: rgba(30, 27, 75, 0.95);
    backdrop-filter: blur(15px);
    padding: 1.2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid rgba(124, 58, 237, 0.3);
}

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

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: #06b6d4;
    text-decoration: none;
    background: linear-gradient(45deg, #7c3aed, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #06b6d4;
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(45deg, #7c3aed, #06b6d4);
    transition: width 0.3s ease;
}

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

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: #06b6d4;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(6, 182, 212, 0.1));
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1.5;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #7c3aed, #06b6d4, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.3rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-img-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image {
    max-width: 300px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.3);
    border: 3px solid rgba(6, 182, 212, 0.5);
    object-fit: cover;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(45deg, #7c3aed, #06b6d4);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.6);
}

/* Disclaimer Section */
.disclaimer {
    margin: 3rem auto;
    max-width: 1000px;
    padding: 0 2rem;
}

.disclaimer-content {
    background: rgba(30, 27, 75, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    border-left: 5px solid #7c3aed;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.disclaimer-content h2 {
    color: #06b6d4;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.disclaimer-content p {
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Game Section */
.games-section {
  background: rgba(0, 0, 0, 0.2);

  padding: 3rem 1.5rem 2rem 1.5rem;
}
.game-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.game-section h2 {
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: #06b6d4;
    font-weight: 800;
}

.game-frame {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16/9;
  height: 520px;
  min-height: 220px;
  border: none;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  background: #22223b;
  display: block;
  margin: 0 auto;
}
@media (max-width: 600px) {
  .game-frame {
    height: auto;
    aspect-ratio: 16/9;
    min-height: 180px;
    max-height: 60vw;
    width: 100%;
  }
  .game-container {
    gap: 1.2rem;
  }
}
/* About Section */
.about {
    margin: 3rem auto;
    max-width: 1000px;
    padding: 0 2rem;
}

.about-container {
    background: rgba(30, 27, 75, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    border-left: 5px solid #06b6d4;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    color: #7c3aed;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-content p {
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-image {
    font-size: 5rem;
    opacity: 0.6;
    color: #06b6d4;
}

/* Features Section */
.features {
    padding: 4rem 2rem;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.features h2 {
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: #7c3aed;
    font-weight: 800;
}

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

.feature-card {
    background: rgba(30, 27, 75, 0.8);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(124, 58, 237, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(6, 182, 212, 0.6);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.4);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #06b6d4;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #7c3aed;
    font-weight: 700;
}

.feature-card p {
    color: #cbd5e1;
    line-height: 1.6;
}

/* Page Header */
.page-header {
    margin-top: 80px;
    padding: 3rem 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #7c3aed, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.page-header p {
    font-size: 1.2rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Page */
.contact-container {
    padding: 3rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form-wrapper {
    background: rgba(30, 27, 75, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-form h2 {
    color: #06b6d4;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: #7c3aed;
    font-weight: 600;
    font-size: 1.1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(124, 58, 237, 0.3);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    color: #f8fafc;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #06b6d4;
}

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

.submit-btn {
    background: linear-gradient(45deg, #7c3aed, #06b6d4);
    color: #fff;
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    width: 100%;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.6);
}

/* Content Pages */
.content-container {
    padding: 3rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.terms-content,
.disclaimer-content-page,
.privacy-content {
    background: rgba(30, 27, 75, 0.8);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(124, 58, 237, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.terms-content h2,
.disclaimer-content-page h2,
.privacy-content h2 {
    color: #06b6d4;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.terms-content h2:first-child,
.disclaimer-content-page h2:first-child,
.privacy-content h2:first-child {
    margin-top: 0;
}

.terms-content p,
.disclaimer-content-page p,
.privacy-content p {
    margin-bottom: 1.2rem;
    color: #cbd5e1;
    line-height: 1.8;
}

.terms-content ul,
.disclaimer-content-page ul,
.privacy-content ul {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
}

.terms-content li,
.disclaimer-content-page li,
.privacy-content li {
    margin-bottom: 0.5rem;
    color: #cbd5e1;
}

.highlight-section {
    background: rgba(124, 58, 237, 0.1);
    border-left: 4px solid #7c3aed;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 10px;
}

.highlight-section h3 {
    color: #7c3aed;
    margin-bottom: 1rem;
}

.warning-banner {
    background: linear-gradient(45deg, #7c3aed, #06b6d4);
    color: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
}

.important-notice {
    background: rgba(6, 182, 212, 0.1);
    border: 2px solid #06b6d4;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.important-notice h3 {
    color: #06b6d4;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* Footer */
.footer {
    background: rgba(30, 27, 75, 0.95);
    backdrop-filter: blur(15px);
    padding: 3rem 2rem 2rem;
    margin-top: 4rem;
    border-top: 2px solid rgba(124, 58, 237, 0.3);
}

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

.footer-section {
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.footer-section h3 {
    color: #06b6d4;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
}

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

.footer-section ul li {
    margin: 0.8rem 0;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-section ul li a:hover {
    color: #7c3aed;
}

.footer-notice {
    font-size: 1rem;
    color: #cbd5e1;
    background: rgba(124, 58, 237, 0.1);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(124, 58, 237, 0.3);
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    color: #cbd5e1;
    font-size: 1rem;
}

/* Disclaimer Popup */
.disclaimer-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.disclaimer-popup.active {
    display: flex !important;
}

.popup-content {
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.95), rgba(49, 46, 129, 0.95));
    backdrop-filter: blur(15px);
    border: 2px solid rgba(124, 58, 237, 0.5);
    border-radius: 25px;
    padding: 3rem;
    max-width: 500px;
    margin: 2rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.3);
}

.popup-content h3 {
    color: #06b6d4;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.popup-content p {
    color: #cbd5e1;
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.popup-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.popup-button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.accept-btn {
    background: linear-gradient(45deg, #7c3aed, #06b6d4);
    color: #fff;
    box-shadow: 0 5px 20px rgba(124, 58, 237, 0.4);
}

.decline-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    border: 2px solid rgba(124, 58, 237, 0.3);
}

.popup-button:hover {
    transform: translateY(-2px);
}

.accept-btn:hover {
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.6);
}

.decline-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(124, 58, 237, 0.5);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(30, 27, 75, 0.98);
        flex-direction: column;
        padding: 1rem 0;
        backdrop-filter: blur(15px);
    }

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

    .mobile-menu {
        display: flex;
    }

    .hero-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .games-grid {
        gap: 1.5rem;
    }

    .game-item {
        max-width: 100%;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

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

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .popup-buttons {
        flex-direction: column;
    }

    .popup-content {
        padding: 2rem;
        margin: 1rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .terms-content,
    .disclaimer-content-page,
    .privacy-content {
        padding: 2rem;
    }
}

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

    .hero-text p {
        font-size: 1.1rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .game-item {
        padding: 1rem;
    }
}