/* Programor CSS - Cyber Tech Theme */

:root {
    --primary-color: #00d4ff;
    --secondary-color: #0099cc;
    --accent-color: #00ffaa;
    --dark-bg: #0a0e27;
    --darker-bg: #050814;
    --sidebar-bg: #0f1428;
    --text-color: #e0f4ff;
    --text-muted: #8fa9c4;
    --border-color: #1a2a4a;
    --hover-color: #1a2f5a;
    --shadow-glow: rgba(0, 212, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 260px;
    height: 100vh;
    background-color: var(--sidebar-bg);
    border-right: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
    z-index: 100;
    transition: transform 0.3s ease;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--shadow-glow);
}

.logo-icon {
    font-size: 1.8rem;
}

.sidebar-close {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.sidebar-nav {
    flex: 1;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    background-color: var(--hover-color);
    border-left-color: var(--primary-color);
    box-shadow: inset 0 0 20px rgba(0, 212, 255, 0.1);
}

.sidebar-link.active {
    background-color: var(--hover-color);
    border-left-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: inset 0 0 20px rgba(0, 212, 255, 0.2);
}

.link-icon {
    font-size: 1.3rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 101;
    flex-direction: column;
    gap: 5px;
    background: var(--sidebar-bg);
    border: 2px solid var(--primary-color);
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 0 15px var(--shadow-glow);
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* Main Wrapper */
.main-wrapper {
    margin-left: 260px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, var(--darker-bg), var(--sidebar-bg));
    border-bottom: 2px solid var(--border-color);
    padding: 1.5rem 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.page-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--shadow-glow);
}

/* Content */
.content {
    flex: 1;
    padding: 2rem;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 4rem 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 5px 30px var(--shadow-glow);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-heading {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--darker-bg);
}

.hero-text {
    font-size: 1.2rem;
    color: var(--darker-bg);
}

/* Sections */
.info-section,
.features-section,
.game-showcase,
.additional-info,
.responsibility-statement {
    margin-bottom: 3rem;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.section-text {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background-color: var(--sidebar-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 25px var(--shadow-glow);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-text {
    color: var(--text-muted);
}

/* Game Showcase */
.game-embed {
    background-color: var(--darker-bg);
    border-radius: 10px;
    overflow: hidden;
    margin: 2rem 0;
    border: 2px solid var(--border-color);
}

.game-iframe {
    width: 100%;
    height: 650px;
    border: none;
}

.game-info {
    background-color: var(--sidebar-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-card {
    background-color: var(--sidebar-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 3px 15px rgba(0, 255, 170, 0.2);
}

.info-card h3 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

/* Play Page */
.play-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.intro-text {
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto;
}

.play-game-section {
    margin-bottom: 3rem;
}

.game-embed-full {
    background-color: var(--darker-bg);
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.game-iframe-full {
    width: 100%;
    height: 750px;
    border: none;
}

/* Instructions */
.instructions-section {
    margin-bottom: 3rem;
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.instruction-card {
    background-color: var(--sidebar-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid var(--border-color);
}

.instruction-card h3 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Reminders */
.reminders-section {
    background-color: var(--sidebar-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid var(--accent-color);
    margin-bottom: 3rem;
}

.reminders-content {
    margin-top: 1.5rem;
}

.reminders-list {
    list-style: none;
}

.reminders-list li {
    padding: 0.7rem 0 0.7rem 2rem;
    position: relative;
    font-size: 1.05rem;
}

.reminders-list li::before {
    content: '⚡';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Support Section */
.support-section {
    background-color: var(--sidebar-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid var(--border-color);
}

/* Legal Content */
.legal-content {
    max-width: 1000px;
}

.legal-date {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 2rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-section ul {
    margin: 1rem 0 1rem 2rem;
}

.legal-section ul li {
    margin-bottom: 0.5rem;
}

.legal-section a {
    color: var(--accent-color);
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background-color: var(--sidebar-bg);
    border-top: 2px solid var(--border-color);
    padding: 3rem 2rem 1rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Age Verification Modal */
.age-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 8, 20, 0.95);
    backdrop-filter: blur(10px);
}

.age-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.age-modal-content {
    background: linear-gradient(135deg, var(--sidebar-bg), var(--darker-bg));
    padding: 3rem;
    border-radius: 15px;
    border: 3px solid var(--primary-color);
    text-align: center;
    max-width: 500px;
    margin: 0 20px;
    box-shadow: 0 10px 50px var(--shadow-glow);
}

.age-modal-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px var(--shadow-glow);
}

.age-modal-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.age-modal-content p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.age-disclaimer {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.age-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.age-yes {
    background-color: var(--accent-color);
    color: var(--darker-bg);
}

.age-yes:hover {
    background-color: #00cc88;
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 255, 170, 0.5);
}

.age-no {
    background-color: #ff4444;
    color: white;
}

.age-no:hover {
    background-color: #cc0000;
    transform: scale(1.05);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .sidebar-close {
        display: block;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .main-wrapper {
        margin-left: 0;
    }

    .content {
        padding: 1.5rem;
    }

    .hero-heading {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 1.05rem;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .game-iframe,
    .game-iframe-full {
        height: 450px;
    }

    .features-grid,
    .instructions-grid {
        grid-template-columns: 1fr;
    }

    .age-buttons {
        flex-direction: column;
    }

    .age-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        padding: 2rem 1rem;
    }

    .hero-heading {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .game-iframe,
    .game-iframe-full {
        height: 350px;
    }
}
