:root {
    --background: #09000f;
    --background-secondary: #12001d;
    --surface: rgba(31, 8, 45, 0.82);
    --surface-light: rgba(55, 16, 75, 0.78);
    --surface-border: rgba(255, 255, 255, 0.1);

    --primary-purple: #37003c;
    --bright-purple: #6f16a8;
    --pink: #ff2882;
    --pink-light: #ff5ca0;
    --green: #00ff87;
    --turquoise: #00e4c7;

    --white: #ffffff;
    --text: #f6f0f8;
    --text-muted: #bcaec3;

    --success: #00ff87;
    --error: #ff4d6d;
    --warning: #ffc857;
    --info: #00c8ff;

    --shadow-large:
        0 35px 90px rgba(0, 0, 0, 0.5);

    --shadow-neon:
        0 0 35px rgba(0, 255, 135, 0.22);

    --border-radius-large: 30px;
    --border-radius-medium: 20px;
    --border-radius-small: 12px;

    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Inter", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left,
            rgba(111, 22, 168, 0.26),
            transparent 36%),
        radial-gradient(circle at top right,
            rgba(255, 40, 130, 0.15),
            transparent 35%),
        var(--background);
    overflow-x: hidden;
}

button,
input,
select,
textarea {
    font: inherit;
}

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

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

.container {
    width: min(calc(100% - 40px),
            var(--container-width));
    margin: 0 auto;
}

.page-background {
    position: fixed;
    inset: 0;
    z-index: -10;
    overflow: hidden;
    pointer-events: none;
}

.background-glow {
    position: absolute;
    width: 540px;
    height: 540px;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.23;
}

.background-glow-one {
    top: -250px;
    left: -190px;
    background: var(--bright-purple);
}

.background-glow-two {
    right: -230px;
    top: 180px;
    background: var(--pink);
}

.background-grid {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.5) 1px,
            transparent 1px),
        linear-gradient(90deg,
            rgba(255, 255, 255, 0.5) 1px,
            transparent 1px);
    background-size: 55px 55px;
    mask-image:
        linear-gradient(to bottom,
            black,
            transparent 80%);
}

/* ===========================
   FEJLÉC ÉS NAVIGÁCIÓ
=========================== */

.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(9, 0, 15, 0.82);
    backdrop-filter: blur(20px);
}

.navbar-container {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -1px;
}

.brand-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(0, 255, 135, 0.4);
    border-radius: 14px;
    background:
        linear-gradient(135deg,
            rgba(0, 255, 135, 0.2),
            rgba(0, 228, 199, 0.05));
    box-shadow:
        0 0 20px rgba(0, 255, 135, 0.14);
}

.brand-text {
    display: inline-flex;
}

.brand-main {
    color: var(--white);
}

.brand-highlight {
    color: var(--green);
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-navigation>a,
.navigation-logout-button {
    padding: 11px 14px;
    border: 0;
    border-radius: 12px;
    color: var(--text-muted);
    background: transparent;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.main-navigation>a:hover,
.navigation-logout-button:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-1px);
}

.main-navigation .navigation-register-button {
    margin-left: 5px;
    color: #07150f;
    background:
        linear-gradient(135deg,
            var(--green),
            var(--turquoise));
    box-shadow:
        0 10px 28px rgba(0, 255, 135, 0.16);
}

.main-navigation .navigation-register-button:hover {
    color: #07150f;
    background:
        linear-gradient(135deg,
            #34ffa4,
            #34f2dc);
}

.admin-navigation-link {
    color: var(--pink) !important;
}

.logout-form {
    display: inline-flex;
}

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    height: 2px;
    margin: 5px 0;
    border-radius: 20px;
    background: var(--white);
    transition: 0.25s ease;
}

/* ===========================
   ÜZENETEK
=========================== */

.messages-container {
    padding-top: 20px;
}

.message-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    padding: 15px 18px;
    border: 1px solid;
    border-radius: 14px;
    background: rgba(20, 4, 30, 0.92);
    font-weight: 600;
}

.message-icon {
    width: 28px;
    height: 28px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border-radius: 50%;
    font-weight: 900;
}

.message-success {
    border-color: rgba(0, 255, 135, 0.34);
    color: #a9ffd6;
}

.message-success .message-icon {
    color: #06180f;
    background: var(--success);
}

.message-error {
    border-color: rgba(255, 77, 109, 0.36);
    color: #ffc0cb;
}

.message-error .message-icon {
    color: white;
    background: var(--error);
}

.message-warning {
    border-color: rgba(255, 200, 87, 0.36);
    color: #ffe0a0;
}

.message-info {
    border-color: rgba(0, 200, 255, 0.36);
    color: #b4eeff;
}

/* ===========================
   FŐ TARTALOM
=========================== */

.main-content {
    min-height: calc(100vh - 180px);
}

/* ===========================
   HERO
=========================== */

.hero-section {
    position: relative;
    padding: 105px 0 115px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.03fr 0.97fr;
    align-items: center;
    gap: 85px;
}

.hero-badge,
.section-label,
.authentication-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-badge {
    padding: 9px 13px;
    border: 1px solid rgba(0, 255, 135, 0.22);
    border-radius: 999px;
    background: rgba(0, 255, 135, 0.07);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow:
        0 0 14px var(--green);
}

.hero-title {
    max-width: 720px;
    margin-top: 24px;
    font-size: clamp(46px, 6vw, 78px);
    line-height: 0.98;
    letter-spacing: -4.5px;
    font-weight: 900;
}

.hero-title span {
    display: block;
    color: transparent;
    background:
        linear-gradient(90deg,
            var(--pink),
            #a958ff,
            var(--green));
    background-clip: text;
    -webkit-background-clip: text;
}

.hero-description {
    max-width: 650px;
    margin-top: 27px;
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 37px;
}

.primary-button,
.secondary-button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 25px;
    border-radius: 15px;
    font-size: 15px;
    font-weight: 800;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.primary-button {
    color: #07150f;
    background:
        linear-gradient(135deg,
            var(--green),
            var(--turquoise));
    box-shadow:
        0 17px 40px rgba(0, 255, 135, 0.18);
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow:
        0 22px 50px rgba(0, 255, 135, 0.28);
}

.secondary-button {
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.secondary-button:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.28);
}

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 19px;
    margin-top: 34px;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
}

.hero-trust-item span {
    color: var(--green);
    font-weight: 900;
}

.hero-visual {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 540px;
    padding: 29px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 28px;
    background:
        linear-gradient(145deg,
            rgba(63, 12, 82, 0.94),
            rgba(19, 3, 30, 0.97));
    box-shadow:
        var(--shadow-large),
        0 0 70px rgba(255, 40, 130, 0.12);
    transform: rotate(1.7deg);
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: -1;
    border-radius: 27px;
    background:
        radial-gradient(circle at top right,
            rgba(255, 40, 130, 0.22),
            transparent 38%);
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.small-label {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.hero-card-header h2 {
    margin-top: 7px;
    font-size: 28px;
    letter-spacing: -1px;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    border: 1px solid rgba(0, 255, 135, 0.23);
    border-radius: 999px;
    color: var(--green);
    background: rgba(0, 255, 135, 0.08);
    font-size: 10px;
    font-weight: 900;
}

.live-badge span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow:
        0 0 10px var(--green);
}

.example-match {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    margin-top: 36px;
    padding: 24px 15px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 19px;
    background: rgba(0, 0, 0, 0.18);
}

.example-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
    text-align: center;
}

.team-placeholder {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 18px;
    background:
        linear-gradient(135deg,
            var(--pink),
            var(--bright-purple));
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.26);
    font-size: 13px;
    font-weight: 900;
}

.example-team:last-child .team-placeholder {
    color: #07150f;
    background:
        linear-gradient(135deg,
            var(--green),
            var(--turquoise));
}

.example-score {
    display: flex;
    align-items: center;
    gap: 8px;
}

.example-score input {
    width: 50px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 13px;
    outline: none;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 22px;
    font-weight: 900;
}

.example-score span {
    color: var(--text-muted);
    font-size: 20px;
    font-weight: 900;
}

.example-save-button {
    margin-top: 17px;
    padding: 14px;
    border-radius: 14px;
    color: #07150f;
    background:
        linear-gradient(135deg,
            var(--green),
            var(--turquoise));
    text-align: center;
    font-size: 14px;
    font-weight: 900;
}

.hero-card-footer {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 18px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
}

.floating-card {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 17px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 18px;
    background: rgba(20, 4, 30, 0.92);
    backdrop-filter: blur(17px);
    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.36);
}

.floating-card-ranking {
    top: 24px;
    right: -28px;
}

.floating-card-points {
    left: -25px;
    bottom: 35px;
}

.floating-card-icon {
    width: 47px;
    height: 47px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #07150f;
    background:
        linear-gradient(135deg,
            var(--green),
            var(--turquoise));
    font-size: 18px;
    font-weight: 900;
}

.floating-card small {
    display: block;
    color: var(--text-muted);
    font-size: 9px;
    letter-spacing: 1.1px;
    font-weight: 800;
}

.floating-card strong {
    display: block;
    margin-top: 3px;
}

.floating-card div>span {
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
}

/* ===========================
   FUNKCIÓK
=========================== */

.features-section {
    padding: 100px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.015);
}

.section-heading {
    max-width: 750px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-heading h2,
.scoring-content h2 {
    margin-top: 14px;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.1;
    letter-spacing: -2px;
}

.section-heading p,
.scoring-content>p {
    margin-top: 17px;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-card {
    position: relative;
    min-height: 290px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--surface-border);
    border-radius: 24px;
    background:
        linear-gradient(145deg,
            rgba(48, 11, 66, 0.7),
            rgba(15, 2, 24, 0.85));
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 255, 135, 0.27);
    box-shadow:
        0 25px 55px rgba(0, 0, 0, 0.25);
}

.feature-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(0, 255, 135, 0.22);
    border-radius: 17px;
    background: rgba(0, 255, 135, 0.09);
    font-size: 25px;
}

.feature-card h3 {
    margin-top: 24px;
    font-size: 21px;
}

.feature-card p {
    margin-top: 13px;
    color: var(--text-muted);
    line-height: 1.65;
}

.feature-number {
    position: absolute;
    right: 18px;
    bottom: -17px;
    color: rgba(255, 255, 255, 0.035);
    font-size: 94px;
    font-weight: 900;
}

/* ===========================
   PONTOZÁS
=========================== */

.scoring-section {
    padding: 110px 0;
}

.scoring-container {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 90px;
}

.scoring-content .primary-button {
    margin-top: 30px;
}

.scoring-list {
    display: grid;
    gap: 15px;
}

.scoring-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px;
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    background:
        linear-gradient(135deg,
            rgba(52, 12, 71, 0.68),
            rgba(16, 3, 25, 0.86));
}

.scoring-item-highlight {
    border-color: rgba(0, 255, 135, 0.3);
    box-shadow:
        0 0 40px rgba(0, 255, 135, 0.07);
}

.scoring-points {
    width: 61px;
    height: 61px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border-radius: 17px;
    color: #07150f;
    background:
        linear-gradient(135deg,
            var(--green),
            var(--turquoise));
    font-size: 25px;
    font-weight: 900;
}

.scoring-item h3 {
    font-size: 18px;
}

.scoring-item p {
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
}

/* ===========================
   BEJELENTKEZÉS ÉS REGISZTRÁCIÓ
=========================== */

.authentication-section {
    position: relative;
    min-height: calc(100vh - 78px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 20px 90px;
    overflow: hidden;
}

.authentication-decoration {
    position: absolute;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    filter: blur(115px);
    opacity: 0.22;
}

.decoration-one {
    left: -210px;
    top: 50px;
    background: var(--bright-purple);
}

.decoration-two {
    right: -190px;
    bottom: -90px;
    background: var(--pink);
}

.authentication-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 500px;
}

.authentication-card {
    padding: 42px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    background:
        linear-gradient(145deg,
            rgba(46, 10, 64, 0.9),
            rgba(14, 2, 23, 0.96));
    box-shadow:
        var(--shadow-large);
    backdrop-filter: blur(20px);
}

.authentication-logo {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin-bottom: 26px;
    border: 1px solid rgba(0, 255, 135, 0.3);
    border-radius: 19px;
    background: rgba(0, 255, 135, 0.1);
    box-shadow:
        0 0 30px rgba(0, 255, 135, 0.1);
    font-size: 28px;
}

.authentication-card h1 {
    margin-top: 9px;
    font-size: 37px;
    letter-spacing: -1.8px;
}

.authentication-description {
    margin-top: 12px;
    color: var(--text-muted);
    line-height: 1.65;
}

.authentication-form {
    display: grid;
    gap: 20px;
    margin-top: 31px;
}

.form-group {
    display: grid;
    gap: 9px;
}

.form-group label {
    color: #e8deeb;
    font-size: 13px;
    font-weight: 800;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 13px;
    outline: none;
    color: var(--white);
    background: rgba(255, 255, 255, 0.055);
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8e7e96;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(0, 255, 135, 0.65);
    background: rgba(255, 255, 255, 0.075);
    box-shadow:
        0 0 0 4px rgba(0, 255, 135, 0.08);
}

.password-input-wrapper {
    position: relative;
}

.password-input-wrapper input {
    padding-right: 75px;
}

.password-toggle-button {
    position: absolute;
    right: 9px;
    top: 50%;
    padding: 7px 9px;
    border: 0;
    border-radius: 8px;
    color: var(--green);
    background: rgba(0, 255, 135, 0.08);
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
}

.authentication-submit-button {
    min-height: 54px;
    margin-top: 3px;
    border: 0;
    border-radius: 14px;
    color: #06150e;
    background:
        linear-gradient(135deg,
            var(--green),
            var(--turquoise));
    box-shadow:
        0 15px 35px rgba(0, 255, 135, 0.16);
    cursor: pointer;
    font-weight: 900;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.authentication-submit-button:hover {
    transform: translateY(-2px);
    box-shadow:
        0 20px 42px rgba(0, 255, 135, 0.24);
}

.authentication-divider {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 27px 0 20px;
    color: var(--text-muted);
    font-size: 12px;
}

.authentication-divider span {
    height: 1px;
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
}

.authentication-bottom-text {
    color: var(--text-muted);
    text-align: center;
    font-size: 14px;
}

.authentication-bottom-text a {
    color: var(--green);
    font-weight: 800;
}

.form-error-box {
    margin-top: 20px;
    padding: 13px 15px;
    border: 1px solid rgba(255, 77, 109, 0.35);
    border-radius: 12px;
    color: #ffc0cb;
    background: rgba(255, 77, 109, 0.08);
    font-size: 13px;
    line-height: 1.55;
}

.field-error-text {
    color: #ff9cac;
    font-size: 12px;
    line-height: 1.4;
}

.field-help-text {
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.5;
}

.field-help-text ul {
    padding-left: 18px;
}

/* ===========================
   LÁBLÉC
=========================== */

.main-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(7, 0, 12, 0.85);
}

.footer-content {
    min-height: 115px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.footer-logo {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(0, 255, 135, 0.09);
}

.footer-brand strong {
    font-size: 17px;
}

.footer-brand p,
.footer-information {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 12px;
}

.footer-information {
    text-align: right;
    line-height: 1.8;
}

/* ===========================
   RESZPONZÍV NÉZET
=========================== */

@media (max-width: 1050px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .hero-content {
        max-width: 760px;
        text-align: center;
        margin: 0 auto;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-trust-row {
        justify-content: center;
    }

    .hero-visual {
        width: min(100%, 620px);
        margin: 0 auto;
    }

    .scoring-container {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .scoring-content {
        max-width: 700px;
    }
}

@media (max-width: 820px) {
    .mobile-menu-button {
        display: block;
    }

    .main-navigation {
        position: absolute;
        top: 78px;
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
        border: 1px solid var(--surface-border);
        border-radius: 18px;
        background: rgba(18, 1, 28, 0.98);
        box-shadow:
            0 25px 60px rgba(0, 0, 0, 0.4);
    }

    .main-navigation.navigation-open {
        display: flex;
    }

    .main-navigation>a,
    .navigation-logout-button,
    .logout-form {
        width: 100%;
    }

    .navigation-logout-button {
        text-align: left;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 240px;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(calc(100% - 28px), var(--container-width));
    }

    .hero-section {
        padding: 75px 0 80px;
    }

    .hero-title {
        font-size: 48px;
        letter-spacing: -3px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        display: grid;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .hero-visual {
        min-height: 440px;
    }

    .hero-card {
        padding: 20px;
        transform: none;
    }

    .example-match {
        gap: 8px;
        padding: 19px 7px;
    }

    .team-placeholder {
        width: 49px;
        height: 49px;
    }

    .example-team strong {
        font-size: 12px;
    }

    .example-score input {
        width: 39px;
        height: 48px;
    }

    .hero-card-footer {
        flex-direction: column;
    }

    .floating-card-ranking {
        top: -25px;
        right: -5px;
    }

    .floating-card-points {
        left: -5px;
        bottom: 0;
    }

    .floating-card {
        transform: scale(0.84);
    }

    .features-section,
    .scoring-section {
        padding: 75px 0;
    }

    .authentication-card {
        padding: 30px 22px;
        border-radius: 23px;
    }

    .authentication-card h1 {
        font-size: 31px;
    }

    .footer-content {
        flex-direction: column;
        justify-content: center;
        padding: 28px 0;
        text-align: center;
    }

    .footer-information {
        text-align: center;
    }
}

/* ===========================
   TIPPELÉS OLDAL
=========================== */

.predictions-page {
    min-height: calc(100vh - 78px);
    padding: 70px 0 110px;
}

.predictions-page-container {
    position: relative;
}

.predictions-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 55px;
}

.predictions-heading h1 {
    margin-top: 10px;
    font-size: clamp(44px, 6vw, 70px);
    line-height: 1;
    letter-spacing: -4px;
}

.predictions-heading>div:first-child>p {
    max-width: 630px;
    margin-top: 18px;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.7;
}

.predictions-rules-card {
    min-width: 295px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 17px 19px;
    border: 1px solid rgba(0, 255, 135, 0.2);
    border-radius: 18px;
    background:
        linear-gradient(135deg,
            rgba(0, 255, 135, 0.08),
            rgba(0, 228, 199, 0.025));
}

.rules-card-icon {
    width: 48px;
    height: 48px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border-radius: 14px;
    background: rgba(0, 255, 135, 0.1);
    font-size: 22px;
}

.predictions-rules-card strong {
    display: block;
    margin-bottom: 4px;
    color: var(--white);
}

.predictions-rules-card span {
    display: block;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.6;
}

/* FORDULÓ FEJLÉCE */

.round-section {
    margin-top: 45px;
}

.round-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.round-number-box {
    width: 74px;
    height: 74px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border: 1px solid rgba(0, 255, 135, 0.3);
    border-radius: 22px;
    color: #06150e;
    background:
        linear-gradient(135deg,
            var(--green),
            var(--turquoise));
    box-shadow:
        0 17px 40px rgba(0, 255, 135, 0.13);
    font-size: 31px;
    font-weight: 900;
}

.round-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--green);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.round-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 12px var(--green);
}

.round-title h2 {
    margin-top: 6px;
    font-size: 33px;
    letter-spacing: -1.5px;
}

.round-title p {
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 13px;
}

/* MECCSKÁRTYÁK */

.matches-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 23px;
}

.prediction-match-card {
    position: relative;
    overflow: hidden;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 24px;
    background:
        linear-gradient(145deg,
            rgba(51, 11, 70, 0.82),
            rgba(14, 2, 23, 0.94));
    box-shadow:
        0 23px 55px rgba(0, 0, 0, 0.22);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.prediction-match-card::before {
    content: "";
    position: absolute;
    top: -85px;
    right: -85px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(255, 40, 130, 0.12);
    filter: blur(35px);
    pointer-events: none;
}

.prediction-match-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 135, 0.24);
    box-shadow:
        0 30px 65px rgba(0, 0, 0, 0.31);
}

.prediction-match-closed {
    opacity: 0.88;
}

.match-card-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.match-date {
    display: flex;
    align-items: center;
    gap: 10px;
}

.match-date-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.06);
}

.match-date strong {
    display: block;
    color: var(--white);
    font-size: 12px;
}

.match-date div>span {
    display: block;
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 11px;
}

.match-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.match-status-open {
    border-color: rgba(0, 255, 135, 0.25);
    color: var(--green);
    background: rgba(0, 255, 135, 0.07);
}

.match-status-saved {
    border-color: rgba(0, 228, 199, 0.28);
    color: var(--turquoise);
    background: rgba(0, 228, 199, 0.08);
}

.match-status-closed {
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
}

/* CSAPATOK */

.match-teams {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 15px;
    margin-top: 27px;
}

.prediction-team {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.prediction-team-logo {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 21px;
    background:
        linear-gradient(135deg,
            var(--pink),
            var(--bright-purple));
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.28);
}

.prediction-team-logo img {
    width: 100%;
    height: 100%;
    padding: 9px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.94);
}

.prediction-team-logo span {
    font-size: 14px;
    font-weight: 900;
}

.away-team-logo {
    color: #06150e;
    background:
        linear-gradient(135deg,
            var(--green),
            var(--turquoise));
}

.prediction-team strong {
    max-width: 180px;
    margin-top: 13px;
    overflow-wrap: anywhere;
    font-size: 15px;
    line-height: 1.35;
}

.prediction-team small {
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 9px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.match-versus {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.2);
    font-size: 10px;
    font-weight: 900;
}

/* TIPPMEZŐK */

.prediction-form {
    position: relative;
    z-index: 2;
    margin-top: 27px;
}

.score-inputs {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
}

.score-input-group {
    display: grid;
    gap: 7px;
}

.score-input-group label {
    color: var(--text-muted);
    text-align: center;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.score-input-group input {
    width: 84px;
    height: 68px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 17px;
    outline: none;
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
    text-align: center;
    font-size: 28px;
    font-weight: 900;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.score-input-group input:focus {
    border-color: rgba(0, 255, 135, 0.7);
    background: rgba(0, 255, 135, 0.07);
    box-shadow:
        0 0 0 4px rgba(0, 255, 135, 0.08);
}

.score-separator {
    padding-bottom: 18px;
    color: var(--text-muted);
    font-size: 25px;
    font-weight: 900;
}

.save-prediction-button {
    width: 100%;
    min-height: 51px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 19px;
    border: 0;
    border-radius: 14px;
    color: #06150e;
    background:
        linear-gradient(135deg,
            var(--green),
            var(--turquoise));
    box-shadow:
        0 14px 32px rgba(0, 255, 135, 0.13);
    cursor: pointer;
    font-weight: 900;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.save-prediction-button:hover {
    transform: translateY(-2px);
    box-shadow:
        0 19px 40px rgba(0, 255, 135, 0.23);
}

.prediction-deadline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 14px;
    color: var(--text-muted);
    font-size: 10px;
}

.prediction-deadline strong {
    color: #ded2e2;
}

/* LEZÁRT MECCS */

.closed-match-area {
    position: relative;
    z-index: 2;
    margin-top: 25px;
    padding: 21px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 17px;
    background: rgba(0, 0, 0, 0.18);
    text-align: center;
}

.closed-match-icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.06);
}

.closed-match-area>strong {
    display: block;
    font-size: 15px;
}

.closed-match-area>p {
    max-width: 360px;
    margin: 8px auto 0;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.6;
}

.locked-prediction {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 17px;
    padding: 13px 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.055);
}

.locked-prediction span {
    color: var(--text-muted);
    font-size: 11px;
}

.locked-prediction strong {
    color: var(--green);
    font-size: 20px;
}

.no-prediction-warning {
    margin-top: 15px;
    padding: 11px;
    border-radius: 11px;
    color: #ffc0cb;
    background: rgba(255, 77, 109, 0.08);
    font-size: 11px;
}

/* BEFEJEZETT MECCS */

.finished-match-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 25px;
    padding: 16px 18px;
    border: 1px solid rgba(0, 255, 135, 0.2);
    border-radius: 15px;
    background: rgba(0, 255, 135, 0.06);
}

.finished-match-result span {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.finished-match-result strong {
    color: var(--green);
    font-size: 25px;
}

.saved-prediction-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    margin-top: 11px;
}

.saved-prediction-summary>div {
    padding: 14px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.055);
}

.saved-prediction-summary span {
    display: block;
    color: var(--text-muted);
    font-size: 10px;
}

.saved-prediction-summary strong {
    display: block;
    margin-top: 4px;
    font-size: 20px;
}

.prediction-earned-points {
    color: var(--green);
}

/* ÜRES ÁLLAPOT */

.empty-state {
    padding: 65px 25px;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.025);
    text-align: center;
}

.empty-state-icon {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    border-radius: 20px;
    background: rgba(0, 255, 135, 0.09);
    font-size: 29px;
}

.empty-state h2,
.empty-state h3 {
    font-size: 25px;
}

.empty-state p {
    max-width: 540px;
    margin: 12px auto 0;
    color: var(--text-muted);
    line-height: 1.7;
}

.empty-state .secondary-button {
    margin-top: 25px;
}

.no-open-round {
    margin-top: 35px;
}

/* RESZPONZÍV TIPPELÉS */

@media (max-width: 1000px) {
    .matches-grid {
        grid-template-columns: 1fr;
    }

    .predictions-heading {
        align-items: flex-start;
    }
}

@media (max-width: 760px) {
    .predictions-page {
        padding-top: 52px;
    }

    .predictions-heading {
        flex-direction: column;
        margin-bottom: 42px;
    }

    .predictions-rules-card {
        width: 100%;
        min-width: 0;
    }

    .round-header {
        align-items: flex-start;
    }

    .round-number-box {
        width: 61px;
        height: 61px;
        border-radius: 18px;
        font-size: 25px;
    }

    .round-title h2 {
        font-size: 27px;
    }
}

@media (max-width: 520px) {
    .prediction-match-card {
        padding: 19px 15px;
        border-radius: 20px;
    }

    .match-card-top {
        align-items: flex-start;
    }

    .match-date-icon {
        display: none;
    }

    .match-status {
        padding: 0 8px;
        font-size: 8px;
    }

    .match-teams {
        gap: 7px;
    }

    .prediction-team-logo {
        width: 57px;
        height: 57px;
        border-radius: 17px;
    }

    .prediction-team strong {
        font-size: 12px;
    }

    .prediction-team small {
        display: none;
    }

    .match-versus {
        width: 35px;
        height: 35px;
        font-size: 8px;
    }

    .score-input-group input {
        width: 72px;
        height: 61px;
    }

    .prediction-deadline {
        align-items: flex-start;
        text-align: center;
    }
}

/* ===========================
   RANGLISTA OLDAL
=========================== */

.ranking-page {
    min-height: calc(100vh - 78px);
    padding: 70px 0 110px;
}

.ranking-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 50px;
}

.ranking-heading h1 {
    margin-top: 10px;
    font-size: clamp(44px, 6vw, 70px);
    line-height: 1;
    letter-spacing: -4px;
}

.ranking-heading>div:first-child>p {
    max-width: 650px;
    margin-top: 17px;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.7;
}

.ranking-summary-card {
    min-width: 270px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 17px 19px;
    border: 1px solid rgba(255, 40, 130, 0.22);
    border-radius: 18px;
    background:
        linear-gradient(135deg,
            rgba(255, 40, 130, 0.1),
            rgba(111, 22, 168, 0.05));
}

.ranking-summary-icon {
    width: 48px;
    height: 48px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border-radius: 14px;
    background: rgba(255, 40, 130, 0.11);
    font-size: 22px;
}

.ranking-summary-card strong {
    display: block;
}

.ranking-summary-card span {
    display: block;
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 11px;
}

/* PANEL */

.ranking-panel {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 27px;
    background:
        linear-gradient(145deg,
            rgba(48, 10, 66, 0.79),
            rgba(13, 2, 22, 0.95));
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.25);
}

.ranking-panel::before {
    content: "";
    position: absolute;
    top: -160px;
    right: -130px;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background: rgba(255, 40, 130, 0.1);
    filter: blur(55px);
    pointer-events: none;
}

.weekly-ranking-panel {
    margin-top: 32px;
}

.ranking-panel-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 28px;
}

.ranking-panel-label {
    color: var(--green);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.ranking-panel-header h2 {
    margin-top: 7px;
    font-size: 34px;
    letter-spacing: -1.5px;
}

.ranking-panel-header p {
    margin-top: 7px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}

.ranking-trophy {
    width: 65px;
    height: 65px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border: 1px solid rgba(0, 255, 135, 0.25);
    border-radius: 19px;
    background: rgba(0, 255, 135, 0.08);
    font-size: 29px;
}

/* DOBOGÓ */

.ranking-podium {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
    margin-bottom: 28px;
}

.podium-card {
    position: relative;
    padding: 24px 19px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 21px;
    background: rgba(255, 255, 255, 0.035);
    text-align: center;
}

.podium-first {
    border-color: rgba(255, 215, 0, 0.3);
    background:
        linear-gradient(145deg,
            rgba(255, 215, 0, 0.09),
            rgba(255, 255, 255, 0.025));
}

.podium-second {
    border-color: rgba(210, 220, 235, 0.22);
}

.podium-third {
    border-color: rgba(205, 127, 50, 0.25);
}

.podium-position {
    position: absolute;
    top: 13px;
    right: 15px;
    font-size: 23px;
}

.podium-avatar {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    margin: 0 auto;
    border: 1px solid rgba(0, 255, 135, 0.24);
    border-radius: 21px;
    color: #06150e;
    background:
        linear-gradient(135deg,
            var(--green),
            var(--turquoise));
    font-size: 26px;
    font-weight: 900;
}

.podium-card h3 {
    margin-top: 15px;
    overflow-wrap: anywhere;
    font-size: 17px;
}

.podium-points {
    display: block;
    margin-top: 7px;
    color: var(--green);
    font-size: 29px;
}

.podium-points span {
    color: var(--text-muted);
    font-size: 11px;
}

.podium-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 17px;
}

.podium-stats>div {
    padding: 10px 8px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.045);
}

.podium-stats span {
    display: block;
    color: var(--text-muted);
    font-size: 8px;
    text-transform: uppercase;
}

.podium-stats strong {
    display: block;
    margin-top: 4px;
    font-size: 16px;
}

/* TÁBLÁZAT */

.modern-table-wrapper {
    position: relative;
    z-index: 2;
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 19px;
}

.modern-ranking-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.12);
}

.modern-ranking-table thead {
    background: rgba(255, 255, 255, 0.045);
}

.modern-ranking-table th {
    padding: 15px 17px;
    color: var(--text-muted);
    text-align: left;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.modern-ranking-table td {
    padding: 15px 17px;
    border-top: 1px solid rgba(255, 255, 255, 0.065);
    color: #eee6f1;
    font-size: 13px;
}

.modern-ranking-table tbody tr {
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.modern-ranking-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.035);
}

.ranking-position {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.055);
    font-size: 13px;
    font-weight: 900;
}

.ranking-position-first {
    background: rgba(255, 215, 0, 0.11);
}

.ranking-position-second {
    background: rgba(210, 220, 235, 0.09);
}

.ranking-position-third {
    background: rgba(205, 127, 50, 0.11);
}

.ranking-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ranking-user-avatar {
    width: 42px;
    height: 42px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border-radius: 13px;
    color: #06150e;
    background:
        linear-gradient(135deg,
            var(--green),
            var(--turquoise));
    font-weight: 900;
}

.weekly-avatar {
    color: var(--white);
    background:
        linear-gradient(135deg,
            var(--pink),
            var(--bright-purple));
}

.ranking-user strong {
    display: block;
    overflow-wrap: anywhere;
}

.ranking-user div>span {
    display: inline-block;
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 9px;
}

.current-user-badge {
    padding: 3px 7px;
    border-radius: 999px;
    color: var(--green) !important;
    background: rgba(0, 255, 135, 0.08);
    font-weight: 900;
}

.ranking-points {
    color: var(--green);
    font-size: 22px;
}

.ranking-stat {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 800;
}

.ranking-stat-icon {
    font-size: 15px;
}

/* HETI FORDULÓVÁLASZTÓ */

.weekly-ranking-header {
    align-items: flex-end;
}

.round-selector-form {
    min-width: 230px;
}

.round-selector-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.custom-select-wrapper {
    position: relative;
}

.custom-select-wrapper select {
    width: 100%;
    min-height: 48px;
    padding: 0 42px 0 15px;
    appearance: none;
    border: 1px solid rgba(0, 255, 135, 0.23);
    border-radius: 13px;
    outline: none;
    color: var(--white);
    background: rgba(0, 255, 135, 0.06);
    cursor: pointer;
    font-weight: 800;
}

.custom-select-wrapper select option {
    color: #111;
    background: white;
}

.select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    color: var(--green);
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 10px;
}

.selected-round-banner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 19px;
    padding: 15px 17px;
    border: 1px solid rgba(255, 40, 130, 0.17);
    border-radius: 15px;
    background: rgba(255, 40, 130, 0.055);
}

.selected-round-banner span {
    display: block;
    color: var(--text-muted);
    font-size: 9px;
    text-transform: uppercase;
}

.selected-round-banner strong {
    display: block;
    margin-top: 3px;
}

.selected-round-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 40, 130, 0.1);
}

/* ÜRES ÁLLAPOT */

.ranking-empty-state {
    padding: 45px 20px;
    text-align: center;
}

.ranking-empty-icon {
    width: 57px;
    height: 57px;
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
    border-radius: 17px;
    background: rgba(0, 255, 135, 0.08);
    font-size: 25px;
}

.ranking-empty-state strong {
    display: block;
    font-size: 16px;
}

.ranking-empty-state p {
    margin-top: 7px;
    color: var(--text-muted);
    font-size: 12px;
}

/* MOBIL */

@media (max-width: 900px) {
    .ranking-heading {
        align-items: flex-start;
    }

    .ranking-podium {
        grid-template-columns: 1fr;
    }

    .ranking-panel-header {
        align-items: flex-start;
    }
}

@media (max-width: 700px) {
    .ranking-page {
        padding-top: 52px;
    }

    .ranking-heading {
        flex-direction: column;
        margin-bottom: 40px;
    }

    .ranking-summary-card {
        width: 100%;
        min-width: 0;
    }

    .ranking-panel {
        padding: 22px 15px;
        border-radius: 22px;
    }

    .ranking-panel-header,
    .weekly-ranking-header {
        flex-direction: column;
    }

    .round-selector-form {
        width: 100%;
        min-width: 0;
    }

    .ranking-panel-header h2 {
        font-size: 29px;
    }
}

/* ===========================
   TABELLA OLDAL
=========================== */

.standings-page {
    min-height: calc(100vh - 78px);
    padding: 70px 0 110px;
}

.standings-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 50px;
}

.standings-heading h1 {
    margin-top: 10px;
    font-size: clamp(44px, 6vw, 70px);
    line-height: 1;
    letter-spacing: -4px;
}

.standings-heading>div:first-child>p {
    max-width: 650px;
    margin-top: 17px;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.7;
}

.standings-summary-card {
    min-width: 275px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 17px 19px;
    border: 1px solid rgba(0, 255, 135, 0.2);
    border-radius: 18px;
    background:
        linear-gradient(135deg,
            rgba(0, 255, 135, 0.08),
            rgba(0, 228, 199, 0.03));
}

.standings-summary-icon {
    width: 49px;
    height: 49px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border-radius: 14px;
    background: rgba(0, 255, 135, 0.1);
    font-size: 22px;
}

.standings-summary-card strong {
    display: block;
}

.standings-summary-card span {
    display: block;
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 11px;
}

/* PANEL */

.standings-panel {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 27px;
    background:
        linear-gradient(145deg,
            rgba(48, 10, 66, 0.79),
            rgba(13, 2, 22, 0.95));
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.25);
}

.standings-panel::before {
    content: "";
    position: absolute;
    top: -170px;
    right: -120px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(255, 40, 130, 0.1);
    filter: blur(58px);
    pointer-events: none;
}

.standings-panel-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 25px;
}

.standings-panel-label {
    color: var(--green);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.standings-panel-header h2 {
    margin-top: 7px;
    font-size: 34px;
    letter-spacing: -1.5px;
}

.standings-panel-header p {
    margin-top: 7px;
    color: var(--text-muted);
    font-size: 13px;
}

.standings-legend {
    display: grid;
    gap: 7px;
    min-width: 180px;
    color: var(--text-muted);
    font-size: 10px;
}

.standings-legend div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 9px;
    height: 9px;
    display: block;
    border-radius: 3px;
}

.legend-champions {
    background: #3d8bfd;
}

.legend-europa {
    background: #ff9f1c;
}

.legend-relegation {
    background: #ff4d6d;
}

/* TÁBLÁZAT */

.standings-table-wrapper {
    position: relative;
    z-index: 2;
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 19px;
}

.modern-standings-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.13);
}

.modern-standings-table thead {
    background: rgba(255, 255, 255, 0.045);
}

.modern-standings-table th {
    padding: 15px 14px;
    color: var(--text-muted);
    text-align: center;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.modern-standings-table th:nth-child(2) {
    text-align: left;
}

.modern-standings-table td {
    padding: 13px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #eee6f1;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
}

.modern-standings-table tbody tr {
    position: relative;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.modern-standings-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.035);
}

.modern-standings-table tbody tr td:first-child {
    position: relative;
}

.champions-league-row td:first-child::before,
.europa-league-row td:first-child::before,
.relegation-row td:first-child::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 0 4px 4px 0;
}

.champions-league-row td:first-child::before {
    background: #3d8bfd;
}

.europa-league-row td:first-child::before {
    background: #ff9f1c;
}

.relegation-row td:first-child::before {
    background: #ff4d6d;
}

.standings-position {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    margin: 0 auto;
    border-radius: 11px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.055);
    font-size: 12px;
    font-weight: 900;
}

.standings-position-first {
    color: #161000;
    background:
        linear-gradient(135deg,
            #ffd700,
            #ffb703);
}

.standings-team {
    display: flex;
    align-items: center;
    gap: 13px;
    text-align: left;
}

.standings-team-logo {
    width: 46px;
    height: 46px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background:
        linear-gradient(135deg,
            rgba(255, 40, 130, 0.22),
            rgba(111, 22, 168, 0.18));
}

.standings-team-logo img {
    width: 100%;
    height: 100%;
    padding: 7px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.94);
}

.standings-team-logo span {
    color: var(--white);
    font-size: 11px;
    font-weight: 900;
}

.standings-team strong {
    display: block;
    max-width: 240px;
    overflow-wrap: anywhere;
    font-size: 13px;
}

.standings-team div>span {
    display: block;
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 9px;
    text-transform: uppercase;
}

.goal-difference {
    display: inline-flex;
    min-width: 34px;
    justify-content: center;
    padding: 5px 8px;
    border-radius: 9px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.045);
}

.goal-difference-positive {
    color: var(--green);
    background: rgba(0, 255, 135, 0.07);
}

.goal-difference-negative {
    color: #ff8da1;
    background: rgba(255, 77, 109, 0.07);
}

.standings-points {
    color: var(--green);
    font-size: 20px;
}

/* MAGYARÁZAT */

.standings-explanation {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 9px;
    margin-top: 18px;
}

.standings-explanation>div {
    padding: 10px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.035);
    text-align: center;
}

.standings-explanation strong {
    display: block;
    color: var(--green);
    font-size: 11px;
}

.standings-explanation span {
    display: block;
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 8px;
}

/* ÜRES ÁLLAPOT */

.standings-empty-state {
    padding: 55px 20px;
    text-align: center;
}

.standings-empty-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    margin: 0 auto 15px;
    border-radius: 18px;
    background: rgba(0, 255, 135, 0.08);
    font-size: 26px;
}

.standings-empty-state strong {
    display: block;
    font-size: 16px;
}

.standings-empty-state p {
    margin-top: 7px;
    color: var(--text-muted);
    font-size: 12px;
}

/* MOBIL */

@media (max-width: 900px) {
    .standings-heading {
        align-items: flex-start;
    }

    .standings-panel-header {
        align-items: flex-start;
    }

    .standings-explanation {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 700px) {
    .standings-page {
        padding-top: 52px;
    }

    .standings-heading {
        flex-direction: column;
        margin-bottom: 40px;
    }

    .standings-summary-card {
        width: 100%;
        min-width: 0;
    }

    .standings-panel {
        padding: 22px 14px;
        border-radius: 22px;
    }

    .standings-panel-header {
        flex-direction: column;
    }

    .standings-legend {
        width: 100%;
    }

    .standings-panel-header h2 {
        font-size: 29px;
    }

    .standings-explanation {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===========================
   PROFIL OLDAL
=========================== */

.profile-page {
    min-height: calc(100vh - 78px);
    padding: 70px 0 110px;
}

.profile-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
    margin-bottom: 28px;
}

.profile-main-card,
.profile-highlight-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 27px;
    background:
        linear-gradient(145deg,
            rgba(48, 10, 66, 0.82),
            rgba(13, 2, 22, 0.95));
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.24);
}

.profile-main-card {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 32px;
}

.profile-avatar {
    width: 96px;
    height: 96px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border: 1px solid rgba(0, 255, 135, 0.28);
    border-radius: 29px;
    color: #06150e;
    background:
        linear-gradient(135deg,
            var(--green),
            var(--turquoise));
    box-shadow:
        0 18px 42px rgba(0, 255, 135, 0.14);
    font-size: 40px;
    font-weight: 900;
}

.profile-main-info h1 {
    margin-top: 8px;
    font-size: clamp(39px, 5vw, 60px);
    line-height: 1;
    letter-spacing: -3px;
    overflow-wrap: anywhere;
}

.profile-main-info p {
    max-width: 610px;
    margin-top: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 20px;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid rgba(0, 255, 135, 0.2);
    border-radius: 999px;
    color: var(--green);
    background: rgba(0, 255, 135, 0.07);
    font-size: 10px;
    font-weight: 800;
}

.profile-admin-badge {
    border-color: rgba(255, 40, 130, 0.24);
    color: var(--pink);
    background: rgba(255, 40, 130, 0.08);
}

.profile-highlight-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.profile-highlight-card>span {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.profile-highlight-card strong {
    display: block;
    margin-top: 10px;
    color: var(--green);
    font-size: 68px;
    line-height: 1;
}

.profile-highlight-card small {
    display: block;
    margin-top: 8px;
    color: var(--text-muted);
}

/* STATISZTIKAI KÁRTYÁK */

.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}

.profile-stat-card {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 21px;
    background:
        linear-gradient(145deg,
            rgba(44, 9, 61, 0.74),
            rgba(13, 2, 22, 0.9));
}

.profile-stat-icon {
    width: 56px;
    height: 56px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border-radius: 17px;
    background: rgba(0, 255, 135, 0.09);
    font-size: 24px;
}

.profile-stat-card span {
    display: block;
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
}

.profile-stat-card strong {
    display: block;
    margin-top: 5px;
    color: var(--white);
    font-size: 27px;
}

/* PROFIL PANEL */

.profile-panel {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 27px;
    background:
        linear-gradient(145deg,
            rgba(48, 10, 66, 0.79),
            rgba(13, 2, 22, 0.95));
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.25);
}

.profile-panel::before {
    content: "";
    position: absolute;
    top: -170px;
    right: -120px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(255, 40, 130, 0.1);
    filter: blur(58px);
    pointer-events: none;
}

.profile-panel-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 26px;
}

.profile-panel-label {
    color: var(--green);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.profile-panel-header h2 {
    margin-top: 7px;
    font-size: 34px;
    letter-spacing: -1.5px;
}

.profile-panel-header p {
    margin-top: 7px;
    color: var(--text-muted);
    font-size: 13px;
}

/* TIPPEK */

.profile-predictions-list {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 15px;
}

.profile-prediction-card {
    display: grid;
    grid-template-columns: 175px minmax(0, 1fr) 210px;
    align-items: center;
    gap: 22px;
    padding: 19px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.profile-prediction-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 255, 135, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.profile-prediction-round span {
    display: block;
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
}

.profile-prediction-round small {
    display: block;
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 10px;
}

.profile-prediction-teams {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 14px;
}

.profile-prediction-team {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.profile-prediction-team:last-child {
    justify-content: flex-end;
    text-align: right;
}

.profile-team-logo {
    width: 43px;
    height: 43px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 13px;
    background:
        linear-gradient(135deg,
            var(--pink),
            var(--bright-purple));
}

.profile-away-logo {
    color: #06150e;
    background:
        linear-gradient(135deg,
            var(--green),
            var(--turquoise));
}

.profile-team-logo img {
    width: 100%;
    height: 100%;
    padding: 6px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.94);
}

.profile-team-logo span {
    font-size: 10px;
    font-weight: 900;
}

.profile-prediction-team strong {
    overflow-wrap: anywhere;
    font-size: 12px;
}

.profile-prediction-score {
    text-align: center;
}

.profile-prediction-score span {
    display: block;
    color: var(--text-muted);
    font-size: 9px;
    text-transform: uppercase;
}

.profile-prediction-score strong {
    display: block;
    margin-top: 4px;
    color: var(--white);
    font-size: 22px;
}

.profile-prediction-result {
    display: flex;
    justify-content: flex-end;
}

.profile-result-box,
.profile-points-box {
    min-width: 88px;
    padding: 11px 12px;
    text-align: center;
}

.profile-result-box {
    border-radius: 12px 0 0 12px;
    background: rgba(255, 255, 255, 0.05);
}

.profile-points-box {
    border-radius: 0 12px 12px 0;
    background: rgba(0, 255, 135, 0.08);
}

.profile-result-box span,
.profile-points-box span {
    display: block;
    color: var(--text-muted);
    font-size: 8px;
    text-transform: uppercase;
}

.profile-result-box strong,
.profile-points-box strong {
    display: block;
    margin-top: 5px;
    font-size: 18px;
}

.profile-points-box strong {
    color: var(--green);
}

.profile-pending-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border: 1px solid rgba(255, 200, 87, 0.23);
    border-radius: 999px;
    color: #ffe0a0;
    background: rgba(255, 200, 87, 0.07);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.profile-pending-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--warning);
    box-shadow: 0 0 11px var(--warning);
}

/* ÜRES PROFIL */

.profile-empty-state {
    position: relative;
    z-index: 2;
    padding: 65px 25px;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.025);
    text-align: center;
}

.profile-empty-icon {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 20px;
    background: rgba(0, 255, 135, 0.09);
    font-size: 29px;
}

.profile-empty-state h3 {
    font-size: 24px;
}

.profile-empty-state p {
    margin-top: 10px;
    color: var(--text-muted);
}

.profile-empty-state .primary-button {
    margin-top: 24px;
}

/* MOBIL */

@media (max-width: 1000px) {
    .profile-hero {
        grid-template-columns: 1fr;
    }

    .profile-highlight-card {
        min-height: 210px;
    }

    .profile-prediction-card {
        grid-template-columns: 1fr;
    }

    .profile-prediction-round {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .profile-prediction-result {
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    .profile-page {
        padding-top: 52px;
    }

    .profile-main-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 26px 22px;
    }

    .profile-stats-grid {
        grid-template-columns: 1fr;
    }

    .profile-panel {
        padding: 22px 15px;
        border-radius: 22px;
    }

    .profile-panel-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-prediction-teams {
        grid-template-columns: 1fr;
    }

    .profile-prediction-team,
    .profile-prediction-team:last-child {
        justify-content: flex-start;
        text-align: left;
    }

    .profile-prediction-score {
        order: 3;
        padding: 12px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.04);
    }
}

/* ===========================
   SZEZONTIPP OLDAL
=========================== */

.season-prediction-page {
    min-height: calc(100vh - 78px);
    padding: 70px 0 110px;
}

.season-prediction-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 32px;
}

.season-prediction-heading h1 {
    margin-top: 10px;
    font-size: clamp(44px, 6vw, 70px);
    line-height: 1;
    letter-spacing: -4px;
}

.season-prediction-heading>div:first-child>p {
    max-width: 650px;
    margin-top: 17px;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.7;
}

.season-deadline-card {
    min-width: 310px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 17px 19px;
    border: 1px solid rgba(0, 255, 135, 0.22);
    border-radius: 18px;
    background: rgba(0, 255, 135, 0.07);
}

.season-deadline-closed {
    border-color: rgba(255, 77, 109, 0.24);
    background: rgba(255, 77, 109, 0.07);
}

.season-deadline-icon {
    width: 48px;
    height: 48px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border-radius: 14px;
    background: rgba(0, 255, 135, 0.09);
    font-size: 22px;
}

.season-deadline-card strong,
.season-deadline-card span {
    display: block;
}

.season-deadline-card span {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 11px;
}

.season-points-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
    margin-bottom: 28px;
}

.season-points-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    background:
        linear-gradient(145deg,
            rgba(45, 9, 62, 0.74),
            rgba(13, 2, 22, 0.91));
}

.season-points-icon {
    width: 53px;
    height: 53px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border-radius: 16px;
    background: rgba(0, 255, 135, 0.09);
    font-size: 23px;
}

.season-points-card span {
    display: block;
    color: var(--text-muted);
    font-size: 10px;
    text-transform: uppercase;
}

.season-points-card strong {
    display: block;
    margin-top: 5px;
    color: var(--green);
    font-size: 22px;
}

.season-prediction-panel {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 27px;
    background:
        linear-gradient(145deg,
            rgba(48, 10, 66, 0.8),
            rgba(13, 2, 22, 0.96));
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
}

.season-panel-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 25px;
}

.season-panel-label {
    color: var(--green);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.season-panel-header h2 {
    margin-top: 7px;
    font-size: 34px;
    letter-spacing: -1.5px;
}

.season-panel-header p {
    margin-top: 7px;
    color: var(--text-muted);
    font-size: 13px;
}

.season-saved-badge {
    padding: 9px 12px;
    border: 1px solid rgba(0, 255, 135, 0.24);
    border-radius: 999px;
    color: var(--green);
    background: rgba(0, 255, 135, 0.07);
    font-size: 10px;
    font-weight: 900;
}

.season-prediction-form {
    display: grid;
    gap: 18px;
}

.champion-selection-card,
.relegation-selection-card {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 19px;
    background: rgba(255, 255, 255, 0.03);
}

.season-selection-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 20px;
}

.season-selection-number {
    width: 42px;
    height: 42px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border-radius: 13px;
    color: #06150e;
    background: linear-gradient(135deg,
            var(--green),
            var(--turquoise));
    font-weight: 900;
}

.season-selection-heading strong,
.season-selection-heading span {
    display: block;
}

.season-selection-heading span {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 11px;
}

.relegation-fields-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.season-field {
    display: grid;
    gap: 8px;
}

.season-field label {
    color: #eee6f1;
    font-size: 11px;
    font-weight: 800;
}

.season-select {
    width: 100%;
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 13px;
    outline: none;
    color: var(--white);
    background: #24102e;
    cursor: pointer;
}

.season-select:focus {
    border-color: rgba(0, 255, 135, 0.65);
    box-shadow: 0 0 0 4px rgba(0, 255, 135, 0.08);
}

.season-select option {
    color: white;
    background: #24102e;
}

.season-save-button {
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 15px;
    color: #06150e;
    background: linear-gradient(135deg,
            var(--green),
            var(--turquoise));
    cursor: pointer;
    font-weight: 900;
}

.locked-season-prediction {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 19px;
    background: rgba(255, 255, 255, 0.03);
}

.locked-season-heading {
    display: flex;
    align-items: center;
    gap: 14px;
}

.locked-season-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 22px;
}

.locked-season-heading p {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 11px;
}

.locked-season-selections {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 22px;
}

.locked-season-selections article {
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
}

.locked-season-selections span,
.locked-season-selections strong {
    display: block;
}

.locked-season-selections span {
    color: var(--text-muted);
    font-size: 9px;
    text-transform: uppercase;
}

.locked-season-selections strong {
    margin-top: 7px;
    overflow-wrap: anywhere;
}

.season-earned-points {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 17px;
    padding: 15px 17px;
    border-radius: 14px;
    background: rgba(0, 255, 135, 0.07);
}

.season-earned-points span {
    color: var(--text-muted);
}

.season-earned-points strong {
    color: var(--green);
    font-size: 27px;
}

.season-waiting-result {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 10px 13px;
    border-radius: 999px;
    color: #ffe0a0;
    background: rgba(255, 200, 87, 0.07);
    font-size: 10px;
    font-weight: 900;
}

@media (max-width: 900px) {
    .season-prediction-heading {
        align-items: flex-start;
    }

    .season-points-grid {
        grid-template-columns: 1fr;
    }

    .relegation-fields-grid {
        grid-template-columns: 1fr;
    }

    .locked-season-selections {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .season-prediction-page {
        padding-top: 52px;
    }

    .season-prediction-heading {
        flex-direction: column;
    }

    .season-deadline-card {
        width: 100%;
        min-width: 0;
    }

    .season-prediction-panel {
        padding: 22px 15px;
    }

    .season-panel-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .locked-season-selections {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   PROFIL OLDAL
=========================== */

.profile-page {
    min-height: calc(100vh - 78px);
    padding: 70px 0 110px;
}

.profile-container {
    display: grid;
    gap: 28px;
}

/* PROFIL FEJLÉC */

.profile-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
}

.profile-main-card,
.profile-highlight-card,
.profile-stat-card,
.profile-summary-card,
.profile-panel {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(145deg,
            rgba(48, 10, 66, 0.82),
            rgba(13, 2, 22, 0.96));
    box-shadow:
        0 28px 65px rgba(0, 0, 0, 0.25);
}

.profile-main-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 220px;
    padding: 34px;
    overflow: hidden;
    border-radius: 28px;
}

.profile-main-card::before {
    content: "";
    position: absolute;
    top: -140px;
    right: -110px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 40, 130, 0.13);
    filter: blur(55px);
    pointer-events: none;
}

.profile-avatar {
    position: relative;
    z-index: 2;
    width: 92px;
    height: 92px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border: 1px solid rgba(0, 255, 135, 0.35);
    border-radius: 28px;
    color: #06150e;
    background:
        linear-gradient(135deg,
            var(--green),
            var(--turquoise));
    box-shadow:
        0 18px 45px rgba(0, 255, 135, 0.18);
    font-size: 39px;
    font-weight: 900;
}

.profile-main-info {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.profile-main-info h1 {
    margin-top: 9px;
    overflow-wrap: anywhere;
    font-size: clamp(35px, 5vw, 54px);
    line-height: 1;
    letter-spacing: -2.5px;
}

.profile-main-info>p {
    max-width: 620px;
    margin-top: 14px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

.profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 19px;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(0, 255, 135, 0.2);
    border-radius: 999px;
    color: var(--green);
    background: rgba(0, 255, 135, 0.07);
    font-size: 10px;
    font-weight: 900;
}

.profile-admin-badge {
    border-color: rgba(255, 40, 130, 0.25);
    color: var(--pink-light);
    background: rgba(255, 40, 130, 0.08);
}

.profile-highlight-card {
    position: relative;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 28px;
    border-color: rgba(0, 255, 135, 0.22);
    border-radius: 28px;
    text-align: center;
}

.profile-highlight-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top,
            rgba(0, 255, 135, 0.15),
            transparent 58%);
    pointer-events: none;
}

.profile-highlight-card span,
.profile-highlight-card strong,
.profile-highlight-card small {
    position: relative;
    z-index: 2;
}

.profile-highlight-card span {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.profile-highlight-card strong {
    margin-top: 9px;
    color: var(--green);
    font-size: 69px;
    line-height: 1;
    letter-spacing: -4px;
}

.profile-highlight-card small {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 12px;
}

/* STATISZTIKAI KÁRTYÁK */

.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 19px;
}

.profile-stat-card {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 124px;
    padding: 22px;
    border-radius: 22px;
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.profile-stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 135, 0.22);
    box-shadow:
        0 26px 55px rgba(0, 0, 0, 0.31);
}

.profile-stat-icon {
    width: 58px;
    height: 58px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border-radius: 17px;
    background:
        linear-gradient(135deg,
            rgba(111, 22, 168, 0.45),
            rgba(0, 255, 135, 0.12));
    font-size: 26px;
}

.profile-stat-card>div:last-child {
    min-width: 0;
}

.profile-stat-card span {
    display: block;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.profile-stat-card strong {
    display: block;
    margin-top: 4px;
    color: var(--white);
    font-size: 30px;
    line-height: 1;
}

.profile-stat-card small {
    display: block;
    margin-top: 7px;
    color: #d9cde0;
    font-size: 11px;
    line-height: 1.45;
}

/* LEGJOBB FORDULÓ ÉS PONTBONTÁS */

.profile-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.profile-summary-card {
    position: relative;
    min-height: 255px;
    padding: 28px;
    overflow: hidden;
    border-radius: 25px;
}

.profile-summary-card::before {
    content: "";
    position: absolute;
    top: -125px;
    right: -105px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(111, 22, 168, 0.14);
    filter: blur(48px);
    pointer-events: none;
}

.profile-summary-heading {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-summary-icon {
    width: 53px;
    height: 53px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border: 1px solid rgba(0, 255, 135, 0.2);
    border-radius: 16px;
    background: rgba(0, 255, 135, 0.08);
    font-size: 23px;
}

.profile-summary-heading span {
    color: var(--green);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.profile-summary-heading h2 {
    margin-top: 5px;
    font-size: 25px;
    letter-spacing: -1px;
}

.profile-best-round {
    position: relative;
    z-index: 2;
    margin-top: 24px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.17);
}

.profile-best-round>strong {
    display: block;
    color: var(--white);
    font-size: 20px;
}

.profile-best-round-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    margin-top: 17px;
}

.profile-best-round-stats>div {
    padding: 14px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.05);
}

.profile-best-round-stats span {
    display: block;
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.profile-best-round-stats b {
    display: block;
    margin-top: 5px;
    color: var(--green);
    font-size: 23px;
}

.profile-summary-empty {
    position: relative;
    z-index: 2;
    margin-top: 28px;
    padding: 25px;
    border: 1px dashed rgba(255, 255, 255, 0.13);
    border-radius: 17px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.025);
    text-align: center;
    font-size: 13px;
}

.profile-points-breakdown {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.profile-points-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 16px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.045);
}

.profile-points-row span {
    color: var(--text-muted);
    font-size: 12px;
}

.profile-points-row strong {
    color: var(--white);
    font-size: 14px;
}

.profile-points-total {
    margin-top: 3px;
    border: 1px solid rgba(0, 255, 135, 0.2);
    background: rgba(0, 255, 135, 0.07);
}

.profile-points-total span,
.profile-points-total strong {
    color: var(--green);
    font-weight: 900;
}

/* ÁLTALÁNOS PROFIL PANEL */

.profile-panel {
    position: relative;
    overflow: hidden;
    padding: 31px;
    border-radius: 27px;
}

.profile-panel::before {
    content: "";
    position: absolute;
    top: -170px;
    right: -130px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(255, 40, 130, 0.1);
    filter: blur(60px);
    pointer-events: none;
}

.profile-panel-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 27px;
}

.profile-panel-label {
    color: var(--green);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.profile-panel-header h2 {
    margin-top: 7px;
    font-size: 34px;
    letter-spacing: -1.5px;
}

.profile-panel-header p {
    max-width: 650px;
    margin-top: 7px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}

/* SZEZONTIPP */

.profile-season-panel {
    border-color: rgba(0, 255, 135, 0.15);
}

.profile-season-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.profile-season-team {
    min-height: 135px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.16);
}

.profile-season-team>span {
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.profile-season-team>strong {
    margin-top: 16px;
    overflow-wrap: anywhere;
    color: var(--white);
    font-size: 16px;
    line-height: 1.35;
}

.profile-champion-team {
    border-color: rgba(0, 255, 135, 0.23);
    background:
        linear-gradient(145deg,
            rgba(0, 255, 135, 0.08),
            rgba(0, 228, 199, 0.025));
}

.profile-season-team-content {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 17px;
}

.profile-season-team-content img {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    padding: 5px;
    border-radius: 12px;
    background: white;
    object-fit: contain;
}

.profile-season-team-content strong {
    overflow-wrap: anywhere;
    font-size: 16px;
}

.profile-season-status {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 18px;
    padding: 15px 17px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
}

.profile-season-status strong {
    color: var(--green);
    font-size: 17px;
}

.profile-season-scored,
.profile-season-pending {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
}

.profile-season-scored {
    color: var(--green);
    background: rgba(0, 255, 135, 0.08);
}

.profile-season-pending {
    color: var(--warning);
    background: rgba(255, 200, 87, 0.08);
}

/* LEGUTÓBBI TIPPEK */

.profile-predictions-list {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 15px;
}

.profile-prediction-card {
    display: grid;
    grid-template-columns: 165px minmax(0, 1fr) 180px;
    align-items: center;
    gap: 22px;
    padding: 19px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 19px;
    background: rgba(0, 0, 0, 0.16);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.profile-prediction-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 255, 135, 0.18);
    background: rgba(255, 255, 255, 0.035);
}

.profile-prediction-round span {
    display: block;
    color: var(--white);
    font-size: 13px;
    font-weight: 900;
}

.profile-prediction-round small {
    display: block;
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.4;
}

.profile-prediction-teams {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 13px;
}

.profile-prediction-team {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 11px;
}

.profile-prediction-team:last-child {
    flex-direction: row-reverse;
    text-align: right;
}

.profile-prediction-team strong {
    overflow-wrap: anywhere;
    font-size: 13px;
    line-height: 1.35;
}

.profile-team-logo {
    width: 47px;
    height: 47px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background:
        linear-gradient(135deg,
            var(--pink),
            var(--bright-purple));
}

.profile-team-logo img {
    width: 100%;
    height: 100%;
    padding: 5px;
    background: white;
    object-fit: contain;
}

.profile-team-logo span {
    font-size: 9px;
    font-weight: 900;
}

.profile-away-logo {
    color: #06150e;
    background:
        linear-gradient(135deg,
            var(--green),
            var(--turquoise));
}

.profile-prediction-score {
    text-align: center;
}

.profile-prediction-score span {
    display: block;
    color: var(--text-muted);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.profile-prediction-score strong {
    display: block;
    margin-top: 4px;
    color: var(--green);
    font-size: 21px;
}

.profile-prediction-result {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
}

.profile-result-box,
.profile-points-box {
    min-width: 78px;
    padding: 11px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
    text-align: center;
}

.profile-result-box span,
.profile-points-box span {
    display: block;
    color: var(--text-muted);
    font-size: 8px;
    text-transform: uppercase;
}

.profile-result-box strong,
.profile-points-box strong {
    display: block;
    margin-top: 4px;
    font-size: 18px;
}

.profile-points-box strong {
    color: var(--green);
}

.profile-pending-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    color: var(--warning);
    background: rgba(255, 200, 87, 0.08);
    font-size: 10px;
    font-weight: 900;
}

.profile-pending-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--warning);
    box-shadow:
        0 0 10px rgba(255, 200, 87, 0.75);
}

/* ÜRES ÁLLAPOT */

.profile-empty-state {
    position: relative;
    z-index: 2;
    padding: 55px 25px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.025);
    text-align: center;
}

.profile-empty-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 19px;
    background: rgba(0, 255, 135, 0.08);
    font-size: 28px;
}

.profile-empty-state h3 {
    font-size: 24px;
}

.profile-empty-state p {
    max-width: 520px;
    margin: 10px auto 0;
    color: var(--text-muted);
    line-height: 1.65;
}

.profile-empty-state .primary-button {
    margin-top: 23px;
}

/* ===========================
   PROFIL RESZPONZÍV NÉZET
=========================== */

@media (max-width: 1050px) {
    .profile-hero {
        grid-template-columns: 1fr;
    }

    .profile-highlight-card {
        min-height: 170px;
    }

    .profile-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-season-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-prediction-card {
        grid-template-columns: 135px minmax(0, 1fr);
    }

    .profile-prediction-result {
        grid-column: 1 / -1;
        justify-content: flex-end;
        padding-top: 13px;
        border-top: 1px solid rgba(255, 255, 255, 0.07);
    }
}

@media (max-width: 760px) {
    .profile-page {
        padding-top: 52px;
    }

    .profile-main-card {
        align-items: flex-start;
        padding: 25px;
    }

    .profile-avatar {
        width: 75px;
        height: 75px;
        border-radius: 22px;
        font-size: 31px;
    }

    .profile-main-info h1 {
        font-size: 36px;
    }

    .profile-summary-grid {
        grid-template-columns: 1fr;
    }

    .profile-panel {
        padding: 23px 18px;
        border-radius: 22px;
    }

    .profile-panel-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-panel-header .secondary-button {
        width: 100%;
    }

    .profile-prediction-card {
        grid-template-columns: 1fr;
    }

    .profile-prediction-round {
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .profile-prediction-result {
        grid-column: auto;
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .profile-main-card {
        flex-direction: column;
    }

    .profile-stats-grid {
        grid-template-columns: 1fr;
    }

    .profile-season-grid {
        grid-template-columns: 1fr;
    }

    .profile-stat-card {
        min-height: 110px;
    }

    .profile-summary-card {
        padding: 22px 18px;
    }

    .profile-prediction-teams {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .profile-prediction-team,
    .profile-prediction-team:last-child {
        flex-direction: row;
        justify-content: center;
        text-align: center;
    }

    .profile-prediction-score {
        order: -1;
        padding: 12px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.04);
    }

    .profile-prediction-result {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-season-status {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================
   ADMIN DASHBOARD
========================================= */

.custom-admin-page {
    min-height: 100vh;
    padding: 48px 20px 80px;
    background:
        radial-gradient(circle at top right,
            rgba(0, 255, 135, 0.12),
            transparent 30%),
        linear-gradient(135deg,
            #120016 0%,
            #26002d 45%,
            #37003c 100%);
}

.custom-admin-container {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.custom-admin-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(16px);
}

.custom-admin-heading h1 {
    margin: 6px 0 10px;
    color: #ffffff;
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.05;
}

.custom-admin-heading p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
}

.section-label,
.admin-panel-label {
    display: inline-block;
    color: #00ff87;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.secondary-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    background: #00ff87;
    color: #210025;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.secondary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 255, 135, 0.25);
}

/* Statisztikai kártyák */

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.admin-stat-card {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 145px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(14px);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

.admin-stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 135, 0.55);
}

.admin-stat-icon {
    display: grid;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 17px;
    background: rgba(0, 255, 135, 0.14);
    font-size: 27px;
}

.admin-stat-card div:last-child {
    display: flex;
    flex-direction: column;
}

.admin-stat-card span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    font-weight: 700;
}

.admin-stat-card strong {
    margin: 4px 0;
    color: #ffffff;
    font-size: 30px;
    line-height: 1;
}

.admin-stat-card small {
    color: rgba(255, 255, 255, 0.52);
}

/* Aktív forduló */

.admin-active-round-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    padding: 28px 30px;
    border-radius: 22px;
    background:
        linear-gradient(120deg,
            rgba(0, 255, 135, 0.2),
            rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(0, 255, 135, 0.35);
}

.admin-active-round-card h2 {
    margin: 6px 0 8px;
    color: #ffffff;
    font-size: 28px;
}

.admin-active-round-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.admin-active-round-icon {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border-radius: 20px;
    background: #00ff87;
    font-size: 30px;
}

/* Gyorsműveletek */

.admin-quick-actions {
    margin-bottom: 24px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.06);
}

.admin-section-heading {
    margin-bottom: 20px;
}

.admin-section-heading h2,
.admin-panel-heading h2 {
    margin: 5px 0 0;
    color: #ffffff;
    font-size: 25px;
}

.admin-action-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.admin-action-card {
    display: flex;
    flex-direction: column;
    min-height: 165px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.admin-action-card:hover {
    transform: translateY(-4px);
    border-color: #00ff87;
    background: rgba(0, 255, 135, 0.12);
}

.admin-action-icon {
    margin-bottom: 16px;
    font-size: 30px;
}

.admin-action-card strong {
    margin-bottom: 8px;
    font-size: 18px;
}

.admin-action-card small {
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.45;
}

/* Kétoszlopos tartalom */

.admin-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 22px;
    margin-bottom: 24px;
}

.admin-dashboard-panel {
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.admin-panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.admin-panel-heading a {
    color: #00ff87;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.admin-panel-heading a:hover {
    text-decoration: underline;
}

/* Meccsek */

.admin-match-list,
.admin-player-list,
.admin-recent-predictions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-match-row {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 15px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.06);
}

.admin-match-time {
    display: flex;
    flex-direction: column;
}

.admin-match-time strong {
    color: #ffffff;
    font-size: 13px;
}

.admin-match-time span {
    color: #00ff87;
    font-size: 12px;
    font-weight: 800;
}

.admin-match-teams {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    color: #ffffff;
}

.admin-match-teams strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-match-teams span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

.admin-match-row>small {
    color: rgba(255, 255, 255, 0.55);
    text-align: right;
}

/* Játékoslista */

.admin-player-row {
    display: grid;
    grid-template-columns: 34px 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.06);
}

.admin-player-position {
    color: #00ff87;
    font-weight: 900;
    text-align: center;
}

.admin-player-avatar {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #00ff87, #7dffbd);
    color: #230027;
    font-weight: 900;
}

.admin-player-name,
.admin-prediction-user {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.admin-player-name strong,
.admin-prediction-user strong {
    overflow: hidden;
    color: #ffffff;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-player-name small,
.admin-prediction-user small {
    overflow: hidden;
    color: rgba(255, 255, 255, 0.55);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-player-points {
    color: #00ff87;
    font-size: 20px;
}

/* Legutóbbi tippek */

.admin-prediction-row {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 70px 80px;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.06);
}

.admin-prediction-score {
    color: #ffffff;
    font-size: 19px;
    text-align: center;
}

.admin-prediction-points {
    padding: 7px 10px;
    border-radius: 10px;
    background: rgba(0, 255, 135, 0.13);
    color: #00ff87;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.admin-empty-state {
    padding: 32px 20px;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.58);
    text-align: center;
}

/* Tablet */

@media (max-width: 950px) {
    .admin-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-content-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobil */

@media (max-width: 650px) {
    .custom-admin-page {
        padding: 25px 12px 55px;
    }

    .custom-admin-heading {
        align-items: stretch;
        flex-direction: column;
        padding: 22px;
    }

    .secondary-button {
        width: 100%;
    }

    .admin-stat-grid,
    .admin-action-grid {
        grid-template-columns: 1fr;
    }

    .admin-stat-card {
        min-height: auto;
    }

    .admin-active-round-card {
        padding: 22px;
    }

    .admin-active-round-icon {
        width: 52px;
        height: 52px;
        font-size: 24px;
    }

    .admin-dashboard-panel,
    .admin-quick-actions {
        padding: 19px;
    }

    .admin-panel-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-match-row {
        grid-template-columns: 60px minmax(0, 1fr);
    }

    .admin-match-row>small {
        grid-column: 2;
        text-align: left;
    }

    .admin-match-teams {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .admin-prediction-row {
        grid-template-columns: 42px minmax(0, 1fr) auto;
    }

    .admin-prediction-points {
        grid-column: 2 / -1;
        justify-self: start;
    }
}

/* ===========================
   XP- ÉS SZINTRENDSZER
=========================== */

.level-badge,
.profile-level-badge,
.public-level-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: fit-content;
    padding: 8px 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.level-badge:hover,
.profile-level-badge:hover,
.public-level-badge:hover {
    transform: translateY(-2px);
}

.level-badge-bronze,
.profile-level-bronze,
.public-level-bronze {
    border-color: rgba(205, 127, 50, 0.48);
    color: #ffd2a1;
    background:
        linear-gradient(135deg,
            rgba(205, 127, 50, 0.22),
            rgba(112, 61, 20, 0.12));
    box-shadow: 0 10px 28px rgba(205, 127, 50, 0.12);
}

.level-badge-silver,
.profile-level-silver,
.public-level-silver {
    border-color: rgba(210, 218, 228, 0.5);
    color: #f3f7fb;
    background:
        linear-gradient(135deg,
            rgba(225, 231, 238, 0.2),
            rgba(122, 134, 148, 0.12));
    box-shadow: 0 10px 28px rgba(205, 218, 230, 0.1);
}

.level-badge-gold,
.profile-level-gold,
.public-level-gold {
    border-color: rgba(255, 200, 87, 0.55);
    color: #ffe8a6;
    background:
        linear-gradient(135deg,
            rgba(255, 200, 87, 0.24),
            rgba(177, 110, 0, 0.13));
    box-shadow: 0 10px 30px rgba(255, 200, 87, 0.13);
}

.level-badge-platinum,
.profile-level-platinum,
.public-level-platinum {
    border-color: rgba(186, 126, 255, 0.58);
    color: #edd9ff;
    background:
        linear-gradient(135deg,
            rgba(160, 88, 232, 0.25),
            rgba(81, 37, 142, 0.14));
    box-shadow: 0 10px 32px rgba(146, 79, 218, 0.15);
}

.level-badge-diamond,
.profile-level-diamond,
.public-level-diamond {
    border-color: rgba(0, 255, 220, 0.62);
    color: #c8fff8;
    background:
        linear-gradient(135deg,
            rgba(0, 228, 199, 0.25),
            rgba(80, 190, 255, 0.18));
    box-shadow:
        0 12px 34px rgba(0, 228, 199, 0.17),
        0 0 24px rgba(0, 255, 220, 0.09);
}

.level-badge-diamond::after,
.profile-level-diamond::after,
.public-level-diamond::after {
    content: "";
    position: absolute;
    top: -55%;
    bottom: -55%;
    left: -38%;
    width: 25%;
    background: rgba(255, 255, 255, 0.48);
    transform: rotate(18deg);
    animation: level-diamond-shine 3.2s ease-in-out infinite;
}

@keyframes level-diamond-shine {

    0%,
    55% {
        left: -38%;
    }

    100% {
        left: 128%;
    }
}

.level-progress,
.profile-level-progress,
.public-level-progress,
.podium-level-progress {
    width: 100%;
    height: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.16);
}

.level-progress-fill,
.profile-level-progress-fill,
.public-level-progress-fill,
.podium-level-progress-fill,
.podium-level-progress>span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background:
        linear-gradient(90deg,
            var(--pink),
            #a958ff,
            var(--green));
    box-shadow: 0 0 18px rgba(0, 255, 135, 0.3);
    transition: width 0.8s ease;
}

.level-card,
.profile-level-card,
.public-level-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right,
            rgba(0, 255, 135, 0.12),
            transparent 42%),
        linear-gradient(145deg,
            rgba(55, 0, 60, 0.94),
            rgba(20, 4, 24, 0.97));
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.24);
}

.level-card::before,
.profile-level-card::before,
.public-level-card::before {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    right: -80px;
    bottom: -100px;
    border-radius: 50%;
    background: rgba(0, 255, 135, 0.1);
    filter: blur(8px);
    pointer-events: none;
}

.level-xp-text {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.86rem;
    font-weight: 700;
}

.level-xp-text strong {
    color: #ffffff;
}

@media (max-width: 820px) {

    .level-badge,
    .profile-level-badge,
    .public-level-badge {
        padding: 7px 10px;
        font-size: 0.72rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .level-badge-diamond::after,
    .profile-level-diamond::after,
    .public-level-diamond::after {
        animation: none;
    }

    .level-progress-fill,
    .profile-level-progress-fill,
    .public-level-progress-fill,
    .podium-level-progress-fill,
    .podium-level-progress>span {
        transition: none;
    }
}

:root {
    --background: #09000f;
    --background-secondary: #12001d;
    --surface: rgba(31, 8, 45, 0.82);
    --surface-light: rgba(55, 16, 75, 0.78);
    --surface-border: rgba(255, 255, 255, 0.1);

    --primary-purple: #37003c;
    --bright-purple: #6f16a8;
    --pink: #ff2882;
    --pink-light: #ff5ca0;
    --green: #00ff87;
    --turquoise: #00e4c7;

    --white: #ffffff;
    --text: #f6f0f8;
    --text-muted: #bcaec3;

    --success: #00ff87;
    --error: #ff4d6d;
    --warning: #ffc857;
    --info: #00c8ff;

    --shadow-large:
        0 35px 90px rgba(0, 0, 0, 0.5);

    --shadow-neon:
        0 0 35px rgba(0, 255, 135, 0.22);

    --border-radius-large: 30px;
    --border-radius-medium: 20px;
    --border-radius-small: 12px;

    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Inter", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left,
            rgba(111, 22, 168, 0.26),
            transparent 36%),
        radial-gradient(circle at top right,
            rgba(255, 40, 130, 0.15),
            transparent 35%),
        var(--background);
    overflow-x: hidden;
}

button,
input,
select,
textarea {
    font: inherit;
}

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

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

.container {
    width: min(calc(100% - 40px),
            var(--container-width));
    margin: 0 auto;
}

.page-background {
    position: fixed;
    inset: 0;
    z-index: -10;
    overflow: hidden;
    pointer-events: none;
}

.background-glow {
    position: absolute;
    width: 540px;
    height: 540px;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.23;
}

.background-glow-one {
    top: -250px;
    left: -190px;
    background: var(--bright-purple);
}

.background-glow-two {
    right: -230px;
    top: 180px;
    background: var(--pink);
}

.background-grid {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.5) 1px,
            transparent 1px),
        linear-gradient(90deg,
            rgba(255, 255, 255, 0.5) 1px,
            transparent 1px);
    background-size: 55px 55px;
    mask-image:
        linear-gradient(to bottom,
            black,
            transparent 80%);
}

/* ===========================
   FEJLÉC ÉS NAVIGÁCIÓ
=========================== */

.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(9, 0, 15, 0.82);
    backdrop-filter: blur(20px);
}

.navbar-container {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -1px;
}

.brand-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(0, 255, 135, 0.4);
    border-radius: 14px;
    background:
        linear-gradient(135deg,
            rgba(0, 255, 135, 0.2),
            rgba(0, 228, 199, 0.05));
    box-shadow:
        0 0 20px rgba(0, 255, 135, 0.14);
}

.brand-text {
    display: inline-flex;
}

.brand-main {
    color: var(--white);
}

.brand-highlight {
    color: var(--green);
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-navigation>a,
.navigation-logout-button {
    padding: 11px 14px;
    border: 0;
    border-radius: 12px;
    color: var(--text-muted);
    background: transparent;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.main-navigation>a:hover,
.navigation-logout-button:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-1px);
}

.main-navigation .navigation-register-button {
    margin-left: 5px;
    color: #07150f;
    background:
        linear-gradient(135deg,
            var(--green),
            var(--turquoise));
    box-shadow:
        0 10px 28px rgba(0, 255, 135, 0.16);
}

.main-navigation .navigation-register-button:hover {
    color: #07150f;
    background:
        linear-gradient(135deg,
            #34ffa4,
            #34f2dc);
}

.admin-navigation-link {
    color: var(--pink) !important;
}

.logout-form {
    display: inline-flex;
}

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    height: 2px;
    margin: 5px 0;
    border-radius: 20px;
    background: var(--white);
    transition: 0.25s ease;
}

/* ===========================
   ÜZENETEK
=========================== */

.messages-container {
    padding-top: 20px;
}

.message-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    padding: 15px 18px;
    border: 1px solid;
    border-radius: 14px;
    background: rgba(20, 4, 30, 0.92);
    font-weight: 600;
}

.message-icon {
    width: 28px;
    height: 28px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border-radius: 50%;
    font-weight: 900;
}

.message-success {
    border-color: rgba(0, 255, 135, 0.34);
    color: #a9ffd6;
}

.message-success .message-icon {
    color: #06180f;
    background: var(--success);
}

.message-error {
    border-color: rgba(255, 77, 109, 0.36);
    color: #ffc0cb;
}

.message-error .message-icon {
    color: white;
    background: var(--error);
}

.message-warning {
    border-color: rgba(255, 200, 87, 0.36);
    color: #ffe0a0;
}

.message-info {
    border-color: rgba(0, 200, 255, 0.36);
    color: #b4eeff;
}

/* ===========================
   FŐ TARTALOM
=========================== */

.main-content {
    min-height: calc(100vh - 180px);
}

/* ===========================
   HERO
=========================== */

.hero-section {
    position: relative;
    padding: 105px 0 115px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.03fr 0.97fr;
    align-items: center;
    gap: 85px;
}

.hero-badge,
.section-label,
.authentication-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-badge {
    padding: 9px 13px;
    border: 1px solid rgba(0, 255, 135, 0.22);
    border-radius: 999px;
    background: rgba(0, 255, 135, 0.07);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow:
        0 0 14px var(--green);
}

.hero-title {
    max-width: 720px;
    margin-top: 24px;
    font-size: clamp(46px, 6vw, 78px);
    line-height: 0.98;
    letter-spacing: -4.5px;
    font-weight: 900;
}

.hero-title span {
    display: block;
    color: transparent;
    background:
        linear-gradient(90deg,
            var(--pink),
            #a958ff,
            var(--green));
    background-clip: text;
    -webkit-background-clip: text;
}

.hero-description {
    max-width: 650px;
    margin-top: 27px;
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 37px;
}

.primary-button,
.secondary-button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 25px;
    border-radius: 15px;
    font-size: 15px;
    font-weight: 800;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.primary-button {
    color: #07150f;
    background:
        linear-gradient(135deg,
            var(--green),
            var(--turquoise));
    box-shadow:
        0 17px 40px rgba(0, 255, 135, 0.18);
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow:
        0 22px 50px rgba(0, 255, 135, 0.28);
}

.secondary-button {
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.secondary-button:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.28);
}

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 19px;
    margin-top: 34px;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
}

.hero-trust-item span {
    color: var(--green);
    font-weight: 900;
}

.hero-visual {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 540px;
    padding: 29px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 28px;
    background:
        linear-gradient(145deg,
            rgba(63, 12, 82, 0.94),
            rgba(19, 3, 30, 0.97));
    box-shadow:
        var(--shadow-large),
        0 0 70px rgba(255, 40, 130, 0.12);
    transform: rotate(1.7deg);
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: -1;
    border-radius: 27px;
    background:
        radial-gradient(circle at top right,
            rgba(255, 40, 130, 0.22),
            transparent 38%);
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.small-label {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.hero-card-header h2 {
    margin-top: 7px;
    font-size: 28px;
    letter-spacing: -1px;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    border: 1px solid rgba(0, 255, 135, 0.23);
    border-radius: 999px;
    color: var(--green);
    background: rgba(0, 255, 135, 0.08);
    font-size: 10px;
    font-weight: 900;
}

.live-badge span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow:
        0 0 10px var(--green);
}

.example-match {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    margin-top: 36px;
    padding: 24px 15px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 19px;
    background: rgba(0, 0, 0, 0.18);
}

.example-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
    text-align: center;
}

.team-placeholder {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 18px;
    background:
        linear-gradient(135deg,
            var(--pink),
            var(--bright-purple));
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.26);
    font-size: 13px;
    font-weight: 900;
}

.example-team:last-child .team-placeholder {
    color: #07150f;
    background:
        linear-gradient(135deg,
            var(--green),
            var(--turquoise));
}

.example-score {
    display: flex;
    align-items: center;
    gap: 8px;
}

.example-score input {
    width: 50px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 13px;
    outline: none;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 22px;
    font-weight: 900;
}

.example-score span {
    color: var(--text-muted);
    font-size: 20px;
    font-weight: 900;
}

.example-save-button {
    margin-top: 17px;
    padding: 14px;
    border-radius: 14px;
    color: #07150f;
    background:
        linear-gradient(135deg,
            var(--green),
            var(--turquoise));
    text-align: center;
    font-size: 14px;
    font-weight: 900;
}

.hero-card-footer {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 18px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
}

.floating-card {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 17px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 18px;
    background: rgba(20, 4, 30, 0.92);
    backdrop-filter: blur(17px);
    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.36);
}

.floating-card-ranking {
    top: 24px;
    right: -28px;
}

.floating-card-points {
    left: -25px;
    bottom: 35px;
}

.floating-card-icon {
    width: 47px;
    height: 47px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #07150f;
    background:
        linear-gradient(135deg,
            var(--green),
            var(--turquoise));
    font-size: 18px;
    font-weight: 900;
}

.floating-card small {
    display: block;
    color: var(--text-muted);
    font-size: 9px;
    letter-spacing: 1.1px;
    font-weight: 800;
}

.floating-card strong {
    display: block;
    margin-top: 3px;
}

.floating-card div>span {
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
}

/* ===========================
   FUNKCIÓK
=========================== */

.features-section {
    padding: 100px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.015);
}

.section-heading {
    max-width: 750px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-heading h2,
.scoring-content h2 {
    margin-top: 14px;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.1;
    letter-spacing: -2px;
}

.section-heading p,
.scoring-content>p {
    margin-top: 17px;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-card {
    position: relative;
    min-height: 290px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--surface-border);
    border-radius: 24px;
    background:
        linear-gradient(145deg,
            rgba(48, 11, 66, 0.7),
            rgba(15, 2, 24, 0.85));
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 255, 135, 0.27);
    box-shadow:
        0 25px 55px rgba(0, 0, 0, 0.25);
}

.feature-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(0, 255, 135, 0.22);
    border-radius: 17px;
    background: rgba(0, 255, 135, 0.09);
    font-size: 25px;
}

.feature-card h3 {
    margin-top: 24px;
    font-size: 21px;
}

.feature-card p {
    margin-top: 13px;
    color: var(--text-muted);
    line-height: 1.65;
}

.feature-number {
    position: absolute;
    right: 18px;
    bottom: -17px;
    color: rgba(255, 255, 255, 0.035);
    font-size: 94px;
    font-weight: 900;
}

/* ===========================
   PONTOZÁS
=========================== */

.scoring-section {
    padding: 110px 0;
}

.scoring-container {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 90px;
}

.scoring-content .primary-button {
    margin-top: 30px;
}

.scoring-list {
    display: grid;
    gap: 15px;
}

.scoring-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px;
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    background:
        linear-gradient(135deg,
            rgba(52, 12, 71, 0.68),
            rgba(16, 3, 25, 0.86));
}

.scoring-item-highlight {
    border-color: rgba(0, 255, 135, 0.3);
    box-shadow:
        0 0 40px rgba(0, 255, 135, 0.07);
}

.scoring-points {
    width: 61px;
    height: 61px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border-radius: 17px;
    color: #07150f;
    background:
        linear-gradient(135deg,
            var(--green),
            var(--turquoise));
    font-size: 25px;
    font-weight: 900;
}

.scoring-item h3 {
    font-size: 18px;
}

.scoring-item p {
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
}

/* ===========================
   BEJELENTKEZÉS ÉS REGISZTRÁCIÓ
=========================== */

.authentication-section {
    position: relative;
    min-height: calc(100vh - 78px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 20px 90px;
    overflow: hidden;
}

.authentication-decoration {
    position: absolute;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    filter: blur(115px);
    opacity: 0.22;
}

.decoration-one {
    left: -210px;
    top: 50px;
    background: var(--bright-purple);
}

.decoration-two {
    right: -190px;
    bottom: -90px;
    background: var(--pink);
}

.authentication-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 500px;
}

.authentication-card {
    padding: 42px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    background:
        linear-gradient(145deg,
            rgba(46, 10, 64, 0.9),
            rgba(14, 2, 23, 0.96));
    box-shadow:
        var(--shadow-large);
    backdrop-filter: blur(20px);
}

.authentication-logo {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin-bottom: 26px;
    border: 1px solid rgba(0, 255, 135, 0.3);
    border-radius: 19px;
    background: rgba(0, 255, 135, 0.1);
    box-shadow:
        0 0 30px rgba(0, 255, 135, 0.1);
    font-size: 28px;
}

.authentication-card h1 {
    margin-top: 9px;
    font-size: 37px;
    letter-spacing: -1.8px;
}

.authentication-description {
    margin-top: 12px;
    color: var(--text-muted);
    line-height: 1.65;
}

.authentication-form {
    display: grid;
    gap: 20px;
    margin-top: 31px;
}

.form-group {
    display: grid;
    gap: 9px;
}

.form-group label {
    color: #e8deeb;
    font-size: 13px;
    font-weight: 800;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 13px;
    outline: none;
    color: var(--white);
    background: rgba(255, 255, 255, 0.055);
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8e7e96;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(0, 255, 135, 0.65);
    background: rgba(255, 255, 255, 0.075);
    box-shadow:
        0 0 0 4px rgba(0, 255, 135, 0.08);
}

.password-input-wrapper {
    position: relative;
}

.password-input-wrapper input {
    padding-right: 75px;
}

.password-toggle-button {
    position: absolute;
    right: 9px;
    top: 50%;
    padding: 7px 9px;
    border: 0;
    border-radius: 8px;
    color: var(--green);
    background: rgba(0, 255, 135, 0.08);
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
}

.authentication-submit-button {
    min-height: 54px;
    margin-top: 3px;
    border: 0;
    border-radius: 14px;
    color: #06150e;
    background:
        linear-gradient(135deg,
            var(--green),
            var(--turquoise));
    box-shadow:
        0 15px 35px rgba(0, 255, 135, 0.16);
    cursor: pointer;
    font-weight: 900;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.authentication-submit-button:hover {
    transform: translateY(-2px);
    box-shadow:
        0 20px 42px rgba(0, 255, 135, 0.24);
}

.authentication-divider {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 27px 0 20px;
    color: var(--text-muted);
    font-size: 12px;
}

.authentication-divider span {
    height: 1px;
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
}

.authentication-bottom-text {
    color: var(--text-muted);
    text-align: center;
    font-size: 14px;
}

.authentication-bottom-text a {
    color: var(--green);
    font-weight: 800;
}

.form-error-box {
    margin-top: 20px;
    padding: 13px 15px;
    border: 1px solid rgba(255, 77, 109, 0.35);
    border-radius: 12px;
    color: #ffc0cb;
    background: rgba(255, 77, 109, 0.08);
    font-size: 13px;
    line-height: 1.55;
}

.field-error-text {
    color: #ff9cac;
    font-size: 12px;
    line-height: 1.4;
}

.field-help-text {
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.5;
}

.field-help-text ul {
    padding-left: 18px;
}

/* ===========================
   LÁBLÉC
=========================== */

.main-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(7, 0, 12, 0.85);
}

.footer-content {
    min-height: 115px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.footer-logo {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(0, 255, 135, 0.09);
}

.footer-brand strong {
    font-size: 17px;
}

.footer-brand p,
.footer-information {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 12px;
}

.footer-brand-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-data-source {
    display: block;
    margin-top: 7px;

    color: rgba(255, 255, 255, 0.42);

    font-size: 10px;
    font-weight: 500;
    line-height: 1.3;
}

.footer-data-source a {
    color: rgba(0, 255, 135, 0.72);
    font-weight: 600;
    text-decoration: none;
}

.footer-data-source a:hover {
    color: var(--green);
}

.footer-information {
    text-align: right;
    line-height: 1.8;
}

/* ===========================
   RESZPONZÍV NÉZET
=========================== */

@media (max-width: 1050px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .hero-content {
        max-width: 760px;
        text-align: center;
        margin: 0 auto;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-trust-row {
        justify-content: center;
    }

    .hero-visual {
        width: min(100%, 620px);
        margin: 0 auto;
    }

    .scoring-container {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .scoring-content {
        max-width: 700px;
    }
}

@media (max-width: 820px) {
    .mobile-menu-button {
        display: block;
    }

    .main-navigation {
        position: absolute;
        top: 78px;
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
        border: 1px solid var(--surface-border);
        border-radius: 18px;
        background: rgba(18, 1, 28, 0.98);
        box-shadow:
            0 25px 60px rgba(0, 0, 0, 0.4);
    }

    .main-navigation.navigation-open {
        display: flex;
    }

    .main-navigation>a,
    .navigation-logout-button,
    .logout-form {
        width: 100%;
    }

    .navigation-logout-button {
        text-align: left;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 240px;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(calc(100% - 28px), var(--container-width));
    }

    .hero-section {
        padding: 75px 0 80px;
    }

    .hero-title {
        font-size: 48px;
        letter-spacing: -3px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        display: grid;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .hero-visual {
        min-height: 440px;
    }

    .hero-card {
        padding: 20px;
        transform: none;
    }

    .example-match {
        gap: 8px;
        padding: 19px 7px;
    }

    .team-placeholder {
        width: 49px;
        height: 49px;
    }

    .example-team strong {
        font-size: 12px;
    }

    .example-score input {
        width: 39px;
        height: 48px;
    }

    .hero-card-footer {
        flex-direction: column;
    }

    .floating-card-ranking {
        top: -25px;
        right: -5px;
    }

    .floating-card-points {
        left: -5px;
        bottom: 0;
    }

    .floating-card {
        transform: scale(0.84);
    }

    .features-section,
    .scoring-section {
        padding: 75px 0;
    }

    .authentication-card {
        padding: 30px 22px;
        border-radius: 23px;
    }

    .authentication-card h1 {
        font-size: 31px;
    }

    .footer-content {
        flex-direction: column;
        justify-content: center;
        padding: 28px 0;
        text-align: center;
    }

    .footer-information {
        text-align: center;
    }
}

/* ===========================
   TIPPELÉS OLDAL
=========================== */

.predictions-page {
    min-height: calc(100vh - 78px);
    padding: 70px 0 110px;
}

.predictions-page-container {
    position: relative;
}

.predictions-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 55px;
}

.predictions-heading h1 {
    margin-top: 10px;
    font-size: clamp(44px, 6vw, 70px);
    line-height: 1;
    letter-spacing: -4px;
}

.predictions-heading>div:first-child>p {
    max-width: 630px;
    margin-top: 18px;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.7;
}

.predictions-rules-card {
    min-width: 295px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 17px 19px;
    border: 1px solid rgba(0, 255, 135, 0.2);
    border-radius: 18px;
    background:
        linear-gradient(135deg,
            rgba(0, 255, 135, 0.08),
            rgba(0, 228, 199, 0.025));
}

.rules-card-icon {
    width: 48px;
    height: 48px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border-radius: 14px;
    background: rgba(0, 255, 135, 0.1);
    font-size: 22px;
}

.predictions-rules-card strong {
    display: block;
    margin-bottom: 4px;
    color: var(--white);
}

.predictions-rules-card span {
    display: block;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.6;
}

/* FORDULÓ FEJLÉCE */

.round-section {
    margin-top: 45px;
}

.round-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.round-number-box {
    width: 74px;
    height: 74px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border: 1px solid rgba(0, 255, 135, 0.3);
    border-radius: 22px;
    color: #06150e;
    background:
        linear-gradient(135deg,
            var(--green),
            var(--turquoise));
    box-shadow:
        0 17px 40px rgba(0, 255, 135, 0.13);
    font-size: 31px;
    font-weight: 900;
}

.round-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--green);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.round-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 12px var(--green);
}

.round-title h2 {
    margin-top: 6px;
    font-size: 33px;
    letter-spacing: -1.5px;
}

.round-title p {
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 13px;
}

/* MECCSKÁRTYÁK */

.matches-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 23px;
}

.prediction-match-card {
    position: relative;
    overflow: hidden;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 24px;
    background:
        linear-gradient(145deg,
            rgba(51, 11, 70, 0.82),
            rgba(14, 2, 23, 0.94));
    box-shadow:
        0 23px 55px rgba(0, 0, 0, 0.22);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.prediction-match-card::before {
    content: "";
    position: absolute;
    top: -85px;
    right: -85px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(255, 40, 130, 0.12);
    filter: blur(35px);
    pointer-events: none;
}

.prediction-match-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 135, 0.24);
    box-shadow:
        0 30px 65px rgba(0, 0, 0, 0.31);
}

.prediction-match-closed {
    opacity: 0.88;
}

.match-card-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.match-date {
    display: flex;
    align-items: center;
    gap: 10px;
}

.match-date-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.06);
}

.match-date strong {
    display: block;
    color: var(--white);
    font-size: 12px;
}

.match-date div>span {
    display: block;
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 11px;
}

.match-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.match-status-open {
    border-color: rgba(0, 255, 135, 0.25);
    color: var(--green);
    background: rgba(0, 255, 135, 0.07);
}

.match-status-saved {
    border-color: rgba(0, 228, 199, 0.28);
    color: var(--turquoise);
    background: rgba(0, 228, 199, 0.08);
}

.match-status-closed {
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
}

/* CSAPATOK */

.match-teams {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 15px;
    margin-top: 27px;
}

.prediction-team {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.prediction-team-logo {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 21px;
    background:
        linear-gradient(135deg,
            var(--pink),
            var(--bright-purple));
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.28);
}

.prediction-team-logo img {
    width: 100%;
    height: 100%;
    padding: 9px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.94);
}

.prediction-team-logo span {
    font-size: 14px;
    font-weight: 900;
}

.away-team-logo {
    color: #06150e;
    background:
        linear-gradient(135deg,
            var(--green),
            var(--turquoise));
}

.prediction-team strong {
    max-width: 180px;
    margin-top: 13px;
    overflow-wrap: anywhere;
    font-size: 15px;
    line-height: 1.35;
}

.prediction-team small {
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 9px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.match-versus {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.2);
    font-size: 10px;
    font-weight: 900;
}

/* TIPPMEZŐK */

.prediction-form {
    position: relative;
    z-index: 2;
    margin-top: 27px;
}

.score-inputs {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
}

.score-input-group {
    display: grid;
    gap: 7px;
}

.score-input-group label {
    color: var(--text-muted);
    text-align: center;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.score-input-group input {
    width: 84px;
    height: 68px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 17px;
    outline: none;
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
    text-align: center;
    font-size: 28px;
    font-weight: 900;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.score-input-group input:focus {
    border-color: rgba(0, 255, 135, 0.7);
    background: rgba(0, 255, 135, 0.07);
    box-shadow:
        0 0 0 4px rgba(0, 255, 135, 0.08);
}

.score-separator {
    padding-bottom: 18px;
    color: var(--text-muted);
    font-size: 25px;
    font-weight: 900;
}

.save-prediction-button {
    width: 100%;
    min-height: 51px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 19px;
    border: 0;
    border-radius: 14px;
    color: #06150e;
    background:
        linear-gradient(135deg,
            var(--green),
            var(--turquoise));
    box-shadow:
        0 14px 32px rgba(0, 255, 135, 0.13);
    cursor: pointer;
    font-weight: 900;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.save-prediction-button:hover {
    transform: translateY(-2px);
    box-shadow:
        0 19px 40px rgba(0, 255, 135, 0.23);
}

.prediction-deadline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 14px;
    color: var(--text-muted);
    font-size: 10px;
}

.prediction-deadline strong {
    color: #ded2e2;
}

/* LEZÁRT MECCS */

.closed-match-area {
    position: relative;
    z-index: 2;
    margin-top: 25px;
    padding: 21px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 17px;
    background: rgba(0, 0, 0, 0.18);
    text-align: center;
}

.closed-match-icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.06);
}

.closed-match-area>strong {
    display: block;
    font-size: 15px;
}

.closed-match-area>p {
    max-width: 360px;
    margin: 8px auto 0;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.6;
}

.locked-prediction {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 17px;
    padding: 13px 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.055);
}

.locked-prediction span {
    color: var(--text-muted);
    font-size: 11px;
}

.locked-prediction strong {
    color: var(--green);
    font-size: 20px;
}

.no-prediction-warning {
    margin-top: 15px;
    padding: 11px;
    border-radius: 11px;
    color: #ffc0cb;
    background: rgba(255, 77, 109, 0.08);
    font-size: 11px;
}

/* BEFEJEZETT MECCS */

.finished-match-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 25px;
    padding: 16px 18px;
    border: 1px solid rgba(0, 255, 135, 0.2);
    border-radius: 15px;
    background: rgba(0, 255, 135, 0.06);
}

.finished-match-result span {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.finished-match-result strong {
    color: var(--green);
    font-size: 25px;
}

.saved-prediction-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    margin-top: 11px;
}

.saved-prediction-summary>div {
    padding: 14px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.055);
}

.saved-prediction-summary span {
    display: block;
    color: var(--text-muted);
    font-size: 10px;
}

.saved-prediction-summary strong {
    display: block;
    margin-top: 4px;
    font-size: 20px;
}

.prediction-earned-points {
    color: var(--green);
}

/* ÜRES ÁLLAPOT */

.empty-state {
    padding: 65px 25px;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.025);
    text-align: center;
}

.empty-state-icon {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    border-radius: 20px;
    background: rgba(0, 255, 135, 0.09);
    font-size: 29px;
}

.empty-state h2,
.empty-state h3 {
    font-size: 25px;
}

.empty-state p {
    max-width: 540px;
    margin: 12px auto 0;
    color: var(--text-muted);
    line-height: 1.7;
}

.empty-state .secondary-button {
    margin-top: 25px;
}

.no-open-round {
    margin-top: 35px;
}

/* RESZPONZÍV TIPPELÉS */

@media (max-width: 1000px) {
    .matches-grid {
        grid-template-columns: 1fr;
    }

    .predictions-heading {
        align-items: flex-start;
    }
}

@media (max-width: 760px) {
    .predictions-page {
        padding-top: 52px;
    }

    .predictions-heading {
        flex-direction: column;
        margin-bottom: 42px;
    }

    .predictions-rules-card {
        width: 100%;
        min-width: 0;
    }

    .round-header {
        align-items: flex-start;
    }

    .round-number-box {
        width: 61px;
        height: 61px;
        border-radius: 18px;
        font-size: 25px;
    }

    .round-title h2 {
        font-size: 27px;
    }
}

@media (max-width: 520px) {
    .prediction-match-card {
        padding: 19px 15px;
        border-radius: 20px;
    }

    .match-card-top {
        align-items: flex-start;
    }

    .match-date-icon {
        display: none;
    }

    .match-status {
        padding: 0 8px;
        font-size: 8px;
    }

    .match-teams {
        gap: 7px;
    }

    .prediction-team-logo {
        width: 57px;
        height: 57px;
        border-radius: 17px;
    }

    .prediction-team strong {
        font-size: 12px;
    }

    .prediction-team small {
        display: none;
    }

    .match-versus {
        width: 35px;
        height: 35px;
        font-size: 8px;
    }

    .score-input-group input {
        width: 72px;
        height: 61px;
    }

    .prediction-deadline {
        align-items: flex-start;
        text-align: center;
    }
}

/* ===========================
   RANGLISTA OLDAL
=========================== */

.ranking-page {
    min-height: calc(100vh - 78px);
    padding: 70px 0 110px;
}

.ranking-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 50px;
}

.ranking-heading h1 {
    margin-top: 10px;
    font-size: clamp(44px, 6vw, 70px);
    line-height: 1;
    letter-spacing: -4px;
}

.ranking-heading>div:first-child>p {
    max-width: 650px;
    margin-top: 17px;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.7;
}

.ranking-summary-card {
    min-width: 270px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 17px 19px;
    border: 1px solid rgba(255, 40, 130, 0.22);
    border-radius: 18px;
    background:
        linear-gradient(135deg,
            rgba(255, 40, 130, 0.1),
            rgba(111, 22, 168, 0.05));
}

.ranking-summary-icon {
    width: 48px;
    height: 48px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border-radius: 14px;
    background: rgba(255, 40, 130, 0.11);
    font-size: 22px;
}

.ranking-summary-card strong {
    display: block;
}

.ranking-summary-card span {
    display: block;
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 11px;
}

/* PANEL */

.ranking-panel {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 27px;
    background:
        linear-gradient(145deg,
            rgba(48, 10, 66, 0.79),
            rgba(13, 2, 22, 0.95));
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.25);
}

.ranking-panel::before {
    content: "";
    position: absolute;
    top: -160px;
    right: -130px;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background: rgba(255, 40, 130, 0.1);
    filter: blur(55px);
    pointer-events: none;
}

.weekly-ranking-panel {
    margin-top: 32px;
}

.ranking-panel-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 28px;
}

.ranking-panel-label {
    color: var(--green);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.ranking-panel-header h2 {
    margin-top: 7px;
    font-size: 34px;
    letter-spacing: -1.5px;
}

.ranking-panel-header p {
    margin-top: 7px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}

.ranking-trophy {
    width: 65px;
    height: 65px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border: 1px solid rgba(0, 255, 135, 0.25);
    border-radius: 19px;
    background: rgba(0, 255, 135, 0.08);
    font-size: 29px;
}

/* DOBOGÓ */

.ranking-podium {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
    margin-bottom: 28px;
}

.podium-card {
    position: relative;
    padding: 24px 19px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 21px;
    background: rgba(255, 255, 255, 0.035);
    text-align: center;
}

.podium-first {
    border-color: rgba(255, 215, 0, 0.3);
    background:
        linear-gradient(145deg,
            rgba(255, 215, 0, 0.09),
            rgba(255, 255, 255, 0.025));
}

.podium-second {
    border-color: rgba(210, 220, 235, 0.22);
}

.podium-third {
    border-color: rgba(205, 127, 50, 0.25);
}

.podium-position {
    position: absolute;
    top: 13px;
    right: 15px;
    font-size: 23px;
}

.podium-avatar {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    margin: 0 auto;
    border: 1px solid rgba(0, 255, 135, 0.24);
    border-radius: 21px;
    color: #06150e;
    background:
        linear-gradient(135deg,
            var(--green),
            var(--turquoise));
    font-size: 26px;
    font-weight: 900;
}

.podium-card h3 {
    margin-top: 15px;
    overflow-wrap: anywhere;
    font-size: 17px;
}

.podium-points {
    display: block;
    margin-top: 7px;
    color: var(--green);
    font-size: 29px;
}

.podium-points span {
    color: var(--text-muted);
    font-size: 11px;
}

.podium-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 17px;
}

.podium-stats>div {
    padding: 10px 8px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.045);
}

.podium-stats span {
    display: block;
    color: var(--text-muted);
    font-size: 8px;
    text-transform: uppercase;
}

.podium-stats strong {
    display: block;
    margin-top: 4px;
    font-size: 16px;
}

/* TÁBLÁZAT */

.modern-table-wrapper {
    position: relative;
    z-index: 2;
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 19px;
}

.modern-ranking-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.12);
}

.modern-ranking-table thead {
    background: rgba(255, 255, 255, 0.045);
}

.modern-ranking-table th {
    padding: 15px 17px;
    color: var(--text-muted);
    text-align: left;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.modern-ranking-table td {
    padding: 15px 17px;
    border-top: 1px solid rgba(255, 255, 255, 0.065);
    color: #eee6f1;
    font-size: 13px;
}

.modern-ranking-table tbody tr {
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.modern-ranking-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.035);
}

.ranking-position {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.055);
    font-size: 13px;
    font-weight: 900;
}

.ranking-position-first {
    background: rgba(255, 215, 0, 0.11);
}

.ranking-position-second {
    background: rgba(210, 220, 235, 0.09);
}

.ranking-position-third {
    background: rgba(205, 127, 50, 0.11);
}

.ranking-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ranking-user-avatar {
    width: 42px;
    height: 42px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border-radius: 13px;
    color: #06150e;
    background:
        linear-gradient(135deg,
            var(--green),
            var(--turquoise));
    font-weight: 900;
}

.weekly-avatar {
    color: var(--white);
    background:
        linear-gradient(135deg,
            var(--pink),
            var(--bright-purple));
}

.ranking-user strong {
    display: block;
    overflow-wrap: anywhere;
}

.ranking-user div>span {
    display: inline-block;
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 9px;
}

.current-user-badge {
    padding: 3px 7px;
    border-radius: 999px;
    color: var(--green) !important;
    background: rgba(0, 255, 135, 0.08);
    font-weight: 900;
}

.ranking-points {
    color: var(--green);
    font-size: 22px;
}

.ranking-stat {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 800;
}

.ranking-stat-icon {
    font-size: 15px;
}

/* HETI FORDULÓVÁLASZTÓ */

.weekly-ranking-header {
    align-items: flex-end;
}

.round-selector-form {
    min-width: 230px;
}

.round-selector-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.custom-select-wrapper {
    position: relative;
}

.custom-select-wrapper select {
    width: 100%;
    min-height: 48px;
    padding: 0 42px 0 15px;
    appearance: none;
    border: 1px solid rgba(0, 255, 135, 0.23);
    border-radius: 13px;
    outline: none;
    color: var(--white);
    background: rgba(0, 255, 135, 0.06);
    cursor: pointer;
    font-weight: 800;
}

.custom-select-wrapper select option {
    color: #111;
    background: white;
}

.select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    color: var(--green);
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 10px;
}

.selected-round-banner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 19px;
    padding: 15px 17px;
    border: 1px solid rgba(255, 40, 130, 0.17);
    border-radius: 15px;
    background: rgba(255, 40, 130, 0.055);
}

.selected-round-banner span {
    display: block;
    color: var(--text-muted);
    font-size: 9px;
    text-transform: uppercase;
}

.selected-round-banner strong {
    display: block;
    margin-top: 3px;
}

.selected-round-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 40, 130, 0.1);
}

/* ÜRES ÁLLAPOT */

.ranking-empty-state {
    padding: 45px 20px;
    text-align: center;
}

.ranking-empty-icon {
    width: 57px;
    height: 57px;
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
    border-radius: 17px;
    background: rgba(0, 255, 135, 0.08);
    font-size: 25px;
}

.ranking-empty-state strong {
    display: block;
    font-size: 16px;
}

.ranking-empty-state p {
    margin-top: 7px;
    color: var(--text-muted);
    font-size: 12px;
}

/* MOBIL */

@media (max-width: 900px) {
    .ranking-heading {
        align-items: flex-start;
    }

    .ranking-podium {
        grid-template-columns: 1fr;
    }

    .ranking-panel-header {
        align-items: flex-start;
    }
}

@media (max-width: 700px) {
    .ranking-page {
        padding-top: 52px;
    }

    .ranking-heading {
        flex-direction: column;
        margin-bottom: 40px;
    }

    .ranking-summary-card {
        width: 100%;
        min-width: 0;
    }

    .ranking-panel {
        padding: 22px 15px;
        border-radius: 22px;
    }

    .ranking-panel-header,
    .weekly-ranking-header {
        flex-direction: column;
    }

    .round-selector-form {
        width: 100%;
        min-width: 0;
    }

    .ranking-panel-header h2 {
        font-size: 29px;
    }
}

/* ===========================
   TABELLA OLDAL
=========================== */

.standings-page {
    min-height: calc(100vh - 78px);
    padding: 70px 0 110px;
}

.standings-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 50px;
}

.standings-heading h1 {
    margin-top: 10px;
    font-size: clamp(44px, 6vw, 70px);
    line-height: 1;
    letter-spacing: -4px;
}

.standings-heading>div:first-child>p {
    max-width: 650px;
    margin-top: 17px;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.7;
}

.standings-summary-card {
    min-width: 275px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 17px 19px;
    border: 1px solid rgba(0, 255, 135, 0.2);
    border-radius: 18px;
    background:
        linear-gradient(135deg,
            rgba(0, 255, 135, 0.08),
            rgba(0, 228, 199, 0.03));
}

.standings-summary-icon {
    width: 49px;
    height: 49px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border-radius: 14px;
    background: rgba(0, 255, 135, 0.1);
    font-size: 22px;
}

.standings-summary-card strong {
    display: block;
}

.standings-summary-card span {
    display: block;
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 11px;
}

/* PANEL */

.standings-panel {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 27px;
    background:
        linear-gradient(145deg,
            rgba(48, 10, 66, 0.79),
            rgba(13, 2, 22, 0.95));
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.25);
}

.standings-panel::before {
    content: "";
    position: absolute;
    top: -170px;
    right: -120px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(255, 40, 130, 0.1);
    filter: blur(58px);
    pointer-events: none;
}

.standings-panel-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 25px;
}

.standings-panel-label {
    color: var(--green);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.standings-panel-header h2 {
    margin-top: 7px;
    font-size: 34px;
    letter-spacing: -1.5px;
}

.standings-panel-header p {
    margin-top: 7px;
    color: var(--text-muted);
    font-size: 13px;
}

.standings-legend {
    display: grid;
    gap: 7px;
    min-width: 180px;
    color: var(--text-muted);
    font-size: 10px;
}

.standings-legend div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 9px;
    height: 9px;
    display: block;
    border-radius: 3px;
}

.legend-champions {
    background: #3d8bfd;
}

.legend-europa {
    background: #ff9f1c;
}

.legend-relegation {
    background: #ff4d6d;
}

/* TÁBLÁZAT */

.standings-table-wrapper {
    position: relative;
    z-index: 2;
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 19px;
}

.modern-standings-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.13);
}

.modern-standings-table thead {
    background: rgba(255, 255, 255, 0.045);
}

.modern-standings-table th {
    padding: 15px 14px;
    color: var(--text-muted);
    text-align: center;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.modern-standings-table th:nth-child(2) {
    text-align: left;
}

.modern-standings-table td {
    padding: 13px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #eee6f1;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
}

.modern-standings-table tbody tr {
    position: relative;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.modern-standings-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.035);
}

.modern-standings-table tbody tr td:first-child {
    position: relative;
}

.champions-league-row td:first-child::before,
.europa-league-row td:first-child::before,
.relegation-row td:first-child::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 0 4px 4px 0;
}

.champions-league-row td:first-child::before {
    background: #3d8bfd;
}

.europa-league-row td:first-child::before {
    background: #ff9f1c;
}

.relegation-row td:first-child::before {
    background: #ff4d6d;
}

.standings-position {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    margin: 0 auto;
    border-radius: 11px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.055);
    font-size: 12px;
    font-weight: 900;
}

.standings-position-first {
    color: #161000;
    background:
        linear-gradient(135deg,
            #ffd700,
            #ffb703);
}

.standings-team {
    display: flex;
    align-items: center;
    gap: 13px;
    text-align: left;
}

.standings-team-logo {
    width: 46px;
    height: 46px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background:
        linear-gradient(135deg,
            rgba(255, 40, 130, 0.22),
            rgba(111, 22, 168, 0.18));
}

.standings-team-logo img {
    width: 100%;
    height: 100%;
    padding: 7px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.94);
}

.standings-team-logo span {
    color: var(--white);
    font-size: 11px;
    font-weight: 900;
}

.standings-team strong {
    display: block;
    max-width: 240px;
    overflow-wrap: anywhere;
    font-size: 13px;
}

.standings-team div>span {
    display: block;
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 9px;
    text-transform: uppercase;
}

.goal-difference {
    display: inline-flex;
    min-width: 34px;
    justify-content: center;
    padding: 5px 8px;
    border-radius: 9px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.045);
}

.goal-difference-positive {
    color: var(--green);
    background: rgba(0, 255, 135, 0.07);
}

.goal-difference-negative {
    color: #ff8da1;
    background: rgba(255, 77, 109, 0.07);
}

.standings-points {
    color: var(--green);
    font-size: 20px;
}

/* MAGYARÁZAT */

.standings-explanation {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 9px;
    margin-top: 18px;
}

.standings-explanation>div {
    padding: 10px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.035);
    text-align: center;
}

.standings-explanation strong {
    display: block;
    color: var(--green);
    font-size: 11px;
}

.standings-explanation span {
    display: block;
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 8px;
}

/* ÜRES ÁLLAPOT */

.standings-empty-state {
    padding: 55px 20px;
    text-align: center;
}

.standings-empty-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    margin: 0 auto 15px;
    border-radius: 18px;
    background: rgba(0, 255, 135, 0.08);
    font-size: 26px;
}

.standings-empty-state strong {
    display: block;
    font-size: 16px;
}

.standings-empty-state p {
    margin-top: 7px;
    color: var(--text-muted);
    font-size: 12px;
}

/* MOBIL */

@media (max-width: 900px) {
    .standings-heading {
        align-items: flex-start;
    }

    .standings-panel-header {
        align-items: flex-start;
    }

    .standings-explanation {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 700px) {
    .standings-page {
        padding-top: 52px;
    }

    .standings-heading {
        flex-direction: column;
        margin-bottom: 40px;
    }

    .standings-summary-card {
        width: 100%;
        min-width: 0;
    }

    .standings-panel {
        padding: 22px 14px;
        border-radius: 22px;
    }

    .standings-panel-header {
        flex-direction: column;
    }

    .standings-legend {
        width: 100%;
    }

    .standings-panel-header h2 {
        font-size: 29px;
    }

    .standings-explanation {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===========================
   PROFIL OLDAL
=========================== */

.profile-page {
    min-height: calc(100vh - 78px);
    padding: 70px 0 110px;
}

.profile-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
    margin-bottom: 28px;
}

.profile-main-card,
.profile-highlight-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 27px;
    background:
        linear-gradient(145deg,
            rgba(48, 10, 66, 0.82),
            rgba(13, 2, 22, 0.95));
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.24);
}

.profile-main-card {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 32px;
}

.profile-avatar {
    width: 96px;
    height: 96px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border: 1px solid rgba(0, 255, 135, 0.28);
    border-radius: 29px;
    color: #06150e;
    background:
        linear-gradient(135deg,
            var(--green),
            var(--turquoise));
    box-shadow:
        0 18px 42px rgba(0, 255, 135, 0.14);
    font-size: 40px;
    font-weight: 900;
}

.profile-main-info h1 {
    margin-top: 8px;
    font-size: clamp(39px, 5vw, 60px);
    line-height: 1;
    letter-spacing: -3px;
    overflow-wrap: anywhere;
}

.profile-main-info p {
    max-width: 610px;
    margin-top: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 20px;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid rgba(0, 255, 135, 0.2);
    border-radius: 999px;
    color: var(--green);
    background: rgba(0, 255, 135, 0.07);
    font-size: 10px;
    font-weight: 800;
}

.profile-admin-badge {
    border-color: rgba(255, 40, 130, 0.24);
    color: var(--pink);
    background: rgba(255, 40, 130, 0.08);
}

.profile-highlight-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.profile-highlight-card>span {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.profile-highlight-card strong {
    display: block;
    margin-top: 10px;
    color: var(--green);
    font-size: 68px;
    line-height: 1;
}

.profile-highlight-card small {
    display: block;
    margin-top: 8px;
    color: var(--text-muted);
}

/* STATISZTIKAI KÁRTYÁK */

.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}

.profile-stat-card {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 21px;
    background:
        linear-gradient(145deg,
            rgba(44, 9, 61, 0.74),
            rgba(13, 2, 22, 0.9));
}

.profile-stat-icon {
    width: 56px;
    height: 56px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border-radius: 17px;
    background: rgba(0, 255, 135, 0.09);
    font-size: 24px;
}

.profile-stat-card span {
    display: block;
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
}

.profile-stat-card strong {
    display: block;
    margin-top: 5px;
    color: var(--white);
    font-size: 27px;
}

/* PROFIL PANEL */

.profile-panel {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 27px;
    background:
        linear-gradient(145deg,
            rgba(48, 10, 66, 0.79),
            rgba(13, 2, 22, 0.95));
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.25);
}

.profile-panel::before {
    content: "";
    position: absolute;
    top: -170px;
    right: -120px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(255, 40, 130, 0.1);
    filter: blur(58px);
    pointer-events: none;
}

.profile-panel-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 26px;
}

.profile-panel-label {
    color: var(--green);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.profile-panel-header h2 {
    margin-top: 7px;
    font-size: 34px;
    letter-spacing: -1.5px;
}

.profile-panel-header p {
    margin-top: 7px;
    color: var(--text-muted);
    font-size: 13px;
}

/* TIPPEK */

.profile-predictions-list {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 15px;
}

.profile-prediction-card {
    display: grid;
    grid-template-columns: 175px minmax(0, 1fr) 210px;
    align-items: center;
    gap: 22px;
    padding: 19px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.profile-prediction-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 255, 135, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.profile-prediction-round span {
    display: block;
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
}

.profile-prediction-round small {
    display: block;
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 10px;
}

.profile-prediction-teams {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 14px;
}

.profile-prediction-team {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.profile-prediction-team:last-child {
    justify-content: flex-end;
    text-align: right;
}

.profile-team-logo {
    width: 43px;
    height: 43px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 13px;
    background:
        linear-gradient(135deg,
            var(--pink),
            var(--bright-purple));
}

.profile-away-logo {
    color: #06150e;
    background:
        linear-gradient(135deg,
            var(--green),
            var(--turquoise));
}

.profile-team-logo img {
    width: 100%;
    height: 100%;
    padding: 6px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.94);
}

.profile-team-logo span {
    font-size: 10px;
    font-weight: 900;
}

.profile-prediction-team strong {
    overflow-wrap: anywhere;
    font-size: 12px;
}

.profile-prediction-score {
    text-align: center;
}

.profile-prediction-score span {
    display: block;
    color: var(--text-muted);
    font-size: 9px;
    text-transform: uppercase;
}

.profile-prediction-score strong {
    display: block;
    margin-top: 4px;
    color: var(--white);
    font-size: 22px;
}

.profile-prediction-result {
    display: flex;
    justify-content: flex-end;
}

.profile-result-box,
.profile-points-box {
    min-width: 88px;
    padding: 11px 12px;
    text-align: center;
}

.profile-result-box {
    border-radius: 12px 0 0 12px;
    background: rgba(255, 255, 255, 0.05);
}

.profile-points-box {
    border-radius: 0 12px 12px 0;
    background: rgba(0, 255, 135, 0.08);
}

.profile-result-box span,
.profile-points-box span {
    display: block;
    color: var(--text-muted);
    font-size: 8px;
    text-transform: uppercase;
}

.profile-result-box strong,
.profile-points-box strong {
    display: block;
    margin-top: 5px;
    font-size: 18px;
}

.profile-points-box strong {
    color: var(--green);
}

.profile-pending-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border: 1px solid rgba(255, 200, 87, 0.23);
    border-radius: 999px;
    color: #ffe0a0;
    background: rgba(255, 200, 87, 0.07);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.profile-pending-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--warning);
    box-shadow: 0 0 11px var(--warning);
}

/* ÜRES PROFIL */

.profile-empty-state {
    position: relative;
    z-index: 2;
    padding: 65px 25px;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.025);
    text-align: center;
}

.profile-empty-icon {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 20px;
    background: rgba(0, 255, 135, 0.09);
    font-size: 29px;
}

.profile-empty-state h3 {
    font-size: 24px;
}

.profile-empty-state p {
    margin-top: 10px;
    color: var(--text-muted);
}

.profile-empty-state .primary-button {
    margin-top: 24px;
}

/* MOBIL */

@media (max-width: 1000px) {
    .profile-hero {
        grid-template-columns: 1fr;
    }

    .profile-highlight-card {
        min-height: 210px;
    }

    .profile-prediction-card {
        grid-template-columns: 1fr;
    }

    .profile-prediction-round {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .profile-prediction-result {
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    .profile-page {
        padding-top: 52px;
    }

    .profile-main-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 26px 22px;
    }

    .profile-stats-grid {
        grid-template-columns: 1fr;
    }

    .profile-panel {
        padding: 22px 15px;
        border-radius: 22px;
    }

    .profile-panel-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-prediction-teams {
        grid-template-columns: 1fr;
    }

    .profile-prediction-team,
    .profile-prediction-team:last-child {
        justify-content: flex-start;
        text-align: left;
    }

    .profile-prediction-score {
        order: 3;
        padding: 12px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.04);
    }
}

/* ===========================
   SZEZONTIPP OLDAL
=========================== */

.season-prediction-page {
    min-height: calc(100vh - 78px);
    padding: 70px 0 110px;
}

.season-prediction-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 32px;
}

.season-prediction-heading h1 {
    margin-top: 10px;
    font-size: clamp(44px, 6vw, 70px);
    line-height: 1;
    letter-spacing: -4px;
}

.season-prediction-heading>div:first-child>p {
    max-width: 650px;
    margin-top: 17px;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.7;
}

.season-deadline-card {
    min-width: 310px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 17px 19px;
    border: 1px solid rgba(0, 255, 135, 0.22);
    border-radius: 18px;
    background: rgba(0, 255, 135, 0.07);
}

.season-deadline-closed {
    border-color: rgba(255, 77, 109, 0.24);
    background: rgba(255, 77, 109, 0.07);
}

.season-deadline-icon {
    width: 48px;
    height: 48px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border-radius: 14px;
    background: rgba(0, 255, 135, 0.09);
    font-size: 22px;
}

.season-deadline-card strong,
.season-deadline-card span {
    display: block;
}

.season-deadline-card span {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 11px;
}

.season-points-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
    margin-bottom: 28px;
}

.season-points-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    background:
        linear-gradient(145deg,
            rgba(45, 9, 62, 0.74),
            rgba(13, 2, 22, 0.91));
}

.season-points-icon {
    width: 53px;
    height: 53px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border-radius: 16px;
    background: rgba(0, 255, 135, 0.09);
    font-size: 23px;
}

.season-points-card span {
    display: block;
    color: var(--text-muted);
    font-size: 10px;
    text-transform: uppercase;
}

.season-points-card strong {
    display: block;
    margin-top: 5px;
    color: var(--green);
    font-size: 22px;
}

.season-prediction-panel {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 27px;
    background:
        linear-gradient(145deg,
            rgba(48, 10, 66, 0.8),
            rgba(13, 2, 22, 0.96));
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
}

.season-panel-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 25px;
}

.season-panel-label {
    color: var(--green);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.season-panel-header h2 {
    margin-top: 7px;
    font-size: 34px;
    letter-spacing: -1.5px;
}

.season-panel-header p {
    margin-top: 7px;
    color: var(--text-muted);
    font-size: 13px;
}

.season-saved-badge {
    padding: 9px 12px;
    border: 1px solid rgba(0, 255, 135, 0.24);
    border-radius: 999px;
    color: var(--green);
    background: rgba(0, 255, 135, 0.07);
    font-size: 10px;
    font-weight: 900;
}

.season-prediction-form {
    display: grid;
    gap: 18px;
}

.champion-selection-card,
.relegation-selection-card {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 19px;
    background: rgba(255, 255, 255, 0.03);
}

.season-selection-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 20px;
}

.season-selection-number {
    width: 42px;
    height: 42px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border-radius: 13px;
    color: #06150e;
    background: linear-gradient(135deg,
            var(--green),
            var(--turquoise));
    font-weight: 900;
}

.season-selection-heading strong,
.season-selection-heading span {
    display: block;
}

.season-selection-heading span {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 11px;
}

.relegation-fields-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.season-field {
    display: grid;
    gap: 8px;
}

.season-field label {
    color: #eee6f1;
    font-size: 11px;
    font-weight: 800;
}

.season-select {
    width: 100%;
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 13px;
    outline: none;
    color: var(--white);
    background: #24102e;
    cursor: pointer;
}

.season-select:focus {
    border-color: rgba(0, 255, 135, 0.65);
    box-shadow: 0 0 0 4px rgba(0, 255, 135, 0.08);
}

.season-select option {
    color: white;
    background: #24102e;
}

.season-save-button {
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 15px;
    color: #06150e;
    background: linear-gradient(135deg,
            var(--green),
            var(--turquoise));
    cursor: pointer;
    font-weight: 900;
}

.locked-season-prediction {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 19px;
    background: rgba(255, 255, 255, 0.03);
}

.locked-season-heading {
    display: flex;
    align-items: center;
    gap: 14px;
}

.locked-season-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 22px;
}

.locked-season-heading p {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 11px;
}

.locked-season-selections {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 22px;
}

.locked-season-selections article {
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
}

.locked-season-selections span,
.locked-season-selections strong {
    display: block;
}

.locked-season-selections span {
    color: var(--text-muted);
    font-size: 9px;
    text-transform: uppercase;
}

.locked-season-selections strong {
    margin-top: 7px;
    overflow-wrap: anywhere;
}

.season-earned-points {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 17px;
    padding: 15px 17px;
    border-radius: 14px;
    background: rgba(0, 255, 135, 0.07);
}

.season-earned-points span {
    color: var(--text-muted);
}

.season-earned-points strong {
    color: var(--green);
    font-size: 27px;
}

.season-waiting-result {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 10px 13px;
    border-radius: 999px;
    color: #ffe0a0;
    background: rgba(255, 200, 87, 0.07);
    font-size: 10px;
    font-weight: 900;
}

@media (max-width: 900px) {
    .season-prediction-heading {
        align-items: flex-start;
    }

    .season-points-grid {
        grid-template-columns: 1fr;
    }

    .relegation-fields-grid {
        grid-template-columns: 1fr;
    }

    .locked-season-selections {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .season-prediction-page {
        padding-top: 52px;
    }

    .season-prediction-heading {
        flex-direction: column;
    }

    .season-deadline-card {
        width: 100%;
        min-width: 0;
    }

    .season-prediction-panel {
        padding: 22px 15px;
    }

    .season-panel-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .locked-season-selections {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   PROFIL OLDAL
=========================== */

.profile-page {
    min-height: calc(100vh - 78px);
    padding: 70px 0 110px;
}

.profile-container {
    display: grid;
    gap: 28px;
}

/* PROFIL FEJLÉC */

.profile-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
}

.profile-main-card,
.profile-highlight-card,
.profile-stat-card,
.profile-summary-card,
.profile-panel {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(145deg,
            rgba(48, 10, 66, 0.82),
            rgba(13, 2, 22, 0.96));
    box-shadow:
        0 28px 65px rgba(0, 0, 0, 0.25);
}

.profile-main-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 220px;
    padding: 34px;
    overflow: hidden;
    border-radius: 28px;
}

.profile-main-card::before {
    content: "";
    position: absolute;
    top: -140px;
    right: -110px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 40, 130, 0.13);
    filter: blur(55px);
    pointer-events: none;
}

.profile-avatar {
    position: relative;
    z-index: 2;
    width: 92px;
    height: 92px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border: 1px solid rgba(0, 255, 135, 0.35);
    border-radius: 28px;
    color: #06150e;
    background:
        linear-gradient(135deg,
            var(--green),
            var(--turquoise));
    box-shadow:
        0 18px 45px rgba(0, 255, 135, 0.18);
    font-size: 39px;
    font-weight: 900;
}

.profile-main-info {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.profile-main-info h1 {
    margin-top: 9px;
    overflow-wrap: anywhere;
    font-size: clamp(35px, 5vw, 54px);
    line-height: 1;
    letter-spacing: -2.5px;
}

.profile-main-info>p {
    max-width: 620px;
    margin-top: 14px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

.profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 19px;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(0, 255, 135, 0.2);
    border-radius: 999px;
    color: var(--green);
    background: rgba(0, 255, 135, 0.07);
    font-size: 10px;
    font-weight: 900;
}

.profile-admin-badge {
    border-color: rgba(255, 40, 130, 0.25);
    color: var(--pink-light);
    background: rgba(255, 40, 130, 0.08);
}

.profile-highlight-card {
    position: relative;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 28px;
    border-color: rgba(0, 255, 135, 0.22);
    border-radius: 28px;
    text-align: center;
}

.profile-highlight-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top,
            rgba(0, 255, 135, 0.15),
            transparent 58%);
    pointer-events: none;
}

.profile-highlight-card span,
.profile-highlight-card strong,
.profile-highlight-card small {
    position: relative;
    z-index: 2;
}

.profile-highlight-card span {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.profile-highlight-card strong {
    margin-top: 9px;
    color: var(--green);
    font-size: 69px;
    line-height: 1;
    letter-spacing: -4px;
}

.profile-highlight-card small {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 12px;
}

/* STATISZTIKAI KÁRTYÁK */

.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 19px;
}

.profile-stat-card {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 124px;
    padding: 22px;
    border-radius: 22px;
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.profile-stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 135, 0.22);
    box-shadow:
        0 26px 55px rgba(0, 0, 0, 0.31);
}

.profile-stat-icon {
    width: 58px;
    height: 58px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border-radius: 17px;
    background:
        linear-gradient(135deg,
            rgba(111, 22, 168, 0.45),
            rgba(0, 255, 135, 0.12));
    font-size: 26px;
}

.profile-stat-card>div:last-child {
    min-width: 0;
}

.profile-stat-card span {
    display: block;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.profile-stat-card strong {
    display: block;
    margin-top: 4px;
    color: var(--white);
    font-size: 30px;
    line-height: 1;
}

.profile-stat-card small {
    display: block;
    margin-top: 7px;
    color: #d9cde0;
    font-size: 11px;
    line-height: 1.45;
}

/* LEGJOBB FORDULÓ ÉS PONTBONTÁS */

.profile-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.profile-summary-card {
    position: relative;
    min-height: 255px;
    padding: 28px;
    overflow: hidden;
    border-radius: 25px;
}

.profile-summary-card::before {
    content: "";
    position: absolute;
    top: -125px;
    right: -105px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(111, 22, 168, 0.14);
    filter: blur(48px);
    pointer-events: none;
}

.profile-summary-heading {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-summary-icon {
    width: 53px;
    height: 53px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border: 1px solid rgba(0, 255, 135, 0.2);
    border-radius: 16px;
    background: rgba(0, 255, 135, 0.08);
    font-size: 23px;
}

.profile-summary-heading span {
    color: var(--green);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.profile-summary-heading h2 {
    margin-top: 5px;
    font-size: 25px;
    letter-spacing: -1px;
}

.profile-best-round {
    position: relative;
    z-index: 2;
    margin-top: 24px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.17);
}

.profile-best-round>strong {
    display: block;
    color: var(--white);
    font-size: 20px;
}

.profile-best-round-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    margin-top: 17px;
}

.profile-best-round-stats>div {
    padding: 14px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.05);
}

.profile-best-round-stats span {
    display: block;
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.profile-best-round-stats b {
    display: block;
    margin-top: 5px;
    color: var(--green);
    font-size: 23px;
}

.profile-summary-empty {
    position: relative;
    z-index: 2;
    margin-top: 28px;
    padding: 25px;
    border: 1px dashed rgba(255, 255, 255, 0.13);
    border-radius: 17px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.025);
    text-align: center;
    font-size: 13px;
}

.profile-points-breakdown {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.profile-points-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 16px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.045);
}

.profile-points-row span {
    color: var(--text-muted);
    font-size: 12px;
}

.profile-points-row strong {
    color: var(--white);
    font-size: 14px;
}

.profile-points-total {
    margin-top: 3px;
    border: 1px solid rgba(0, 255, 135, 0.2);
    background: rgba(0, 255, 135, 0.07);
}

.profile-points-total span,
.profile-points-total strong {
    color: var(--green);
    font-weight: 900;
}

/* ÁLTALÁNOS PROFIL PANEL */

.profile-panel {
    position: relative;
    overflow: hidden;
    padding: 31px;
    border-radius: 27px;
}

.profile-panel::before {
    content: "";
    position: absolute;
    top: -170px;
    right: -130px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(255, 40, 130, 0.1);
    filter: blur(60px);
    pointer-events: none;
}

.profile-panel-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 27px;
}

.profile-panel-label {
    color: var(--green);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.profile-panel-header h2 {
    margin-top: 7px;
    font-size: 34px;
    letter-spacing: -1.5px;
}

.profile-panel-header p {
    max-width: 650px;
    margin-top: 7px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}

/* SZEZONTIPP */

.profile-season-panel {
    border-color: rgba(0, 255, 135, 0.15);
}

.profile-season-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.profile-season-team {
    min-height: 135px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.16);
}

.profile-season-team>span {
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.profile-season-team>strong {
    margin-top: 16px;
    overflow-wrap: anywhere;
    color: var(--white);
    font-size: 16px;
    line-height: 1.35;
}

.profile-champion-team {
    border-color: rgba(0, 255, 135, 0.23);
    background:
        linear-gradient(145deg,
            rgba(0, 255, 135, 0.08),
            rgba(0, 228, 199, 0.025));
}

.profile-season-team-content {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 17px;
}

.profile-season-team-content img {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    padding: 5px;
    border-radius: 12px;
    background: white;
    object-fit: contain;
}

.profile-season-team-content strong {
    overflow-wrap: anywhere;
    font-size: 16px;
}

.profile-season-status {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 18px;
    padding: 15px 17px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
}

.profile-season-status strong {
    color: var(--green);
    font-size: 17px;
}

.profile-season-scored,
.profile-season-pending {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
}

.profile-season-scored {
    color: var(--green);
    background: rgba(0, 255, 135, 0.08);
}

.profile-season-pending {
    color: var(--warning);
    background: rgba(255, 200, 87, 0.08);
}

/* LEGUTÓBBI TIPPEK */

.profile-predictions-list {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 15px;
}

.profile-prediction-card {
    display: grid;
    grid-template-columns: 165px minmax(0, 1fr) 180px;
    align-items: center;
    gap: 22px;
    padding: 19px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 19px;
    background: rgba(0, 0, 0, 0.16);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.profile-prediction-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 255, 135, 0.18);
    background: rgba(255, 255, 255, 0.035);
}

.profile-prediction-round span {
    display: block;
    color: var(--white);
    font-size: 13px;
    font-weight: 900;
}

.profile-prediction-round small {
    display: block;
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.4;
}

.profile-prediction-teams {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 13px;
}

.profile-prediction-team {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 11px;
}

.profile-prediction-team:last-child {
    flex-direction: row-reverse;
    text-align: right;
}

.profile-prediction-team strong {
    overflow-wrap: anywhere;
    font-size: 13px;
    line-height: 1.35;
}

.profile-team-logo {
    width: 47px;
    height: 47px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background:
        linear-gradient(135deg,
            var(--pink),
            var(--bright-purple));
}

.profile-team-logo img {
    width: 100%;
    height: 100%;
    padding: 5px;
    background: white;
    object-fit: contain;
}

.profile-team-logo span {
    font-size: 9px;
    font-weight: 900;
}

.profile-away-logo {
    color: #06150e;
    background:
        linear-gradient(135deg,
            var(--green),
            var(--turquoise));
}

.profile-prediction-score {
    text-align: center;
}

.profile-prediction-score span {
    display: block;
    color: var(--text-muted);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.profile-prediction-score strong {
    display: block;
    margin-top: 4px;
    color: var(--green);
    font-size: 21px;
}

.profile-prediction-result {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
}

.profile-result-box,
.profile-points-box {
    min-width: 78px;
    padding: 11px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
    text-align: center;
}

.profile-result-box span,
.profile-points-box span {
    display: block;
    color: var(--text-muted);
    font-size: 8px;
    text-transform: uppercase;
}

.profile-result-box strong,
.profile-points-box strong {
    display: block;
    margin-top: 4px;
    font-size: 18px;
}

.profile-points-box strong {
    color: var(--green);
}

.profile-pending-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    color: var(--warning);
    background: rgba(255, 200, 87, 0.08);
    font-size: 10px;
    font-weight: 900;
}

.profile-pending-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--warning);
    box-shadow:
        0 0 10px rgba(255, 200, 87, 0.75);
}

/* ÜRES ÁLLAPOT */

.profile-empty-state {
    position: relative;
    z-index: 2;
    padding: 55px 25px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.025);
    text-align: center;
}

.profile-empty-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 19px;
    background: rgba(0, 255, 135, 0.08);
    font-size: 28px;
}

.profile-empty-state h3 {
    font-size: 24px;
}

.profile-empty-state p {
    max-width: 520px;
    margin: 10px auto 0;
    color: var(--text-muted);
    line-height: 1.65;
}

.profile-empty-state .primary-button {
    margin-top: 23px;
}

/* ===========================
   PROFIL RESZPONZÍV NÉZET
=========================== */

@media (max-width: 1050px) {
    .profile-hero {
        grid-template-columns: 1fr;
    }

    .profile-highlight-card {
        min-height: 170px;
    }

    .profile-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-season-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-prediction-card {
        grid-template-columns: 135px minmax(0, 1fr);
    }

    .profile-prediction-result {
        grid-column: 1 / -1;
        justify-content: flex-end;
        padding-top: 13px;
        border-top: 1px solid rgba(255, 255, 255, 0.07);
    }
}

@media (max-width: 760px) {
    .profile-page {
        padding-top: 52px;
    }

    .profile-main-card {
        align-items: flex-start;
        padding: 25px;
    }

    .profile-avatar {
        width: 75px;
        height: 75px;
        border-radius: 22px;
        font-size: 31px;
    }

    .profile-main-info h1 {
        font-size: 36px;
    }

    .profile-summary-grid {
        grid-template-columns: 1fr;
    }

    .profile-panel {
        padding: 23px 18px;
        border-radius: 22px;
    }

    .profile-panel-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-panel-header .secondary-button {
        width: 100%;
    }

    .profile-prediction-card {
        grid-template-columns: 1fr;
    }

    .profile-prediction-round {
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .profile-prediction-result {
        grid-column: auto;
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .profile-main-card {
        flex-direction: column;
    }

    .profile-stats-grid {
        grid-template-columns: 1fr;
    }

    .profile-season-grid {
        grid-template-columns: 1fr;
    }

    .profile-stat-card {
        min-height: 110px;
    }

    .profile-summary-card {
        padding: 22px 18px;
    }

    .profile-prediction-teams {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .profile-prediction-team,
    .profile-prediction-team:last-child {
        flex-direction: row;
        justify-content: center;
        text-align: center;
    }

    .profile-prediction-score {
        order: -1;
        padding: 12px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.04);
    }

    .profile-prediction-result {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-season-status {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================
   ADMIN DASHBOARD
========================================= */

.custom-admin-page {
    min-height: 100vh;
    padding: 48px 20px 80px;
    background:
        radial-gradient(circle at top right,
            rgba(0, 255, 135, 0.12),
            transparent 30%),
        linear-gradient(135deg,
            #120016 0%,
            #26002d 45%,
            #37003c 100%);
}

.custom-admin-container {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.custom-admin-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(16px);
}

.custom-admin-heading h1 {
    margin: 6px 0 10px;
    color: #ffffff;
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.05;
}

.custom-admin-heading p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
}

.section-label,
.admin-panel-label {
    display: inline-block;
    color: #00ff87;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.secondary-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    background: #00ff87;
    color: #210025;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.secondary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 255, 135, 0.25);
}

/* Statisztikai kártyák */

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.admin-stat-card {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 145px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(14px);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

.admin-stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 135, 0.55);
}

.admin-stat-icon {
    display: grid;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 17px;
    background: rgba(0, 255, 135, 0.14);
    font-size: 27px;
}

.admin-stat-card div:last-child {
    display: flex;
    flex-direction: column;
}

.admin-stat-card span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    font-weight: 700;
}

.admin-stat-card strong {
    margin: 4px 0;
    color: #ffffff;
    font-size: 30px;
    line-height: 1;
}

.admin-stat-card small {
    color: rgba(255, 255, 255, 0.52);
}

/* Aktív forduló */

.admin-active-round-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    padding: 28px 30px;
    border-radius: 22px;
    background:
        linear-gradient(120deg,
            rgba(0, 255, 135, 0.2),
            rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(0, 255, 135, 0.35);
}

.admin-active-round-card h2 {
    margin: 6px 0 8px;
    color: #ffffff;
    font-size: 28px;
}

.admin-active-round-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.admin-active-round-icon {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border-radius: 20px;
    background: #00ff87;
    font-size: 30px;
}

/* Gyorsműveletek */

.admin-quick-actions {
    margin-bottom: 24px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.06);
}

.admin-section-heading {
    margin-bottom: 20px;
}

.admin-section-heading h2,
.admin-panel-heading h2 {
    margin: 5px 0 0;
    color: #ffffff;
    font-size: 25px;
}

.admin-action-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.admin-action-card {
    display: flex;
    flex-direction: column;
    min-height: 165px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.admin-action-card:hover {
    transform: translateY(-4px);
    border-color: #00ff87;
    background: rgba(0, 255, 135, 0.12);
}

.admin-action-icon {
    margin-bottom: 16px;
    font-size: 30px;
}

.admin-action-card strong {
    margin-bottom: 8px;
    font-size: 18px;
}

.admin-action-card small {
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.45;
}

/* Kétoszlopos tartalom */

.admin-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 22px;
    margin-bottom: 24px;
}

.admin-dashboard-panel {
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.admin-panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.admin-panel-heading a {
    color: #00ff87;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.admin-panel-heading a:hover {
    text-decoration: underline;
}

/* Meccsek */

.admin-match-list,
.admin-player-list,
.admin-recent-predictions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-match-row {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 15px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.06);
}

.admin-match-time {
    display: flex;
    flex-direction: column;
}

.admin-match-time strong {
    color: #ffffff;
    font-size: 13px;
}

.admin-match-time span {
    color: #00ff87;
    font-size: 12px;
    font-weight: 800;
}

.admin-match-teams {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    color: #ffffff;
}

.admin-match-teams strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-match-teams span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

.admin-match-row>small {
    color: rgba(255, 255, 255, 0.55);
    text-align: right;
}

/* Játékoslista */

.admin-player-row {
    display: grid;
    grid-template-columns: 34px 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.06);
}

.admin-player-position {
    color: #00ff87;
    font-weight: 900;
    text-align: center;
}

.admin-player-avatar {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #00ff87, #7dffbd);
    color: #230027;
    font-weight: 900;
}

.admin-player-name,
.admin-prediction-user {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.admin-player-name strong,
.admin-prediction-user strong {
    overflow: hidden;
    color: #ffffff;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-player-name small,
.admin-prediction-user small {
    overflow: hidden;
    color: rgba(255, 255, 255, 0.55);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-player-points {
    color: #00ff87;
    font-size: 20px;
}

/* Legutóbbi tippek */

.admin-prediction-row {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 70px 80px;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.06);
}

.admin-prediction-score {
    color: #ffffff;
    font-size: 19px;
    text-align: center;
}

.admin-prediction-points {
    padding: 7px 10px;
    border-radius: 10px;
    background: rgba(0, 255, 135, 0.13);
    color: #00ff87;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.admin-empty-state {
    padding: 32px 20px;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.58);
    text-align: center;
}

/* Tablet */

@media (max-width: 950px) {
    .admin-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-content-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobil */

@media (max-width: 650px) {
    .custom-admin-page {
        padding: 25px 12px 55px;
    }

    .custom-admin-heading {
        align-items: stretch;
        flex-direction: column;
        padding: 22px;
    }

    .secondary-button {
        width: 100%;
    }

    .admin-stat-grid,
    .admin-action-grid {
        grid-template-columns: 1fr;
    }

    .admin-stat-card {
        min-height: auto;
    }

    .admin-active-round-card {
        padding: 22px;
    }

    .admin-active-round-icon {
        width: 52px;
        height: 52px;
        font-size: 24px;
    }

    .admin-dashboard-panel,
    .admin-quick-actions {
        padding: 19px;
    }

    .admin-panel-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-match-row {
        grid-template-columns: 60px minmax(0, 1fr);
    }

    .admin-match-row>small {
        grid-column: 2;
        text-align: left;
    }

    .admin-match-teams {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .admin-prediction-row {
        grid-template-columns: 42px minmax(0, 1fr) auto;
    }

    .admin-prediction-points {
        grid-column: 2 / -1;
        justify-self: start;
    }
}

/* ===========================
   XP- ÉS SZINTRENDSZER
=========================== */

.level-badge,
.profile-level-badge,
.public-level-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: fit-content;
    padding: 8px 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.level-badge:hover,
.profile-level-badge:hover,
.public-level-badge:hover {
    transform: translateY(-2px);
}

.level-badge-bronze,
.profile-level-bronze,
.public-level-bronze {
    border-color: rgba(205, 127, 50, 0.48);
    color: #ffd2a1;
    background:
        linear-gradient(135deg,
            rgba(205, 127, 50, 0.22),
            rgba(112, 61, 20, 0.12));
    box-shadow: 0 10px 28px rgba(205, 127, 50, 0.12);
}

.level-badge-silver,
.profile-level-silver,
.public-level-silver {
    border-color: rgba(210, 218, 228, 0.5);
    color: #f3f7fb;
    background:
        linear-gradient(135deg,
            rgba(225, 231, 238, 0.2),
            rgba(122, 134, 148, 0.12));
    box-shadow: 0 10px 28px rgba(205, 218, 230, 0.1);
}

.level-badge-gold,
.profile-level-gold,
.public-level-gold {
    border-color: rgba(255, 200, 87, 0.55);
    color: #ffe8a6;
    background:
        linear-gradient(135deg,
            rgba(255, 200, 87, 0.24),
            rgba(177, 110, 0, 0.13));
    box-shadow: 0 10px 30px rgba(255, 200, 87, 0.13);
}

.level-badge-platinum,
.profile-level-platinum,
.public-level-platinum {
    border-color: rgba(186, 126, 255, 0.58);
    color: #edd9ff;
    background:
        linear-gradient(135deg,
            rgba(160, 88, 232, 0.25),
            rgba(81, 37, 142, 0.14));
    box-shadow: 0 10px 32px rgba(146, 79, 218, 0.15);
}

.level-badge-diamond,
.profile-level-diamond,
.public-level-diamond {
    border-color: rgba(0, 255, 220, 0.62);
    color: #c8fff8;
    background:
        linear-gradient(135deg,
            rgba(0, 228, 199, 0.25),
            rgba(80, 190, 255, 0.18));
    box-shadow:
        0 12px 34px rgba(0, 228, 199, 0.17),
        0 0 24px rgba(0, 255, 220, 0.09);
}

.level-badge-diamond::after,
.profile-level-diamond::after,
.public-level-diamond::after {
    content: "";
    position: absolute;
    top: -55%;
    bottom: -55%;
    left: -38%;
    width: 25%;
    background: rgba(255, 255, 255, 0.48);
    transform: rotate(18deg);
    animation: level-diamond-shine 3.2s ease-in-out infinite;
}

@keyframes level-diamond-shine {

    0%,
    55% {
        left: -38%;
    }

    100% {
        left: 128%;
    }
}

.level-progress,
.profile-level-progress,
.public-level-progress,
.podium-level-progress {
    width: 100%;
    height: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.16);
}

.level-progress-fill,
.profile-level-progress-fill,
.public-level-progress-fill,
.podium-level-progress-fill,
.podium-level-progress>span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background:
        linear-gradient(90deg,
            var(--pink),
            #a958ff,
            var(--green));
    box-shadow: 0 0 18px rgba(0, 255, 135, 0.3);
    transition: width 0.8s ease;
}

.level-card,
.profile-level-card,
.public-level-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right,
            rgba(0, 255, 135, 0.12),
            transparent 42%),
        linear-gradient(145deg,
            rgba(55, 0, 60, 0.94),
            rgba(20, 4, 24, 0.97));
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.24);
}

.level-card::before,
.profile-level-card::before,
.public-level-card::before {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    right: -80px;
    bottom: -100px;
    border-radius: 50%;
    background: rgba(0, 255, 135, 0.1);
    filter: blur(8px);
    pointer-events: none;
}

.level-xp-text {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.86rem;
    font-weight: 700;
}

.level-xp-text strong {
    color: #ffffff;
}

@media (max-width: 820px) {

    .level-badge,
    .profile-level-badge,
    .public-level-badge {
        padding: 7px 10px;
        font-size: 0.72rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .level-badge-diamond::after,
    .profile-level-diamond::after,
    .public-level-diamond::after {
        animation: none;
    }

    .level-progress-fill,
    .profile-level-progress-fill,
    .public-level-progress-fill,
    .podium-level-progress-fill,
    .podium-level-progress>span {
        transition: none;
    }
}

/* =========================================================
   GERZSONTIPP – FŐOLDALI XP-RÉSZ JAVÍTÁSA
   Ezt a blokkot a static/game/style.css VÉGÉRE másold.
========================================================= */

/* Saját fejlődés kártya */

.home-progress-section {
    padding: 36px 0 24px;
}

.home-progress-card {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 26px;
    background:
        radial-gradient(circle at top right,
            rgba(0, 255, 135, 0.13),
            transparent 36%),
        linear-gradient(135deg,
            rgba(56, 8, 72, 0.94),
            rgba(14, 3, 22, 0.98));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.home-progress-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.home-progress-level {
    display: flex;
    align-items: center;
    gap: 18px;
}

.home-progress-icon {
    flex: 0 0 auto;
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.07);
    font-size: 34px;
}

.home-progress-level h2 {
    margin: 5px 0 7px;
    font-size: clamp(24px, 3vw, 36px);
}

.home-progress-level p {
    color: var(--text-muted);
}

.home-progress-meta {
    position: relative;
    z-index: 1;
    margin-top: 25px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 700;
}

.home-progress-meta strong {
    color: var(--green);
    text-align: center;
}

.home-progress-meta span:last-child {
    text-align: right;
}

.level-progress-track {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 12px;
    margin-top: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.home-level-progress-fill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background:
        linear-gradient(90deg,
            var(--pink),
            #a958ff,
            var(--green));
    box-shadow: 0 0 18px rgba(0, 255, 135, 0.25);
    transition: width 0.8s ease;
}

.home-max-level {
    position: relative;
    z-index: 1;
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid rgba(0, 255, 135, 0.18);
    border-radius: 16px;
    background: rgba(0, 255, 135, 0.07);
}

.home-max-level>span {
    font-size: 30px;
}

.home-max-level p {
    margin-top: 3px;
    color: var(--text-muted);
}


/* XP-szintek */

.levels-section {
    padding: 84px 0;
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin-top: 38px;
}

.levels-grid .level-card {
    min-width: 0;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-align: center;
    border-radius: 22px;
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.levels-grid .level-card::before {
    width: 110px;
    height: 110px;
    right: -48px;
    bottom: -60px;
}

.levels-grid .level-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 255, 135, 0.35);
    box-shadow:
        0 22px 50px rgba(0, 0, 0, 0.3),
        0 0 28px rgba(0, 255, 135, 0.08);
}

.level-card-icon {
    position: relative;
    z-index: 1;
    font-size: 34px;
    line-height: 1;
}

.levels-grid .level-card h3 {
    position: relative;
    z-index: 1;
    margin: 3px 0 0;
    font-size: 20px;
}

.levels-grid .level-card strong {
    position: relative;
    z-index: 1;
    color: var(--text-muted);
    font-size: 13px;
}

.levels-grid .level-bronze {
    border-color: rgba(205, 127, 50, 0.28);
    background:
        radial-gradient(circle at top right, rgba(205, 127, 50, 0.18), transparent 43%),
        linear-gradient(145deg, rgba(48, 17, 25, 0.97), rgba(17, 5, 13, 0.98));
}

.levels-grid .level-silver {
    border-color: rgba(210, 220, 232, 0.27);
    background:
        radial-gradient(circle at top right, rgba(210, 220, 232, 0.16), transparent 43%),
        linear-gradient(145deg, rgba(37, 32, 51, 0.97), rgba(15, 8, 22, 0.98));
}

.levels-grid .level-gold {
    border-color: rgba(255, 202, 40, 0.3);
    background:
        radial-gradient(circle at top right, rgba(255, 202, 40, 0.18), transparent 43%),
        linear-gradient(145deg, rgba(58, 31, 18, 0.97), rgba(19, 7, 14, 0.98));
}

.levels-grid .level-platinum {
    border-color: rgba(0, 228, 199, 0.3);
    background:
        radial-gradient(circle at top right, rgba(0, 228, 199, 0.18), transparent 43%),
        linear-gradient(145deg, rgba(19, 43, 53, 0.97), rgba(9, 9, 22, 0.98));
}

.levels-grid .level-diamond {
    border-color: rgba(84, 193, 255, 0.34);
    background:
        radial-gradient(circle at top right, rgba(84, 193, 255, 0.2), transparent 43%),
        linear-gradient(145deg, rgba(25, 29, 63, 0.97), rgba(12, 5, 27, 0.98));
}


/* Top játékosok */

.home-ranking-section {
    padding: 84px 0;
}

.home-ranking-list {
    width: min(100%, 860px);
    margin: 38px auto 0;
    display: grid;
    gap: 12px;
}

.home-ranking-player {
    min-width: 0;
    display: grid;
    grid-template-columns: 50px 46px minmax(0, 1fr) 130px 105px;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    background:
        linear-gradient(135deg,
            rgba(45, 10, 59, 0.88),
            rgba(15, 4, 24, 0.95));
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.home-ranking-player:hover {
    transform: translateX(5px);
    border-color: rgba(0, 255, 135, 0.3);
    background:
        linear-gradient(135deg,
            rgba(58, 13, 75, 0.94),
            rgba(17, 5, 27, 0.98));
}

.home-ranking-position {
    color: var(--text-muted);
    font-size: 17px;
    font-weight: 900;
}

.home-ranking-player:nth-child(1) .home-ranking-position {
    color: #ffd54a;
}

.home-ranking-player:nth-child(2) .home-ranking-position {
    color: #dbe2ea;
}

.home-ranking-player:nth-child(3) .home-ranking-position {
    color: #cd7f32;
}

.home-ranking-level-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    font-size: 21px;
}

.home-ranking-name {
    min-width: 0;
    overflow: hidden;
    color: var(--white);
    font-size: 16px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-ranking-level-name {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.home-ranking-points {
    color: var(--green);
    font-size: 15px;
    text-align: right;
}

.home-ranking-button {
    margin-top: 26px;
    display: flex;
    justify-content: center;
}


/* Lebegő saját szint kártya */

.home-user-level-card .floating-card-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.1);
}


/* Mobil és tablet */

@media (max-width: 1000px) {
    .levels-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .home-progress-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-progress-header .secondary-button {
        width: 100%;
        justify-content: center;
    }

    .home-progress-meta {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .home-progress-meta strong,
    .home-progress-meta span:last-child {
        text-align: left;
    }

    .levels-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-ranking-player {
        grid-template-columns: 40px 40px minmax(0, 1fr) auto;
        padding: 14px;
    }

    .home-ranking-level-name {
        display: none;
    }
}

@media (max-width: 480px) {
    .levels-grid {
        grid-template-columns: 1fr;
    }

    .levels-grid .level-card {
        min-height: 125px;
    }

    .home-ranking-player {
        grid-template-columns: 34px 36px minmax(0, 1fr);
    }

    .home-ranking-points {
        grid-column: 3;
        text-align: left;
        font-size: 13px;
    }

    .home-progress-card {
        padding: 22px 18px;
    }

    .home-progress-level {
        align-items: flex-start;
    }

    .home-progress-icon {
        width: 54px;
        height: 54px;
        border-radius: 16px;
        font-size: 27px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .home-level-progress-fill,
    .levels-grid .level-card,
    .home-ranking-player {
        transition: none;
    }
}

.standings-team-logo {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.standings-team-logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
}

.team-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.team-logo-small {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
}

.admin-dashboard-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.admin-dashboard-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 56px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    transition: .2s;
}

.admin-dashboard-btn-primary {
    background: linear-gradient(135deg, #00ff87, #00d4ff);
    color: #06150e;
}

.admin-dashboard-btn:not(.admin-dashboard-btn-primary) {
    background: #2c1835;
    color: white;
    border: 1px solid rgba(255, 255, 255, .1);
}

.admin-dashboard-btn:hover {
    transform: translateY(-2px);
}

/* =========================================================
   GERZSONTIPP – MOBILOS FŐOLDAL JAVÍTÁS
   Csak 768 px alatti kijelzőn lép életbe
========================================================= */

@media (max-width: 768px) {

    /* Általános mobil szélesség */
    .container {
        width: calc(100% - 28px);
        max-width: 100%;
    }

    /* ===========================
       FEJLÉC
    =========================== */

    .navbar-container {
        min-height: 68px;
        gap: 12px;
    }

    .brand {
        gap: 8px;
        font-size: 20px;
        letter-spacing: -0.7px;
    }

    .brand-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        font-size: 18px;
    }

    .mobile-menu-button {
        width: 42px;
        height: 42px;
        flex-shrink: 0;
    }

    .main-navigation {
        top: 68px;
        right: 14px;
        left: 14px;
        max-height: calc(100vh - 88px);
        overflow-y: auto;
        padding: 12px;
        border-radius: 17px;
    }

    .main-navigation>a,
    .navigation-logout-button {
        min-height: 46px;
        display: flex;
        align-items: center;
        padding: 11px 14px;
    }

    /* ===========================
       HERO SZAKASZ
    =========================== */

    .hero-section {
        padding: 48px 0 62px;
        overflow: hidden;
    }

    .hero-container {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    .hero-badge {
        max-width: 100%;
        justify-content: center;
        padding: 8px 12px;
        white-space: normal;
        font-size: 10px;
        line-height: 1.4;
        letter-spacing: 1.2px;
        text-align: center;
    }

    .hero-badge-dot {
        flex: 0 0 8px;
    }

    .hero-title {
        max-width: 100%;
        margin-top: 20px;
        font-size: clamp(38px, 11vw, 52px);
        line-height: 1.02;
        letter-spacing: -2.5px;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .hero-title span {
        display: block;
    }

    .hero-description {
        max-width: 100%;
        margin-top: 21px;
        font-size: 15px;
        line-height: 1.65;
    }

    .hero-buttons {
        display: grid;
        grid-template-columns: 1fr;
        gap: 11px;
        width: 100%;
        margin-top: 28px;
    }

    .hero-buttons .primary-button,
    .hero-buttons .secondary-button {
        width: 100%;
        min-height: 52px;
        padding: 0 18px;
        text-align: center;
    }

    .hero-trust-row {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 10px;
        margin-top: 25px;
    }

    .hero-trust-item {
        justify-content: center;
        font-size: 12px;
    }

    /* ===========================
       HERO KÁRTYA
    =========================== */

    .hero-visual {
        width: 100%;
        min-height: auto;
        padding: 18px 0 44px;
    }

    .hero-card {
        width: 100%;
        max-width: 100%;
        padding: 18px 14px;
        border-radius: 22px;
        transform: none;
    }

    .hero-card::before {
        border-radius: 21px;
    }

    .hero-card-header {
        gap: 10px;
    }

    .hero-card-header h2 {
        font-size: 22px;
    }

    .small-label {
        font-size: 8px;
        letter-spacing: 1.25px;
    }

    .live-badge {
        flex-shrink: 0;
        padding: 7px 8px;
        font-size: 8px;
    }

    .example-match {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: 7px;
        margin-top: 25px;
        padding: 18px 5px;
    }

    .example-team {
        min-width: 0;
        gap: 8px;
    }

    .example-team strong {
        max-width: 100%;
        font-size: 11px;
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    .team-placeholder {
        width: 46px;
        height: 46px;
        border-radius: 14px;
        font-size: 11px;
    }

    .example-score {
        gap: 5px;
    }

    .example-score input {
        width: 38px;
        height: 46px;
        padding: 0;
        border-radius: 11px;
        font-size: 19px;
    }

    .example-score span {
        font-size: 17px;
    }

    .example-save-button {
        margin-top: 14px;
        padding: 13px 10px;
    }

    .hero-card-footer {
        flex-direction: column;
        align-items: center;
        gap: 7px;
        margin-top: 14px;
        text-align: center;
        line-height: 1.4;
    }

    /* Lebegő kártyák mobilon ne lógjanak ki */
    .floating-card {
        position: relative;
        inset: auto;
        width: 100%;
        max-width: 100%;
        margin-top: 12px;
        padding: 12px 14px;
        transform: none;
    }

    .floating-card-ranking,
    .floating-card-points {
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
    }

    .floating-card-icon {
        width: 42px;
        height: 42px;
        flex-shrink: 0;
        border-radius: 12px;
        font-size: 15px;
    }

    .floating-card small {
        font-size: 8px;
    }

    .floating-card strong {
        font-size: 13px;
    }

    /* ===========================
       SAJÁT SZINT / FEJLŐDÉS
    =========================== */

    .home-progress-section {
        padding-right: 0;
        padding-left: 0;
    }

    .home-progress-card {
        padding: 20px 16px;
        border-radius: 21px;
    }

    .home-progress-header {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .home-progress-level {
        align-items: flex-start;
        gap: 13px;
    }

    .home-progress-icon {
        flex-shrink: 0;
    }

    .home-progress-header .secondary-button {
        width: 100%;
    }

    .home-progress-meta {
        gap: 8px;
        font-size: 10px;
    }

    /* ===========================
       FORDULÓGYŐZTES
    =========================== */

    .home-round-winner-section {
        padding: 12px 0 38px;
    }

    .home-round-winner-card {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 14px;
        padding: 18px 15px;
        border-radius: 21px;
    }

    .home-round-winner-trophy {
        width: 58px;
        height: 58px;
        border-radius: 17px;
        font-size: 2rem;
    }

    .home-round-winner-content {
        min-width: 0;
    }

    .home-round-winner-content h2 {
        font-size: 20px;
        overflow-wrap: anywhere;
    }

    .home-round-winner-names {
        gap: 6px;
    }

    .home-round-winner-names a {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .home-round-winner-content p {
        font-size: 12px;
        line-height: 1.5;
    }

    .home-round-winner-card .primary-button {
        grid-column: 1 / -1;
        width: 100%;
    }

    /* ===========================
       ÁLTALÁNOS SZEKCIÓK
    =========================== */

    .features-section,
    .levels-section,
    .home-ranking-section,
    .scoring-section {
        padding: 62px 0;
    }

    .section-heading {
        max-width: 100%;
        margin-bottom: 34px;
    }

    .section-heading h2,
    .scoring-content h2 {
        margin-top: 11px;
        font-size: clamp(29px, 8vw, 38px);
        line-height: 1.12;
        letter-spacing: -1.5px;
    }

    .section-heading p,
    .scoring-content>p {
        margin-top: 14px;
        font-size: 15px;
        line-height: 1.65;
    }

    /* ===========================
       FUNKCIÓ KÁRTYÁK
    =========================== */

    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-card {
        min-height: auto;
        padding: 23px 19px;
        border-radius: 20px;
    }

    .feature-icon {
        width: 51px;
        height: 51px;
        border-radius: 15px;
        font-size: 22px;
    }

    .feature-card h3 {
        margin-top: 18px;
        font-size: 19px;
    }

    .feature-card p {
        margin-top: 10px;
        font-size: 14px;
        line-height: 1.6;
    }

    .feature-number {
        font-size: 70px;
    }

    /* ===========================
       XP-SZINTEK
    =========================== */

    .levels-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .level-card {
        min-width: 0;
        padding: 20px 10px;
        border-radius: 18px;
        text-align: center;
    }

    .level-card-icon {
        font-size: 2rem;
    }

    .level-card h3 {
        font-size: 16px;
    }

    .level-card strong {
        font-size: 11px;
        overflow-wrap: anywhere;
    }

    .level-card:last-child {
        grid-column: 1 / -1;
    }

    /* ===========================
       TOP JÁTÉKOSOK
    =========================== */

    .home-ranking-list {
        gap: 10px;
    }

    .home-ranking-player {
        grid-template-columns: 32px 40px minmax(0, 1fr) auto;
        gap: 8px;
        min-width: 0;
        padding: 13px 11px;
        border-radius: 16px;
    }

    .home-ranking-position {
        font-size: 13px;
    }

    .home-ranking-level-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .home-ranking-name {
        min-width: 0;
        overflow: hidden;
        font-size: 13px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .home-ranking-level-name {
        display: none;
    }

    .home-ranking-points {
        font-size: 11px;
        white-space: nowrap;
    }

    .home-ranking-button .primary-button {
        width: 100%;
    }

    /* ===========================
       PONTOZÁSI RENDSZER
    =========================== */

    .scoring-container {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .scoring-content {
        max-width: 100%;
        text-align: center;
    }

    .scoring-content .primary-button {
        width: 100%;
    }

    .scoring-list {
        gap: 11px;
    }

    .scoring-item {
        align-items: flex-start;
        gap: 13px;
        padding: 17px 14px;
        border-radius: 17px;
    }

    .scoring-points {
        width: 50px;
        height: 50px;
        border-radius: 14px;
        font-size: 21px;
    }

    .scoring-item h3 {
        font-size: 16px;
    }

    .scoring-item p {
        margin-top: 5px;
        font-size: 12px;
        line-height: 1.5;
    }

    /* ===========================
       LÁBLÉC
    =========================== */

    .footer-content {
        min-height: auto;
        flex-direction: column;
        padding: 27px 0;
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-information {
        text-align: center;
    }

    .footer-legal-links {
        justify-content: center;
    }
}


/* =========================================================
   EXTRA KIS TELEFONOK – 420 PX ALATT
========================================================= */

@media (max-width: 420px) {

    .container {
        width: calc(100% - 20px);
    }

    .brand {
        font-size: 18px;
    }

    .brand-icon {
        width: 37px;
        height: 37px;
    }

    .hero-section {
        padding-top: 38px;
    }

    .hero-title {
        font-size: clamp(34px, 10.5vw, 42px);
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-card {
        padding: 16px 10px;
    }

    .example-match {
        gap: 4px;
        padding-right: 2px;
        padding-left: 2px;
    }

    .team-placeholder {
        width: 42px;
        height: 42px;
        font-size: 10px;
    }

    .example-score input {
        width: 34px;
        height: 43px;
        font-size: 17px;
    }

    .home-round-winner-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .home-round-winner-trophy {
        margin: 0 auto;
    }

    .home-round-winner-names {
        justify-content: center;
    }

    .levels-grid {
        grid-template-columns: 1fr;
    }

    .level-card:last-child {
        grid-column: auto;
    }

    .home-ranking-player {
        grid-template-columns: 27px 36px minmax(0, 1fr);
    }

    .home-ranking-points {
        grid-column: 3;
        font-size: 10px;
    }

    .scoring-item {
        gap: 10px;
    }

    .scoring-points {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

.legal-page {
    padding: 70px 0;
}

.legal-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 42px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    background: rgba(35, 13, 40, 0.94);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.legal-card h1 {
    margin: 10px 0 18px;
    color: #ffffff;
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.legal-card h2 {
    margin: 34px 0 12px;
    color: #ffffff;
    font-size: 1.35rem;
}

.legal-card p,
.legal-card li {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.8;
}

.legal-card ul {
    padding-left: 24px;
}

.legal-intro {
    font-size: 1.08rem;
}

.legal-updated {
    margin-top: 42px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

@media (max-width: 700px) {
    .legal-page {
        padding: 35px 0;
    }

    .legal-card {
        padding: 24px 18px;
        border-radius: 20px;
    }
}

.player-season-panel {
    margin-top: 28px;
}

.player-tip-points-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.player-tip-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
    margin-bottom: 20px;
}

.player-search-wrapper {
    position: relative;
}

.season-player-search {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    outline: none;
    background: rgba(255, 255, 255, 0.055);
    color: white;
    font-size: 0.95rem;
}

.season-player-search:focus {
    border-color: rgba(0, 255, 135, 0.65);
    box-shadow: 0 0 0 3px rgba(0, 255, 135, 0.08);
}

.player-suggestions {
    position: absolute;
    z-index: 50;
    top: calc(100% + 7px);
    left: 0;
    right: 0;
    overflow: hidden;
    border-radius: 14px;
    background: #15151d;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.38);
}

.player-suggestion-item {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 15px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: transparent;
    color: white;
    text-align: left;
    cursor: pointer;
}

.player-suggestion-item:hover {
    background: rgba(0, 255, 135, 0.1);
}

.player-suggestion-item strong {
    font-weight: 800;
}

.player-suggestion-item span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
}

.player-tip-warning {
    margin-top: 20px;
    padding: 15px 17px;
    border: 1px solid rgba(255, 190, 60, 0.25);
    border-radius: 15px;
    background: rgba(255, 190, 60, 0.07);
    color: rgba(255, 255, 255, 0.78);
}

.locked-player-predictions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.locked-player-predictions article {
    padding: 18px;
    border: 1px solid rgba(0, 255, 135, 0.17);
    border-radius: 16px;
    background: rgba(0, 255, 135, 0.055);
}

.locked-player-predictions span,
.locked-player-predictions strong {
    display: block;
}

.locked-player-predictions span {
    margin-bottom: 7px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.78rem;
}

.locked-player-predictions strong {
    color: #00ff87;
    font-size: 1rem;
}

@media (max-width: 850px) {

    .player-tip-points-grid,
    .player-tip-fields,
    .locked-player-predictions {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   HOME HERO – MOBIL / TABLET JAVÍTÁS
   ========================================================= */

@media (max-width: 1050px) {

    .hero-visual {
        width: min(100%, 620px);
        margin: 0 auto;

        display: grid;
        grid-template-columns: minmax(0, 1fr) 190px;
        grid-template-rows: auto auto;
        gap: 16px;

        min-height: 0;
        overflow: visible;
        align-items: start;
    }

    .hero-card-main {
        grid-column: 1;
        grid-row: 1 / span 2;

        width: 100%;
        max-width: none;
        position: relative;
        inset: auto;
        transform: none;
    }

    .floating-card {
        position: relative;
        inset: auto;

        width: 100%;
        min-width: 0;
        max-width: none;

        margin: 0;
        transform: none;

        box-sizing: border-box;
    }

    .floating-card-ranking {
        grid-column: 2;
        grid-row: 1;

        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
    }

    .floating-card-points {
        grid-column: 2;
        grid-row: 2;

        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
    }
}


/* =========================================================
   TELEFON – ÁLLÓ NÉZET
   ========================================================= */

@media (max-width: 620px) {

    .hero-visual {
        width: 100%;
        max-width: 100%;

        display: grid;
        grid-template-columns: minmax(0, 1fr) 112px;
        grid-template-rows: auto auto;
        gap: 10px;

        min-height: 0;
        padding: 0;
        overflow: visible;
    }

    .hero-card-main {
        grid-column: 1;
        grid-row: 1 / span 2;

        width: 100%;
        min-width: 0;
        padding: 16px;
        border-radius: 24px;
    }

    .floating-card {
        width: 100%;
        min-width: 0;
        padding: 12px 9px;

        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;

        border-radius: 18px;
        transform: none !important;
    }

    .floating-card-ranking {
        grid-column: 2;
        grid-row: 1;

        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
    }

    .floating-card-points {
        grid-column: 2;
        grid-row: 2;

        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
    }

    .floating-card-icon {
        width: 46px;
        height: 46px;
        min-width: 46px;

        font-size: 16px;
        border-radius: 14px;
    }

    .floating-card small {
        display: block;
        font-size: 9px;
        letter-spacing: 1px;
        line-height: 1.2;
    }

    .floating-card strong {
        display: block;
        margin-top: 3px;

        font-size: 13px;
        line-height: 1.2;

        overflow-wrap: anywhere;
        word-break: normal;
    }

    .floating-card span:not(.floating-card-icon) {
        font-size: 11px;
        line-height: 1.25;

        overflow-wrap: anywhere;
    }

    .example-match {
        gap: 5px;
        padding: 15px 3px;
    }

    .team-placeholder {
        width: 42px;
        height: 42px;
        min-width: 42px;

        font-size: 12px;
        border-radius: 13px;
    }

    .example-team {
        min-width: 0;
    }

    .example-team strong {
        font-size: 11px;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    .example-score {
        gap: 4px;
    }

    .example-score input {
        width: 34px;
        height: 44px;

        padding: 0;
        font-size: 18px;
    }

    .hero-card-header h2 {
        font-size: 25px;
    }

    .live-badge {
        padding: 8px 9px;
        font-size: 10px;
    }

    .example-save-button {
        width: 100%;
        box-sizing: border-box;
        font-size: 15px;
        padding: 14px 8px;
    }

    .hero-card-footer {
        gap: 6px;
        font-size: 11px;
    }
}


/* =========================================================
   NAGYON KESKENY TELEFON
   ========================================================= */

@media (max-width: 390px) {

    .hero-visual {
        grid-template-columns: minmax(0, 1fr) 100px;
        gap: 8px;
    }

    .hero-card-main {
        padding: 13px;
    }

    .floating-card {
        padding: 10px 7px;
    }

    .floating-card-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 14px;
    }

    .floating-card strong {
        font-size: 12px;
    }

    .floating-card span:not(.floating-card-icon) {
        font-size: 10px;
    }
}


/* =========================================================
   TELEFON – FEKVŐ NÉZET
   ========================================================= */

@media (max-height: 500px) and (orientation: landscape) {

    .hero-visual {
        width: min(100%, 680px);

        display: grid;
        grid-template-columns: minmax(0, 1fr) 175px;
        grid-template-rows: 1fr 1fr;
        gap: 12px;

        min-height: 0;
        margin: 0 auto;
    }

    .hero-card-main {
        grid-column: 1;
        grid-row: 1 / span 2;

        width: 100%;
        transform: none;
    }

    .floating-card {
        position: relative;
        inset: auto;

        width: 100%;
        transform: none !important;
    }

    .floating-card-ranking {
        grid-column: 2;
        grid-row: 1;
    }

    .floating-card-points {
        grid-column: 2;
        grid-row: 2;
    }
}

/* ===========================
   GLOBALIS ANIMACIOK
=========================== */

@keyframes pageFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes headerSlideDown {
    from {
        opacity: 0;
        transform: translateY(-18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes brandPopIn {
    0% {
        opacity: 0;
        transform: scale(0.88) translateY(-6px);
    }

    70% {
        transform: scale(1.04) translateY(0);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes glowFloatOne {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(45px, 35px, 0) scale(1.08);
    }
}

@keyframes glowFloatTwo {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(-40px, 55px, 0) scale(1.1);
    }
}


/* Oldal megjelenese */

body {
    animation: pageFadeIn 0.45s ease-out both;
}


/* Fejlec becsuszasa */

.main-header {
    animation: headerSlideDown 0.55s cubic-bezier(
        0.22,
        1,
        0.36,
        1
    ) both;
}


/* Logo megjelenese */

.brand {
    animation: brandPopIn 0.7s cubic-bezier(
        0.22,
        1,
        0.36,
        1
    ) 0.1s both;
}


/* Hatterszinek finom mozgasa */

.background-glow-one {
    animation: glowFloatOne 13s ease-in-out infinite;
}

.background-glow-two {
    animation: glowFloatTwo 16s ease-in-out infinite;
}


/* Logo hover */

.brand-icon {
    transition:
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.brand:hover .brand-icon {
    transform: translateY(-2px) rotate(-3deg) scale(1.06);
    border-color: rgba(0, 255, 135, 0.7);
    box-shadow:
        0 8px 30px rgba(0, 255, 135, 0.22),
        0 0 25px rgba(0, 255, 135, 0.15);
}


/* Navigacios elemek */

.main-navigation > a,
.navigation-logout-button {
    position: relative;
    overflow: hidden;
}

.main-navigation > a::after,
.navigation-logout-button::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 5px;
    height: 2px;
    border-radius: 999px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.main-navigation > a:hover::after,
.navigation-logout-button:hover::after {
    transform: scaleX(1);
}


/* Akiknel ki vannak kapcsolva az animaciok */



/* ===========================
   LATVANYOS FOOLDALI ANIMACIOK
=========================== */

@keyframes heroReveal {
    0% {
        opacity: 0;
        transform:
            perspective(1200px)
            translateY(55px)
            scale(0.94)
            rotateX(5deg);
        filter: blur(8px);
    }

    65% {
        opacity: 1;
        transform:
            perspective(1200px)
            translateY(-4px)
            scale(1.01)
            rotateX(0deg);
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform:
            perspective(1200px)
            translateY(0)
            scale(1)
            rotateX(0deg);
        filter: blur(0);
    }
}


@keyframes floatCardReveal {
    0% {
        opacity: 0;
        transform:
            translateY(35px)
            scale(0.82)
            rotate(-4deg);
    }

    70% {
        opacity: 1;
        transform:
            translateY(-5px)
            scale(1.04)
            rotate(1deg);
    }

    100% {
        opacity: 1;
        transform:
            translateY(0)
            scale(1)
            rotate(0);
    }
}


@keyframes cardRise {
    from {
        opacity: 0;
        transform: translateY(45px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


@keyframes sideRevealLeft {
    from {
        opacity: 0;
        transform: translateX(-55px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}


@keyframes sideRevealRight {
    from {
        opacity: 0;
        transform: translateX(55px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}


@keyframes softPulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.035);
    }
}


/* HERO */

.hero-card-main {
    animation:
        heroReveal
        0.9s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.15s
        both;
}


/* LEBEGO KARTYAK */

.floating-card {
    animation:
        floatCardReveal
        0.75s
        cubic-bezier(0.16, 1, 0.3, 1)
        both;

    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.floating-card:nth-of-type(1) {
    animation-delay: 0.55s;
}

.floating-card:nth-of-type(2) {
    animation-delay: 0.7s;
}

.floating-card:nth-of-type(3) {
    animation-delay: 0.85s;
}

.floating-card:hover {
    transform:
        translateY(-7px)
        scale(1.045);

    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.38),
        0 0 30px rgba(0, 255, 135, 0.12);
}


/* KOZOSSEGI KARTYAK */

.home-community-card {
    animation:
        cardRise
        0.8s
        cubic-bezier(0.16, 1, 0.3, 1)
        both;

    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.home-community-card:nth-child(1) {
    animation-delay: 0.25s;
}

.home-community-card:nth-child(2) {
    animation-delay: 0.4s;
}

.home-community-card:hover {
    transform: translateY(-7px) scale(1.015);

    box-shadow:
        0 25px 65px rgba(0, 0, 0, 0.34),
        0 0 35px rgba(111, 22, 168, 0.16);
}


/* PROGRESS KARTYA */

.home-progress-card {
    animation:
        heroReveal
        0.9s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.25s
        both;

    transition:
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.35s ease;
}

.home-progress-card:hover {
    transform: translateY(-5px) scale(1.01);

    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.38),
        0 0 40px rgba(0, 255, 135, 0.1);
}


/* FORDULO GYOZTESE */

.home-round-winner-card {
    animation:
        cardRise
        0.8s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.35s
        both;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.home-round-winner-card:hover {
    transform: translateY(-6px) scale(1.015);
}


/* FEATURE KARTYAK */

.feature-card {
    animation:
        cardRise
        0.72s
        cubic-bezier(0.16, 1, 0.3, 1)
        both;

    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.feature-card:nth-child(1) {
    animation-delay: 0.12s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.24s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.36s;
}

.feature-card:hover {
    transform:
        translateY(-9px)
        scale(1.025);

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.4),
        0 0 32px rgba(0, 255, 135, 0.1);
}


/* SZINT KARTYAK */

.level-card {
    animation:
        cardRise
        0.7s
        cubic-bezier(0.16, 1, 0.3, 1)
        both;

    transition:
        transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.32s ease;
}

.level-card:nth-child(1) {
    animation-delay: 0.08s;
}

.level-card:nth-child(2) {
    animation-delay: 0.16s;
}

.level-card:nth-child(3) {
    animation-delay: 0.24s;
}

.level-card:nth-child(4) {
    animation-delay: 0.32s;
}

.level-card:nth-child(5) {
    animation-delay: 0.4s;
}

.level-card:hover {
    transform:
        translateY(-10px)
        scale(1.045);

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.4);
}

.level-card:hover .level-card-icon {
    animation: softPulse 0.65s ease-in-out infinite;
}


/* MOBILON KISEBB MOZGAS */

@media (max-width: 768px) {
    .floating-card:hover,
    .feature-card:hover,
    .level-card:hover,
    .home-community-card:hover {
        transform: translateY(-3px) scale(1.01);
    }
}

/* ===========================
   SCROLL REVEAL
=========================== */

.scroll-reveal {
    opacity: 0;
    transform: translateY(45px) scale(0.97);
    filter: blur(5px);

    transition:
        opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.7s ease;

    transition-delay: var(--reveal-delay, 0ms);

    will-change:
        opacity,
        transform,
        filter;
}

.scroll-reveal.scroll-reveal-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* ===========================
   HERO INTRO ANIMACIO
=========================== */

@keyframes heroVisualIntro {
    0% {
        opacity: 0;
        transform:
            perspective(1400px)
            translateY(70px)
            scale(0.9)
            rotateX(10deg)
            rotateY(-4deg);
        filter: blur(10px);
    }

    65% {
        opacity: 1;
        transform:
            perspective(1400px)
            translateY(-6px)
            scale(1.02)
            rotateX(0deg)
            rotateY(0deg);
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform:
            perspective(1400px)
            translateY(0)
            scale(1)
            rotateX(0deg)
            rotateY(0deg);
        filter: blur(0);
    }
}

@keyframes floatingLeftIntro {
    0% {
        opacity: 0;
        transform:
            translateX(-70px)
            translateY(20px)
            scale(0.78)
            rotate(-8deg);
    }

    70% {
        opacity: 1;
        transform:
            translateX(6px)
            translateY(-4px)
            scale(1.05)
            rotate(2deg);
    }

    100% {
        opacity: 1;
        transform:
            translateX(0)
            translateY(0)
            scale(1)
            rotate(0);
    }
}

@keyframes floatingRightIntro {
    0% {
        opacity: 0;
        transform:
            translateX(70px)
            translateY(25px)
            scale(0.78)
            rotate(8deg);
    }

    70% {
        opacity: 1;
        transform:
            translateX(-6px)
            translateY(-4px)
            scale(1.05)
            rotate(-2deg);
    }

    100% {
        opacity: 1;
        transform:
            translateX(0)
            translateY(0)
            scale(1)
            rotate(0);
    }
}

@keyframes trustItemIntro {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* Nagy hero kartya */

.hero-visual .hero-card-main {
    animation:
        heroVisualIntro
        1s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.12s
        both;
}


/* Bal oldali lebego kartya */

.hero-visual .floating-card-ranking {
    animation:
        floatingLeftIntro
        0.85s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.55s
        both;
}


/* Jobb oldali pontkartya */

.hero-visual .floating-card-points {
    animation:
        floatingRightIntro
        0.85s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.72s
        both;
}


/* Trust elemek egymas utan */

.hero-trust-item {
    opacity: 0;
    animation:
        trustItemIntro
        0.55s
        cubic-bezier(0.16, 1, 0.3, 1)
        both;
}

.hero-trust-item:nth-child(1) {
    animation-delay: 0.5s;
}

.hero-trust-item:nth-child(2) {
    animation-delay: 0.62s;
}

.hero-trust-item:nth-child(3) {
    animation-delay: 0.74s;
}

/* ===========================
   HERO FENYCSIK SWEEP
=========================== */

.hero-card-main {
    position: relative;
    overflow: hidden;
}

.hero-card-main::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -35%;
    width: 28%;
    height: 180%;
    pointer-events: none;

    background:
        linear-gradient(
            115deg,
            transparent 0%,
            rgba(255, 255, 255, 0.02) 25%,
            rgba(0, 255, 135, 0.24) 48%,
            rgba(255, 255, 255, 0.2) 52%,
            rgba(111, 22, 168, 0.22) 58%,
            transparent 78%
        );

    filter: blur(4px);

    transform:
        translateX(-160%)
        rotate(7deg);

    animation:
        heroLightSweep
        1.25s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.7s
        both;
}

@keyframes heroLightSweep {
    0% {
        opacity: 0;
        transform:
            translateX(-180%)
            rotate(7deg);
    }

    20% {
        opacity: 1;
    }

    75% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform:
            translateX(650%)
            rotate(7deg);
    }
}

/* ===========================
   TIPPELES OLDAL ANIMACIOK
=========================== */

@keyframes predictionCardIntro {
    0% {
        opacity: 0;
        transform:
            translateY(50px)
            scale(0.96);
        filter: blur(6px);
    }

    100% {
        opacity: 1;
        transform:
            translateY(0)
            scale(1);
        filter: blur(0);
    }
}

@keyframes predictionLogoPop {
    0% {
        opacity: 0;
        transform: scale(0.7) rotate(-6deg);
    }

    70% {
        opacity: 1;
        transform: scale(1.08) rotate(2deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

@keyframes statusPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}


/* MECCSKARTYAK */

.match-card {
    position: relative;
    overflow: hidden;

    transition:
        transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.32s ease,
        border-color 0.32s ease;
}

.match-card:hover {
    transform:
        translateY(-7px)
        scale(1.01);

    border-color: rgba(0, 255, 135, 0.28);

    box-shadow:
        0 26px 70px rgba(0, 0, 0, 0.4),
        0 0 35px rgba(0, 255, 135, 0.08);
}


/* Finom fenyes reteg */

.match-card::after {
    content: "";
    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            115deg,
            transparent 15%,
            rgba(255, 255, 255, 0.025) 40%,
            rgba(0, 255, 135, 0.06) 50%,
            transparent 62%
        );

    opacity: 0;
    transform: translateX(-35%);

    transition:
        opacity 0.35s ease,
        transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.match-card:hover::after {
    opacity: 1;
    transform: translateX(35%);
}


/* CSAPATLOGOK */

.prediction-team-logo {
    transition:
        transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.32s ease;
}

.match-card:hover .prediction-team-logo {
    transform:
        translateY(-4px)
        scale(1.08);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.28),
        0 0 22px rgba(0, 255, 135, 0.08);
}


/* VS */

.match-versus {
    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        color 0.3s ease;
}

.match-card:hover .match-versus {
    transform: scale(1.08);
    color: var(--green);
}


/* STATUSZ */

.match-status {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.match-card:hover .match-status {
    transform: translateY(-1px);
}

.match-status-saved {
    animation:
        statusPulse
        0.55s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.35s
        1;
}


/* COUNTDOWN */

.match-countdown {
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.match-card:hover .match-countdown {
    transform: translateY(-2px);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.16);
}


/* INPUTOK */

.match-card input[type="number"] {
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease;
}

.match-card input[type="number"]:focus {
    transform: scale(1.06);

    border-color: var(--green);

    box-shadow:
        0 0 0 3px rgba(0, 255, 135, 0.12),
        0 0 24px rgba(0, 255, 135, 0.12);

    outline: none;
}


/* MOBIL */

@media (max-width: 768px) {
    .match-card:hover {
        transform: translateY(-3px) scale(1.005);
    }

    .match-card:hover .prediction-team-logo {
        transform: scale(1.04);
    }
}

/* ===========================
   RANGLISTA OLDAL ANIMACIOK
=========================== */

@keyframes rankingSummaryIntro {
    0% {
        opacity: 0;
        transform: translateY(35px) scale(0.94);
        filter: blur(6px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes podiumRise {
    0% {
        opacity: 0;
        transform:
            translateY(60px)
            scale(0.9);
        filter: blur(5px);
    }

    70% {
        opacity: 1;
        transform:
            translateY(-6px)
            scale(1.03);
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform:
            translateY(0)
            scale(1);
        filter: blur(0);
    }
}

@keyframes tableRowSlide {
    from {
        opacity: 0;
        transform: translateX(-35px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes trophyPop {
    0% {
        opacity: 0;
        transform: scale(0.6) rotate(-12deg);
    }

    70% {
        opacity: 1;
        transform: scale(1.12) rotate(3deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}


/* OSSZEFOGLALO KARTYA */

.ranking-summary-card {
    animation:
        rankingSummaryIntro
        0.8s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.12s
        both;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.ranking-summary-card:hover {
    transform: translateY(-5px) scale(1.01);

    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.35),
        0 0 30px rgba(0, 255, 135, 0.08);
}


/* TROFEA */

.ranking-trophy {
    animation:
        trophyPop
        0.75s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.3s
        both;
}


/* DOBOGO */

.ranking-podium > article,
.weekly-podium-grid > article {
    animation:
        podiumRise
        0.8s
        cubic-bezier(0.16, 1, 0.3, 1)
        both;

    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s ease;
}

.ranking-podium > article:nth-child(1),
.weekly-podium-grid > article:nth-child(1) {
    animation-delay: 0.2s;
}

.ranking-podium > article:nth-child(2),
.weekly-podium-grid > article:nth-child(2) {
    animation-delay: 0.35s;
}

.ranking-podium > article:nth-child(3),
.weekly-podium-grid > article:nth-child(3) {
    animation-delay: 0.5s;
}

.ranking-podium > article:hover,
.weekly-podium-grid > article:hover {
    transform: translateY(-8px) scale(1.025);

    box-shadow:
        0 25px 65px rgba(0, 0, 0, 0.38),
        0 0 28px rgba(255, 200, 87, 0.08);
}


/* PROFILKEP / AVATAR */

.podium-avatar,
.weekly-podium-avatar,
.ranking-user-avatar {
    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s ease;
}

.ranking-podium > article:hover .podium-avatar,
.weekly-podium-grid > article:hover .weekly-podium-avatar {
    transform: scale(1.08);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3);
}


/* TABLAZAT SOROK */

.modern-ranking-table tbody tr {
    opacity: 0;

    animation:
        tableRowSlide
        0.55s
        cubic-bezier(0.16, 1, 0.3, 1)
        both;

    transition:
        transform 0.22s ease,
        background 0.22s ease;
}

.modern-ranking-table tbody tr:nth-child(1) {
    animation-delay: 0.1s;
}

.modern-ranking-table tbody tr:nth-child(2) {
    animation-delay: 0.16s;
}

.modern-ranking-table tbody tr:nth-child(3) {
    animation-delay: 0.22s;
}

.modern-ranking-table tbody tr:nth-child(4) {
    animation-delay: 0.28s;
}

.modern-ranking-table tbody tr:nth-child(5) {
    animation-delay: 0.34s;
}

.modern-ranking-table tbody tr:nth-child(6) {
    animation-delay: 0.4s;
}

.modern-ranking-table tbody tr:nth-child(7) {
    animation-delay: 0.46s;
}

.modern-ranking-table tbody tr:nth-child(8) {
    animation-delay: 0.52s;
}

.modern-ranking-table tbody tr:nth-child(9) {
    animation-delay: 0.58s;
}

.modern-ranking-table tbody tr:nth-child(10) {
    animation-delay: 0.64s;
}

.modern-ranking-table tbody tr:hover {
    transform: translateX(4px);
}


/* PONTOK */

.ranking-points {
    transition:
        transform 0.22s ease,
        color 0.22s ease;
}

.modern-ranking-table tbody tr:hover .ranking-points {
    transform: scale(1.06);
    color: var(--green);
}


/* MOBIL */

@media (max-width: 768px) {
    .ranking-podium > article:hover,
    .weekly-podium-grid > article:hover {
        transform: translateY(-3px) scale(1.01);
    }

    .modern-ranking-table tbody tr:hover {
        transform: none;
    }
}

/* ===========================
   PROFIL OLDAL ANIMACIOK
=========================== */

@keyframes profileHeroIntro {
    0% {
        opacity: 0;
        transform: translateY(45px) scale(0.96);
        filter: blur(7px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes avatarPop {
    0% {
        opacity: 0;
        transform: scale(0.65) rotate(-8deg);
    }

    70% {
        opacity: 1;
        transform: scale(1.08) rotate(2deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

@keyframes levelIconPop {
    0% {
        opacity: 0;
        transform: scale(0.6) rotate(-10deg);
    }

    70% {
        opacity: 1;
        transform: scale(1.12) rotate(3deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

@keyframes statIconPulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.12);
    }
}


/* FO PROFILKARTYA */

.profile-main-card {
    animation:
        profileHeroIntro
        0.85s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.1s
        both;

    transition:
        transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.32s ease,
        border-color 0.32s ease;
}

.profile-main-card:hover {
    transform: translateY(-5px);

    border-color: rgba(0, 255, 135, 0.2);

    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.38),
        0 0 35px rgba(0, 255, 135, 0.07);
}


/* AVATAR */

.profile-avatar {
    animation:
        avatarPop
        0.75s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.35s
        both;

    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.3s ease;
}

.profile-main-card:hover .profile-avatar {
    transform: scale(1.06) rotate(-2deg);

    filter:
        drop-shadow(
            0 0 18px rgba(0, 255, 135, 0.16)
        );
}


/* XP / KIEMELT KARTYA */

.profile-highlight-card {
    animation:
        profileHeroIntro
        0.8s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.28s
        both;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.profile-highlight-card:hover {
    transform: translateY(-5px) scale(1.015);

    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.35),
        0 0 30px rgba(111, 22, 168, 0.13);
}


/* SZINT PANEL */

.profile-level-panel {
    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.profile-level-panel:hover {
    transform: translateY(-4px);

    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.3);
}

.profile-level-icon {
    animation:
        levelIconPop
        0.7s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.5s
        both;

    transition:
        transform 0.3s ease;
}

.profile-level-panel:hover .profile-level-icon {
    transform: scale(1.1) rotate(4deg);
}


/* XP SAV */

.xp-progress-bar {
    overflow: hidden;
}

.xp-progress-value {
    transform-origin: left center;

    transition:
        width 1s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.3s ease;

    position: relative;
}

.xp-progress-value::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.38),
            transparent
        );

    transform: translateX(-100%);

    animation:
        xpShine
        1.4s
        ease
        0.8s
        both;
}

@keyframes xpShine {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(180%);
    }
}


/* STAT KARTYAK */

.profile-stat-card {
    position: relative;
    overflow: hidden;

    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.profile-stat-card:hover {
    transform: translateY(-8px) scale(1.025);

    border-color: rgba(0, 255, 135, 0.22);

    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.34),
        0 0 28px rgba(0, 255, 135, 0.07);
}

.profile-stat-icon {
    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-stat-card:hover .profile-stat-icon {
    animation:
        statIconPulse
        0.55s
        cubic-bezier(0.16, 1, 0.3, 1);

    transform: scale(1.1);
}


/* OSSZEFOGLALO KARTYAK */

.profile-summary-card {
    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.profile-summary-card:hover {
    transform: translateY(-6px);

    border-color: rgba(111, 22, 168, 0.3);

    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.34),
        0 0 28px rgba(111, 22, 168, 0.1);
}

.profile-summary-icon {
    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-summary-card:hover .profile-summary-icon {
    transform: scale(1.1) rotate(5deg);
}


/* ACHIEVEMENT KARTYAK */

.profile-achievements-grid > * {
    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease,
        filter 0.3s ease;
}

.profile-achievements-grid > *:hover {
    transform: translateY(-7px) scale(1.025);

    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.35);
}

.achievement-icon {
    transition:
        transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.32s ease;
}

.profile-achievements-grid > *:hover .achievement-icon {
    transform: scale(1.12) rotate(-4deg);

    filter:
        drop-shadow(
            0 0 12px rgba(255, 200, 87, 0.22)
        );
}


/* SZEZON TIPPEK */

.profile-season-team {
    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s ease;
}

.profile-season-team:hover {
    transform: translateY(-5px) scale(1.015);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.28);
}


/* MOBIL */

@media (max-width: 768px) {

    .profile-main-card:hover,
    .profile-highlight-card:hover,
    .profile-stat-card:hover,
    .profile-summary-card:hover,
    .profile-achievements-grid > *:hover,
    .profile-season-team:hover {
        transform: translateY(-3px) scale(1.005);
    }
}

/* ===========================
   LIVE OLDAL ANIMACIOK
=========================== */

@keyframes liveDotPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
        box-shadow:
            0 0 0 0 rgba(0, 255, 135, 0.34);
    }

    50% {
        transform: scale(1.18);
        opacity: 0.85;
        box-shadow:
            0 0 0 8px rgba(0, 255, 135, 0);
    }
}

@keyframes liveCardGlow {
    0%,
    100% {
        box-shadow:
            0 18px 45px rgba(0, 0, 0, 0.3),
            0 0 0 rgba(0, 255, 135, 0);
    }

    50% {
        box-shadow:
            0 22px 60px rgba(0, 0, 0, 0.36),
            0 0 32px rgba(0, 255, 135, 0.09);
    }
}

@keyframes liveScorePop {
    0% {
        opacity: 0;
        transform: scale(0.78);
        filter: blur(5px);
    }

    70% {
        opacity: 1;
        transform: scale(1.08);
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

@keyframes liveHeroIntro {
    0% {
        opacity: 0;
        transform: translateY(35px);
        filter: blur(5px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}


/* HERO */

.live-matchday-hero {
    animation:
        liveHeroIntro
        0.8s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.1s
        both;
}

.live-matchday-score-card {
    animation:
        liveHeroIntro
        0.8s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.24s
        both;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.live-matchday-score-card:hover {
    transform: translateY(-5px) scale(1.015);

    border-color: rgba(0, 255, 135, 0.2);

    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.35),
        0 0 28px rgba(0, 255, 135, 0.08);
}


/* LIVE PONTOK */

.live-hero-dot,
.summary-dot-live,
.section-live-dot,
.live-status-dot {
    animation:
        liveDotPulse
        1.35s
        ease-in-out
        infinite;
}


/* AKTIV LIVE MECCSKARTYA */

.live-match-card {
    position: relative;
    overflow: hidden;

    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.live-match-card-active {
    animation:
        liveCardGlow
        2.8s
        ease-in-out
        infinite;
}

.live-match-card:hover {
    transform: translateY(-7px) scale(1.015);

    box-shadow:
        0 24px 65px rgba(0, 0, 0, 0.38),
        0 0 28px rgba(0, 255, 135, 0.07);
}


/* FINOM FENYCSIK LIVE KARTYAN */

.live-match-card-active::after {
    content: "";
    position: absolute;
    top: -35%;
    left: -40%;

    width: 25%;
    height: 170%;

    pointer-events: none;

    background:
        linear-gradient(
            115deg,
            transparent,
            rgba(0, 255, 135, 0.14),
            rgba(255, 255, 255, 0.1),
            transparent
        );

    transform:
        translateX(-180%)
        rotate(7deg);

    animation:
        liveSweep
        3.8s
        ease-in-out
        infinite;
}

@keyframes liveSweep {
    0%,
    58% {
        opacity: 0;
        transform:
            translateX(-180%)
            rotate(7deg);
    }

    68% {
        opacity: 1;
    }

    86% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform:
            translateX(700%)
            rotate(7deg);
    }
}


/* SCORE */

.live-score-box,
.finished-score {
    animation:
        liveScorePop
        0.65s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.25s
        both;
}

.live-score-box {
    transition:
        transform 0.28s ease,
        filter 0.28s ease;
}

.live-match-card-active:hover .live-score-box {
    transform: scale(1.08);

    filter:
        drop-shadow(
            0 0 14px rgba(0, 255, 135, 0.15)
        );
}


/* CSAPATLOGOK */

.live-team-logo,
.upcoming-team-logo,
.finished-team-logo {
    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.3s ease;
}

.live-match-card:hover .live-team-logo,
.live-match-card:hover .upcoming-team-logo,
.live-match-card:hover .finished-team-logo {
    transform: scale(1.08) translateY(-2px);

    filter:
        drop-shadow(
            0 8px 12px rgba(0, 0, 0, 0.24)
        );
}


/* TIPPEK / PONTOK */

.live-user-prediction,
.live-points-box,
.upcoming-own-tip,
.finished-prediction-row {
    transition:
        transform 0.26s ease,
        box-shadow 0.26s ease,
        border-color 0.26s ease;
}

.live-match-card:hover .live-user-prediction,
.live-match-card:hover .live-points-box,
.live-match-card:hover .upcoming-own-tip,
.live-match-card:hover .finished-prediction-row {
    transform: translateY(-2px);
}


/* SUMMARY PILLS */

.live-summary-pill {
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.live-summary-pill:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.22);
}

.live-summary-pill-active:hover {
    border-color: rgba(0, 255, 135, 0.28);
}


/* LEZART MECCS */

.live-match-card-finished {
    transition:
        transform 0.3s ease,
        opacity 0.3s ease,
        box-shadow 0.3s ease;
}

.live-match-card-finished:hover {
    transform: translateY(-5px) scale(1.01);
    opacity: 1;
}


/* MOBIL */

@media (max-width: 768px) {
    .live-match-card:hover,
    .live-match-card-finished:hover,
    .live-matchday-score-card:hover {
        transform: translateY(-3px) scale(1.005);
    }
}

/* ===========================
   SZEZONTIPP OLDAL ANIMACIOK
=========================== */

@keyframes seasonCardIntro {
    0% {
        opacity: 0;
        transform: translateY(45px) scale(0.96);
        filter: blur(6px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes seasonIconPop {
    0% {
        opacity: 0;
        transform: scale(0.6) rotate(-10deg);
    }

    70% {
        opacity: 1;
        transform: scale(1.12) rotate(3deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

@keyframes seasonSavedPulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

@keyframes seasonButtonShine {
    0% {
        transform: translateX(-160%);
    }

    100% {
        transform: translateX(260%);
    }
}


/* PONTKARTYAK */

.season-points-card {
    position: relative;
    overflow: hidden;

    animation:
        seasonCardIntro
        0.7s
        cubic-bezier(0.16, 1, 0.3, 1)
        both;

    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.season-points-card:nth-child(1) {
    animation-delay: 0.12s;
}

.season-points-card:nth-child(2) {
    animation-delay: 0.24s;
}

.season-points-card:nth-child(3) {
    animation-delay: 0.36s;
}

.season-points-card:hover {
    transform: translateY(-7px) scale(1.025);

    border-color: rgba(0, 255, 135, 0.22);

    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.35),
        0 0 28px rgba(0, 255, 135, 0.07);
}

.season-points-icon {
    animation:
        seasonIconPop
        0.65s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.35s
        both;

    transition:
        transform 0.3s ease;
}

.season-points-card:hover .season-points-icon {
    transform: scale(1.12) rotate(-4deg);
}


/* BAJNOK + KIESOK */

.champion-selection-card,
.relegation-selection-card {
    position: relative;
    overflow: hidden;

    transition:
        transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.32s ease,
        border-color 0.32s ease;
}

.champion-selection-card:hover,
.relegation-selection-card:hover {
    transform: translateY(-6px) scale(1.01);

    border-color: rgba(0, 255, 135, 0.22);

    box-shadow:
        0 25px 65px rgba(0, 0, 0, 0.36),
        0 0 30px rgba(0, 255, 135, 0.07);
}

.season-selection-number {
    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s ease;
}

.champion-selection-card:hover .season-selection-number,
.relegation-selection-card:hover .season-selection-number {
    transform: scale(1.1) rotate(-4deg);

    box-shadow:
        0 0 20px rgba(0, 255, 135, 0.12);
}


/* FORM MEZOK */

.season-field select,
.season-field input {
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease;
}

.season-field select:focus,
.season-field input:focus {
    transform: translateY(-2px);

    border-color: var(--green);

    box-shadow:
        0 0 0 3px rgba(0, 255, 135, 0.1),
        0 0 24px rgba(0, 255, 135, 0.08);

    outline: none;
}


/* MENTETT BADGE */

.season-saved-badge {
    animation:
        seasonSavedPulse
        0.65s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.5s
        1;
}


/* JATEKOS DIJ KARTYAK */

.player-award-card {
    position: relative;
    overflow: hidden;

    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.player-award-card:hover {
    transform: translateY(-7px) scale(1.02);

    border-color: rgba(255, 40, 130, 0.25);

    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.35),
        0 0 28px rgba(255, 40, 130, 0.08);
}

.player-award-icon {
    transition:
        transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.32s ease;
}

.player-award-card:hover .player-award-icon {
    transform: scale(1.14) rotate(-5deg);

    filter:
        drop-shadow(
            0 0 12px rgba(255, 40, 130, 0.2)
        );
}


/* JATEKOS KERESO KARTYAK */

.player-search-card {
    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.player-search-card:hover {
    transform: translateY(-6px);

    border-color: rgba(111, 22, 168, 0.32);

    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.32),
        0 0 25px rgba(111, 22, 168, 0.1);
}

.player-search-wrapper {
    transition:
        transform 0.25s ease;
}

.player-search-wrapper:focus-within {
    transform: scale(1.015);
}

.player-search-wrapper:focus-within .player-search-icon {
    transform: scale(1.12) rotate(-8deg);
    color: var(--green);
}

.player-search-icon {
    transition:
        transform 0.25s ease,
        color 0.25s ease;
}


/* LEZART JATEKOS TIPPEK */

.player-locked-card {
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.player-locked-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3);
}


/* MENTES GOMB */

.season-save-button {
    position: relative;
    overflow: hidden;

    transition:
        transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.season-save-button:hover {
    transform: translateY(-3px) scale(1.02);

    box-shadow:
        0 14px 35px rgba(0, 255, 135, 0.16);

    filter: brightness(1.05);
}

.season-save-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: -45%;

    width: 30%;
    height: 100%;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.35),
            transparent
        );

    transform: translateX(-160%);
}

.season-save-button:hover::after {
    animation:
        seasonButtonShine
        0.75s
        ease;
}

.season-save-button:active {
    transform: translateY(0) scale(0.98);
}


/* VARAKOZO ALLAPOT */

.profile-pending-dot {
    animation:
        liveDotPulse
        1.4s
        ease-in-out
        infinite;
}


/* MOBIL */

@media (max-width: 768px) {

    .season-points-card:hover,
    .champion-selection-card:hover,
    .relegation-selection-card:hover,
    .player-award-card:hover,
    .player-search-card:hover,
    .player-locked-card:hover {
        transform: translateY(-3px) scale(1.005);
    }
}

/* ===========================
   ERTESITESEK OLDAL ANIMACIOK
=========================== */

@keyframes notificationSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-45px) scale(0.97);
        filter: blur(5px);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0);
    }
}

@keyframes unreadNotificationGlow {
    0%,
    100% {
        box-shadow:
            0 14px 40px rgba(0, 0, 0, 0.25),
            0 0 0 rgba(0, 255, 135, 0);
    }

    50% {
        box-shadow:
            0 18px 48px rgba(0, 0, 0, 0.3),
            0 0 24px rgba(0, 255, 135, 0.07);
    }
}

@keyframes notificationIconPop {
    0% {
        opacity: 0;
        transform: scale(0.6) rotate(-10deg);
    }

    70% {
        opacity: 1;
        transform: scale(1.12) rotate(4deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}


/* FEJLEC */

.notifications-page-header {
    animation:
        notificationSlideIn
        0.7s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.08s
        both;
}


/* ERTESITES KARTYAK */

.notification-card {
    position: relative;
    overflow: hidden;

    animation:
        notificationSlideIn
        0.65s
        cubic-bezier(0.16, 1, 0.3, 1)
        both;

    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        opacity 0.3s ease;
}

.notification-card:nth-child(1) {
    animation-delay: 0.1s;
}

.notification-card:nth-child(2) {
    animation-delay: 0.17s;
}

.notification-card:nth-child(3) {
    animation-delay: 0.24s;
}

.notification-card:nth-child(4) {
    animation-delay: 0.31s;
}

.notification-card:nth-child(5) {
    animation-delay: 0.38s;
}

.notification-card:nth-child(6) {
    animation-delay: 0.45s;
}

.notification-card:nth-child(7) {
    animation-delay: 0.52s;
}

.notification-card:nth-child(8) {
    animation-delay: 0.59s;
}

.notification-card:hover {
    transform:
        translateX(6px)
        translateY(-3px);

    border-color: rgba(111, 22, 168, 0.32);

    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.32),
        0 0 25px rgba(111, 22, 168, 0.08);
}


/* OLVASATLAN */

.notification-card.unread {
    animation:
        notificationSlideIn
            0.65s
            cubic-bezier(0.16, 1, 0.3, 1)
            both,
        unreadNotificationGlow
            3s
            ease-in-out
            0.8s
            infinite;

    border-color: rgba(0, 255, 135, 0.2);
}

.notification-card.unread::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 3px;
    height: 100%;

    background:
        linear-gradient(
            180deg,
            var(--green),
            var(--turquoise)
        );

    box-shadow:
        0 0 14px rgba(0, 255, 135, 0.3);
}


/* IKON */

.notification-card-icon {
    animation:
        notificationIconPop
        0.55s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.25s
        both;

    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.3s ease;
}

.notification-card:hover .notification-card-icon {
    transform: scale(1.12) rotate(-5deg);

    filter:
        drop-shadow(
            0 0 12px rgba(0, 255, 135, 0.16)
        );
}


/* OLVASOTT */

.notification-card:not(.unread) {
    opacity: 0.82;
}

.notification-card:not(.unread):hover {
    opacity: 1;
}


/* MIND OLVASOTTNAK GOMB */

.notifications-mark-all {
    transition:
        transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.notifications-mark-all:hover {
    transform: translateY(-3px) scale(1.025);

    box-shadow:
        0 12px 30px rgba(0, 255, 135, 0.12);

    filter: brightness(1.06);
}

.notifications-mark-all:active {
    transform: translateY(0) scale(0.97);
}


/* OLVASOTTNAK JELZESE */

.notification-read-label {
    transition:
        transform 0.22s ease,
        color 0.22s ease;
}

.notification-card:hover .notification-read-label {
    transform: translateX(3px);
    color: var(--green);
}


/* URES ALLAPOT */

.notifications-empty {
    animation:
        notificationSlideIn
        0.75s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.15s
        both;
}


/* MOBIL */

@media (max-width: 768px) {

    .notification-card:hover {
        transform:
            translateX(2px)
            translateY(-2px);
    }
}

/* ===========================
   TABELLA OLDAL ANIMACIOK
=========================== */

@keyframes standingsIntro {
    0% {
        opacity: 0;
        transform: translateY(35px) scale(0.97);
        filter: blur(5px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes standingsRowSlide {
    0% {
        opacity: 0;
        transform: translateX(-35px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes standingsIconPop {
    0% {
        opacity: 0;
        transform: scale(0.6) rotate(-8deg);
    }

    70% {
        opacity: 1;
        transform: scale(1.1) rotate(3deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}


/* FEJLEC + SUMMARY */

.standings-heading {
    animation:
        standingsIntro
        0.75s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.08s
        both;
}

.standings-summary-card {
    animation:
        standingsIntro
        0.8s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.18s
        both;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.standings-summary-card:hover {
    transform: translateY(-5px) scale(1.015);

    border-color: rgba(0, 255, 135, 0.2);

    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.34),
        0 0 28px rgba(0, 255, 135, 0.07);
}

.standings-summary-icon {
    animation:
        standingsIconPop
        0.65s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.35s
        both;

    transition:
        transform 0.3s ease;
}

.standings-summary-card:hover .standings-summary-icon {
    transform: scale(1.1) rotate(-4deg);
}


/* PANEL */

.standings-panel {
    animation:
        standingsIntro
        0.8s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.25s
        both;
}


/* TABLAZAT SOROK */

.modern-standings-table tbody tr {
    opacity: 0;

    animation:
        standingsRowSlide
        0.55s
        cubic-bezier(0.16, 1, 0.3, 1)
        both;

    transition:
        transform 0.22s ease,
        background 0.22s ease,
        box-shadow 0.22s ease;
}

.modern-standings-table tbody tr:nth-child(1) {
    animation-delay: 0.08s;
}

.modern-standings-table tbody tr:nth-child(2) {
    animation-delay: 0.12s;
}

.modern-standings-table tbody tr:nth-child(3) {
    animation-delay: 0.16s;
}

.modern-standings-table tbody tr:nth-child(4) {
    animation-delay: 0.20s;
}

.modern-standings-table tbody tr:nth-child(5) {
    animation-delay: 0.24s;
}

.modern-standings-table tbody tr:nth-child(6) {
    animation-delay: 0.28s;
}

.modern-standings-table tbody tr:nth-child(7) {
    animation-delay: 0.32s;
}

.modern-standings-table tbody tr:nth-child(8) {
    animation-delay: 0.36s;
}

.modern-standings-table tbody tr:nth-child(9) {
    animation-delay: 0.40s;
}

.modern-standings-table tbody tr:nth-child(10) {
    animation-delay: 0.44s;
}

.modern-standings-table tbody tr:nth-child(n+11) {
    animation-delay: 0.48s;
}

.modern-standings-table tbody tr:hover {
    transform: translateX(5px);

    box-shadow:
        inset 3px 0 0 rgba(0, 255, 135, 0.45);
}


/* CSAPAT + LOGO */

.standings-team-logo {
    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.3s ease;
}

.modern-standings-table tbody tr:hover .standings-team-logo {
    transform: scale(1.12) rotate(-3deg);

    filter:
        drop-shadow(
            0 6px 10px rgba(0, 0, 0, 0.28)
        );
}

.standings-team {
    transition:
        transform 0.22s ease;
}

.modern-standings-table tbody tr:hover .standings-team {
    transform: translateX(2px);
}


/* PONTOK */

.standings-points {
    transition:
        transform 0.22s ease,
        color 0.22s ease;
}

.modern-standings-table tbody tr:hover .standings-points {
    transform: scale(1.08);
    color: var(--green);
}


/* JELMAGYARAZAT */

.standings-legend > * {
    transition:
        transform 0.22s ease,
        opacity 0.22s ease;
}

.standings-legend > *:hover {
    transform: translateY(-2px) scale(1.03);
}

.legend-color {
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.standings-legend > *:hover .legend-color {
    transform: scale(1.18);
}


/* MAGYARAZAT */

.standings-explanation {
    animation:
        standingsIntro
        0.75s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.35s
        both;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.standings-explanation:hover {
    transform: translateY(-4px);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.26);
}


/* URES ALLAPOT */

.standings-empty-state {
    animation:
        standingsIntro
        0.75s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.2s
        both;
}


/* MOBIL */

@media (max-width: 768px) {

    .modern-standings-table tbody tr:hover {
        transform: none;
    }

    .standings-summary-card:hover,
    .standings-explanation:hover {
        transform: translateY(-3px) scale(1.005);
    }
}

/* ===========================
   FORDULOGYOZTESEK ANIMACIOK
=========================== */

@keyframes winnerHeroIntro {
    0% {
        opacity: 0;
        transform: translateY(45px) scale(0.96);
        filter: blur(6px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes winnerTrophyPop {
    0% {
        opacity: 0;
        transform: scale(0.55) rotate(-14deg);
    }

    70% {
        opacity: 1;
        transform: scale(1.14) rotate(4deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

@keyframes podiumWinnerRise {
    0% {
        opacity: 0;
        transform: translateY(55px) scale(0.9);
        filter: blur(5px);
    }

    70% {
        opacity: 1;
        transform: translateY(-6px) scale(1.04);
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes winnerGlow {
    0%,
    100% {
        box-shadow:
            0 20px 55px rgba(0, 0, 0, 0.34),
            0 0 0 rgba(255, 200, 87, 0);
    }

    50% {
        box-shadow:
            0 24px 65px rgba(0, 0, 0, 0.38),
            0 0 32px rgba(255, 200, 87, 0.1);
    }
}

@keyframes historySlideIn {
    0% {
        opacity: 0;
        transform: translateX(-35px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}


/* FEJLEC */

.round-winners-header {
    animation:
        winnerHeroIntro
        0.75s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.08s
        both;
}


/* GYOZTES HERO */

.winner-hero {
    position: relative;
    overflow: hidden;

    animation:
        winnerHeroIntro
            0.85s
            cubic-bezier(0.16, 1, 0.3, 1)
            0.16s
            both,
        winnerGlow
            3.2s
            ease-in-out
            1s
            infinite;

    transition:
        transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.32s ease;
}

.winner-hero:hover {
    transform: translateY(-6px) scale(1.012);

    border-color:
        rgba(255, 200, 87, 0.25);
}


/* TROFEA */

.winner-hero-trophy {
    display: inline-block;

    animation:
        winnerTrophyPop
        0.75s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.35s
        both;

    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}

.winner-hero:hover .winner-hero-trophy {
    transform: scale(1.12) rotate(-5deg);

    filter:
        drop-shadow(
            0 0 16px rgba(255, 200, 87, 0.28)
        );
}


/* DOBOGO */

.podium-grid .podium-card {
    animation:
        podiumWinnerRise
        0.8s
        cubic-bezier(0.16, 1, 0.3, 1)
        both;

    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.podium-grid .podium-card:nth-child(1) {
    animation-delay: 0.2s;
}

.podium-grid .podium-card:nth-child(2) {
    animation-delay: 0.35s;
}

.podium-grid .podium-card:nth-child(3) {
    animation-delay: 0.5s;
}

.podium-grid .podium-card:hover {
    transform: translateY(-9px) scale(1.03);

    border-color:
        rgba(255, 200, 87, 0.25);

    box-shadow:
        0 26px 70px rgba(0, 0, 0, 0.38),
        0 0 28px rgba(255, 200, 87, 0.08);
}


/* ERME */

.podium-medal {
    display: inline-block;

    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.3s ease;
}

.podium-card:hover .podium-medal {
    transform: scale(1.15) rotate(-6deg);

    filter:
        drop-shadow(
            0 0 12px rgba(255, 200, 87, 0.25)
        );
}


/* KORABBI GYOZTESEK */

.winner-history-row {
    animation:
        historySlideIn
        0.55s
        cubic-bezier(0.16, 1, 0.3, 1)
        both;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.winner-history-row:nth-child(1) {
    animation-delay: 0.08s;
}

.winner-history-row:nth-child(2) {
    animation-delay: 0.14s;
}

.winner-history-row:nth-child(3) {
    animation-delay: 0.20s;
}

.winner-history-row:nth-child(4) {
    animation-delay: 0.26s;
}

.winner-history-row:nth-child(5) {
    animation-delay: 0.32s;
}

.winner-history-row:nth-child(n+6) {
    animation-delay: 0.38s;
}

.winner-history-row:hover {
    transform: translateX(6px);

    box-shadow:
        0 14px 35px rgba(0, 0, 0, 0.25);
}


/* HISTORY TROFEA */

.winner-history-icon {
    display: inline-block;

    transition:
        transform 0.28s ease,
        filter 0.28s ease;
}

.winner-history-row:hover .winner-history-icon {
    transform: scale(1.12) rotate(-5deg);

    filter:
        drop-shadow(
            0 0 10px rgba(255, 200, 87, 0.22)
        );
}


/* PONTOK */

.winner-history-points,
.winner-result {
    transition:
        transform 0.22s ease,
        color 0.22s ease;
}

.winner-history-row:hover .winner-history-points {
    transform: scale(1.06);
    color: var(--green);
}


/* FORDULO SELECT */

.round-select-form select {
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.round-select-form select:focus {
    transform: translateY(-2px);

    border-color: var(--green);

    box-shadow:
        0 0 0 3px rgba(0, 255, 135, 0.1),
        0 0 22px rgba(0, 255, 135, 0.08);

    outline: none;
}


/* URES ALLAPOT */

.round-winners-empty {
    animation:
        winnerHeroIntro
        0.75s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.15s
        both;
}


/* MOBIL */

@media (max-width: 768px) {

    .winner-hero:hover,
    .podium-grid .podium-card:hover {
        transform: translateY(-3px) scale(1.005);
    }

    .winner-history-row:hover {
        transform: translateX(2px);
    }
}

/* ===========================
   ACHIEVEMENT OLDAL ANIMACIOK
=========================== */

@keyframes achHeroIntro {
    0% {
        opacity: 0;
        transform: translateY(35px) scale(0.97);
        filter: blur(5px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes achCardRise {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
        filter: blur(5px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes achEarnedGlow {
    0%,
    100% {
        box-shadow:
            0 18px 45px rgba(0, 0, 0, 0.3),
            0 0 0 rgba(255, 200, 87, 0);
    }

    50% {
        box-shadow:
            0 22px 55px rgba(0, 0, 0, 0.34),
            0 0 26px rgba(255, 200, 87, 0.08);
    }
}

@keyframes achIconPop {
    0% {
        opacity: 0;
        transform: scale(0.55) rotate(-12deg);
    }

    70% {
        opacity: 1;
        transform: scale(1.14) rotate(4deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}


/* HERO */

.ach-hero {
    animation:
        achHeroIntro
        0.8s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.08s
        both;
}


/* SUMMARY */

.ach-summary {
    animation:
        achHeroIntro
        0.75s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.18s
        both;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.ach-summary:hover {
    transform: translateY(-4px);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3);
}


/* KATEGORIA */

.ach-category {
    animation:
        achHeroIntro
        0.75s
        cubic-bezier(0.16, 1, 0.3, 1)
        both;
}

.ach-category:nth-of-type(1) {
    animation-delay: 0.15s;
}

.ach-category:nth-of-type(2) {
    animation-delay: 0.25s;
}

.ach-category:nth-of-type(3) {
    animation-delay: 0.35s;
}

.ach-category-head {
    transition:
        transform 0.25s ease;
}

.ach-category:hover .ach-category-head {
    transform: translateX(4px);
}


/* ACHIEVEMENT KARTYAK */

.ach-card {
    position: relative;
    overflow: hidden;

    animation:
        achCardRise
        0.65s
        cubic-bezier(0.16, 1, 0.3, 1)
        both;

    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease,
        opacity 0.3s ease,
        filter 0.3s ease;
}

.ach-card:nth-child(1) {
    animation-delay: 0.08s;
}

.ach-card:nth-child(2) {
    animation-delay: 0.14s;
}

.ach-card:nth-child(3) {
    animation-delay: 0.20s;
}

.ach-card:nth-child(4) {
    animation-delay: 0.26s;
}

.ach-card:nth-child(5) {
    animation-delay: 0.32s;
}

.ach-card:nth-child(6) {
    animation-delay: 0.38s;
}


/* MEGSZERZETT */

.ach-card:not(.locked) {
    animation:
        achCardRise
            0.65s
            cubic-bezier(0.16, 1, 0.3, 1)
            both,
        achEarnedGlow
            3.2s
            ease-in-out
            0.9s
            infinite;

    border-color:
        rgba(255, 200, 87, 0.18);
}

.ach-card:not(.locked):hover {
    transform:
        translateY(-8px)
        scale(1.025);

    border-color:
        rgba(255, 200, 87, 0.32);

    box-shadow:
        0 25px 65px rgba(0, 0, 0, 0.38),
        0 0 30px rgba(255, 200, 87, 0.1);
}


/* LEZART */

.ach-card.locked {
    opacity: 0.68;
    filter: saturate(0.7);
}

.ach-card.locked:hover {
    transform: translateY(-5px) scale(1.01);

    opacity: 0.9;
    filter: saturate(0.9);
}


/* IKON */

.ach-icon {
    display: inline-block;

    animation:
        achIconPop
        0.65s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.25s
        both;

    transition:
        transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.32s ease;
}

.ach-card:not(.locked):hover .ach-icon {
    transform:
        scale(1.14)
        rotate(-5deg);

    filter:
        drop-shadow(
            0 0 14px rgba(255, 200, 87, 0.28)
        );
}

.ach-card.locked:hover .ach-icon {
    transform:
        scale(1.07)
        rotate(-3deg);
}


/* RITKASAG */

.ach-rarity {
    transition:
        transform 0.25s ease,
        filter 0.25s ease;
}

.ach-card:hover .ach-rarity {
    transform: translateY(-2px) scale(1.04);
}


/* MEGSZEREZVE BADGE */

.ach-earned {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.ach-card:not(.locked):hover .ach-earned {
    transform: scale(1.05);

    box-shadow:
        0 0 18px rgba(0, 255, 135, 0.1);
}


/* PROGRESS */

.ach-progress {
    overflow: hidden;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.ach-card:hover .ach-progress {
    transform: translateY(-2px);
}

.ach-progress-text {
    transition:
        transform 0.22s ease,
        color 0.22s ease;
}

.ach-card:hover .ach-progress-text {
    transform: translateX(3px);
}


/* MOBIL */

@media (max-width: 768px) {

    .ach-card:not(.locked):hover,
    .ach-card.locked:hover {
        transform:
            translateY(-3px)
            scale(1.005);
    }
}

/* ===========================
   PUBLIC PROFIL ANIMACIOK
=========================== */

@keyframes publicHeroIntro {
    0% {
        opacity: 0;
        transform: translateY(42px) scale(0.96);
        filter: blur(6px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes publicAvatarPop {
    0% {
        opacity: 0;
        transform: scale(0.65) rotate(-8deg);
    }

    70% {
        opacity: 1;
        transform: scale(1.08) rotate(3deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

@keyframes publicStatRise {
    0% {
        opacity: 0;
        transform: translateY(35px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes publicPredictionSlide {
    0% {
        opacity: 0;
        transform: translateX(-32px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}


/* HERO */

.public-profile-hero {
    animation:
        publicHeroIntro
        0.85s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.08s
        both;
}

.public-profile-main,
.public-profile-rank {
    transition:
        transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.32s ease,
        border-color 0.32s ease;
}

.public-profile-main:hover,
.public-profile-rank:hover {
    transform: translateY(-5px) scale(1.01);

    border-color: rgba(0, 255, 135, 0.2);

    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.35),
        0 0 28px rgba(0, 255, 135, 0.07);
}


/* AVATAR */

.public-profile-avatar {
    animation:
        publicAvatarPop
        0.75s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.3s
        both;
}

.public-profile-avatar-image {
    transition:
        transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.32s ease;
}

.public-profile-main:hover .public-profile-avatar-image {
    transform: scale(1.06) rotate(-2deg);

    filter:
        drop-shadow(
            0 0 16px rgba(0, 255, 135, 0.14)
        );
}


/* TAG-EK */

.public-profile-tag {
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        filter 0.22s ease;
}

.public-profile-tag:hover {
    transform: translateY(-2px) scale(1.04);

    filter: brightness(1.05);
}


/* LEVEL KARTYA */

.public-level-card {
    animation:
        publicHeroIntro
        0.8s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.22s
        both;

    transition:
        transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.32s ease,
        border-color 0.32s ease;
}

.public-level-card:hover {
    transform: translateY(-6px) scale(1.01);

    box-shadow:
        0 25px 65px rgba(0, 0, 0, 0.36);
}

.public-level-icon {
    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.3s ease;
}

.public-level-card:hover .public-level-icon {
    transform: scale(1.12) rotate(-5deg);

    filter:
        drop-shadow(
            0 0 14px rgba(111, 22, 168, 0.18)
        );
}


/* XP SAV */

.public-level-progress-track {
    overflow: hidden;
    position: relative;
}

.public-level-progress-track::after {
    content: "";
    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent
        );

    transform: translateX(-120%);

    animation:
        xpShine
        1.4s
        ease
        0.8s
        both;
}


/* STAT KARTYAK */

.public-stat-card {
    animation:
        publicStatRise
        0.65s
        cubic-bezier(0.16, 1, 0.3, 1)
        both;

    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.public-stat-card:nth-child(1) {
    animation-delay: 0.08s;
}

.public-stat-card:nth-child(2) {
    animation-delay: 0.14s;
}

.public-stat-card:nth-child(3) {
    animation-delay: 0.20s;
}

.public-stat-card:nth-child(4) {
    animation-delay: 0.26s;
}

.public-stat-card:nth-child(5) {
    animation-delay: 0.32s;
}

.public-stat-card:nth-child(6) {
    animation-delay: 0.38s;
}

.public-stat-card:nth-child(7) {
    animation-delay: 0.44s;
}

.public-stat-card:nth-child(8) {
    animation-delay: 0.50s;
}

.public-stat-card:hover {
    transform: translateY(-7px) scale(1.025);

    border-color: rgba(0, 255, 135, 0.2);

    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.33),
        0 0 26px rgba(0, 255, 135, 0.06);
}

.public-stat-icon {
    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.3s ease;
}

.public-stat-card:hover .public-stat-icon {
    transform: scale(1.13) rotate(-4deg);

    filter:
        drop-shadow(
            0 0 12px rgba(0, 255, 135, 0.14)
        );
}


/* PANELEK */

.public-profile-panel {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.public-profile-panel:hover {
    transform: translateY(-4px);

    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.3);
}


/* BADGE KARTYAK */

.public-badge-card {
    position: relative;
    overflow: hidden;

    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.public-badge-card:hover {
    transform: translateY(-7px) scale(1.025);

    border-color: rgba(255, 200, 87, 0.24);

    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.34),
        0 0 26px rgba(255, 200, 87, 0.07);
}

.public-badge-icon {
    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.3s ease;
}

.public-badge-card:hover .public-badge-icon {
    transform: scale(1.14) rotate(-5deg);

    filter:
        drop-shadow(
            0 0 13px rgba(255, 200, 87, 0.24)
        );
}


/* KORABBI TIPPEK */

.public-prediction-row {
    animation:
        publicPredictionSlide
        0.55s
        cubic-bezier(0.16, 1, 0.3, 1)
        both;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.public-prediction-row:nth-child(1) {
    animation-delay: 0.08s;
}

.public-prediction-row:nth-child(2) {
    animation-delay: 0.14s;
}

.public-prediction-row:nth-child(3) {
    animation-delay: 0.20s;
}

.public-prediction-row:nth-child(4) {
    animation-delay: 0.26s;
}

.public-prediction-row:nth-child(5) {
    animation-delay: 0.32s;
}

.public-prediction-row:nth-child(n+6) {
    animation-delay: 0.38s;
}

.public-prediction-row:hover {
    transform: translateX(5px);

    border-color: rgba(111, 22, 168, 0.26);

    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.25);
}

.public-prediction-score,
.public-prediction-points {
    transition:
        transform 0.22s ease,
        color 0.22s ease;
}

.public-prediction-row:hover .public-prediction-score,
.public-prediction-row:hover .public-prediction-points {
    transform: scale(1.06);
}

.public-prediction-row:hover .public-prediction-points {
    color: var(--green);
}


/* VISSZA GOMB */

.public-back-link {
    transition:
        transform 0.25s ease,
        color 0.25s ease;
}

.public-back-link:hover {
    transform: translateX(-4px);
    color: var(--green);
}


/* URES ALLAPOT */

.public-empty-state {
    animation:
        publicHeroIntro
        0.7s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.15s
        both;
}


/* MOBIL */

@media (max-width: 768px) {

    .public-profile-main:hover,
    .public-profile-rank:hover,
    .public-level-card:hover,
    .public-stat-card:hover,
    .public-badge-card:hover,
    .public-profile-panel:hover {
        transform: translateY(-3px) scale(1.005);
    }

    .public-prediction-row:hover {
        transform: translateX(2px);
    }
}

/* ===========================
   GLOBALIS MIKROANIMACIOK
=========================== */

@keyframes navDotPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
        box-shadow:
            0 0 0 0 rgba(0, 255, 135, 0.28);
    }

    50% {
        transform: scale(1.18);
        opacity: 0.85;
        box-shadow:
            0 0 0 7px rgba(0, 255, 135, 0);
    }
}

@keyframes dropdownIntro {
    0% {
        opacity: 0;
        transform:
            translateY(-8px)
            scale(0.97);
        filter: blur(3px);
    }

    100% {
        opacity: 1;
        transform:
            translateY(0)
            scale(1);
        filter: blur(0);
    }
}

@keyframes messageIntro {
    0% {
        opacity: 0;
        transform:
            translateY(-14px)
            scale(0.97);
    }

    100% {
        opacity: 1;
        transform:
            translateY(0)
            scale(1);
    }
}

@keyframes footerReveal {
    0% {
        opacity: 0;
        transform: translateY(25px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* LIVE NAV */

.live-matchday-nav-dot,
.active-users-dot,
.live-update-indicator-dot {
    animation:
        navDotPulse
        1.45s
        ease-in-out
        infinite;
}


/* ERITESITES HARANG */

.notification-bell-button {
    transition:
        transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.notification-bell-button:hover {
    transform:
        translateY(-2px)
        rotate(-5deg)
        scale(1.05);

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.22);
}

.notification-count {
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.notification-bell-button:hover .notification-count {
    transform: scale(1.12);

    box-shadow:
        0 0 12px rgba(255, 40, 130, 0.18);
}


/* NOTIFICATION DROPDOWN */

.notification-dropdown {
    transform-origin: top right;
}

.notification-dropdown:not([hidden]) {
    animation:
        dropdownIntro
        0.25s
        cubic-bezier(0.16, 1, 0.3, 1)
        both;
}

.notification-dropdown-item {
    transition:
        transform 0.22s ease,
        background 0.22s ease;
}

.notification-dropdown-item:hover {
    transform: translateX(4px);
}

.notification-dropdown-icon {
    transition:
        transform 0.25s ease;
}

.notification-dropdown-item:hover .notification-dropdown-icon {
    transform:
        scale(1.1)
        rotate(-4deg);
}


/* NAV GOMBOK */

.navigation-logout-button,
.navigation-register-button,
.pwa-nav-install,
.pwa-home-install {
    transition:
        transform 0.24s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.24s ease,
        filter 0.24s ease;
}

.navigation-logout-button:hover,
.navigation-register-button:hover,
.pwa-nav-install:hover,
.pwa-home-install:hover {
    transform: translateY(-2px) scale(1.025);
    filter: brightness(1.05);
}

.navigation-logout-button:active,
.navigation-register-button:active,
.pwa-nav-install:active,
.pwa-home-install:active {
    transform: translateY(0) scale(0.97);
}


/* ACTIVE USERS */

.active-users-pill {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.active-users-pill:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.2);
}


/* FLASH MESSAGE */

.message-box {
    animation:
        messageIntro
        0.45s
        cubic-bezier(0.16, 1, 0.3, 1)
        both;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.message-box:hover {
    transform: translateY(-2px);

    box-shadow:
        0 14px 35px rgba(0, 0, 0, 0.25);
}

.message-icon {
    transition:
        transform 0.25s ease;
}

.message-box:hover .message-icon {
    transform: scale(1.12) rotate(-4deg);
}


/* LEVEL / BADGE TOAST */

.level-toast,
.badge-toast {
    transition:
        transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.28s ease;
}

.level-toast:hover,
.badge-toast:hover {
    transform:
        translateY(-4px)
        scale(1.01);

    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.34);
}

.level-toast-icon,
.badge-toast-icon {
    transition:
        transform 0.28s ease,
        filter 0.28s ease;
}

.level-toast:hover .level-toast-icon,
.badge-toast:hover .badge-toast-icon {
    transform:
        scale(1.12)
        rotate(-5deg);
}


/* PWA INSTALL CARD */

.pwa-install-card {
    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s ease;
}

.pwa-install-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.34);
}

.pwa-install-logo {
    transition:
        transform 0.3s ease;
}

.pwa-install-card:hover .pwa-install-logo {
    transform:
        scale(1.08)
        rotate(-3deg);
}

.pwa-install-button,
.pwa-install-later,
.pwa-install-close,
.level-toast-close,
.badge-toast-close {
    transition:
        transform 0.22s ease,
        filter 0.22s ease;
}

.pwa-install-button:hover,
.pwa-install-later:hover,
.pwa-install-close:hover,
.level-toast-close:hover,
.badge-toast-close:hover {
    transform: scale(1.05);
    filter: brightness(1.06);
}


/* FOOTER */

.main-footer {
    animation:
        footerReveal
        0.75s
        cubic-bezier(0.16, 1, 0.3, 1)
        both;
}

.footer-logo {
    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.3s ease;
}

.footer-brand:hover .footer-logo {
    transform:
        scale(1.08)
        rotate(-4deg);

    filter:
        drop-shadow(
            0 0 12px rgba(0, 255, 135, 0.12)
        );
}

.footer-legal-links a {
    transition:
        transform 0.22s ease,
        color 0.22s ease;
}

.footer-legal-links a:hover {
    transform: translateY(-2px);
    color: var(--green);
}


/* MOBIL */

@media (max-width: 768px) {

    .notification-bell-button:hover,
    .navigation-logout-button:hover,
    .navigation-register-button:hover,
    .pwa-nav-install:hover,
    .pwa-home-install:hover {
        transform: scale(1.01);
    }

    .message-box:hover,
    .level-toast:hover,
    .badge-toast:hover,
    .pwa-install-card:hover {
        transform: translateY(-2px);
    }
}

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

/* ===========================
   ADMIN PROFILKÉPEK
=========================== */

.admin-player-avatar {
    overflow: hidden;
}

.admin-player-avatar-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
    transition: transform 0.25s ease;
}

.admin-player-avatar:hover .admin-player-avatar-image {
    transform: scale(1.08);
}

/* ===========================
   GERZSONTIPP PREMIUM GLASS NAV
=========================== */

.navbar {
    position: sticky;
    top: 0;
    z-index: 5000;
    padding: 10px 18px;
    background:
        linear-gradient(
            180deg,
            rgba(11, 3, 16, 0.92),
            rgba(17, 5, 24, 0.78)
        );
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.navbar-container {
    width: min(1480px, calc(100% - 20px));
    margin: 0 auto;
    min-height: 86px;
    padding: 10px 12px;

    display: flex;
    align-items: center;
    gap: 14px;

    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px;

    background:
        radial-gradient(
            circle at 15% 0%,
            rgba(0,255,135,0.10),
            transparent 28%
        ),
        radial-gradient(
            circle at 90% 100%,
            rgba(139,56,255,0.12),
            transparent 30%
        ),
        rgba(28, 12, 42, 0.58);

    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);

    box-shadow:
        0 18px 50px rgba(0,0,0,0.28),
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 0 0 1px rgba(110,48,180,0.05);
}

.brand {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 4px;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    min-width: 0;
}

.main-navigation > .nav-item {
    min-width: 66px;
    height: 60px;
    padding: 7px 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 15px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.055),
            rgba(255,255,255,0.018)
        );

    color: rgba(255,255,255,0.78);
    text-decoration: none;
    text-align: center;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05);

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease,
        color .2s ease,
        box-shadow .2s ease;
}

.main-navigation > .nav-item:hover {
    transform: translateY(-2px);

    color: #fff;
    border-color: rgba(0,255,135,0.28);

    background:
        radial-gradient(
            circle at top,
            rgba(0,255,135,0.11),
            transparent 70%
        ),
        rgba(255,255,255,0.055);

    box-shadow:
        0 10px 24px rgba(0,0,0,0.18),
        0 0 18px rgba(0,255,135,0.05),
        inset 0 1px 0 rgba(255,255,255,0.07);
}

.nav-item-icon {
    display: grid;
    place-items: center;
    min-height: 20px;

    color: #d9d3e5;
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1;
}

.nav-item-text {
    font-size: 0.69rem;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
}

.nav-item-wide {
    min-width: 96px !important;
}

.live-matchday-nav-link {
    border-color: rgba(255,49,88,0.20) !important;

    background:
        linear-gradient(
            180deg,
            rgba(255,49,88,0.09),
            rgba(255,49,88,0.025)
        ) !important;
}

.live-matchday-nav-link:hover {
    border-color: rgba(255,49,88,0.42) !important;
}

.nav-live-icon {
    min-height: 20px;
}

.live-matchday-nav-dot {
    width: 10px;
    height: 10px;
    margin: 0;

    border-radius: 50%;

    background: #ff3158;

    box-shadow:
        0 0 0 4px rgba(255,49,88,0.10),
        0 0 14px rgba(255,49,88,0.55);
}

.notification-menu {
    flex: 0 0 auto;
}

.notification-bell-button {
    width: 56px;
    height: 60px;
    padding: 0;

    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 15px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.06),
            rgba(255,255,255,0.02)
        );

    color: #fff;
    font-size: 1.15rem;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05);

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.notification-bell-button:hover {
    transform: translateY(-2px);
    border-color: rgba(0,255,135,0.30);
    background: rgba(0,255,135,0.08);
}

.main-navigation > a[href*="admin_dashboard"] {
    min-height: 60px;
    padding: 0 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(0,255,135,0.24);
    border-radius: 15px;

    background:
        linear-gradient(
            180deg,
            rgba(0,255,135,0.09),
            rgba(0,255,135,0.025)
        );

    color: #dcffed;
    font-size: 0.74rem;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.main-navigation > a[href*="admin_dashboard"]:hover {
    transform: translateY(-2px);
    border-color: rgba(0,255,135,0.45);
    background: rgba(0,255,135,0.12);
}

.logout-form {
    margin: 0;
}

.navigation-logout-button {
    min-height: 60px;
    padding: 0 14px;

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 15px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.05),
            rgba(255,255,255,0.02)
        );

    color: rgba(255,255,255,0.78);
    font-size: 0.74rem;
    font-weight: 900;
    white-space: nowrap;
    cursor: pointer;

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease,
        color .2s ease;
}

.navigation-logout-button:hover {
    transform: translateY(-2px);
    color: #fff;
    border-color: rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.07);
}


/* 1366–1600px között mindenképp férjen el */

@media (max-width: 1500px) {
    .navbar {
        padding-left: 8px;
        padding-right: 8px;
    }

    .navbar-container {
        width: calc(100% - 6px);
        gap: 8px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .main-navigation {
        gap: 4px;
    }

    .main-navigation > .nav-item {
        min-width: 58px;
        height: 56px;
        padding: 6px 7px;
    }

    .nav-item-wide {
        min-width: 86px !important;
    }

    .nav-item-text {
        font-size: 0.63rem;
    }

    .nav-item-icon {
        font-size: 0.98rem;
    }

    .notification-bell-button {
        width: 50px;
        height: 56px;
    }

    .main-navigation > a[href*="admin_dashboard"],
    .navigation-logout-button {
        min-height: 56px;
        padding-left: 10px;
        padding-right: 10px;
        font-size: 0.67rem;
    }
}


/* mobil/tablet maradjon a hamburgeres rendszerrel */

@media (max-width: 900px) {
    .navbar-container {
        min-height: 70px;
        border-radius: 18px;
    }

    .main-navigation {
        gap: 8px;
    }

    .main-navigation > .nav-item {
        width: 100%;
        height: auto;
        min-height: 48px;

        flex-direction: row;
        justify-content: flex-start;

        padding: 0 14px;
    }

    .nav-item-wide {
        min-width: 0 !important;
    }

    .nav-item-text {
        font-size: 0.82rem;
    }

    .notification-bell-button,
    .main-navigation > a[href*="admin_dashboard"],
    .navigation-logout-button {
        width: 100%;
        min-height: 48px;
    }
}

/* ===========================
   GLASS NAV FINISH
=========================== */

.navbar {
    background: rgba(10, 4, 16, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.navbar-container {
    position: relative;
    min-height: 74px;
    padding: 8px 10px;

    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.018)
        ),
        rgba(24, 10, 36, 0.56);

    backdrop-filter: blur(24px) saturate(145%);
    -webkit-backdrop-filter: blur(24px) saturate(145%);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 28px rgba(111, 45, 180, 0.05);
}

.navbar-container::after {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: -1px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(0, 255, 135, 0.22),
            rgba(161, 72, 255, 0.18),
            transparent
        );
}

.main-navigation {
    gap: 5px;
}

.main-navigation > .nav-item {
    min-width: 62px;
    height: 54px;
    padding: 6px 9px;

    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.07);

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.05),
            rgba(255, 255, 255, 0.015)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05);

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}

.main-navigation > .nav-item:hover {
    transform: translateY(-2px);

    border-color: rgba(0, 255, 135, 0.28);

    background:
        radial-gradient(
            circle at top,
            rgba(0, 255, 135, 0.10),
            transparent 70%
        ),
        rgba(255, 255, 255, 0.04);

    box-shadow:
        0 10px 22px rgba(0, 0, 0, 0.20),
        0 0 18px rgba(0, 255, 135, 0.06);
}

.nav-item-icon {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    color: rgba(255, 255, 255, 0.82);
}

.nav-item-text {
    font-size: 0.66rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.78);
}

.main-navigation > .nav-item:hover .nav-item-icon,
.main-navigation > .nav-item:hover .nav-item-text {
    color: #ffffff;
}

.live-matchday-nav-link {
    border-color: rgba(255, 49, 88, 0.22) !important;
    background: rgba(255, 49, 88, 0.06) !important;
}

.nav-live-wrapper {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
}

.live-matchday-nav-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #ff3158;
    box-shadow:
        0 0 0 4px rgba(255, 49, 88, 0.09),
        0 0 12px rgba(255, 49, 88, 0.52);
}

.notification-bell-button {
    width: 50px;
    height: 54px;
    border-radius: 14px;
}

.main-navigation > a[href*="admin_dashboard"] {
    min-height: 54px;
    padding: 0 12px;

    border-radius: 14px;
    border: 1px solid rgba(0, 255, 135, 0.24);

    background:
        linear-gradient(
            180deg,
            rgba(0, 255, 135, 0.10),
            rgba(0, 255, 135, 0.025)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 18px rgba(0, 255, 135, 0.04);
}

.navigation-logout-button {
    min-height: 54px;
    padding: 0 12px;
    border-radius: 14px;
}

@media (max-width: 1450px) {
    .brand-main,
    .brand-highlight {
        font-size: 0.95em;
    }

    .main-navigation {
        gap: 3px;
    }

    .main-navigation > .nav-item {
        min-width: 56px;
        padding-left: 7px;
        padding-right: 7px;
    }

    .nav-item-wide {
        min-width: 78px !important;
    }

    .nav-item-text {
        font-size: 0.60rem;
    }

    .main-navigation > a[href*="admin_dashboard"],
    .navigation-logout-button {
        padding-left: 9px;
        padding-right: 9px;
        font-size: 0.64rem;
    }
}

/* ===========================
   NAVBAR FINAL POLISH
=========================== */

.navbar-container {
    border-color: rgba(255,255,255,0.14);

    box-shadow:
        0 20px 50px rgba(0,0,0,0.30),
        inset 0 1px 0 rgba(255,255,255,0.09),
        0 0 30px rgba(126, 57, 180, 0.08);
}

.main-navigation {
    gap: 6px;
}

.main-navigation > a[href*="admin_dashboard"],
.navigation-logout-button {
    height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.05),
            rgba(255,255,255,0.015)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05);

    color: rgba(255,255,255,0.78);
}

.main-navigation > a[href*="admin_dashboard"] {
    border-color: rgba(0,255,135,0.22);

    background:
        linear-gradient(
            180deg,
            rgba(0,255,135,0.09),
            rgba(0,255,135,0.025)
        );

    color: #d7ffeb;
}

.main-navigation > a[href*="admin_dashboard"]:hover {
    border-color: rgba(0,255,135,0.42);

    background:
        rgba(0,255,135,0.12);

    box-shadow:
        0 10px 24px rgba(0,0,0,0.20),
        0 0 20px rgba(0,255,135,0.08);
}

.navigation-logout-button:hover {
    border-color: rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.07);
}

.main-navigation > .nav-item:hover {
    border-color: rgba(0,255,135,0.34);

    box-shadow:
        0 10px 24px rgba(0,0,0,0.20),
        0 0 20px rgba(0,255,135,0.07);
}

.main-navigation > .nav-item:hover .nav-item-icon {
    color: #5cffb0;
}

.main-navigation > .nav-item:hover .nav-item-text {
    color: #ffffff;
}

/* NAVBAR WIDTH FINAL FIX */

.main-navigation > a[href*="admin_dashboard"] {
    width: auto !important;
    min-width: 0 !important;
    padding: 0 14px !important;
}

.navigation-logout-button {
    width: auto !important;
    min-width: 0 !important;
    padding: 0 14px !important;
}

.logout-form {
    width: auto !important;
    flex: 0 0 auto;
}

.main-navigation {
    flex: 1;
    justify-content: flex-end;
}

.navbar-container {
    overflow: visible;
}

/* KIJELENTKEZETT NAV SZÉLESÍTÉS */

.main-navigation:has(.navigation-register-button) {
    flex: 1;
    justify-content: flex-end;
    gap: 10px;
}

.main-navigation:has(.navigation-register-button) > .nav-item {
    min-width: 130px;
    height: 60px;
    padding: 8px 16px;
}

.main-navigation:has(.navigation-register-button) .nav-item-icon {
    width: 22px;
    height: 22px;
}

.main-navigation:has(.navigation-register-button) .nav-item-text {
    font-size: 0.74rem;
}

.main-navigation:has(.navigation-register-button) .navigation-register-button {
    min-width: 140px;
    border-color: rgba(0,255,135,0.24);

    background:
        linear-gradient(
            180deg,
            rgba(0,255,135,0.10),
            rgba(0,255,135,0.025)
        );
}

.main-navigation:has(.navigation-register-button) .navigation-register-button:hover {
    border-color: rgba(0,255,135,0.42);
    background: rgba(0,255,135,0.12);
}

/* ===========================
   NAVBAR DESKTOP SIZE FIX
=========================== */

@media (min-width: 901px) {

    /* Normál menüpontok */
    .main-navigation > .nav-item {
        min-width: 76px;
        padding-left: 8px;
        padding-right: 8px;
    }

    /* Hosszabb szövegű menüpontok */
    .main-navigation > .nav-item-wide {
        min-width: 112px !important;
    }

    .main-navigation > a[href*="achievements"] {
        min-width: 104px !important;
    }

    /* Szövegek */
    .nav-item-text {
        font-size: 0.66rem;
        white-space: nowrap;
    }

    /* Kijelentkezés */
    .navigation-logout-button {
        min-width: 126px !important;
        padding: 0 14px !important;
        font-size: 0.76rem !important;
    }

    /* App telepítése legyen kompaktabb */
    .pwa-nav-install {
        width: auto !important;
        min-width: 132px !important;
        max-width: 150px !important;
        padding: 0 13px !important;
        font-size: 0.76rem !important;
        white-space: nowrap;
    }

    /* Kicsit kisebb hézagok, hogy minden kiférjen */
    .main-navigation {
        gap: 5px;
    }
}

.main-navigation > a[href*="achievements"] {
    min-width: 118px !important;
}

/* Achievementek felirat fix */
.main-navigation > a[href*="achievements"] .nav-item-text {
    font-size: 0.58rem !important;
    letter-spacing: -0.2px;
}

/* Achievementek szélesség fix */
.main-navigation > .nav-achievements {
    min-width: 125px !important;
    width: 125px !important;
    flex: 0 0 125px !important;
}

.main-navigation > .nav-achievements .nav-item-text {
    font-size: 0.66rem !important;
    white-space: nowrap !important;
    overflow: visible !important;
}

/* Achievementek szélesség fix */
.main-navigation > .nav-achievements {
    min-width: 125px !important;
    width: 125px !important;
    flex: 0 0 125px !important;
}

.main-navigation > .nav-achievements .nav-item-text {
    font-size: 0.66rem !important;
    white-space: nowrap !important;
    overflow: visible !important;
}

/* Kompakt Admin gomb */
.main-navigation > .admin-nav-button {
    width: 64px !important;
    min-width: 64px !important;
    height: 54px !important;
    padding: 0 !important;
    flex: 0 0 64px !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(0, 255, 135, 0.24) !important;
    border-radius: 14px;
    background: linear-gradient(
        180deg,
        rgba(0, 255, 135, 0.10),
        rgba(0, 255, 135, 0.025)
    ) !important;

    color: #5cffb0 !important;
}

.main-navigation > .admin-nav-button svg {
    width: 22px;
    height: 22px;
}

.main-navigation > .admin-nav-button:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 255, 135, 0.45) !important;
    background: rgba(0, 255, 135, 0.12) !important;
}

/* Logo és menü közti távolság */
.brand {
    margin-right: 18px !important;
}

.main-navigation {
    margin-left: 0 !important;
}

/* Brand kompaktabb, hogy biztosan elférjen a teljes navbar */
@media (min-width: 901px) {
    .brand {
        margin-right: 12px !important;
        flex-shrink: 0;
    }

    .brand-text {
        font-size: 0.92em;
    }

    .brand-icon {
        transform: scale(0.92);
    }
}

/* BRAND / FŐOLDAL ÁTFEDÉS VÉGLEGES FIX */

@media (min-width: 901px) {
    .brand {
        min-width: 290px !important;
        width: 290px !important;
        flex: 0 0 290px !important;
        margin-right: 10px !important;
    }

    .brand-text {
        font-size: 1em !important;
    }

    .brand-icon {
        transform: none !important;
    }

    .main-navigation {
        margin-left: 0 !important;
        min-width: 0;
    }
}

/* ===========================
   NAVBAR DESKTOP FIT FIX
=========================== */

@media (min-width: 901px) {

    .navbar-container {
        width: calc(100% - 12px) !important;
        max-width: none !important;
        padding: 8px 10px !important;
        gap: 8px !important;
    }

    .brand {
        width: auto !important;
        min-width: 0 !important;
        flex: 0 0 auto !important;
        margin-right: 8px !important;
    }

    .brand-icon {
        flex: 0 0 auto;
    }

    .brand-text {
        white-space: nowrap;
        font-size: 0.92em !important;
    }

    .main-navigation {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        gap: 4px !important;
        justify-content: flex-end !important;
    }

    .main-navigation > .nav-item {
        flex: 0 1 auto !important;
        width: auto !important;
        min-width: 62px !important;
        height: 54px !important;
        padding: 6px 8px !important;
    }

    .main-navigation > .nav-item-wide {
        min-width: 105px !important;
    }

    .main-navigation > .nav-achievements {
        width: auto !important;
        min-width: 116px !important;
        flex: 0 1 auto !important;
    }

    .nav-item-text {
        font-size: 0.63rem !important;
        white-space: nowrap !important;
        overflow: visible !important;
    }

    .main-navigation > .nav-achievements .nav-item-text {
        font-size: 0.61rem !important;
    }

    .notification-bell-button {
        width: 54px !important;
        height: 54px !important;
        flex: 0 0 54px !important;
    }

    .main-navigation > .admin-nav-button {
        width: 58px !important;
        min-width: 58px !important;
        height: 54px !important;
        flex: 0 0 58px !important;
        padding: 0 !important;
    }

    .logout-form {
        flex: 0 0 auto !important;
        width: auto !important;
    }

    .navigation-logout-button {
        width: auto !important;
        min-width: 122px !important;
        height: 54px !important;
        padding: 0 12px !important;
        font-size: 0.72rem !important;
    }

    .pwa-nav-install {
        width: auto !important;
        min-width: 110px !important;
        max-width: 125px !important;
        height: 54px !important;
        padding: 0 10px !important;
        font-size: 0.70rem !important;
    }
}

/* HOME OLDALI MINTA MECCS LOGÓK */

.team-logo-box {
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.example-team-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

/* Tipp mentése szöveg ne legyen széthúzva */
.example-save-button {
    letter-spacing: 0 !important;
    word-spacing: normal !important;
    text-transform: none !important;
    font-weight: 800;
}

/* ===========================
   HOME MATCH CARD LAYOUT FIX
=========================== */

.hero-card-main {
    display: flex !important;
    flex-direction: column !important;
}

.example-match {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    gap: 28px !important;
}

/* Csapatok */
.example-team {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
}

.team-logo-box {
    width: 88px !important;
    height: 88px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 24px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.example-team-logo {
    width: 68px !important;
    height: 68px !important;
    object-fit: contain !important;
}

.example-team strong {
    font-size: 1.15rem !important;
    white-space: nowrap !important;
}

/* 2 : 1 */
.example-score {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
}

.example-score input {
    width: 76px !important;
    height: 80px !important;
}

/* Tipp mentése újra teljes szélességben */
.example-save-button {
    width: 100% !important;
    min-height: 72px !important;
    margin-top: 24px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 20px !important;

    letter-spacing: 0 !important;
    word-spacing: 0 !important;
    white-space: nowrap !important;

    font-size: 1.05rem !important;
    font-weight: 800 !important;
}

/* Alsó információk */
.hero-card-footer {
    width: 100% !important;
    margin-top: 18px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
}

.hero-card-footer span {
    white-space: nowrap !important;
}

/* ===========================
   HOME HERO CARD FINAL FIX
=========================== */

.hero-card-main {
    display: block !important;
}

.example-match {
    width: 100% !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    gap: 24px !important;
}

.example-save-button {
    display: flex !important;
    position: static !important;
    float: none !important;

    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;

    margin: 24px 0 0 0 !important;

    min-height: 72px !important;

    align-items: center !important;
    justify-content: center !important;

    font-size: 1.05rem !important;
    font-weight: 800 !important;

    letter-spacing: 0 !important;
    word-spacing: normal !important;
    white-space: nowrap !important;
}

.hero-card-footer {
    display: flex !important;
    position: static !important;
    float: none !important;

    width: 100% !important;
    box-sizing: border-box !important;

    margin-top: 18px !important;

    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
}

/* ===========================
   HOME HERO CARD TELJES LÁTHATÓSÁG
=========================== */

.hero-visual {
    width: 100% !important;
    max-width: 760px !important;
    min-width: 0 !important;
    overflow: visible !important;
    display: flex !important;
    justify-content: center !important;
}

.hero-card-main {
    width: 100% !important;
    max-width: 720px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    overflow: visible !important;
}

.example-match {
    width: 100% !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    gap: 24px !important;
}

.example-team {
    min-width: 0 !important;
}

.example-team-logo {
    max-width: 70px !important;
    max-height: 70px !important;
    object-fit: contain !important;
}

.example-save-button {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    margin-top: 24px !important;
}

.hero-card-footer {
    width: 100% !important;
    box-sizing: border-box !important;
}


/* ===========================
   DESKTOP NAV FINAL SPACING
=========================== */

@media (min-width: 901px) {

    /* GerzsonTipp és Főoldal között biztos hely */
    .brand {
        flex: 0 0 235px !important;
        width: 235px !important;
        min-width: 235px !important;
        margin-right: 8px !important;
    }

    .brand-text {
        white-space: nowrap !important;
        font-size: 0.88em !important;
    }

    /* App telepítése kompakt, kétsoros */
    .pwa-nav-install {
        width: 118px !important;
        min-width: 118px !important;
        max-width: 118px !important;
        height: 64px !important;

        padding: 6px 8px !important;

        white-space: normal !important;
        text-align: center !important;
        line-height: 1.15 !important;

        font-size: 0 !important;
    }

    .pwa-nav-install span {
        font-size: 0.85rem !important;
        margin-right: 4px;
    }

    .pwa-nav-install::after {
        content: "App\A letöltése";
        white-space: pre-line;

        font-size: 0.68rem;
        font-weight: 800;
        line-height: 1.15;
    }
}

/* ==================================================
   GERZSONTIPP MOBILE FINAL FIX
   Menü + kezdőoldali meccskártya
================================================== */

@media (max-width: 900px) {

    /* =========================
       MOBIL FEJLÉC
    ========================= */

    .navbar {
        padding: 8px !important;
    }

    .navbar-container {
        width: 100% !important;
        min-height: 72px !important;
        padding: 8px 12px !important;
        box-sizing: border-box !important;

        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;

        position: relative !important;
    }

    .brand {
        width: auto !important;
        min-width: 0 !important;
        flex: 0 1 auto !important;
        margin: 0 !important;
    }

    .brand-text {
        font-size: 0.86em !important;
        white-space: nowrap !important;
    }


    /* =========================
       HAMBURGER GOMB
    ========================= */

    .mobile-menu-button {
        display: flex !important;

        width: 52px !important;
        height: 52px !important;

        padding: 0 !important;
        margin-left: auto !important;

        flex: 0 0 52px !important;

        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;

        gap: 5px !important;

        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        border-radius: 14px !important;

        background: rgba(255, 255, 255, 0.04) !important;

        position: relative !important;
        z-index: 20002 !important;

        cursor: pointer !important;
    }

    .mobile-menu-button span {
        display: block !important;

        width: 23px !important;
        height: 2px !important;

        margin: 0 !important;
        padding: 0 !important;

        border-radius: 999px !important;

        background: #ffffff !important;

        opacity: 1 !important;
        visibility: visible !important;

        transition:
            transform 0.2s ease,
            opacity 0.2s ease !important;
    }

    .mobile-menu-button.menu-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg) !important;
    }

    .mobile-menu-button.menu-open span:nth-child(2) {
        opacity: 0 !important;
    }

    .mobile-menu-button.menu-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg) !important;
    }


    /* =========================
       MOBIL MENÜ
    ========================= */

    .main-navigation {
        display: none !important;

        position: absolute !important;
        top: calc(100% + 8px) !important;
        left: 0 !important;
        right: 0 !important;

        width: 100% !important;

        max-height: calc(100vh - 110px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;

        padding: 12px !important;
        box-sizing: border-box !important;

        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;

        gap: 8px !important;

        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        border-radius: 18px !important;

        background: rgba(18, 5, 28, 0.98) !important;

        backdrop-filter: blur(24px) !important;
        -webkit-backdrop-filter: blur(24px) !important;

        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55) !important;

        z-index: 20001 !important;
    }

    .main-navigation.navigation-open {
        display: flex !important;
    }

    .main-navigation > .nav-item,
    .main-navigation > .nav-achievements {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;

        height: 52px !important;

        flex: 0 0 52px !important;
        flex-direction: row !important;

        align-items: center !important;
        justify-content: flex-start !important;

        gap: 12px !important;

        padding: 0 16px !important;
        box-sizing: border-box !important;
    }

    .main-navigation .nav-item-icon {
        width: 20px !important;
        height: 20px !important;
        flex: 0 0 20px !important;
    }

    .main-navigation .nav-item-text {
        font-size: 0.82rem !important;
        white-space: nowrap !important;
    }

    .notification-menu,
    .logout-form {
        width: 100% !important;
    }

    .notification-bell-button,
    .navigation-logout-button,
    .main-navigation > .admin-nav-button,
    .pwa-nav-install {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;

        height: 52px !important;

        box-sizing: border-box !important;
    }


    /* =========================
       HOME JOBB OLDALI RÉSZ
    ========================= */

    .hero-visual {
        width: 100% !important;
        max-width: none !important;

        display: flex !important;
        flex-direction: column !important;

        gap: 14px !important;

        position: relative !important;

        overflow: visible !important;
    }


    /* =========================
       MECCSKÁRTYA
    ========================= */

    .hero-card-main {
        width: calc(100% - 32px) !important;
        max-width: none !important;

        margin: 0 auto !important;
        padding: 24px 18px !important;

        box-sizing: border-box !important;

        position: relative !important;
        inset: auto !important;

        transform: none !important;

        overflow: hidden !important;
    }

    .hero-card-header {
        width: 100% !important;

        display: flex !important;
        align-items: flex-start !important;
        justify-content: space-between !important;

        gap: 10px !important;
    }

    .hero-card-header h2 {
        font-size: 1.65rem !important;
        margin-top: 8px !important;
    }

    .live-badge {
        flex: 0 0 auto !important;
    }


    /* =========================
       LIVERPOOL 2 : 1 ARSENAL
    ========================= */

    .example-match {
        width: 100% !important;

        margin-top: 24px !important;
        padding: 22px 10px !important;

        box-sizing: border-box !important;

        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;

        align-items: center !important;

        gap: 8px !important;

        overflow: hidden !important;
    }

    .example-team {
        width: 100% !important;
        min-width: 0 !important;

        display: flex !important;
        flex-direction: column !important;

        align-items: center !important;
        justify-content: center !important;

        gap: 10px !important;
    }

    .team-logo-box {
        width: 72px !important;
        height: 72px !important;

        min-width: 72px !important;

        border-radius: 20px !important;
    }

    .example-team-logo {
        width: 58px !important;
        height: 58px !important;

        max-width: 58px !important;
        max-height: 58px !important;

        object-fit: contain !important;
    }

    .example-team strong {
        width: 100% !important;

        font-size: 0.9rem !important;

        text-align: center !important;

        white-space: nowrap !important;
    }


    /* 2 : 1 */

    .example-score {
        display: flex !important;

        align-items: center !important;
        justify-content: center !important;

        gap: 5px !important;
    }

    .example-score input {
        width: 48px !important;
        min-width: 48px !important;

        height: 58px !important;

        padding: 0 !important;

        box-sizing: border-box !important;

        font-size: 1.25rem !important;
        text-align: center !important;
    }

    .example-score span {
        font-size: 1.1rem !important;
    }


    /* =========================
       TIPP MENTÉSE
    ========================= */

    .example-save-button {
        position: static !important;

        width: 100% !important;
        max-width: none !important;

        min-height: 64px !important;
        height: 64px !important;

        margin: 18px 0 0 !important;
        padding: 0 14px !important;

        box-sizing: border-box !important;

        display: flex !important;

        align-items: center !important;
        justify-content: center !important;

        border-radius: 18px !important;

        font-size: 1rem !important;

        line-height: 1 !important;

        letter-spacing: 0 !important;
        word-spacing: normal !important;

        white-space: nowrap !important;

        float: none !important;

        transform: none !important;
    }


    /* =========================
       KÁRTYA ALSÓ SOR
    ========================= */

    .hero-card-footer {
        width: 100% !important;

        margin-top: 16px !important;

        display: flex !important;
        flex-direction: column !important;

        align-items: flex-start !important;
        justify-content: flex-start !important;

        gap: 8px !important;

        box-sizing: border-box !important;
    }

    .hero-card-footer span {
        white-space: normal !important;
        font-size: 0.76rem !important;
    }


    /* =========================
       +5 / VERSENYEZZ KÁRTYÁK
       Ne lógjanak rá a meccsre
    ========================= */

    .floating-card,
    .floating-card-ranking,
    .floating-card-points {
        position: static !important;

        inset: auto !important;

        transform: none !important;

        width: calc(100% - 32px) !important;
        max-width: none !important;

        margin: 0 auto !important;

        box-sizing: border-box !important;
    }
}

/* ==========================================
   MOBILE HERO FLOATING CARDS + CLICK FIX
========================================== */

@media (max-width: 900px) {

    /* MOBIL MENÜ KATTINTHATÓSÁG */
    .main-navigation,
    .main-navigation.navigation-open {
        pointer-events: auto !important;
    }

    .main-navigation a,
    .main-navigation button,
    .main-navigation form {
        pointer-events: auto !important;
        position: relative !important;
        z-index: 20005 !important;
    }

    .main-navigation > .nav-item {
        cursor: pointer !important;
    }


    /* HERO TERÜLET */
    .hero-visual {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        overflow: visible !important;

        /* kell hely az alsó lebegő kártyának */
        margin-bottom: 75px !important;
    }

    .hero-card-main {
        position: relative !important;
        z-index: 1 !important;
    }


    /* VERSENYEZZ KÁRTYA - RÁÜL A NAGY KÁRTYÁRA */
    .floating-card-ranking {
        position: absolute !important;

        top: -22px !important;
        right: 12px !important;
        left: auto !important;
        bottom: auto !important;

        width: 185px !important;
        max-width: 185px !important;

        margin: 0 !important;
        padding: 14px !important;

        transform: none !important;

        z-index: 5 !important;
    }


    /* +5 KÁRTYA - BAL ALSÓ SAROKBAN LÓG KI */
    .floating-card-points {
        position: absolute !important;

        left: 12px !important;
        right: auto !important;
        top: auto !important;
        bottom: -58px !important;

        width: 190px !important;
        max-width: 190px !important;

        margin: 0 !important;
        padding: 14px !important;

        transform: none !important;

        z-index: 5 !important;
    }

    .floating-card-ranking .floating-card-icon,
    .floating-card-points .floating-card-icon {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px !important;
    }

    .floating-card-ranking small,
    .floating-card-points small {
        font-size: 0.64rem !important;
    }

    .floating-card-ranking strong,
    .floating-card-points strong {
        font-size: 0.86rem !important;
    }
}

/* ==========================================
   MOBILE FLOATING CARDS - COMPACT FINAL
========================================== */

@media (max-width: 900px) {

    .hero-visual {
        position: relative !important;
        margin-top: 42px !important;
        margin-bottom: 55px !important;
        overflow: visible !important;
    }

    .hero-card-main {
        position: relative !important;
        z-index: 1 !important;
        overflow: visible !important;
    }

    /* Felső kis kártya */
    .floating-card-ranking {
        position: absolute !important;

        top: -34px !important;
        right: 24px !important;

        width: 142px !important;
        max-width: 142px !important;
        min-height: 82px !important;

        padding: 10px 12px !important;
        margin: 0 !important;

        display: flex !important;
        align-items: center !important;
        gap: 8px !important;

        border-radius: 18px !important;

        z-index: 5 !important;
    }

    /* Alsó +5 kártya */
    .floating-card-points {
        position: absolute !important;

        left: 24px !important;
        bottom: -38px !important;

        width: 150px !important;
        max-width: 150px !important;
        min-height: 82px !important;

        padding: 10px 12px !important;
        margin: 0 !important;

        display: flex !important;
        align-items: center !important;
        gap: 8px !important;

        border-radius: 18px !important;

        z-index: 5 !important;
    }

    .floating-card-ranking .floating-card-icon,
    .floating-card-points .floating-card-icon {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;

        font-size: 1rem !important;
        border-radius: 13px !important;
    }

    .floating-card-ranking small,
    .floating-card-points small {
        font-size: 0.52rem !important;
        line-height: 1.1 !important;
    }

    .floating-card-ranking strong,
    .floating-card-points strong {
        font-size: 0.69rem !important;
        line-height: 1.15 !important;
    }

    .floating-card-ranking span:not(.floating-card-icon) {
        font-size: 0.60rem !important;
    }
}

/* =====================================================
   GERZSONTIPP MOBILE FINAL LAYOUT
===================================================== */

@media (max-width: 900px) {

    /* =====================================
       FEJLÉC - FIX HELYEN, KÖZÉPEN A LOGÓ
    ===================================== */

    .navbar {
        position: sticky !important;
        top: 0 !important;
        z-index: 20000 !important;

        width: 100% !important;
        padding: 8px !important;

        background: rgba(12, 3, 19, 0.96) !important;
        backdrop-filter: blur(22px) !important;
        -webkit-backdrop-filter: blur(22px) !important;
    }

    .navbar-container {
        width: 100% !important;
        min-height: 72px !important;

        margin: 0 !important;
        padding: 8px 12px !important;

        box-sizing: border-box !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        position: relative !important;

        border-radius: 22px !important;
    }


    /* GerzsonTipp pontosan középen */

    .brand {
        position: absolute !important;

        left: 50% !important;
        top: 50% !important;

        transform: translate(-50%, -50%) !important;

        width: auto !important;
        min-width: 0 !important;

        margin: 0 !important;

        display: flex !important;
        align-items: center !important;

        white-space: nowrap !important;

        z-index: 2 !important;
    }

    .brand-text {
        font-size: 0.92em !important;
        white-space: nowrap !important;
    }

    .brand-icon {
        flex: 0 0 auto !important;
    }


    /* hamburger marad jobb oldalon */

    .mobile-menu-button {
        display: flex !important;

        position: relative !important;
        margin-left: auto !important;

        width: 54px !important;
        height: 54px !important;

        flex: 0 0 54px !important;

        align-items: center !important;
        justify-content: center !important;
        flex-direction: column !important;

        gap: 6px !important;

        z-index: 10 !important;

        touch-action: manipulation !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    .mobile-menu-button span {
        display: block !important;

        width: 24px !important;
        height: 2px !important;

        background: white !important;
        border-radius: 999px !important;
    }


    /* =====================================
       MENÜ - GYORS KATTINTÁS
    ===================================== */

    .main-navigation {
        display: none !important;

        position: absolute !important;

        top: calc(100% + 8px) !important;
        left: 8px !important;
        right: 8px !important;

        width: auto !important;

        max-height: calc(100vh - 105px) !important;

        overflow-y: auto !important;
        overflow-x: hidden !important;

        flex-direction: column !important;

        padding: 12px !important;
        gap: 8px !important;

        background: rgba(18, 5, 28, 0.99) !important;

        border: 1px solid rgba(255,255,255,.12) !important;
        border-radius: 18px !important;

        z-index: 20001 !important;
    }

    .main-navigation.navigation-open {
        display: flex !important;
    }

    .main-navigation > .nav-item,
    .main-navigation > .nav-achievements {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;

        height: 52px !important;

        padding: 0 16px !important;

        flex: 0 0 52px !important;
        flex-direction: row !important;

        justify-content: flex-start !important;
        align-items: center !important;

        box-sizing: border-box !important;

        touch-action: manipulation !important;
        -webkit-tap-highlight-color: transparent !important;
    }


    /* =====================================
       JOBB OLDALI HERO
    ===================================== */

    .hero-visual {
        width: 100% !important;

        position: relative !important;

        display: block !important;

        margin-top: 25px !important;
        margin-bottom: 30px !important;

        overflow: visible !important;
    }


    /* =====================================
       NAGY MECCSKÁRTYA
    ===================================== */

    .hero-card-main {
        width: calc(100% - 30px) !important;
        max-width: none !important;

        margin: 0 auto !important;

        /*
           plusz hely alul a +5 mini kártyának
        */
        padding:
            28px
            18px
            115px
            18px !important;

        box-sizing: border-box !important;

        position: relative !important;

        overflow: hidden !important;

        z-index: 1 !important;
    }


    /* GerzsonTipp cím */

    .hero-card-header {
        width: 100% !important;

        display: flex !important;
        align-items: flex-start !important;
        justify-content: space-between !important;

        gap: 12px !important;
    }

    .hero-card-header h2 {
        font-size: 1.65rem !important;
    }


    /* =====================================
       FELSŐ KIS VERSENYEZZ BOX
       BELÜL VAN, DE NEM TAKAR SEMMIT
    ===================================== */

    .floating-card-ranking {
        position: absolute !important;

        top: 118px !important;
        right: 28px !important;

        left: auto !important;
        bottom: auto !important;

        width: 132px !important;
        max-width: 132px !important;
        min-height: 72px !important;

        margin: 0 !important;
        padding: 9px 10px !important;

        display: flex !important;
        align-items: center !important;

        gap: 7px !important;

        box-sizing: border-box !important;

        border-radius: 17px !important;

        transform: none !important;

        z-index: 5 !important;
    }

    .floating-card-ranking .floating-card-icon {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;

        font-size: 0.95rem !important;
    }

    .floating-card-ranking small {
        font-size: 0.48rem !important;
    }

    .floating-card-ranking strong {
        font-size: 0.63rem !important;
    }

    .floating-card-ranking span:not(.floating-card-icon) {
        font-size: 0.55rem !important;
    }


    /* hagyunk neki helyet a meccs előtt */

    .example-match {
        margin-top: 115px !important;
    }


    /* =====================================
       ALSÓ +5 BOX
       A NAGY KÁRTYÁN BELÜL
    ===================================== */

    .floating-card-points {
        position: absolute !important;

        left: 30px !important;
        bottom: 18px !important;

        top: auto !important;
        right: auto !important;

        width: 145px !important;
        max-width: 145px !important;
        min-height: 76px !important;

        margin: 0 !important;
        padding: 10px !important;

        box-sizing: border-box !important;

        display: flex !important;
        align-items: center !important;

        gap: 8px !important;

        border-radius: 17px !important;

        transform: none !important;

        z-index: 5 !important;
    }

    .floating-card-points .floating-card-icon {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
    }

    .floating-card-points small {
        font-size: 0.50rem !important;
    }

    .floating-card-points strong {
        font-size: 0.65rem !important;
        line-height: 1.15 !important;
    }


    /* =====================================
       MECCS
    ===================================== */

    .example-match {
        width: 100% !important;

        padding: 22px 10px !important;

        display: grid !important;

        grid-template-columns:
            minmax(0,1fr)
            auto
            minmax(0,1fr) !important;

        align-items: center !important;

        gap: 7px !important;

        box-sizing: border-box !important;
    }

    .team-logo-box {
        width: 68px !important;
        height: 68px !important;

        min-width: 68px !important;
    }

    .example-team-logo {
        width: 56px !important;
        height: 56px !important;

        object-fit: contain !important;
    }

    .example-team strong {
        font-size: 0.88rem !important;
    }

    .example-score {
        gap: 5px !important;
    }

    .example-score input {
        width: 46px !important;
        min-width: 46px !important;

        height: 56px !important;

        padding: 0 !important;

        font-size: 1.2rem !important;
    }


    /* =====================================
       TIPP MENTÉSE
    ===================================== */

    .example-save-button {
        position: static !important;

        width: 100% !important;

        height: 62px !important;
        min-height: 62px !important;

        margin: 18px 0 0 !important;

        display: flex !important;

        align-items: center !important;
        justify-content: center !important;

        transform: none !important;

        touch-action: manipulation !important;
    }


    /* alsó infók ne legyenek eltakarva */

    .hero-card-footer {
        width: 100% !important;

        margin-top: 16px !important;

        display: flex !important;
        flex-direction: column !important;

        gap: 7px !important;

        padding-bottom: 4px !important;

        box-sizing: border-box !important;
    }

    .hero-card-footer span {
        font-size: 0.74rem !important;
        white-space: normal !important;
    }
}

/* ==========================================
   MOBILE ALSÓ FLOATING CARD - FINAL
========================================== */

@media (max-width: 900px) {

    .hero-visual {
        position: relative !important;
        overflow: visible !important;
        margin-bottom: 75px !important;
    }

    .hero-card-main {
        overflow: visible !important;

        /* nem kell bent helyet hagyni a +5 boxnak */
        padding-bottom: 28px !important;
    }

    .floating-card-points {
        position: absolute !important;

        left: 28px !important;
        bottom: -42px !important;

        top: auto !important;
        right: auto !important;

        width: 145px !important;
        max-width: 145px !important;
        min-height: 74px !important;

        margin: 0 !important;
        padding: 10px 11px !important;

        display: flex !important;
        align-items: center !important;
        gap: 8px !important;

        box-sizing: border-box !important;

        border-radius: 18px !important;

        transform: none !important;

        z-index: 10 !important;
    }

    .floating-card-points .floating-card-icon {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;

        font-size: 0.9rem !important;
    }

    .floating-card-points small {
        font-size: 0.49rem !important;
        line-height: 1.1 !important;
    }

    .floating-card-points strong {
        font-size: 0.64rem !important;
        line-height: 1.15 !important;
    }

    /* alsó szöveg maradjon a floating box fölött */
    .hero-card-footer {
        padding-bottom: 12px !important;
    }
}  

/* =====================================================
   MOBILE HERO – DESKTOP ELRENDEZÉS KICSIBEN
===================================================== */

@media (max-width: 900px) {

    .hero-visual {
        position: relative !important;
        width: 100% !important;
        margin-top: 32px !important;
        margin-bottom: 58px !important;
        overflow: visible !important;
    }

    .hero-card-main {
        position: relative !important;

        width: calc(100% - 30px) !important;
        max-width: none !important;

        margin: 0 auto !important;
        padding: 28px 18px 26px !important;

        box-sizing: border-box !important;

        overflow: visible !important;

        z-index: 1 !important;
    }


    /* ---------- FELSŐ JOBB FLOATING ---------- */

    .floating-card-ranking {
        position: absolute !important;

        top: -30px !important;
        right: 4px !important;

        bottom: auto !important;
        left: auto !important;

        width: 150px !important;
        min-width: 0 !important;
        max-width: 150px !important;
        min-height: 74px !important;

        margin: 0 !important;
        padding: 9px 10px !important;

        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;

        gap: 8px !important;

        box-sizing: border-box !important;

        border-radius: 17px !important;

        transform: none !important;

        z-index: 10 !important;
    }

    .floating-card-ranking .floating-card-icon {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;

        border-radius: 12px !important;

        font-size: 0.95rem !important;
    }

    .floating-card-ranking small {
        font-size: 0.48rem !important;
        line-height: 1.05 !important;
    }

    .floating-card-ranking strong {
        font-size: 0.64rem !important;
        line-height: 1.1 !important;
    }

    .floating-card-ranking span:not(.floating-card-icon) {
        font-size: 0.54rem !important;
        line-height: 1.1 !important;
    }


    /* ---------- ALSÓ BAL FLOATING ---------- */

    .floating-card-points {
        position: absolute !important;

        left: 4px !important;
        bottom: -36px !important;

        right: auto !important;
        top: auto !important;

        width: 158px !important;
        min-width: 0 !important;
        max-width: 158px !important;
        min-height: 76px !important;

        margin: 0 !important;
        padding: 9px 10px !important;

        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;

        gap: 8px !important;

        box-sizing: border-box !important;

        border-radius: 17px !important;

        transform: none !important;

        z-index: 10 !important;
    }

    .floating-card-points .floating-card-icon {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;

        border-radius: 12px !important;

        font-size: 0.9rem !important;
    }

    .floating-card-points small {
        font-size: 0.48rem !important;
        line-height: 1.05 !important;
    }

    .floating-card-points strong {
        font-size: 0.64rem !important;
        line-height: 1.1 !important;
    }


    /* ---------- A KÁRTYA BELSŐ RÉSZE ---------- */

    .hero-card-header {
        min-height: 82px !important;
    }

    .hero-card-header h2 {
        margin-top: 8px !important;
        font-size: 1.65rem !important;
    }

    .example-match {
        margin-top: 18px !important;
    }

    .example-save-button {
        margin-top: 18px !important;
    }

    /*
       Az alsó floating kártya miatt az utolsó szövegek
       jobb oldalra kerülnek, mint desktopon.
    */

    .hero-card-footer {
        min-height: 56px !important;

        padding-left: 172px !important;
        padding-bottom: 0 !important;

        box-sizing: border-box !important;

        justify-content: center !important;
    }

    .hero-card-footer span {
        font-size: 0.66rem !important;
        line-height: 1.2 !important;
    }
}

/* =========================================================
   AKTÍV JÁTÉKOSOK – MODERN KIS STÁTUSZ
   ========================================================= */

.active-users-bar {
    position: relative;
    z-index: 20;
    padding: 8px 0 0;
    background: transparent;
}

.active-users-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.active-users-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    width: fit-content;
    padding: 7px 13px;

    color: rgba(255, 255, 255, 0.88);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;

    background:
        linear-gradient(
            135deg,
            rgba(42, 255, 137, 0.09),
            rgba(143, 44, 255, 0.08)
        );

    border: 1px solid rgba(92, 255, 160, 0.28);
    border-radius: 999px;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.active-users-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;

    background: #58f59a;
    border-radius: 50%;

    box-shadow:
        0 0 0 3px rgba(88, 245, 154, 0.10),
        0 0 10px rgba(88, 245, 154, 0.65);
}

.active-users-pill strong {
    color: #62f6a0;
    font-size: 0.84rem;
    font-weight: 900;
}

/* Mobil */
@media (max-width: 900px) {
    .active-users-bar {
        padding-top: 7px;
    }

    .active-users-pill {
        padding: 7px 11px;
        gap: 6px;
        font-size: 0.76rem;
    }

    .active-users-pill strong {
        font-size: 0.78rem;
    }

    .active-users-dot {
        width: 7px;
        height: 7px;
        flex-basis: 7px;
    }
}

/* =========================================================
   ÉRTESÍTÉSEK – VÉGLEGES, ÁTLÁTHATÓ NAVBAR KIALAKÍTÁS
   ========================================================= */

.notification-menu {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.notification-bell-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.notification-bell-button:hover {
    border-color: rgba(0, 255, 135, 0.42);
    background: rgba(0, 255, 135, 0.09);
}

.notification-button-left,
.notification-button-right {
    display: inline-flex;
    align-items: center;
}

.notification-button-left {
    gap: 11px;
}

.notification-button-right {
    gap: 9px;
}

.notification-button-icon {
    width: 19px;
    height: 19px;
}

.notification-button-text,
.notification-chevron {
    display: none;
}

.notification-count {
    position: absolute;
    top: -7px;
    right: -7px;
    display: grid;
    min-width: 21px;
    height: 21px;
    padding: 0 5px;
    place-items: center;
    border: 2px solid #37003c;
    border-radius: 999px;
    background: #ff3158;
    color: #ffffff;
    font-size: 0.67rem;
    font-weight: 900;
}

.notification-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    z-index: 11000;
    display: none;
    width: min(410px, calc(100vw - 32px));
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    background:
        linear-gradient(
            155deg,
            rgba(39, 13, 49, 0.99),
            rgba(22, 7, 29, 0.99)
        );
    box-shadow: 0 28px 80px rgba(8, 2, 10, 0.52);
}

.notification-dropdown.notification-dropdown-open {
    display: block;
    animation: notification-dropdown-in 0.2s ease both;
}

.notification-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.notification-dropdown-header strong {
    display: block;
    color: #ffffff;
    font-size: 0.98rem;
}

.notification-dropdown-header span {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.72rem;
}

.notification-dropdown-header a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
    color: #00ff87;
    font-size: 0.74rem;
    font-weight: 850;
}

.notification-dropdown-header a svg {
    width: 15px;
    height: 15px;
}

.notification-dropdown-list {
    max-height: 430px;
    overflow-y: auto;
    padding: 8px;
}

.notification-dropdown-item {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
    width: 100%;
    padding: 13px;
    border: 1px solid transparent;
    border-radius: 15px;
    background: transparent;
}

.notification-dropdown-item + .notification-dropdown-item {
    margin-top: 4px;
}

.notification-dropdown-item.notification-unread {
    border-color: rgba(0, 255, 135, 0.16);
    background:
        linear-gradient(
            90deg,
            rgba(0, 255, 135, 0.085),
            rgba(0, 255, 135, 0.025)
        );
    box-shadow: inset 3px 0 0 #00ff87;
}

.notification-dropdown-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.075);
    font-size: 1.25rem;
}

.notification-dropdown-content {
    min-width: 0;
}

.notification-dropdown-content strong {
    display: block;
    overflow-wrap: anywhere;
    color: #ffffff;
    font-size: 0.83rem;
    line-height: 1.35;
}

.notification-dropdown-content p {
    margin: 4px 0 5px;
    overflow-wrap: anywhere;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.73rem;
    line-height: 1.45;
}

.notification-dropdown-content time {
    color: rgba(255, 255, 255, 0.36);
    font-size: 0.65rem;
}

.notification-unread-dot {
    width: 7px;
    height: 7px;
    margin-top: 6px;
    border-radius: 50%;
    background: #00ff87;
    box-shadow: 0 0 9px rgba(0, 255, 135, 0.75);
}

.notification-dropdown-empty {
    padding: 30px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.62);
}

.notification-dropdown-empty > span {
    display: block;
    margin-bottom: 9px;
    font-size: 1.8rem;
}

.notification-dropdown-empty strong {
    display: block;
    color: #ffffff;
    font-size: 0.88rem;
}

.notification-dropdown-empty p {
    margin: 5px 0 0;
    font-size: 0.74rem;
    line-height: 1.45;
}

.notification-dropdown-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 11px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(0, 255, 135, 0.065);
    color: #00ff87;
    font-size: 0.76rem;
    font-weight: 900;
    text-align: center;
}

.notification-dropdown-footer svg {
    width: 15px;
    height: 15px;
}

@media (max-width: 900px) {
    .notification-menu {
        position: static !important;
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .notification-bell-button {
        display: flex !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 52px !important;
        padding: 0 15px !important;
        justify-content: space-between !important;
        border-color: rgba(255, 255, 255, 0.10) !important;
        border-radius: 14px !important;
        background: rgba(255, 255, 255, 0.045) !important;
        box-shadow: none !important;
        box-sizing: border-box !important;
    }

    .notification-bell-button[aria-expanded="true"] {
        border-color: rgba(0, 255, 135, 0.34) !important;
        background:
            linear-gradient(
                90deg,
                rgba(0, 255, 135, 0.11),
                rgba(0, 255, 135, 0.035)
            ) !important;
    }

    .notification-button-left {
        min-width: 0;
    }

    .notification-button-icon {
        width: 18px;
        height: 18px;
        flex: 0 0 18px;
        color: rgba(255, 255, 255, 0.78);
    }

    .notification-button-text {
        display: inline !important;
        color: #ffffff;
        font-size: 0.88rem;
        font-weight: 800;
        line-height: 1;
    }

    .notification-button-right {
        margin-left: auto;
    }

    .notification-count {
        position: static !important;
        display: grid !important;
        min-width: 24px !important;
        height: 24px !important;
        padding: 0 7px !important;
        border: 0 !important;
        border-radius: 999px !important;
        background: #ff3158 !important;
        font-size: 0.68rem !important;
        box-shadow: 0 5px 14px rgba(255, 49, 88, 0.18);
    }

    .notification-chevron {
        display: block !important;
        width: 17px;
        height: 17px;
        color: rgba(255, 255, 255, 0.46);
        transition:
            transform 0.2s ease,
            color 0.2s ease;
    }

    .notification-bell-button[aria-expanded="true"]
    .notification-chevron {
        color: #00ff87;
        transform: rotate(180deg);
    }

    .notification-dropdown {
        position: static !important;
        inset: auto !important;
        display: none !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        max-height: none !important;
        margin: 8px 0 3px !important;
        overflow: hidden !important;
        border: 1px solid rgba(0, 255, 135, 0.14) !important;
        border-radius: 16px !important;
        background:
            linear-gradient(
                155deg,
                rgba(35, 12, 44, 0.98),
                rgba(22, 7, 29, 0.99)
            ) !important;
        box-shadow:
            0 14px 34px rgba(0, 0, 0, 0.20) !important;
        transform: none !important;
        box-sizing: border-box !important;
        z-index: auto !important;
    }

    .notification-dropdown.notification-dropdown-open {
        display: block !important;
        animation: none !important;
    }

    .notification-dropdown-header {
        gap: 10px !important;
        padding: 13px 14px !important;
    }

    .notification-dropdown-header strong {
        font-size: 0.85rem !important;
    }

    .notification-dropdown-header span {
        margin-top: 2px !important;
        font-size: 0.65rem !important;
    }

    .notification-dropdown-header a {
        font-size: 0.67rem !important;
        white-space: nowrap;
    }

    .notification-dropdown-list {
        max-height: 300px !important;
        padding: 7px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        overscroll-behavior: contain;
    }

    .notification-dropdown-item {
        grid-template-columns: 38px minmax(0, 1fr) auto !important;
        gap: 10px !important;
        align-items: start !important;
        padding: 11px !important;
        border-radius: 13px !important;
        box-sizing: border-box !important;
    }

    .notification-dropdown-icon {
        width: 38px !important;
        height: 38px !important;
        border-radius: 11px !important;
        font-size: 1.1rem !important;
    }

    .notification-dropdown-content strong {
        font-size: 0.76rem !important;
        line-height: 1.3 !important;
    }

    .notification-dropdown-content p {
        margin: 3px 0 4px !important;
        font-size: 0.68rem !important;
        line-height: 1.4 !important;
    }

    .notification-dropdown-content time {
        font-size: 0.61rem !important;
    }

    .notification-unread-dot {
        width: 6px !important;
        height: 6px !important;
        margin-top: 5px !important;
    }

    .notification-dropdown-footer {
        min-height: 42px !important;
        padding: 10px 13px !important;
        font-size: 0.69rem !important;
    }

    .notification-dropdown-item:hover {
        transform: none !important;
    }
}
