* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    min-height: 100vh;
}

h1, h2, h3 {
    font-family: 'Cinzel', serif;
    color: #fbbf24;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

header {
    background: rgba(15, 12, 41, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.navbar {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fbbf24;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #7c3aed;
    transition: width 0.3s;
}

.nav-menu a:hover {
    color: #fbbf24;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fbbf24;
    margin: 3px 0;
    transition: 0.3s;
}

main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(251, 191, 36, 0.1) 100%);
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.3);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fbbf24 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #c084fc;
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    padding: 2rem;
    background: rgba(15, 12, 41, 0.6);
    border-radius: 15px;
    border: 2px solid rgba(124, 58, 237, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
}

.feature-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.notices {
    margin: 3rem 0;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.notice-card {
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid;
    background: rgba(15, 12, 41, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.notice-card.important {
    border-left-color: #ef4444;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(15, 12, 41, 0.8) 100%);
}

.notice-card.recreational {
    border-left-color: #3b82f6;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(15, 12, 41, 0.8) 100%);
}

.notice-card.age {
    border-left-color: #fbbf24;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(15, 12, 41, 0.8) 100%);
}

.game-section {
    margin: 3rem 0;
    text-align: center;
}

.game-header {
    margin-bottom: 2rem;
}

.game-header p {
    color: #c084fc;
    font-size: 1.1rem;
}

.game-container {
    width: 100%;
    max-width: 1000px;
    margin: 2rem auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.4);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
}

.game-info {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #c084fc;
}

.about-section {
    margin: 4rem 0;
    padding: 3rem 2rem;
    background: rgba(15, 12, 41, 0.6);
    border-radius: 20px;
}

.about-content h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.about-card {
    padding: 2rem;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(124, 58, 237, 0.3);
    transition: transform 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.community-section {
    margin: 4rem 0;
    text-align: center;
    padding: 3rem 2rem;
}

.community-intro {
    font-size: 1.1rem;
    color: #c084fc;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(251, 191, 36, 0.1) 100%);
    border-radius: 15px;
    border: 2px solid rgba(124, 58, 237, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fbbf24;
    font-family: 'Cinzel', serif;
}

.stat-label {
    color: #c084fc;
    margin-top: 0.5rem;
}

.cta-section {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.3) 0%, rgba(251, 191, 36, 0.2) 100%);
    border-radius: 20px;
    margin: 3rem 0;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    color: #c084fc;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, #7c3aed 0%, #fbbf24 100%);
    color: #0f0c29;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.6);
}

footer {
    background: rgba(15, 12, 41, 0.95);
    margin-top: 4rem;
    padding: 3rem 2rem 1rem;
    border-top: 3px solid #7c3aed;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 2rem;
}

.footer-nav {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #fbbf24;
}

.footer-links {
    margin: 2rem 0;
}

.footer-links h4 {
    color: #c084fc;
    margin-bottom: 1rem;
}

.footer-links a {
    display: inline-block;
    margin-right: 1.5rem;
    margin-bottom: 0.5rem;
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fbbf24;
}

.footer-bottom {
    border-top: 1px solid rgba(124, 58, 237, 0.3);
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    color: #c084fc;
}

.footer-notice {
    font-weight: 600;
    color: #fbbf24;
    margin-top: 0.5rem;
}

.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-modal.show {
    display: flex;
}

.age-content {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    border: 3px solid #7c3aed;
    box-shadow: 0 10px 50px rgba(124, 58, 237, 0.5);
}

.age-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.age-content h2 {
    color: #fbbf24;
    margin-bottom: 1rem;
}

.age-content p {
    margin-bottom: 1rem;
    color: #e0e0e0;
}

.age-notice {
    color: #c084fc;
    font-style: italic;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.age-btn {
    flex: 1;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.age-btn.yes {
    background: linear-gradient(135deg, #7c3aed 0%, #fbbf24 100%);
    color: #0f0c29;
}

.age-btn.no {
    background: #374151;
    color: #e0e0e0;
}

.age-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(124, 58, 237, 0.4);
}

.play-page {
    min-height: calc(100vh - 300px);
}

.play-header {
    text-align: center;
    padding: 2rem;
    margin-bottom: 2rem;
}

.play-header p {
    color: #c084fc;
    font-size: 1.1rem;
}

.game-play-section {
    margin: 2rem 0;
}

.game-container-full {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.4);
}

.game-frame-full {
    width: 100%;
    height: 700px;
    border: none;
}

.game-instructions {
    margin: 3rem 0;
    padding: 2rem;
}

.game-instructions h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.instruction-card {
    padding: 2rem;
    background: rgba(15, 12, 41, 0.6);
    border-radius: 15px;
    border: 2px solid rgba(124, 58, 237, 0.3);
}

.instruction-card h3 {
    margin-bottom: 1rem;
}

.play-notice {
    margin: 3rem 0;
    padding: 2rem;
}

.notice-box {
    background: rgba(124, 58, 237, 0.2);
    border: 2px solid #7c3aed;
    border-radius: 15px;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.notice-box h3 {
    margin-bottom: 1rem;
}

.notice-box ul {
    list-style-position: inside;
    color: #e0e0e0;
}

.notice-box li {
    margin-bottom: 0.5rem;
}

.legal-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.legal-header {
    text-align: center;
    padding: 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(251, 191, 36, 0.1) 100%);
    border-radius: 20px;
}

.legal-date {
    color: #c084fc;
    font-style: italic;
}

.legal-content {
    background: rgba(15, 12, 41, 0.6);
    padding: 3rem;
    border-radius: 20px;
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(124, 58, 237, 0.3);
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    margin-bottom: 1rem;
}

.legal-section h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: #c084fc;
}

.legal-section p {
    margin-bottom: 1rem;
    text-align: justify;
}

.legal-section ul {
    margin: 1rem 0 1rem 2rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.disclaimer-highlight {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #7c3aed;
}

.disclaimer-highlight h2 {
    color: #fbbf24;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(15, 12, 41, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .game-frame {
        height: 400px;
    }

    .game-frame-full {
        height: 500px;
    }

    .age-content {
        margin: 1rem;
        padding: 2rem;
    }

    .age-buttons {
        flex-direction: column;
    }

    .stat-number {
        font-size: 2rem;
    }

    .legal-content {
        padding: 1.5rem;
    }

    main {
        padding: 1rem;
    }
}
