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

:root {
    --primary-color: #FF6F61;
    --secondary-color: #6B5B95;
    --accent-color: #FFD700;
    --bg-color: #1C1C1C;
    --text-color: #ffffff;
    --text-secondary: #cccccc;
    --card-bg: #2a2a2a;
    --border-color: #333333;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Bangers', cursive;
    font-weight: 400;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--accent-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(28, 28, 28, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.nav-logo h2 {
    font-family: 'Bangers', cursive;
    font-size: 1.8rem;
    color: var(--accent-color);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

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

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

.nav-link:hover {
    color: var(--accent-color);
}

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

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

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

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-image: url('/hero-bg.webp');
    background-size: cover;
    background-position: center;
}

/* Overlay using ::before */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Overlay gradient using your theme colors */
    background: linear-gradient(
        to bottom right,
        rgba(185, 70, 59, 0.8),   /* Coral Red */
        rgba(89, 71, 136, 0.8),   /* Indigo Purple */
        rgba(28, 28, 28, 0.8)     /* Deep Charcoal */
    );
    z-index: 1;
}

/* Ensure hero content stays above the overlay */
.hero > * {
    position: relative;
    z-index: 2;
}

/* Hero Content Styling */
.hero-content {
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 20px;
}

.hero-title {
    font-family: "Bangers", cursive;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #FFD700; /* Gold Accent */
}

.hero-subtitle {
    font-family: "Poppins", sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #ffffff;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    font-family: "Poppins", sans-serif;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #FF6F61;
    color: #fff;
    margin-right: 10px;
}

.btn-primary:hover {
    background-color: #FFD700;
    color: #1C1C1C;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #FFD700;
    color: #FFD700;
}

.btn-secondary:hover {
    background-color: #FFD700;
    color: #1C1C1C;
}


.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    
    
}


.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 10px var(--accent-color)); }
    to { filter: drop-shadow(0 0 20px var(--accent-color)); }
}

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

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
    opacity: 0.1;
    animation: bgMove 20s ease-in-out infinite;
}

@keyframes bgMove {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(2deg); }
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 111, 97, 0.1) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

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

/* Buttons */
.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--bg-color);
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 111, 97, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 111, 97, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--accent-color);
    padding: 10px 25px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 10px 25px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-color) 0%, rgba(107, 91, 149, 0.1) 100%);
}

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

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.about-image {
    display: flex;
    justify-content: center;
}

.floating-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
    animation: float 3s ease-in-out infinite;
}

.floating-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.floating-card p {
    color: var(--text-secondary);
}

/* Game Section */
.game {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(107, 91, 149, 0.1) 0%, var(--bg-color) 100%);
}

.game-content {
    text-align: center;
}

.game-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.game-preview {
    display: flex;
    justify-content: center;
}

.game-card {
    background: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    border: 1px solid var(--border-color);
    width: 600px;
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-10px);
}

.game-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.game-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.game-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Disclaimer Section */
.disclaimer {
    padding: 40px 0;
    background: var(--secondary-color);
    text-align: center;
}

.disclaimer-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--bg-color) 0%, rgba(107, 91, 149, 0.2) 100%);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

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

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-block;
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    background: var(--card-bg);
}

.social-link:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
    background: rgba(255, 215, 0, 0.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: var(--bg-color);
    margin: 5% auto;
    padding: 0;
    border: 1px solid var(--border-color);
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}

.close {
    color: var(--accent-color);
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.game-frame {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.game-frame iframe {
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

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

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

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

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

    .modal-content {
        width: 95%;
        height: 95vh;
        margin: 2.5% auto;
    }
}

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

    .btn-primary, .btn-secondary, .btn-outline {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .game-card {
        padding: 2rem 1rem;
    }
}

/* Scroll animations */
section {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

section.animate {
    opacity: 1;
    transform: translateY(0);
}

/* start age 18 style */
#age-verification {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup {
    background: #000;
    border: 2px solid #ffcc00;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 0 25px #ffcc00;
}

.popup h1 {
    color: #ffcc00;
    font-size: 24px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #ffcc00;
}

.popup img {
    width: 80px;
    margin-bottom: 20px;
}

.popup p {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
}

.popup button {
    background: linear-gradient(to right, #ffd000, #ff9900);
    color: black;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.popup button:hover {
    background: linear-gradient(to right, #ffb700, #ff6600);
}

.popup small {
    display: block;
    color: #ccc;
    font-size: 12px;
    margin-top: 15px;
}
/* end 18 age style */

/* start style cookie */
#cookieConsent {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 300px;
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    font-family: Arial, sans-serif;
    z-index: 9999;
}

#cookieConsent p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 15px;
}

#cookieConsent a {
    color: #fdd835;
    text-decoration: underline;
}

/* Privacy Policy and Terms Pages Styling */
.privacy-policy, .terms-conditions {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-color) 0%, rgba(107, 91, 149, 0.1) 100%);
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}
.policy-section {
    margin-bottom: 2rem;
}

.policy-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.policy-section p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.policy-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.policy-section ul li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.policy-date {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-style: italic;
}

@media (max-width: 768px) {
    .policy-content {
        padding: 2rem 1.5rem;
        margin: 0 20px;
    }

    .policy-section h2 {
        font-size: 1.5rem;
    }
}

/* start age 18 style */
#age-verification {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup {
    background: #000;
    border: 2px solid #ffcc00;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 0 25px #ffcc00;
}

.popup h1 {
    color: #ffcc00;
    font-size: 24px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #ffcc00;
}

.popup img {
    width: 80px;
    margin-bottom: 20px;
}

.popup p {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
}

.popup button {
    background: linear-gradient(to right, #ffd000, #ff9900);
    color: black;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.popup button:hover {
    background: linear-gradient(to right, #ffb700, #ff6600);
}

.popup small {
    display: block;
    color: #ccc;
    font-size: 12px;
    margin-top: 15px;
}
/* end 18 age style */

/* Disclaimer Section */
.disclaimer-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, rgba(107, 91, 149, 0.2) 100%);
    border-top: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

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

.disclaimer-header {
    margin-bottom: 3rem;
}

.disclaimer-header h2 {
    font-size: 2.5rem;
    color: var(--accent-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
}

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

.disclaimer-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.disclaimer-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-color: var(--accent-color);
}

.disclaimer-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.disclaimer-text h3 {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-family: 'Bangers', cursive;
}

.disclaimer-text p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

.disclaimer-footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--primary-color);
}

.disclaimer-main-text {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.6;
}

.disclaimer-main-text strong {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .disclaimer-section {
        padding: 40px 0;
    }
    
    .disclaimer-header h2 {
        font-size: 2rem;
    }
    
    .disclaimer-body {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .disclaimer-item {
        padding: 1.5rem 1rem;
    }
    
    .disclaimer-icon {
        font-size: 2.5rem;
    }
    
    .disclaimer-text h3 {
        font-size: 1.2rem;
    }
}

/* Game Loading Spinner */
.game-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 10px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

.game-loading p {
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

/* Game Loading Styles */
.game-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 10px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

.game-loading p {
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.game-frame {
    position: relative;
    width: 100%;
    height: 100%;
}

.game-frame iframe {
    border-radius: 10px;
}
