/* ----------------------------------------------------
   GLOBAL VARIABLES
---------------------------------------------------- */
:root {
    --green: #007a78;
    --green-dark: #005f5d;
    --white: #ffffff;
    --text-dark: #333;
    --radius-pill: 50px;
}

/* ----------------------------------------------------
   FONTOK
---------------------------------------------------- */
@font-face {
    font-family: 'AvenirNextBold01';
    src: url('../fonts/AvenirNextBold01.woff2') format('woff2'),
         url('../fonts/AvenirNextBold01.woff') format('woff');
}

@font-face {
    font-family: 'AvenirNextMedium06';
    src: url('../fonts/AvenirNextMedium06.woff2') format('woff2'),
         url('../fonts/AvenirNextMedium06.woff') format('woff');
}

@font-face {
    font-family: 'AvenirNext-Regular-08';
    src: url('../fonts/AvenirNext-Regular-08.woff2') format('woff2'),
         url('../fonts/AvenirNext-Regular-08.woff') format('woff');
}

@font-face {
    font-family: 'AvenirNext-UltraLight-11';
    src: url('../fonts/AvenirNext-UltraLight-11.woff2') format('woff2'),
         url('../fonts/AvenirNext-UltraLight-11.woff') format('woff');
}


/* ----------------------------------------------------
   GLOBAL
---------------------------------------------------- */
html { font-size: 12px; }
body {
    background: var(--white);
    font-family: "AvenirNext-Regular-08", sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.spacer-5 { height: 5px; }
.spacer-30 { height: 30px; }
.spacer-60 { height: 60px; }
.spacer-120 { height: 120px; }

body.page-loaded {
    opacity: 1;
}

/* ----------------------------------------------------
   PAGE FRAME
---------------------------------------------------- */
.page-frame {
    max-width: 1240px;
    margin: 30px auto;
    background: var(--white);
    box-shadow: 0 0 25px rgba(0,0,0,0.15);
}

/* ----------------------------------------------------
   MAIN WRAPPER (háttérkép)
---------------------------------------------------- */
.main-wrapper {
    background-image: url("../images/medical-history-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-bottom: 80px;
}
.home-background {
    background-image: url("../images/medical-history-bg.jpg"); /* vagy a helyes útvonal */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    width: 100%;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px; /* EZ ADJA A BAL/JOBB TÉR KÖZT */
}

/* ----------------------------------------------------
   HEADER
---------------------------------------------------- */
.header-top {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    background: var(--green);
    padding: 30px;
    position: relative;
}

.logo-left img {
    max-width: 200px;
    margin-bottom: 15px;
}


.logo-title,
.logo-subtitle {
    color: var(--white);
    font-family: "AvenirNextBold01";
    font-size: 2.7rem;
    line-height: 1;
}

.logo-right img {
    max-height: 135px;
}

.logo-right {
    margin-left: auto;
    margin-right: 200px;
}

.lang-switch {
    position: absolute;
    top: 20px;
    right: 30px;
    font-family: "AvenirNextMedium06";
}

.lang-switch a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
}

.year-bar {
    width: 70%;
    padding-left: 30px;
    background: var(--green);
    color: var(--white);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.student-bar {
    margin: 0 auto;
    background: var(--green);
    color: var(--white);
    font-size: 2.7rem;
    font-family: "AvenirNextBold01";
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    padding: 15px;
}

/* ----------------------------------------------------
   INTRO SZÖVEG
---------------------------------------------------- */
.intro-text {
    font-size: 2rem;
    color: var(--white);
    width: 95%;
    margin: 80px auto 0;
}

.intro-text span {
    font-family: "AvenirNextBold01";
    font-size: 2rem;
}
.intro-text p {
	margin: 10px !important;
}

/* ----------------------------------------------------
   DÍJAK – ÍVES ELRENDEZÉS
---------------------------------------------------- */
.prize-bar {
    font-family: "AvenirNextBold01";
    font-size: 3rem;
    color: var(--white);
    text-transform: uppercase;
    text-align: center;
}

.prize-row {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 40px;
    margin-top: 0px;
}
.prize-row .col-6,
.prize-row .col-md-3 {
    display: flex;
    justify-content: center;
}


.price-circle {
    aspect-ratio: 1 / 1;
    width: 300px;
    border-radius: 50%;
    background: var(--green);
    border: 10px solid var(--white);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: "AvenirNextBold01";
    font-size: 3rem;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    --curve-offset: 0;
    transform: translateY(var(--curve-offset));
    flex-shrink: 0;
    margin: 0 auto;
}

.price-curve-center { --curve-offset: 220px; }
.price-curve-side { --curve-offset: 120px; }

.price-circle:hover {
    transform: translateY(var(--curve-offset)) scale(1.08);
    box-shadow: 0 0 25px rgba(0, 122, 120, 0.6);
}

.price-circle .amount {
    font-size: 3.6rem;
}

.price-circle .ft {
    font-size: 3.2rem;
    margin-top: 6px;
}

.trophy {
    background-image: url("images/trophy.png");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: -100px;
    left: 28%;
    transform: translateX(-50%);
}
.trophy img {
	max-width: 200px;
}
.trophy-small { width: 60px; height: 60px; }
.trophy-large { width: 90px; height: 90px; }

/* ----------------------------------------------------
   CTA BLOKK
---------------------------------------------------- */
.cta-block {
    background: var(--green);
    color: var(--white);
    text-align: center;
    padding: 40px 20px;
    margin-top: 180px;
}

.cta-block h2 {
    font-family: "AvenirNextBold01";
    font-size: 2.7rem;
}
/* ----------------------------------------------------
   CTA HERO – teljes szélességű, szimmetrikus blokk
---------------------------------------------------- */
.cta-hero {
    max-width: 1240px;
    background: var(--green);
    color: white;
    text-align: center;
    padding: 60px 20px;   /* egyenlő felső és alsó térköz */
    margin: 0 auto;       /* középre igazítás */
}

.cta-hero-title {
    font-family: "AvenirNextBold01";
    font-size: 3rem;
    margin: 0 0 20px 0;   /* felül 0, alul 20px */
}

.cta-hero-text {
    font-family: "AvenirNextMedium06";
    font-size: 1.6rem;
    max-width: 800px;
    margin: 0 auto;       /* középre igazítva, nincs extra térköz */
}
.cta-hero h2.cta-hero-title {
    margin-top: 0 !important;
    margin-bottom: 20px;
}


/* ----------------------------------------------------
   SZABÁLYZAT BLOKK
---------------------------------------------------- */
.rules-block {
    max-width: 1240px;
    margin: 60px auto;
    padding: 50px 30px;
    text-align: center;
}

.rules-block h2 {
    font-family: "AvenirNextBold01";
    font-size: 2.7rem;
    color: var(--green);
}

.rules-deadline,
.rules-text {
    font-family: "AvenirNextMedium06";
    font-size: 2rem;
}

.btn-rules {
    background: var(--green);
    color: var(--white);
    font-family: "AvenirNextBold01";
    padding: 15px 40px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: 0.2s ease;
}
.button-rules-block {
	padding-bottom: 50px;
	text-align: center;
	font-size: 2rem;
}
.btn-rules:hover {
    background: var(--green-dark);
}
/* ----------------------------------------------------
   FOOTER (page-frame-en belül, stabil 3 oszlop)
---------------------------------------------------- */
/* ===== FOOTER – 3 OSZLOP, KÖZÉPRE IGAZÍTVA ===== */

.footer {
    background: var(--green);
    color: var(--white);
    padding: 40px 20px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;   /* 3 oszlop egymás mellett */
    align-items: flex-start;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-col {
    flex: 1 1 0;
    text-align: center;               /* minden oszlop tartalma középre */
}

/* Bal oszlop – logó lejjebb */
.footer-left .footer-logo {
    display: block;
    max-width: 180px;
    margin: 90px auto 0 auto;         /* itt tudod lejjebb tolni */

}

/* Középső oszlop cím */
.footer-center h4,
.footer-right h4 {
    font-family: "AvenirNextBold01";
    font-size: 2.0rem;
    margin-bottom: 12px;
}

/* Linklista középen */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-links a {
    display: inline-block;
    font-family: "AvenirNextMedium06";
    font-size: 1.5rem;
    color: var(--white);
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Jobb oszlop szöveg */
.footer-right p {
    font-family: "AvenirNextMedium06";
    font-size: 1.5rem;
    margin-bottom: 4px;
}

/* ----------------------------------------------------
   FOOTER TIPOGRÁFIA – ARÁNYOSÍTÁS
---------------------------------------------------- */

/* Címek */
.footer h4 { 
    font-family: "AvenirNextBold01"; 
    font-size: 2.2rem; 
    margin-bottom: 16px; 
    letter-spacing: 0.3px;
}

/* Bal oszlop leírás */
.footer-desc {
    font-family: "AvenirNextMedium06";
    font-size: 1.55rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 260px;
}

/* Linklisták */
.footer-center ul,
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-center li,
.footer-links li {
    margin-bottom: 6px;
}

/* Egységes link stílus */
.footer-center a,
.footer-links a {
    position: relative;
    display: inline-block;
    font-family: "AvenirNextMedium06";
    font-size: 1.55rem;
    line-height: 1.6;
    color: var(--white);
    text-decoration: none !important;
    opacity: 0.9;
    transition: transform 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

/* Hover animáció */
.footer-center a:hover,
.footer-links a:hover {
    transform: translateX(4px);
    color: #e8f5e9;
    opacity: 1;
}

/* Jobb oszlop szöveg */
.footer-right p {
    font-family: "AvenirNextMedium06";
    font-size: 1.55rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 8px;
}

/* ----------------------------------------------------
   MINI FOOTER
---------------------------------------------------- */
.mini-footer {
    background: var(--green-dark);
    color: var(--white);
    text-align: center;
    padding: 12px;
    font-family: "AvenirNextMedium06";
    font-size: 1.3rem;
}

/* ----------------------------------------------------
   NYELVVÁLTÓ
---------------------------------------------------- */
.lang-switch {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 9999;
    font-family: "AvenirNextMedium06";
    font-size: 1.4rem;
}

.lang-switch a {
    color: var(--white);
    text-decoration: none;
    margin-left: 8px;
}

.lang-switch a:hover {
    text-decoration: underline;
}


/* ----------------------------------------------------
   IMPRESSZUM / STATIKUS OLDALAK – árnyék és lekerekítés nélkül
---------------------------------------------------- */

.static-page {
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px 50px;
    background: var(--white);
    border-left: 8px solid var(--green); /* arculati elem */
}

.static-page h1,
.static-page h2 {
    font-family: "AvenirNextBold01";
    color: var(--green);
    margin-bottom: 20px;
}

.static-page h1 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.static-page h2 {
    font-size: 2.2rem;
    margin-top: 40px;
}

.static-page p,
.static-page li {
    font-size: 1.5rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.static-page ul {
    padding-left: 20px;
}

.static-page a {
    color: var(--green);
    text-decoration: underline;
}

.static-page a:hover {
    color: var(--green-dark);
}
/* ----------------------------------------------------
   BREADCRUMB – prémium, balra igazított verzió
---------------------------------------------------- */
.breadcrumb {
    max-width: 1200px;
    margin: 20px auto 20px;
    padding: 0 20px;
    display: flex;
    align-items: center; /* függőleges középre igazítás */
    font-family: "AvenirNextMedium06";
    font-size: 1.8rem;
    color: var(--green-dark);
    letter-spacing: 0.4px;
}

.breadcrumb a {
    color: var(--green);
    text-decoration: none;
    font-family: "AvenirNextBold01";
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-sep {
    margin: 0 12px;
    color: var(--green-dark);
    font-weight: bold;
    font-size: 2rem;
    line-height: 1;
    display: inline-flex;
    align-items: center; /* szeparátor is középre kerül */
}
/* ----------------------------------------------------
   PRELOADER – x_white.png logóval
---------------------------------------------------- */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--green); /* ugyanaz a zöld, mint a headerben */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.preloader-logo {
    width: 80px;
    height: auto;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* amikor az oldal betöltött */
body.page-loaded #preloader {
    opacity: 0;
    pointer-events: none;
}

/* When page is loaded */
body.page-loaded #preloader {
    opacity: 0;
    pointer-events: none;
}
/* ============================================
   REGISZTRÁCIÓ – PRÉMIUM BRAND DESIGN
   Floating label + modern input + brand színek
============================================ */
/* --- REGISZTRÁCIÓ – EGYSZERŰ, SZÉP, FIREFOX-BIZTOS FORM --- */

.register-page {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
}

.register-wrapper {
    width: 100%;
    max-width: 520px;
    background: #ffffff;
    padding: 40px 32px;
    border-left: 6px solid var(--green);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.register-wrapper h1 {
    font-family: "AvenirNextBold01";
    font-size: 2.6rem;
    color: var(--green);
    text-align: center;
    margin-bottom: 28px;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.register-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.register-form .form-group label {
    font-family: "AvenirNextMedium06";
    font-size: 1.4rem;
    color: #333;
}

.register-form .form-group input {
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cfcfcf;
    border-radius: 6px;
    font-size: 1.5rem;
    font-family: "AvenirNext-Regular-08";
    background-color: #ffffff;
    color: #222;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.register-form .form-group input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(0,122,120,0.18);
}

/* gomb igazítás */
.register-form .btn-primary {
    margin-top: 10px;
}
/* --- FIREFOX FIX: MINDENT FELÜLÍR A REGISZTRÁCIÓS INPUTOKON --- */

.register-form input {
    all: unset !important;
    box-sizing: border-box !important;
    width: 100% !important;
    padding: 12px 14px !important;
    border: 1px solid #cfcfcf !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    font-size: 1.5rem !important;
    font-family: "AvenirNext-Regular-08" !important;
    color: #222 !important;
    display: block !important;
}

.register-form input:focus {
    border-color: var(--green) !important;
    box-shadow: 0 0 0 3px rgba(0,122,120,0.18) !important;
    outline: none !important;
}
/* --- SZÉP, MODERN, BRAND GOMB --- */

.btn-primary {
    display: inline-block;
    width: 100%;
    padding: 14px 20px;

    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: #fff;

    border: none;
    border-radius: 8px;

    font-size: 1.7rem;
    font-family: "AvenirNextBold01";
    text-align: center;

    cursor: pointer;
    transition: 
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
    
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.22);
    background: linear-gradient(135deg, var(--green-dark), var(--green));
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(0,0,0,0.18);
}
.req {
    color: #d60000;
    font-weight: bold;
    margin-left: 4px;
}
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 1.3rem;
    line-height: 1.4;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}
/* --- CHECKBOX FIX: állítsuk vissza a natív megjelenést --- */
input[type="checkbox"] {
    appearance: auto !important;
    -webkit-appearance: auto !important;
    -moz-appearance: auto !important;

    width: 18px !important;
    height: 18px !important;
    margin: 0 8px 0 0 !important;
    cursor: pointer !important;
}


/* ----------------------------------------------------
   SZABÁLYZAT CTA GOMB
---------------------------------------------------- */

.rules-cta {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 40px;
}

.btn-cta {
    display: inline-block;
    background: var(--green);
    color: var(--white);
    padding: 16px 28px;
    font-size: 1.6rem;
    font-family: "AvenirNextBold01";
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
}

.btn-cta:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
}
.form-errors {
    background: #ffe6e6;
    border-left: 4px solid #d60000;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 6px;
    animation: fadeIn 0.3s ease;
}

.form-errors p {
    margin: 0;
    color: #a30000;
    font-size: 1.4rem;
    padding: 4px 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to   { opacity: 1; transform: translateY(0); }
}
.success-box {
    max-width: 600px;
    margin: 80px auto;
    padding: 40px;
    background: #f8fff8;
    border-left: 4px solid var(--green);
    border-radius: 8px;
    text-align: center;
    animation: fadeIn 0.4s ease;
}

.success-box h1 {
    color: var(--green-dark);
    font-size: 2.4rem;
    margin-bottom: 10px;
}

.success-box p {
    font-size: 1.6rem;
    color: #333;
}
.success-box {
    animation: popIn 0.4s ease;
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}
.success-box {
    cursor: pointer;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.success-box.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}
.success-box {
    position: relative;
    cursor: default;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.success-box.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.success-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #444;
    padding: 0;
    line-height: 1;
    transition: color 0.2s ease;
}

.success-close:hover {
    color: #000;
}
.pagination a {
    padding: 8px 12px;
    background: #2e7d32;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    margin: 0 3px;
}
.pagination strong {
    padding: 8px 12px;
    background: #1b5e20;
    color: #fff;
    border-radius: 4px;
    margin: 0 3px;
}
/* Scroll to top button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    border: none;
    font-size: 2rem;
    cursor: pointer;
    display: none; /* alapból rejtve */
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 999;
}

.scroll-top-btn:hover {
    transform: translateY(-4px);
    opacity: 0.9;
}
/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--green-dark);
    color: var(--white);
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999999;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.25);
    font-family: "AvenirNextMedium06";
    font-size: 1.4rem;
}

.cookie-banner p {
    margin: 0;
    padding-right: 20px;
}

.cookie-banner a {
    color: var(--white);
    text-decoration: underline;
}

.cookie-btn {
    background: var(--green);
    color: var(--white);
    border: none;
    padding: 10px 18px;
    font-size: 1.4rem;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.25s ease;
}

.cookie-btn:hover {
    opacity: 0.85;
}
/* Cookie banner szöveg középre igazítása */
.cookie-banner {
    text-align: center;
}

.cookie-banner p {
    width: 100%;
    text-align: center;
    margin: 0 auto;
}
/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--green-dark);
    color: var(--white);
    padding: 20px 20px;
    display: flex;
    flex-direction: column; /* minden egymás alatt */
    align-items: center;    /* középre igazítás */
    text-align: center;
    gap: 12px;
    z-index: 999999;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.25);
    font-family: "AvenirNextMedium06";
    font-size: 1.4rem;
}

.cookie-banner p {
    margin: 0;
    max-width: 600px;
}

.cookie-banner a {
    color: var(--white);
    text-decoration: underline;
}

.cookie-btn {
    background: var(--green);
    color: var(--white);
    border: none;
    padding: 10px 22px;
    font-size: 1.4rem;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.25s ease;
}

.cookie-btn:hover {
    opacity: 0.85;
}
/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--green-dark);
    color: var(--white);
    padding: 20px;
    text-align: center;
    z-index: 999999;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.25);
}

.cookie-buttons {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.cookie-btn {
    background: var(--green);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
}

.cookie-btn.secondary {
    background: #444;
}

/* MODAL */
.cookie-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999999;
    justify-content: center;
    align-items: center;
}

.cookie-modal-content {
    background: #fff;
    color: #000;
    padding: 25px;
    border-radius: 10px;
    width: 90%;
    max-width: 420px;
}

.cookie-option {
    display: block;
    margin: 12px 0;
}

.cookie-modal-buttons {
    text-align: center;
    margin-top: 20px;
}

/* Mobilbarát */
@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

/* ----------------------------------------------------
   MOBIL OPTIMALIZÁLÁS – EGYSÉGES, TISZTA VERZIÓ
---------------------------------------------------- */
@media (max-width: 768px) {

    /* HEADER */
    .header-top {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        padding: 20px 0;
        text-align: center;
    }

    .logo-left img {
        max-width: 160px;
        height: auto;
        margin: 0;
    }

    .logo-right {
        display: none; /* mobilon eltűnik */
    }

    /* NYELVVÁLTÓ */
    .lang-switch {
        position: static;
        display: flex;
        justify-content: center;
        gap: 10px;
        background: rgba(0,0,0,0.15);
        padding: 6px 12px;
        border-radius: 6px;
        font-size: 1.4rem;
        width: auto;
        margin: 0 auto;
    }

    /* INTRO */
    .intro-text {
        font-size: 1.8rem;
        margin-top: 40px;
        text-align: center;
    }

    .intro-text span {
        font-size: 2.2rem;
    }

    /* PRIZE CIRCLES */
    .prize-row {
        flex-direction: column;
        gap: 30px;
        margin-top: 40px;
    }

    .price-circle {
        width: 220px;
        height: 220px;
        --curve-offset: 0;
    }

    /* CTA */
    .cta-block h2 {
        font-size: 2.2rem;
    }

    /* FOOTER */
    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-col {
        margin-bottom: 20px;
    }

    /* REGISTER PAGE */
    .register-page {
        padding: 40px 15px;
    }

    .register-wrapper {
        padding: 25px 20px;
    }

    .register-wrapper h1 {
        font-size: 2.4rem;
    }

    /* TRÓFEÁK – legyenek sokkal kisebbek */
    .trophy img {
        max-width: 80px !important;
    }

    .trophy {
        top: -40px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    /* KÖRÖK – mobilon legyenek kisebbek és középen */
    .price-circle {
        width: 180px !important;
        height: 180px !important;
        border-width: 6px !important;
        --curve-offset: 0 !important;
        margin: 0 auto !important;
        transform: none !important;
    }

    /* ÖSSZEG – mobilon középre igazítva */
    .price-circle .amount {
        font-size: 2.4rem !important;
        text-align: center !important;
    }

    .price-circle .ft {
        font-size: 2rem !important;
        margin-top: 4px !important;
        text-align: center !important;
    }

    /* PRIZE ROW – egymás alatt, középen */
    .prize-row {
        flex-direction: column !important;
        align-items: center !important;
        gap: 40px !important;
        margin-top: 40px !important;
    }
    .trophy {
        position: absolute !important;
        top: -35px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 60px !important;   /* FONTOS: fix szélesség */
        height: auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .trophy img {
        width: 60px !important;   /* ugyanaz a méret */
        height: auto !important;
        display: block !important;
    }

    /* LÁBLÉC – minden legyen középen mobilon */
    .footer {
        text-align: center !important;
        padding: 40px 20px !important;
    }

    .footer-inner {
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 30px !important;
        text-align: center !important;
    }

    .footer-col {
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 20px !important;
    }

    /* Bal oldali logó is középre */
    .footer-left .footer-logo {
        margin: 0 auto !important;
    }

    /* Középső oszlop linkek középen */
    .footer-links,
    .footer-center ul {
        text-align: center !important;
    }

    .footer-links li,
    .footer-center li {
        margin: 6px 0 !important;
    }

    .footer-links a,
    .footer-center a {
        margin: 0 auto !important;
        display: inline-block !important;
    }

    /* Jobb oldali szöveg is középre */
    .footer-right p {
        text-align: center !important;
        margin: 0 auto !important;
    }
}

