:root {
    --red: #ff3b3b;
    --green: #28c76f;
    --dark: #0e0e10;
    --card: rgba(15, 16, 22, 0.95);
    --text: #ffffff;
    --muted: #b5b5c5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: radial-gradient(circle at top, #ff8080 0, #ff3b3b 15%, #0e0e10 60%);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    animation: pageIntro 0.8s ease forwards;
    opacity: 0;
}

/* ------ NAVBAR ------ */

header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(0,0,0,0.75);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-container {
    max-width: 1300px;
    margin: auto;
    padding: 15px 30px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left, .nav-right {
    display: flex;
    gap: 25px;
}

.nav-left a, .nav-right a {
    position: relative;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: transform 0.2s ease, color 0.2s ease;
}

/* animált aláhúzás */
.nav-left a::after,
.nav-right a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--red), #ffaaaa);
    transition: width 0.25s ease;
}

.nav-left a:hover,
.nav-right a:hover {
    color: var(--red);
    transform: translateY(-1px);
}

.nav-left a:hover::after,
.nav-right a:hover::after {
    width: 100%;
}

.nav-center {
    text-align: center;
    transform-origin: center;
    transition: transform 0.25s ease;
}

.nav-center h1 {
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-center img {
    width: 60px;
    margin-top: 8px;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.7));
}

/* LED CSÍK A LOGÓ ALATT – VÍZSZINTES */
.nav-led-bar {
    margin-top: 10px;
    width: 100%;
    height: 4px;
    background: rgba(0,0,0,0.5);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(255, 59, 59, 0.6);
}

.nav-led {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #ff3b3b, #ffffff, #ff3b3b);
    transform-origin: left;
    transform: scaleX(0);
    animation: navLedRun 10s linear infinite;
}

/* 0 -> 100% szélesség 10 mp alatt */
@keyframes navLedRun {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

/* logó kis “lebegés” + forgás */
.logo-spin {
    animation: logoSpin 8s linear infinite;
}

@keyframes logoSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.nav-center:hover {
    transform: translateY(-2px) scale(1.02);
}

/* ------ OLDALTARTALOM ------ */

.main {
    flex: 1;
    padding: 80px 25px 40px;
}

.container {
    max-width: 1100px;
    margin: auto;
}

.card {
    background: var(--card);
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.05);
}

/* ------ FŐOLDAL ------ */

.hero {
    text-align: center;
}

/* váltakozó üzenetek – javítva, hogy ne csússzanak egymásra */
.hero-switch {
    margin-bottom: 30px;
}

/* alapból rejtve */
.hero-message {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* aktív üzenet látszik és foglal helyet */
.hero-message.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.hero-message h2 {
    font-size: 36px;
}

.hero-message p {
    color: var(--muted);
    margin-top: 15px;
}

.hero-boxes {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.box {
    background: rgba(0,0,0,0.55);
    padding: 20px 35px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.box:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}

/* ------ CSAPAT ------ */

.team-box {
    margin-top: 25px;
    padding: 20px;
    border-radius: 12px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.team-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(0,0,0,0.55);
    border-color: rgba(255,255,255,0.18);
}

.role {
    font-weight: 700;
}

.owner {
    color: var(--red);      /* PIROSAN: Tulajdonos */
}

.admin {
    color: var(--green);    /* ZÖLDEN: Super Admin */
}

.name {
    color: white;           /* FEHÉREN: név */
    font-weight: 600;
    margin-left: 10px;
}

.desc {
    color: var(--muted);
    margin-top: 5px;
}

/* ------ VÁSÁRLÁS ------ */

.shop-card {
    margin-top: 30px;
    text-align: center;
}

.shop-card h3 {
    font-size: 28px;
}

.buy-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 40px;
    background: linear-gradient(90deg, var(--red), #ff7676); /* javítva */
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 14px 30px rgba(0,0,0,0.6);
    position: relative;
    overflow: hidden;
}

.buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.8);
}

/* vásárlás kártyák gridje */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* ------ ÁSZF ------ */

.aszf-text p {
    margin-bottom: 12px;
    color: var(--muted);
}

.aszf-text h2 {
    margin-top: 5px;
    margin-bottom: 10px;
}

.aszf-text h3 {
    margin-top: 18px;
    margin-bottom: 6px;
}

/* ------ SCROLL ANIMÁCIÓK ------ */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ------ RIPPLE (KATTINTÁS ANIMÁCIÓ) ------ */

.click-anim {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    background: rgba(255,255,255,0.35);
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* kis “összenyomódás” kattintásnál */
.press {
    transform: scale(0.96) !important;
}

/* ------ FOOTER ------ */

footer {
    background: black;
    text-align: center;
    padding: 20px;
    color: var(--muted);
    font-size: 14px;
}

/* ========================= */
/* ====== RESZPONZÍV ======= */
/* ========================= */

/* Tablet + kisebb laptop */
@media (max-width: 1024px) {

    .nav-container {
        padding: 15px 20px;
    }

    .hero-message h2 {
        font-size: 30px;
    }

    .hero-message p {
        font-size: 15px;
    }

    .card {
        padding: 30px;
    }

    .hero-boxes {
        gap: 20px;
    }
}

/* Telefon + kis tablet álló nézetben */
@media (max-width: 768px) {

    /* NAVBAR rendezés mobilon */
    .nav-container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 10px 12px 8px;
    }

    .nav-center {
        order: -1;              /* cím + logo felülre */
    }

    .nav-center h1 {
        font-size: 26px;
        line-height: 1.2;
    }

    .nav-center img {
        width: 56px;
        margin-top: 4px;
    }

    .nav-led-bar {
        margin-top: 6px;
        max-width: 220px;
        margin-left: auto;
        margin-right: auto;
    }

    .nav-left,
    .nav-right {
        width: 100%;
        justify-content: center;
        gap: 18px;
    }

    .nav-left a,
    .nav-right a {
        font-size: 14px;
    }

    /* Tartalom kicsit lejjebb, hogy ne lógjon a navbarba */
    .main {
        padding: 60px 14px 30px;
    }

    .container {
        max-width: 100%;
    }

    .card {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .hero-message h2 {
        font-size: 24px;
        line-height: 1.25;
    }

    .hero-message p {
        font-size: 14px;
    }

    .hero-boxes {
        flex-direction: column;
        align-items: center;
        gap: 14px;
        margin-top: 20px;
    }

    .box {
        width: 100%;
        max-width: 340px;
        padding: 14px 18px;
    }

    .team-box {
        font-size: 14px;
    }

    .shop-grid {
        grid-template-columns: 1fr;
    }

    input {
        font-size: 14px;
    }

    .buy-btn {
        width: 100%;
        text-align: center;
    }
}

/* Nagyon kis telefonok (iPhone SE, stb.) */
@media (max-width: 480px) {

    .nav-center h1 {
        font-size: 22px;
    }

    .nav-center img {
        width: 50px;
    }

    .nav-left a,
    .nav-right a {
        font-size: 13px;
    }

    .hero-message h2 {
        font-size: 20px;
    }

    .hero-message p {
        font-size: 13px;
    }

    .card {
        padding: 20px 14px;
    }

    footer {
        font-size: 12px;
        padding: 15px;
    }
}

/* ===== MODERN INPUT MEZŐK ===== */

.modern-field {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 20px auto;
}

.modern-field input {
    width: 100%;
    padding: 16px 14px;
    font-size: 15px;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    color: white;
    outline: none;
    transition: all 0.25s ease;
}

/* lebegő címke */
.modern-field label {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 14px;
    pointer-events: none;
    transition: 0.25s ease;
    background: transparent;
    padding: 0 6px;
}

/* fókusz/fill animáció */
.modern-field input:focus,
.modern-field input:valid {
    border-color: var(--red);
    box-shadow: 0 0 0 2px rgba(255,59,59,0.2);
}

.modern-field input:focus + label,
.modern-field input:valid + label {
    top: -8px;
    font-size: 12px;
    color: var(--red);
    background: rgba(0,0,0,0.9);
}

.donation-badge {
    max-width: 720px;
    margin: 0 auto 30px;
    padding: 18px 22px;
    border-radius: 18px;
    background: linear-gradient(
        135deg,
        rgba(255, 59, 59, 0.12),
        rgba(0, 0, 0, 0.6)
    );
    border: 1px solid rgba(255, 59, 59, 0.4);
    box-shadow: 0 0 40px rgba(255, 59, 59, 0.15);
    text-align: center;
    font-size: 14px;
    color: var(--text);
    backdrop-filter: blur(8px);
}

.donation-badge span {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--red);
    letter-spacing: 0.5px;
}

/* ===== MODERN ÁSZF STÍLUS ===== */

.aszf-title {
    text-align: center;
    margin-bottom: 35px;
}

.aszf-section {
    margin-bottom: 45px;
}

.aszf-subtitle {
    margin-top: 22px;
    font-weight: 600;
}

.aszf-note {
    margin-top: 16px;
    color: var(--muted);
    font-size: 14px;
}

/* modern listák (korábban küldött verzió) */

.modern-list {
    margin: 18px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.modern-item {
    padding: 14px 18px;
    border-radius: 14px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.04),
        rgba(0, 0, 0, 0.6)
    );
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    font-size: 14px;
    color: var(--text);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.modern-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(0,0,0,0.65);
}

.modern-item.success {
    border-color: rgba(40, 199, 111, 0.4);
    color: #28c76f;
}

.modern-item.danger {
    border-color: rgba(255, 59, 59, 0.4);
    color: #ff6b6b;
}

@keyframes glowMove {
    from {
        transform: translateX(-100%) rotate(25deg);
    }
    to {
        transform: translateX(100%) rotate(25deg);
    }
}

@keyframes pageIntro {
    from {
        opacity: 0;
        transform: scale(0.98);
        filter: blur(6px);
    }
    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

.owner::before {
    content: "👑 ";
    margin-right: 4px;
}

.admin::before {
    content: "💎 ";
    margin-right: 4px;
}

.controller {
    color: #188150; /* sötétebb zöld */
    font-weight: 700;
}

.controller::before {
    content: "💎 ";
    margin-right: 4px;
}
