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

/* Body Styling */
body {
    font-family: 'Roboto', Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    color: #333;
    min-height: 100vh;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background: #4a90e2;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

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

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #4a90e2, #50c9c3);
    color: #fff;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.hero-img-wrapper {
    flex: 1 1 300px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-image {
    max-width: 200px;
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 8px 32px rgba(74,144,226,0.18);
    background: linear-gradient(135deg, #ffcc00 0%, #50c9c3 100%);
    object-fit: cover;
}

.hero-text {
    flex: 2 1 400px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-right: 14rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 5rem;
    background: #ffcc00;
    color: #333;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.4);
}

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

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffa726, #ff7043);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: linear-gradient(90deg, #c3cfe2 0%, #f5f7fa 100%);
    padding: 3rem 2rem;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(74,144,226,0.10);
    margin: 2rem auto;
    max-width: 900px;
}

.about-container {
    background: rgba(255,255,255,0.7);
    border-left: 6px solid #50c9c3;
    border-radius: 12px;
    padding: 2rem 2rem 2rem 2.5rem;
    box-shadow: 0 2px 8px rgba(80,201,195,0.08);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.about-content h2 {
    color: #50c9c3;
    font-size: 2rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.about-content p {
    color: #333;
    font-size: 1.1rem;
    opacity: 0.95;
}

.about-image {
    font-size: 6rem;
    opacity: 0.5;
    text-align: center;
}

@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }
    .about-image {
        font-size: 4rem;
    }
    .disclaimer, .about {
        padding: 2rem 1rem;
        max-width: 100%;
    }
}

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

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

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffa726;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 167, 38, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 167, 38, 0.5);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffa726;
}

.feature-card p {
    opacity: 0.9;
}

/* Game Section */
.game-section {
    padding: 4rem 2rem;
    background: rgba(0, 0, 0, 0.3);
}

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

.game-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #ffa726;
}

.game-frame {
    width: 100%;
    max-width: 800px;
    height: 600px;
    border: 3px solid #ffa726;
    border-radius: 15px;
    background: #000;
    margin: 0 auto;
}

/* Play Page Styles */
.play-header {
    margin-top: 80px;
    padding: 2rem;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
}

.play-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffa726, #ff7043);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.play-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.game-wrapper {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid rgba(255, 167, 38, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.game-title {
    text-align: center;
    margin-bottom: 1.5rem;
}

.game-title h2 {
    font-size: 2rem;
    color: #ffa726;
    margin-bottom: 0.5rem;
}

.game-title p {
    opacity: 0.8;
    font-size: 1rem;
}

.game-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.control-btn {
    padding: 0.7rem 1.5rem;
    background: linear-gradient(45deg, #ffa726, #ff7043);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.control-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 167, 38, 0.3);
}

.game-info {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
}

.game-info h3 {
    color: #ffa726;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

.info-card {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #ffa726;
}

.info-card h4 {
    color: #ffa726;
    margin-bottom: 0.5rem;
}

.info-card p {
    opacity: 0.9;
    font-size: 0.95rem;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 167, 38, 0.2);
}

.contact-info h2 {
    color: #ffa726;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.contact-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 40px;
    text-align: center;
}

.contact-details h3 {
    color: #ffa726;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-details p {
    opacity: 0.9;
    font-size: 0.95rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 167, 38, 0.2);
}

.contact-form h2 {
    color: #ffa726;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffa726;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid rgba(255, 167, 38, 0.3);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

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

.submit-btn {
    background: linear-gradient(45deg, #ffa726, #ff7043);
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 1rem;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 167, 38, 0.3);
}

.faq-section {
    margin-top: 3rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
}

.faq-section h2 {
    color: #ffa726;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 1rem 1.5rem;
    background: rgba(255, 167, 38, 0.1);
    cursor: pointer;
    border-left: 4px solid #ffa726;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 167, 38, 0.2);
}

.faq-question h3 {
    color: #ffa726;
    font-size: 1.1rem;
}

.faq-answer {
    padding: 1.5rem;
    opacity: 0.9;
    border-top: 1px solid rgba(255, 167, 38, 0.1);
    display: none;
}

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

.terms-content,
.disclaimer-content,
.privacy-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 167, 38, 0.2);
}

.terms-content h2,
.disclaimer-content h2,
.privacy-content h2 {
    color: #ffa726;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    font-size: 1.5rem;
}

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

.terms-content p,
.disclaimer-content p,
.privacy-content p {
    margin-bottom: 1rem;
    opacity: 0.9;
    line-height: 1.7;
}

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

.terms-content li,
.disclaimer-content li,
.privacy-content li {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.highlight-box,
.highlight-section {
    background: rgba(255, 167, 38, 0.1);
    border-left: 4px solid #ffa726;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
}

.highlight-box h3,
.highlight-section h3 {
    color: #ffa726;
    margin-bottom: 1rem;
}

.warning-banner {
    background: linear-gradient(45deg, #ff7043, #ffa726);
    color: #000;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: bold;
}

.warning-banner h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.important-notice {
    background: rgba(255, 167, 38, 0.1);
    border: 2px solid #ffa726;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.important-notice h3 {
    color: #ffa726;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.age-verification {
    background: rgba(255, 0, 0, 0.1);
    border-left: 4px solid #ff4444;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
}

.age-verification h3 {
    color: #ff6666;
    margin-bottom: 1rem;
}

.legal-text {
    font-size: 0.9rem;
    opacity: 0.8;
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 167, 38, 0.2);
}

.data-table th {
    background: rgba(255, 167, 38, 0.2);
    color: #ffa726;
    font-weight: bold;
}

.contact-info-privacy {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.last-updated {
    text-align: center;
    opacity: 0.7;
    font-style: italic;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 167, 38, 0.3);
}

/* Footer - Redesigned */
.footer {
    background: linear-gradient(90deg, #4a90e2 0%, #50c9c3 100%);
    color: #fff;
    padding: 3rem 1rem 1.5rem;
    margin-top: 2rem;
    box-shadow: 0 -2px 10px rgba(80, 201, 195, 0.15);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.footer-section {
    flex: 1 1 220px;
    min-width: 220px;
    margin-bottom: 1.5rem;
    background: rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.07);
}

.footer-section h3 {
    color: #ffcc00;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

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

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

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

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

.footer-notice {
    font-size: 0.95rem;
    color: #ffe;
    background: rgba(255,255,255,0.09);
    border-radius: 8px;
    padding: 0.7rem 1rem;
    margin-top: 1rem;
    box-shadow: 0 1px 4px rgba(255,204,0,0.07);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    color: #ffe;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

/* Footer Social Icons */
.footer-social {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.footer-social a {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 32px;
    color: #4a90e2;
    font-size: 1.3rem;
    transition: background 0.3s, color 0.3s;
}

.footer-social a:hover {
    background: #ffcc00;
    color: #333;
}

.disclaimer-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

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

/* Decorated Disclaimer Section */
.disclaimer {
    background: linear-gradient(90deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 3rem 2rem;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(74,144,226,0.10);
    margin: 2rem auto;
    max-width: 900px;
}
.disclaimer-content {
    background: rgba(255,255,255,0.7);
    border-left: 6px solid #4a90e2;
    border-radius: 12px;
    padding: 2rem 2rem 2rem 2.5rem;
    box-shadow: 0 2px 8px rgba(80,201,195,0.08);
}
.disclaimer-content h2 {
    color: #4a90e2;
    font-size: 2rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}
.disclaimer-content p {
    color: #333;
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Decorated Disclaimer Popup */
.disclaimer-popup .popup-content {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(74,144,226,0.18);
    border-left: 6px solid #4a90e2;
    padding: 2.5rem 2rem;
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
    color: #333;
    position: relative;
}
.disclaimer-popup .popup-content h3 {
    color: #4a90e2;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}
.disclaimer-popup .popup-content p {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    opacity: 0.95;
}
.popup-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}
.popup-button {
    padding: 0.7rem 2rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    background: #4a90e2;
    color: #fff;
    transition: background 0.3s, transform 0.3s;
    box-shadow: 0 2px 8px rgba(74,144,226,0.10);
}
.popup-button.accept-btn {
    background: #ffcc00;
    color: #333;
}
.popup-button.decline-btn {
    background: #e74c3c;
    color: #fff;
}
.popup-button:hover {
    background: #50c9c3;
    color: #fff;
    transform: translateY(-2px);
}
@media (max-width: 480px) {
    .disclaimer-popup .popup-content {
        padding: 1.2rem 0.5rem;
        max-width: 95vw;
    }
    .popup-buttons {
        flex-direction: column;
        gap: 0.7rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

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

    .mobile-menu {
        display: flex;
    }

    .hero h1,
    .page-header h1,
    .play-header h1 {
        font-size: 2rem;
    }

    .hero p,
    .page-header p,
    .play-header p {
        font-size: 1rem;
    }

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

    .about-image {
        order: -1;
        font-size: 5rem;
    }

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

    .game-frame {
        height: 400px;
    }

    .game-controls {
        flex-direction: column;
        align-items: center;
    }

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

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

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

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

    .content-container {
        padding: 2rem 1rem;
    }

    .data-table {
        font-size: 0.9rem;
    }

    .data-table th,
    .data-table td {
        padding: 0.7rem;
    }
}

@media (max-width: 480px) {
    .game-frame {
        height: 400px;
    }

    .game-wrapper {
        padding: 1rem;
    }

    .contact-container {
        padding: 2rem 1rem;
    }
}