/* Suborynx.xyz - Minimalist Clean Theme */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Bitter:wght@400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --pure-white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --mid-gray: #6c757d;
    --dark-charcoal: #212529;
    --accent-blue: #0d6efd;
    --accent-green: #198754;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--off-white);
    color: var(--dark-charcoal);
    line-height: 1.7;
}

/* Clean Header */
.clean-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--pure-white);
    z-index: 9000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-box {
    width: 42px;
    height: 42px;
    background: var(--accent-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bitter', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
}

.logo-word {
    font-family: 'Bitter', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-charcoal);
}

.clean-nav {
    display: flex;
    gap: 2rem;
}

.clean-nav a {
    color: var(--mid-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.clean-nav a:hover,
.clean-nav a.active {
    color: var(--accent-blue);
}

/* Mobile Toggle */
.toggle-btn {
    display: none;
    background: none;
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    padding: 8px 10px;
    cursor: pointer;
}

.toggle-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--dark-charcoal);
    margin: 5px 0;
    transition: all 0.3s;
}

.toggle-btn.on span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.toggle-btn.on span:nth-child(2) {
    opacity: 0;
}

.toggle-btn.on span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--pure-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mobile-panel.visible {
    display: block;
}

.mobile-panel a {
    display: block;
    padding: 1rem 2rem;
    color: var(--dark-charcoal);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--light-gray);
}

.mobile-panel a:hover {
    background: var(--off-white);
}

/* Main */
main {
    padding-top: 74px;
}

/* Hero */
.simple-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--pure-white);
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-family: 'Bitter', serif;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--dark-charcoal);
    line-height: 1.2;
}

.hero-content .intro {
    font-size: 1.15rem;
    color: var(--mid-gray);
    margin-bottom: 3rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Info Tiles */
.info-tiles {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.tile {
    background: var(--off-white);
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    width: 200px;
}

.tile .ico {
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
}

.tile h3 {
    font-family: 'Bitter', serif;
    font-size: 0.95rem;
    color: var(--dark-charcoal);
    margin-bottom: 0.3rem;
}

.tile p {
    font-size: 0.85rem;
    color: var(--mid-gray);
}

/* Game Section */
.game-section {
    padding: 4rem 2rem;
    background: var(--off-white);
}

.section-heading {
    font-family: 'Bitter', serif;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark-charcoal);
}

.game-container {
    max-width: 1280px;
    margin: 0 auto;
    background: var(--pure-white);
    border: 1px solid var(--light-gray);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.game-iframe {
    width: 100%;
    height: 560px;
    border: none;
    border-radius: 12px;
    background: #000;
}

/* Feature Cards */
.feature-section {
    padding: 4rem 2rem;
    background: var(--pure-white);
}

.feature-cards {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--off-white);
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    padding: 2rem;
}

.feature-card h3 {
    font-family: 'Bitter', serif;
    font-size: 1.2rem;
    color: var(--dark-charcoal);
    margin-bottom: 0.8rem;
}

.feature-card p {
    color: var(--mid-gray);
    line-height: 1.8;
}

/* Footer */
.clean-footer {
    background: var(--dark-charcoal);
    padding: 2.5rem 2rem;
}

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

.footer-content p {
    color: var(--mid-gray);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.footer-links a {
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--pure-white);
}

/* Age Modal */
.age-modal {
    position: fixed;
    inset: 0;
    background: rgba(33, 37, 41, 0.95);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.age-modal.done {
    display: none;
}

.modal-card {
    background: var(--pure-white);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-card .emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.modal-card h2 {
    font-family: 'Bitter', serif;
    font-size: 1.6rem;
    color: var(--dark-charcoal);
    margin-bottom: 1rem;
}

.modal-card p {
    color: var(--mid-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

.btn-modal {
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-family: 'DM Sans', sans-serif;
}

.btn-confirm {
    background: var(--accent-blue);
    color: #fff;
}

.btn-confirm:hover {
    background: #0b5ed7;
}

.btn-cancel {
    background: var(--light-gray);
    color: var(--dark-charcoal);
}

.btn-cancel:hover {
    background: #dee2e6;
}

/* Page Header */
.page-top {
    padding: 8rem 2rem 3rem;
    text-align: center;
    background: var(--pure-white);
    border-bottom: 1px solid var(--light-gray);
}

.page-top h1 {
    font-family: 'Bitter', serif;
    font-size: 2.4rem;
    color: var(--dark-charcoal);
    margin-bottom: 0.5rem;
}

.page-top p {
    color: var(--mid-gray);
    font-size: 1.05rem;
}

/* Text Content */
.text-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.text-content h2 {
    font-family: 'Bitter', serif;
    font-size: 1.4rem;
    color: var(--dark-charcoal);
    margin: 2rem 0 1rem;
}

.text-content p, .text-content li {
    color: var(--mid-gray);
    line-height: 1.9;
    margin-bottom: 1rem;
}

.text-content ul {
    list-style: none;
    padding-left: 1.2rem;
}

.text-content ul li::before {
    content: '•';
    color: var(--accent-blue);
    margin-right: 0.7rem;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 900px) {
    .clean-nav {
        display: none;
    }
    
    .toggle-btn {
        display: block;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.3rem;
    }
}

@media (max-width: 600px) {
    .info-tiles {
        flex-direction: column;
        align-items: center;
    }
    
    .tile {
        width: 100%;
        max-width: 260px;
    }
    
    .game-iframe {
        height: 380px;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .page-top h1 {
        font-size: 1.9rem;
    }
}
