* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #e0e0e0;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #f39c12;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f39c12;
    text-decoration: none;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    letter-spacing: 1px;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s;
    position: relative;
}

nav a:hover,
nav a.active {
    color: #f39c12;
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #f39c12;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #f39c12;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.age-modal.show {
    display: flex;
}

.age-modal-content {
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    border: 3px solid #f39c12;
}

.age-modal-content h2 {
    color: #f39c12;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.age-modal-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.age-buttons button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'Rajdhani', sans-serif;
}

.btn-yes {
    background: #27ae60;
    color: white;
}

.btn-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.4);
}

.btn-no {
    background: #e74c3c;
    color: white;
}

.btn-no:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.hero {
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    color: #f39c12;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: #bdc3c7;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    background: rgba(243, 156, 18, 0.2);
    border: 2px solid #f39c12;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
}

.notices {
    padding: 3rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.notice-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid #f39c12;
    text-align: center;
}

.notice-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.notice-card h3 {
    color: #f39c12;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.game-section {
    padding: 4rem 0;
}

.game-section h2,
.features h2,
.about h2 {
    font-size: 2.5rem;
    color: #f39c12;
    margin-bottom: 1rem;
    text-align: center;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #bdc3c7;
}

.game-wrapper,
.game-wrapper-full {
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid #f39c12;
    margin: 2rem 0;
}

.game-frame,
.game-frame-full {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.game-info {
    text-align: center;
    padding: 1rem;
    background: rgba(243, 156, 18, 0.1);
    border-radius: 8px;
    margin-top: 1rem;
}

.features {
    padding: 4rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    color: #f39c12;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about {
    padding: 4rem 0;
}

.about p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.play-header {
    padding: 3rem 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
}

.play-header h1 {
    font-size: 3rem;
    color: #f39c12;
    margin-bottom: 1rem;
}

.game-section-full {
    padding: 3rem 0;
}

.game-controls-info {
    margin-top: 3rem;
}

.game-controls-info h3 {
    color: #f39c12;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.controls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.control-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #f39c12;
}

.control-item strong {
    color: #f39c12;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.legal-content {
    padding: 3rem 0;
}

.legal-content h1 {
    font-size: 3rem;
    color: #f39c12;
    margin-bottom: 1rem;
}

.legal-intro {
    font-style: italic;
    color: #bdc3c7;
    margin-bottom: 2rem;
}

.legal-content h2 {
    color: #f39c12;
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content p,
.legal-content li {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.disclaimer-highlight {
    background: rgba(243, 156, 18, 0.1);
    border-left: 4px solid #f39c12;
    padding: 1.5rem;
    margin: 2rem 0;
}

.disclaimer-highlight h2 {
    margin-top: 0;
}

footer {
    background: rgba(0, 0, 0, 0.7);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 3px solid #f39c12;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #f39c12;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #f39c12;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(243, 156, 18, 0.3);
    color: #bdc3c7;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }

    nav.active {
        display: flex;
    }

    nav a::after {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .age-modal-content {
        margin: 20px;
        padding: 2rem;
    }

    .age-buttons {
        flex-direction: column;
    }

    .notice-grid,
    .features-grid,
    .controls-grid {
        grid-template-columns: 1fr;
    }

    .game-frame,
    .game-frame-full {
        height: 400px;
    }
}
