* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f0f4f8;
    overflow-x: hidden;
}

/* Age Verification Modal */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 31, 63, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    backdrop-filter: blur(8px);
}

.age-modal.hidden {
    display: none;
}

.age-modal-box {
    background: linear-gradient(135deg, #001F3F 0%, #003d7a 100%);
    border: 4px solid #00CED1;
    border-radius: 25px;
    padding: 50px;
    max-width: 550px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 206, 209, 0.4);
}

.age-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.age-modal-box h2 {
    color: #00CED1;
    font-size: 2.5em;
    font-weight: 900;
    margin-bottom: 15px;
}

.age-modal-box p {
    color: #fff;
    font-size: 1.2em;
    margin-bottom: 15px;
}

.age-notice {
    font-weight: 500;
    background: rgba(0, 206, 209, 0.15);
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
}

.age-buttons {
    display: flex;
    gap: 20px;
    margin: 30px 0 20px;
}

.btn-accept, .btn-deny {
    flex: 1;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
}

.btn-accept {
    background: #00CED1;
    color: #001F3F;
}

.btn-accept:hover {
    background: #00FFFF;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 206, 209, 0.5);
}

.btn-deny {
    background: #555;
    color: #fff;
}

.btn-deny:hover {
    background: #333;
}

.age-disclaimer {
    font-size: 0.9em;
    color: #00CED1;
    font-style: italic;
}

/* Page Layout */
.page-wrapper {
    min-height: 100vh;
    width: 100%;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, #001F3F 0%, #003d7a 100%);
    color: #fff;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 1000;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.sidebar-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 2px solid rgba(0, 206, 209, 0.3);
}

.logo {
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 8px rgba(0, 206, 209, 0.4));
}

.site-title {
    font-size: 2em;
    font-weight: 900;
    color: #00CED1;
    letter-spacing: 2px;
}

.sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nav-link {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1.05em;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(0, 206, 209, 0.2);
    color: #00CED1;
    transform: translateX(5px);
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 25px;
    border-top: 2px solid rgba(0, 206, 209, 0.3);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-badge {
    background: rgba(0, 206, 209, 0.15);
    color: #00CED1;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    font-size: 0.9em;
    border: 1px solid rgba(0, 206, 209, 0.3);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 10001;
    background: #001F3F;
    border: 2px solid #00CED1;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: #00CED1;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    flex: 1;
    padding: 40px;
    background: #f0f4f8;
}

/* Welcome Banner */
.welcome-banner {
    background: linear-gradient(135deg, #00CED1 0%, #001F3F 100%);
    color: #fff;
    padding: 60px 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.banner-content h2 {
    font-size: 3em;
    font-weight: 900;
    margin-bottom: 15px;
}

.tagline {
    font-size: 1.4em;
    margin-bottom: 30px;
    opacity: 0.95;
}

.banner-features {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.feature-pill {
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Intro Section */
.intro-section {
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.section-content h3 {
    color: #001F3F;
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 25px;
}

.section-content p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 20px;
}

/* Key Info Cards */
.key-info {
    margin-bottom: 40px;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.info-card {
    padding: 40px;
    border-radius: 15px;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.info-card.blue {
    background: linear-gradient(135deg, #001F3F, #003d7a);
}

.info-card.cyan {
    background: linear-gradient(135deg, #008B8B, #00CED1);
}

.info-card.dark {
    background: linear-gradient(135deg, #2c3e50, #34495e);
}

.card-icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.info-card h4 {
    font-size: 1.6em;
    font-weight: 700;
    margin-bottom: 15px;
}

.info-card p {
    font-size: 1.05em;
    line-height: 1.7;
}

/* Game Showcase */
.game-showcase {
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.showcase-header {
    text-align: center;
    margin-bottom: 40px;
}

.showcase-header h3 {
    font-size: 2.3em;
    color: #001F3F;
    font-weight: 700;
    margin-bottom: 10px;
}

.showcase-header p {
    font-size: 1.2em;
    color: #666;
}

.game-embed {
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.game-iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.game-note {
    text-align: center;
    color: #666;
    font-size: 1.05em;
}

/* Why Kynera Section */
.why-kynera {
    background: linear-gradient(135deg, #001F3F, #003d7a);
    color: #fff;
    padding: 60px 50px;
    border-radius: 15px;
    margin-bottom: 40px;
}

.why-kynera h3 {
    text-align: center;
    font-size: 2.5em;
    font-weight: 900;
    margin-bottom: 50px;
    color: #00CED1;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.reason-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 206, 209, 0.3);
    transition: transform 0.3s ease;
}

.reason-box:hover {
    transform: translateY(-5px);
    border-color: #00CED1;
}

.reason-emoji {
    font-size: 3em;
    display: block;
    margin-bottom: 20px;
}

.reason-box h5 {
    font-size: 1.4em;
    color: #00CED1;
    margin-bottom: 15px;
}

.reason-box p {
    font-size: 1em;
    line-height: 1.6;
}

/* Responsible Gaming */
.responsible-gaming {
    margin-bottom: 40px;
}

.responsible-box {
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    border-left: 6px solid #00CED1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.responsible-box h3 {
    color: #001F3F;
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 25px;
}

.responsible-box > p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 30px;
}

.responsible-points {
    display: grid;
    gap: 20px;
}

.point {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #00CED1;
}

.point strong {
    color: #001F3F;
    display: block;
    margin-bottom: 8px;
    font-size: 1.1em;
}

/* Final CTA */
.final-cta {
    text-align: center;
    background: linear-gradient(135deg, #00CED1, #001F3F);
    color: #fff;
    padding: 60px 40px;
    border-radius: 15px;
    margin-bottom: 40px;
}

.final-cta h3 {
    font-size: 2.5em;
    font-weight: 900;
    margin-bottom: 15px;
}

.final-cta p {
    font-size: 1.3em;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background: #fff;
    color: #001F3F;
    padding: 20px 50px;
    font-size: 1.3em;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Footer */
.site-footer {
    background: #001F3F;
    color: #fff;
    padding: 50px 40px 30px;
    margin-left: 280px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #00CED1;
    font-size: 1.4em;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-col p {
    color: #ccc;
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #00CED1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 206, 209, 0.3);
    color: #ccc;
}

/* Play Page Specific */
.page-title {
    text-align: center;
    margin-bottom: 40px;
}

.page-title h2 {
    font-size: 3em;
    color: #001F3F;
    font-weight: 900;
    margin-bottom: 10px;
}

.page-title p {
    font-size: 1.3em;
    color: #666;
}

.update-date {
    font-size: 1em;
    color: #00CED1;
    font-weight: 500;
}

.game-player {
    margin-bottom: 40px;
}

.player-wrapper {
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.fullsize-game {
    width: 100%;
    height: 700px;
    border: none;
    display: block;
}

.game-info-section {
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.game-info-section h3 {
    font-size: 2.2em;
    color: #001F3F;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.info-tile {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    transition: border-color 0.3s ease;
}

.info-tile:hover {
    border-color: #00CED1;
}

.tile-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.tile-icon {
    font-size: 2em;
}

.info-tile h4 {
    font-size: 1.4em;
    color: #001F3F;
    font-weight: 700;
}

.info-tile p {
    color: #555;
    line-height: 1.7;
}

.gaming-guidelines {
    margin-bottom: 40px;
}

.guidelines-box {
    background: linear-gradient(135deg, #001F3F, #003d7a);
    color: #fff;
    padding: 50px;
    border-radius: 15px;
    border: 3px solid #00CED1;
}

.guidelines-box h3 {
    font-size: 2.2em;
    color: #00CED1;
    margin-bottom: 30px;
}

.guidelines-list {
    list-style: none;
}

.guidelines-list li {
    padding: 20px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border-left: 4px solid #00CED1;
}

.guidelines-list li strong {
    color: #00CED1;
    display: block;
    margin-bottom: 8px;
}

.help-section {
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.help-section h3 {
    font-size: 2em;
    color: #001F3F;
    margin-bottom: 20px;
    text-align: center;
}

.help-section > p {
    text-align: center;
    font-size: 1.1em;
    color: #666;
    margin-bottom: 40px;
}

.help-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.help-step {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: #00CED1;
    color: #fff;
    border-radius: 50%;
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 15px;
}

.help-step p {
    color: #555;
    font-weight: 500;
}

/* Content Pages */
.terms-content,
.privacy-content,
.disclaimer-content {
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.terms-section,
.privacy-section,
.disclaimer-section {
    margin-bottom: 40px;
}

.terms-section h3,
.privacy-section h3,
.disclaimer-section h3 {
    color: #001F3F;
    font-size: 1.9em;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 10px;
}

.terms-section h4,
.privacy-section h4,
.disclaimer-section h4 {
    color: #003d7a;
    font-size: 1.4em;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 15px;
}

.terms-section p,
.privacy-section p,
.disclaimer-section p,
.terms-section ul,
.privacy-section ul,
.disclaimer-section ul {
    color: #555;
    font-size: 1.05em;
    line-height: 1.8;
    margin-bottom: 15px;
}

.terms-section ul,
.privacy-section ul,
.disclaimer-section ul {
    margin-left: 30px;
}

.terms-section li,
.privacy-section li,
.disclaimer-section li {
    margin-bottom: 12px;
}

.terms-notice-box,
.privacy-summary-box,
.final-disclaimer-box {
    background: linear-gradient(135deg, #e8f4f8, #d0e8f0);
    padding: 35px;
    border-radius: 12px;
    border-left: 6px solid #00CED1;
    margin-top: 50px;
}

.terms-notice-box h4,
.privacy-summary-box h4,
.final-disclaimer-box h4 {
    color: #001F3F;
    font-size: 1.6em;
    margin-bottom: 15px;
}

.privacy-intro {
    margin-bottom: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 5px solid #00CED1;
}

.privacy-intro p {
    font-size: 1.1em;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.critical-notice {
    background: linear-gradient(135deg, #001F3F, #003d7a);
    color: #fff;
    padding: 40px;
    border-radius: 15px;
    border: 4px solid #00CED1;
    margin-bottom: 40px;
    text-align: center;
}

.notice-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.critical-notice h3 {
    color: #00CED1 !important;
    font-size: 2.2em !important;
    margin-bottom: 20px !important;
}

.critical-notice p {
    color: #fff !important;
    font-size: 1.1em;
}

.final-disclaimer-box ul {
    list-style: none;
    margin-left: 0;
    margin-top: 20px;
}

.final-disclaimer-box li {
    padding: 8px 0;
    font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .mobile-toggle {
        display: flex;
    }

    .main-content {
        margin-left: 0;
        padding: 80px 20px 40px;
    }

    .site-footer {
        margin-left: 0;
        padding: 40px 20px 20px;
    }

    .welcome-banner {
        padding: 40px 25px;
    }

    .banner-content h2 {
        font-size: 2em;
    }

    .tagline {
        font-size: 1.1em;
    }

    .intro-section,
    .game-showcase,
    .responsible-box,
    .game-info-section,
    .help-section,
    .terms-content,
    .privacy-content,
    .disclaimer-content {
        padding: 30px 20px;
    }

    .game-iframe,
    .fullsize-game {
        height: 400px;
    }

    .age-modal-box {
        padding: 30px 20px;
        margin: 20px;
    }

    .age-buttons {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-title h2 {
        font-size: 2em;
    }

    .showcase-header h3,
    .why-kynera h3 {
        font-size: 1.8em;
    }

    .game-iframe,
    .fullsize-game {
        height: 350px;
    }
}
