: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-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;
    }
}