/* gamelicensor.info */
/* Palette: #fafaf8, #f0eee9, #1a1a1a, #2563eb, #e2dfd8, #dbeafe, #6b7280 */
/* Fonts: Sora 600, Inter 400, Source Code Pro 400 */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #fafaf8;
    color: #1a1a1a;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ── Hero Section ── */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1.5rem;
    position: relative;
}

.hero-inner {
    max-width: 600px;
    width: 100%;
}

.quick-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #dbeafe;
    color: #2563eb;
    font-family: 'Source Code Pro', monospace;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.quick-badge-icon {
    flex-shrink: 0;
}

.brand {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: clamp(2.2rem, 6vw, 3.4rem);
    color: #1a1a1a;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.subtitle {
    font-size: 1rem;
    color: #6b7280;
    max-width: 440px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.pills {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.pill {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    color: #6b7280;
    background: #f0eee9;
    border: 1px solid #e2dfd8;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
}

.pill:hover {
    background: #e2dfd8;
    color: #1a1a1a;
}

.pill.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

/* ── Info Modules Section ── */

.info {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.module {
    border: 1px solid #e2dfd8;
    border-radius: 8px;
    padding: 24px;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #fafaf8;
    transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.25s ease;
}

.module:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.module.hidden {
    display: none;
}

.module-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #dbeafe;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-content {
    flex: 1;
    min-width: 0;
}

.module-title {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1a1a1a;
    margin-bottom: 0.4rem;
}

.module-text {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.7;
}

/* ── FAQ Section ── */

.faq {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.faq-title {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-icon {
    flex-shrink: 0;
}

.faq-item {
    padding: 0;
}

.faq-q {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.85rem 0;
    background: none;
    border: none;
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    color: #1a1a1a;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s ease;
}

.faq-q:hover {
    color: #2563eb;
}

.faq-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #dbeafe;
    color: #2563eb;
    font-size: 1rem;
    font-weight: 600;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.25s ease;
    line-height: 1;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
    background: #2563eb;
    color: #ffffff;
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 0 0 2.75rem;
}

.faq-item.open .faq-a {
    max-height: 200px;
    padding: 0 0 0.85rem 2.75rem;
}

.faq-a p {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.7;
}

.faq-rule {
    height: 1px;
    background: #e2dfd8;
}

/* ── Resources Section ── */

.resources {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    border-top: 1px solid #e2dfd8;
}

.resources-title {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.resource {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0eee9;
    gap: 1rem;
    transition: background 0.2s ease;
    cursor: default;
}

.resource:hover {
    background: #f0eee9;
    margin-left: -8px;
    margin-right: -8px;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 6px;
}

.resource:last-child {
    border-bottom: none;
}

.res-label {
    font-family: 'Source Code Pro', monospace;
    font-size: 0.65rem;
    font-weight: 400;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: #dbeafe;
    padding: 3px 10px;
    border-radius: 4px;
    flex-shrink: 0;
    min-width: 70px;
    text-align: center;
}

.res-name {
    font-size: 0.88rem;
    color: #1a1a1a;
    flex: 1;
}

.res-arrow {
    color: #e2dfd8;
    font-size: 1rem;
    flex-shrink: 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.resource:hover .res-arrow {
    color: #2563eb;
    transform: translateX(3px);
}

/* ── Footer ── */

.footer {
    max-width: 700px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.footer-text {
    font-size: 0.75rem;
    color: #6b7280;
}

/* ── Fade-in Animations ── */

.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */

@media (max-width: 600px) {
    .hero {
        min-height: 80vh;
        padding: 2rem 1rem;
    }

    .brand {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .info {
        padding: 1.5rem 1rem 2rem;
    }

    .module {
        padding: 18px;
        flex-direction: column;
        gap: 0.75rem;
    }

    .faq {
        padding: 2rem 1rem;
    }

    .resources {
        padding: 2rem 1rem;
    }

    .resource {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .res-arrow {
        display: none;
    }

    .faq-a {
        padding-left: 2.5rem;
    }

    .faq-item.open .faq-a {
        padding-left: 2.5rem;
    }
}
