/* Global Design System & Stylesheet - fogadoirodak.hu */

/* 1. CSS Változók (Design Tokens) */
:root {
    /* Színpaletta - High-Trust Sportsbook */
    --bg-dark: #0f172a;       /* Slate-900: Mély háttér */
    --bg-surface: #1e293b;    /* Slate-800: Kártyák, fejléc háttere */
    --bg-surface-alt: #334155;/* Slate-700: Hover és aktív elemek */
    --text-main: #f8fafc;     /* Slate-50: Fő szövegek */
    --text-muted: #94a3b8;    /* Slate-400: Muta szöveg, leírások */
    
    --color-primary: #22c55e;      /* Neonzöld: Fő CTA-k, sikeres akciók */
    --color-primary-hover: #16a34a;/* Mélyebb zöld hover állapothoz */
    --color-secondary: #15803d;    /* Fenyőzöld: Licencek, biztonság szimbólum */
    --color-accent: #eab308;       /* Arany/Sárga: Értékelések, kiemelések, csillagok */
    --color-border: #334155;       /* Slate-700: Finom szegélyek */
    --color-danger: #ef4444;       /* Piros: Kockázatok, nem ajánlott irodák */

    /* Tipográfia */
    --font-display: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    --container-width: 1200px;
    --transition-fast: 0.2s ease;
}

/* 2. CSS Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-hover);
}

/* Fókusz állapotok az akadálymentességért */
a:focus-visible, 
button:focus-visible, 
.btn:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}


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

/* 3. Fejlécek és Tipográfia */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; border-left: 4px solid var(--color-primary); padding-left: 0.75rem; margin-top: 2rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p {
    margin-bottom: 1.25rem;
    color: var(--text-muted);
}

strong {
    color: var(--text-main);
    font-weight: 600;
}

/* Globális prémium listastílusok */
ul, ol {
    margin-bottom: 1.75rem;
    padding-left: 0;
    list-style: none;
}

ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

ul li::before {
    content: "→";
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.4;
}

ol {
    counter-reset: section-counter;
}

ol li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

ol li::before {
    counter-increment: section-counter;
    content: counter(section-counter) ".";
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-weight: 700;
    font-family: var(--font-display);
    font-size: 1.05rem;
    line-height: 1.5;
}

/* 4. Layout és Grid Rendszer */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
}

/* 5. Header és Navigáció */
.site-header {
    background-color: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 70px;
    display: flex;
    align-items: center;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-link {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo-link span {
    color: var(--color-primary);
}

.nav-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 1.5rem 0;
    gap: 1.25rem;
    align-items: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    
    /* Smooth Transition Setup */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    letter-spacing: 0.5px;
}

.nav-item:hover, .nav-item.active {
    color: var(--text-main);
}

/* Hamburger Menü Gomb */
.menu-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

/* Desktop Navigáció */
@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }
    .nav-menu {
        display: flex;
        flex-direction: row;
        position: static;
        width: auto;
        background-color: transparent;
        border-bottom: none;
        padding: 0;
        gap: 1rem;
        align-items: center;
        box-shadow: none;
        
        /* Reset transition states for desktop */
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }
}

/* Mobil Menü Nyitott Állapot */
.nav-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 6. Lábléc (Footer) */
.site-footer {
    background-color: #0b1329;
    border-top: 1px solid var(--color-border);
    padding: 4rem 0 2rem 0;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-title {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 1.25rem;
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.clean-list {
    list-style: none;
    padding-left: 0 !important;
}

.clean-list li {
    padding-left: 0 !important;
    margin-bottom: 0.75rem !important;
}

.clean-list li::before {
    content: none !important;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li {
    padding-left: 0 !important;
    margin-bottom: 0 !important;
}

.footer-links li::before {
    content: none !important;
}

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

.footer-links a:hover {
    color: var(--text-main);
    padding-left: 4px;
}

/* Jogi nyilatkozatok és 18+ rész */
.footer-legal {
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-legal {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.legal-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    max-width: 800px;
    line-height: 1.6;
}

.legal-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-danger);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    border: 3px solid #fff;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}
