:root {
    --color-bg-main: #050818;
    --color-bg-elevated: #0d1024;
    --color-bg-card: #11152b;
    --color-bg-light: #f7f7fb;
    --color-bg-section-alt: #0b0e20;
    --color-primary: #a75cff;
    --color-primary-soft: rgba(167, 92, 255, 0.2);
    --color-secondary: #ff6b7a;
    --color-accent: #d06cff;
    --color-text-main: #ffffff;
    --color-text-muted: #b1b4d0;
    --color-text-dark: #141624;
    --color-border-subtle: rgba(177, 180, 208, 0.24);

    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", sans-serif;

    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-pill: 999px;

    --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.45);
    --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.35);

    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-sans);
    color: var(--color-text-main);
    background: radial-gradient(circle at top, #201a4a 0, #050818 55%, #020415 100%);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

p {
    line-height: 1.7;
    margin-block: 0 0.9rem;
}

h1,
h2,
h3,
h4 {
    font-weight: 600;
    letter-spacing: 0.01em;
    margin: 0 0 0.6rem;
}

ul {
    padding-left: 1.25rem;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding-inline: 1.25rem;
}

.section {
    padding-block: var(--space-16);
}

.section--light {
    background: var(--color-bg-light);
    color: var(--color-text-dark);
}

.section--alt {
    background: var(--color-bg-section-alt);
}

.section-heading {
    font-size: 1.9rem;
    margin-bottom: var(--space-3);
}

.section-kicker {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--color-secondary);
    margin-bottom: var(--space-2);
}

.section-lead {
    max-width: 640px;
    color: var(--color-text-muted);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(18px);
    background: linear-gradient(to bottom, rgba(4, 6, 20, 0.94), rgba(4, 6, 20, 0.86), rgba(4, 6, 20, 0.0));
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 0.75rem;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 600;
}

.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 40% 60% 45% 55%;
    background: radial-gradient(circle at 30% 20%, #ffb1c2 0, #ff6b7a 30%, #a75cff 75%, #2a1f6b 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #050818;
    box-shadow: var(--shadow-soft);
}

.logo-text {
    font-size: 0.98rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-size: 0.92rem;
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-pill);
    color: var(--color-text-muted);
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
}

.nav-link.is-active {
    background: var(--color-primary-soft);
    color: #ffffff;
    box-shadow: 0 0 0 1px rgba(167, 92, 255, 0.4);
}

.nav-link-cta {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    color: #050818;
    font-weight: 600;
}

.nav-link-cta:hover {
    background: linear-gradient(135deg, #ff8590, #e28cff);
}

.header-toggle {
    display: none;
    width: 38px;
    height: 32px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(4, 7, 23, 0.9);
    padding: 0 0.55rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.header-toggle-line {
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
    transition: transform 0.18s ease, opacity 0.16s ease;
}

.header-toggle.is-open .header-toggle-line:nth-child(1) {
    transform: translateY(3px) rotate(45deg);
}

.header-toggle.is-open .header-toggle-line:nth-child(2) {
    transform: translateY(-3px) rotate(-45deg);
}

.hero {
    padding-block: var(--space-20) var(--space-16);
    background: radial-gradient(circle at top left, #3b2c88 0, #050818 50%, #020415 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: var(--space-10);
    align-items: center;
}

.hero-kicker {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.17em;
    color: var(--color-secondary);
    margin-bottom: var(--space-3);
}

.hero-title {
    font-size: clamp(2.4rem, 3.2vw, 3rem);
    line-height: 1.1;
    margin-bottom: var(--space-4);
}

.hero-highlight {
    color: var(--color-accent);
}

.hero-text {
    color: var(--color-text-muted);
    max-width: 540px;
    margin-bottom: var(--space-6);
}

.hero-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-6);
    margin-bottom: var(--space-6);
}

.hero-meta-block h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--color-secondary);
    margin-bottom: 0.25rem;
}

.hero-meta-block p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.92rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.3rem;
    border-radius: var(--radius-pill);
    border: none;
    outline: none;
    font-size: 0.98rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.12s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    color: #050818;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(167, 92, 255, 0.7);
    color: #ffffff;
}

.btn-outline:hover {
    background: rgba(167, 92, 255, 0.18);
}

.hero-secondary {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.hero-visual {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    background: radial-gradient(circle at top, #6d42ff 0, #2b164e 40%, #050818 100%);
    box-shadow: var(--shadow-soft);
}

.hero-image-wrap {
    position: relative;
    padding: 2.25rem 2.25rem 2.5rem;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-pill);
    background: rgba(9, 11, 35, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--color-text-muted);
    font-size: 0.8rem;
    margin-bottom: var(--space-4);
}

.hero-tag-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #4af29b;
    box-shadow: 0 0 0 4px rgba(74, 242, 155, 0.3);
}

.hero-grid-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
}

.hero-card {
    background: rgba(9, 11, 35, 0.92);
    border-radius: 18px;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.hero-card-title {
    font-size: 0.83rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 0.25rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-6);
}

.card {
    background: rgba(11, 14, 34, 0.96);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.section--light .card {
    background: #ffffff;
    border: 1px solid rgba(20, 22, 36, 0.1);
    color: var(--color-text-dark);
    box-shadow: 0 4px 16px rgba(17, 18, 40, 0.12);
}

.section--light .card-tag {
    color: var(--color-secondary);
}

.section--light .card-title {
    color: var(--color-text-dark);
}

.section--light .card-meta {
    color: rgba(20, 22, 36, 0.7);
}

.section--alt .card {
    background: rgba(9, 11, 35, 0.92);
    border-color: rgba(255, 255, 255, 0.08);
}

.card ul,
.card ol {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
}

.card li {
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

.section--light .card li {
    color: var(--color-text-dark);
}

.section--light .card a {
    color: var(--color-primary);
    text-decoration: none;
}

.section--light .card a:hover {
    text-decoration: underline;
}

.card--light {
    background: #ffffff;
    color: var(--color-text-dark);
    box-shadow: 0 12px 35px rgba(17, 18, 40, 0.17);
    border-color: rgba(20, 22, 36, 0.05);
}

.card-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--color-secondary);
    margin-bottom: 0.25rem;
}

.card-title {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.card-meta {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.content-grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: var(--space-8);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-6);
}

.faq-item {
    border-radius: var(--radius-md);
    padding: var(--space-4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(7, 10, 30, 0.95);
}

/* Age Gate (18+) */

.age-gate-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, rgba(41, 34, 92, 0.9) 0, rgba(5, 8, 24, 0.98) 40%, rgba(1, 2, 10, 0.98) 100%);
    backdrop-filter: blur(18px);
}

.age-gate-modal {
    max-width: 480px;
    width: 100%;
    margin-inline: 1.5rem;
    background: rgba(9, 11, 35, 0.98);
    border-radius: 24px;
    padding: var(--space-6);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.age-gate-title {
    font-size: 1.6rem;
    margin-bottom: var(--space-3);
}

.age-gate-text {
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
}

.age-gate-note {
    margin-top: var(--space-3);
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.age-gate-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.age-gate-actions .btn {
    flex: 1 1 160px;
}

.site-footer {
    background: #050716;
    color: var(--color-text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: var(--space-16);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
    gap: var(--space-10);
    padding-block: var(--space-12);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: var(--space-3);
}

.footer-description {
    max-width: 320px;
}

.footer-domain {
    font-size: 0.86rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

.footer-heading {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #ffffff;
    margin-bottom: 0.8rem;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 0.45rem;
}

.footer-list a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-list a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-block: 0.9rem;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: var(--space-3);
    font-size: 0.85rem;
}

.footer-note {
    opacity: 0.8;
}

/* Simple fade-up effect for observed szekciók */

[data-animate="fade-up"] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

[data-animate="fade-up"].animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Form Styles */

.form {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
}

.form-row > div:only-child {
    grid-column: 1 / -1;
}

.label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-dark);
    margin-bottom: 0.4rem;
}

.section--light .label {
    color: var(--color-text-dark);
}

.input,
.select,
.textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(20, 22, 36, 0.2);
    background: #ffffff;
    color: var(--color-text-dark);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.input::placeholder,
.select::placeholder,
.textarea::placeholder {
    color: rgba(20, 22, 36, 0.5);
}

.input:focus,
.select:focus,
.textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(167, 92, 255, 0.15);
}

.input:hover:not(:focus),
.select:hover:not(:focus),
.textarea:hover:not(:focus) {
    border-color: rgba(20, 22, 36, 0.35);
}

.textarea {
    resize: vertical;
    min-height: 120px;
}

.form-hint {
    font-size: 0.85rem;
    color: rgba(20, 22, 36, 0.7);
    margin: 0.3rem 0 0;
    display: block;
}

.section--light .form-hint {
    color: rgba(20, 22, 36, 0.65);
}

.form-hint[data-error-target] {
    color: #d32f2f;
    min-height: 1.2rem;
}

.btn {
    font-family: var(--font-sans);
}

@media (max-width: 900px) {
    .hero-grid,
    .card-grid,
    .content-grid-2,
    .faq-grid,
    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-block: var(--space-16);
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .site-nav {
        position: absolute;
        inset-inline: 0;
        top: 100%;
        background: rgba(5, 7, 24, 0.98);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        transform-origin: top;
        transform: scaleY(0.8);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.18s ease, transform 0.18s ease;
    }

    .site-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: scaleY(1);
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        padding-block: 0.75rem 1rem;
    }

    .nav-link {
        width: 100%;
        padding: 0.5rem 1.25rem;
    }

    .header-toggle {
        display: inline-flex;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
