:root {
    --color-primary: gold;
    --color-secondary: #e31e24;
    --color-accent: #4caf50;
    --color-dark: #1a1a1a;
    --color-darker: #0d0d0d;
    --color-light: #fff;
    --color-gray: #9e9e9e;
    --gradient-gold: linear-gradient(135deg,gold,orange);
    --gradient-dark: linear-gradient(135deg,#1a1a1a,#2c2c2c);
    --gradient-red: linear-gradient(135deg,#e31e24,#ff416c);
    --shadow-neon: 0 0 10px #ffd70080,0 0 20px #ffd7004d,0 0 30px #ffd7001a;
    --font-primary: "Poppins",sans-serif;
    --font-display: "Playfair Display",serif;
    --header-height: 80px;
    --border-radius: 12px
}

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

body,html {
    background-color: #0d0d0d;
    background-color: var(--color-darker);
    color: #fff;
    color: var(--color-light);
    font-family: Poppins,sans-serif;
    font-family: var(--font-primary);
    height: 100%;
    line-height: 1.6;
    overflow-x: hidden
}

.container {
    margin: 0 auto;
    max-width: 1400px;
    padding: 0 2rem;
    width: 100%
}

.header {
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    background: #111928bf;
    border-bottom: 1px solid #ffd7001a;
    left: 0;
    position: fixed;
    top: 0;
    transition: all .3s ease;
    width: 100%;
    z-index: 1000
}

.header--scrolled {
    background: #111928e6;
    box-shadow: 0 4px 30px #0000001a
}

.nav {
    height: 80px;
    height: var(--header-height);
    justify-content: space-between;
    padding: 0 1rem
}

.nav,.nav__logo {
    align-items: center;
    display: flex
}

.nav__logo {
    gap: 1rem;
    text-decoration: none
}

.nav__logo img {
    height: 40px;
    width: 40px
}

.nav__logo span {
    color: gold;
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: var(--text-shadow-glow)
}

.nav__menu {
    display: flex;
    gap: 2rem
}

.nav__link {
    align-items: center;
    color: var(--color-text);
    display: flex;
    font-weight: 500;
    gap: .5rem;
    text-decoration: none;
    transition: color .3s ease
}

.nav__link.active,.nav__link:hover {
    color: gold;
    color: var(--color-primary)
}

.nav__icon {
    font-size: 1.2rem
}

.nav__user-area {
    gap: 2rem
}

.nav__balance,.nav__user-area {
    align-items: center;
    display: flex
}

.nav__balance {
    background: #ffd7001a;
    border: 1px solid #ffd70033;
    border-radius: 20px;
    gap: .5rem;
    padding: .5rem 1rem
}

.nav__balance-icon {
    font-size: 1.2rem
}

.nav__balance-amount {
    color: #4caf50;
    color: var(--color-accent);
    font-weight: 600
}

.nav__menu-button {
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    padding: .5rem
}

.nav__menu-button img {
    filter: invert(1);
    height: 24px;
    width: 24px
}

@media (max-width: 992px) {
    .nav__menu {
        background:#111928f2;
        flex-direction: column;
        gap: 1.5rem;
        left: 0;
        opacity: 0;
        padding: 2rem;
        position: fixed;
        top: 80px;
        top: var(--header-height);
        transform: translateY(-100%);
        transition: all .3s ease;
        visibility: hidden;
        width: 100%
    }

    .nav__menu--open {
        opacity: 1;
        transform: translateY(0);
        visibility: visible
    }

    .nav__menu-button {
        display: block
    }
}

@media (max-width: 768px) {
    .nav__balance,.nav__logo span {
        display:none
    }

    .nav__user-area {
        gap: 1rem
    }
}

.hero {
    background: url(/static/media/hero-bg.a810910jssjjs.png) no-repeat 50%;
    background-size: cover;
    min-height: 100vh;
    overflow: hidden;
    padding: calc(80px + 2rem) 0 4rem;
    padding: calc(var(--header-height) + 2rem) 0 4rem;
    position: relative
}

.hero:before {
    background: #0009;
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 0
}

.hero__particles {
    inset: 0;
    pointer-events: none;
    position: absolute
}

.hero__particle {
    animation: float 20s linear infinite;
    background: gold;
    background: var(--color-primary);
    border-radius: 50%;
    height: 4px;
    position: absolute;
    width: 4px
}

.hero__wrapper {
    grid-gap: 4rem;
    align-items: center;
    display: grid;
    gap: 4rem;
    grid-template-columns: 1fr 1fr;
    z-index: 1
}

.hero__content,.hero__wrapper {
    position: relative
}

.hero__jackpot {
    align-items: center;
    background: #ffd7001a;
    border-radius: 12px;
    border-radius: var(--border-radius);
    display: inline-flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem 2rem
}

.hero__jackpot-label {
    color: #9e9e9e;
    color: var(--color-gray);
    font-size: .875rem;
    letter-spacing: 1px;
    text-transform: uppercase
}

.hero__jackpot-amount {
    font-size: 2rem
}

.hero__jackpot-amount,.hero__title {
    color: gold;
    color: var(--color-primary);
    font-family: Playfair Display,serif;
    font-family: var(--font-display);
    text-shadow: 0 0 10px #ffd70080,0 0 20px #ffd7004d,0 0 30px #ffd7001a;
    text-shadow: var(--shadow-neon)
}

.hero__title {
    font-size: clamp(2.5rem,5vw,4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem
}

.hero__title-bottom,.hero__title-top {
    color: #fff;
    color: var(--color-light);
    display: block;
    font-size: .5em;
    text-shadow: none
}

.hero__text {
    color: #9e9e9e;
    color: var(--color-gray);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 600px
}

.hero__cta {
    display: flex;
    gap: 1rem
}

.hero__game-preview {
    margin: 0 auto;
    max-width: 500px;
    position: relative
}

.hero__slot-machine {
    background: linear-gradient(135deg,#1a1a1a,#2c2c2c);
    background: var(--gradient-dark);
    border: 1px solid #ffd70033;
    border-radius: 12px;
    border-radius: var(--border-radius);
    box-shadow: 0 0 10px #ffd70080,0 0 20px #ffd7004d,0 0 30px #ffd7001a;
    box-shadow: var(--shadow-neon);
    margin: 0 auto;
    max-width: 400px;
    padding: 2rem;
    width: 100%
}

.hero__reels {
    grid-gap: 1rem;
    background: #00000080;
    border-radius: 12px;
    border-radius: var(--border-radius);
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3,1fr);
    height: 200px;
    margin-bottom: 2rem;
    padding: 1rem
}

.hero__reel {
    background: #ffffff0d;
    border-radius: 6px;
    border-radius: calc(var(--border-radius)/2);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem
}

.hero__symbol {
    animation: pulse 2s infinite;
    font-size: 2rem;
    text-align: center
}

.hero__spin-button {
    background: linear-gradient(135deg,gold,orange);
    background: var(--gradient-gold);
    border: none;
    border-radius: 12px;
    border-radius: var(--border-radius);
    color: #1a1a1a;
    color: var(--color-dark);
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 1rem;
    transition: all .3s ease;
    width: 100%
}

.hero__spin-button:hover {
    box-shadow: 0 0 10px #ffd70080,0 0 20px #ffd7004d,0 0 30px #ffd7001a;
    box-shadow: var(--shadow-neon);
    transform: translateY(-2px)
}

.hero__features {
    grid-gap: 1.5rem;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2,1fr);
    margin-top: 2rem
}

.feature-card {
    background: #ffffff0d;
    border: 1px solid #ffd7001a;
    border-radius: 12px;
    border-radius: var(--border-radius);
    max-width: 250px;
    padding: 1.5rem;
    transition: all .3s ease
}

.feature-card:hover {
    border-color: gold;
    border-color: var(--color-primary);
    box-shadow: 0 0 10px #ffd70080,0 0 20px #ffd7004d,0 0 30px #ffd7001a;
    box-shadow: var(--shadow-neon);
    transform: translateY(-5px)
}

.feature-card__icon {
    font-size: 2rem;
    height: 50px;
    margin-bottom: .75rem;
    width: 50px
}

.feature-card__title {
    color: gold;
    color: var(--color-primary);
    font-size: 1.125rem;
    margin-bottom: .5rem
}

.feature-card__text {
    color: #9e9e9e;
    color: var(--color-gray);
    font-size: .875rem
}

.button {
    align-items: center;
    border: none;
    border-radius: 12px;
    border-radius: var(--border-radius);
    cursor: pointer;
    display: inline-flex;
    font-size: 1rem;
    font-weight: 600;
    gap: .5rem;
    padding: 1rem 2rem;
    transition: all .3s ease
}

.button--primary {
    background: linear-gradient(135deg,gold,orange);
    background: var(--gradient-gold);
    color: #1a1a1a;
    color: var(--color-dark)
}

.button--secondary {
    background: #ffffff1a;
    border: 1px solid #ffd70033;
    color: #fff;
    color: var(--color-light)
}

.button--glow {
    box-shadow: 0 0 10px #ffd70080,0 0 20px #ffd7004d,0 0 30px #ffd7001a;
    box-shadow: var(--shadow-neon)
}

.button:hover {
    transform: translateY(-2px)
}

.button__icon {
    font-size: 1.25em
}

.hero__decorations {
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute
}

@keyframes float {
    0% {
        opacity: 0;
        transform: translateY(0) rotate(0deg)
    }

    10% {
        opacity: 1
    }

    90% {
        opacity: 1
    }

    to {
        opacity: 0;
        transform: translateY(-100vh) rotate(2turn)
    }
}

@media (max-width: 1200px) {
    .hero__wrapper {
        grid-template-columns:1fr;
        text-align: center
    }

    .hero__content {
        order: 1
    }

    .hero__text {
        margin-left: auto;
        margin-right: auto
    }

    .hero__cta {
        justify-content: center
    }

    .hero__jackpot {
        margin-left: auto;
        margin-right: auto
    }
}

@media (max-width: 992px) {
    .header__balance {
        display:none
    }
}

@media (max-width: 768px) {
    :root {
        --header-height:70px
    }

    .container {
        padding: 0 1rem
    }

    .header__profile {
        display: none
    }

    .nav__item--mobile,.nav__menu-button {
        display: block
    }

    .nav__list {
        gap: 0
    }

    .nav__link {
        align-items: center;
        display: flex;
        padding: 1rem;
        width: 100%
    }

    .nav__link:hover {
        background: #ffd7001a
    }

    .hero__features {
        grid-template-columns: 1fr
    }

    .button {
        width: 100%
    }

    .header__logo img {
        height: 32px;
        width: 32px
    }

    .hero__slot-machine {
        max-width: 300px
    }

    .hero__reels {
        height: 150px
    }

    .hero__symbol {
        font-size: 1.5rem
    }

    .feature-card {
        max-width: 200px
    }

    .feature-card__icon {
        font-size: 1.5rem;
        height: 40px;
        width: 40px
    }

    .modal__game-container {
        height: 60vh
    }
}

.age-check-popup,.cookie-banner {
    background: #1a1a1a;
    background: var(--color-dark);
    border-top: 1px solid #ffd70033;
    bottom: 0;
    left: 0;
    padding: 1.5rem;
    position: fixed;
    right: 0;
    z-index: 1000
}

.cookie-actions {
    display: flex;
    justify-content: space-evenly
}

.animate-fadeIn {
    animation: fadeIn .5s ease forwards
}

.animate-slideUp {
    animation: slideUp .5s ease forwards
}

.modal {
    align-items: center;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: #0d0d0df2;
    display: flex;
    inset: 0;
    justify-content: center;
    position: fixed;
    z-index: 2000
}

.modal__content {
    aspect-ratio: 16/9;
    background: #0d0d0d;
    background: var(--color-darker);
    border: 1px solid #ffd70033;
    border-radius: 12px;
    border-radius: var(--border-radius);
    max-width: 1200px;
    overflow: hidden;
    position: relative;
    width: 95%
}

.modal__close {
    align-items: center;
    background: #ffd7001a;
    border: 1px solid #ffd70033;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    height: 32px;
    justify-content: center;
    position: absolute;
    right: 1rem;
    top: 1rem;
    transition: all .3s ease;
    width: 32px;
    z-index: 1
}

.modal__close:hover {
    background: #ffd70033;
    transform: rotate(90deg)
}

.modal__iframe {
    border: none;
    height: 100%;
    width: 100%
}

.modal__game-container {
    height: 70vh;
    max-height: 600px;
    max-width: 800px;
    width: 90vw
}

.tournaments-page {
    background: var(--color-background);
    min-height: calc(100vh - 80px);
    min-height: calc(100vh - var(--header-height));
    padding: calc(var(--header-height) + 2rem) 0 4rem
}

.tournaments-header {
    margin-bottom: 3rem;
    text-align: center
}

.tournaments-header h1 {
    color: gold;
    color: var(--color-primary);
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: var(--text-shadow-glow)
}

.tournaments-header p {
    color: var(--color-text-secondary);
    font-size: 1.2rem
}

.tournaments-grid {
    grid-gap: 2rem;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    margin-bottom: 4rem
}

.tournament-card {
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    background: #111928bf;
    border: 1px solid #ffd7001a;
    border-radius: 12px;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: all .3s ease
}

.tournament-card:hover {
    border-color: #ffd7004d;
    box-shadow: 0 0 10px #ffd70080,0 0 20px #ffd7004d,0 0 30px #ffd7001a;
    box-shadow: var(--shadow-neon);
    transform: translateY(-5px)
}

.tournament-card__header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem
}

.tournament-card__header h3 {
    font-size: 1.5rem
}

.noreal,.tournament-card__header h3 {
    color: gold;
    color: var(--color-primary)
}

.tournament-card__type {
    background: #ffd7001a;
    border-radius: 20px;
    color: #4caf50;
    color: var(--color-accent);
    font-size: .9rem;
    padding: .5rem 1rem
}

.tournament-card__prize {
    background: #ffd7000d;
    border-radius: 12px;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    padding: 1rem;
    text-align: center
}

.tournament-card__info {
    grid-gap: 1rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3,1fr);
    margin-bottom: 1.5rem
}

.tournament-card__stat {
    text-align: center
}

.tournament-card__label {
    color: var(--color-text-secondary);
    display: block;
    font-size: .9rem;
    margin-bottom: .5rem
}

.tournament-card__value {
    color: var(--color-text);
    font-size: 1.1rem;
    font-weight: 600
}

.tournament-card__button {
    width: 100%
}

.tournaments-leaderboard {
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    background: #111928bf;
    border: 1px solid #ffd7001a;
    border-radius: 12px;
    border-radius: var(--border-radius);
    padding: 2rem
}

.tournaments-leaderboard h2 {
    color: gold;
    color: var(--color-primary);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center
}

.leaderboard-table {
    margin: 0 auto;
    max-width: 800px;
    width: 100%
}

.leaderboard-header,.leaderboard-row {
    grid-gap: 1rem;
    align-items: center;
    display: grid;
    gap: 1rem;
    grid-template-columns: .5fr 2fr 1fr 1fr;
    padding: 1rem
}

.leaderboard-header {
    background: #ffd7001a;
    border-radius: 12px;
    border-radius: var(--border-radius);
    color: #4caf50;
    color: var(--color-accent);
    font-weight: 600
}

.leaderboard-row {
    border-bottom: 1px solid #ffffff1a
}

.leaderboard-row:last-child {
    border-bottom: none
}

@media (max-width: 768px) {
    .tournaments-header h1 {
        font-size:2rem
    }

    .tournaments-grid {
        grid-template-columns: 1fr
    }

    .leaderboard-header,.leaderboard-row {
        font-size: .9rem;
        grid-template-columns: .5fr 1.5fr 1fr 1fr;
        padding: .75rem
    }
}

.games-page {
    background: var(--color-background);
    min-height: calc(100vh - 80px);
    min-height: calc(100vh - var(--header-height));
    padding: calc(var(--header-height) + 2rem) 0 4rem
}

.games-header {
    margin-bottom: 3rem;
    text-align: center
}

.games-header h1 {
    color: gold;
    color: var(--color-primary);
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: var(--text-shadow-glow)
}

.games-header p {
    color: var(--color-text-secondary);
    font-size: 1.2rem
}

.games-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem
}

.games-filters .button {
    min-width: 120px
}

.games-filters .button.active {
    background: gold;
    background: var(--color-primary);
    color: var(--color-text)
}

.games-content {
    grid-gap: 2rem;
    display: grid;
    gap: 2rem;
    grid-template-columns: 2fr 1fr;
    margin-top: 2rem
}

.game-preview {
    background: #111928bf;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    text-align: center
}

.game-preview,.game-preview__image {
    border-radius: 12px;
    border-radius: var(--border-radius)
}

.game-preview__image {
    box-shadow: 0 0 10px #ffd70080,0 0 20px #ffd7004d,0 0 30px #ffd7001a;
    box-shadow: var(--shadow-neon);
    margin: 0 auto;
    max-width: 600px;
    width: 100%
}

.game-preview__disclaimer {
    background: #ffd7001a;
    border: 1px solid #ffd70033;
    border-radius: 12px;
    border-radius: var(--border-radius);
    padding: 1.5rem
}

.game-preview__disclaimer p {
    color: #9e9e9e;
    color: var(--color-gray);
    font-size: .9rem;
    line-height: 1.5
}

.game-preview__disclaimer p:not(:last-child) {
    margin-bottom: .5rem
}

.leaderboard {
    background: #111928bf;
    border-radius: 12px;
    border-radius: var(--border-radius);
    padding: 2rem
}

.leaderboard h2 {
    color: gold;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    text-align: center
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 1rem
}

.leaderboard-item {
    grid-gap: 1rem;
    align-items: center;
    background: #ffd7001a;
    border-radius: 12px;
    border-radius: var(--border-radius);
    display: grid;
    gap: 1rem;
    grid-template-columns: auto 1fr auto;
    padding: 1rem;
    transition: transform .3s ease
}

.leaderboard-item:hover {
    transform: translateX(5px)
}

.leaderboard-item .rank {
    color: gold;
    color: var(--color-primary);
    font-weight: 700
}

.leaderboard-item .name {
    color: #fff;
    color: var(--color-light)
}

.leaderboard-item .coins {
    color: #4caf50;
    color: var(--color-accent);
    font-weight: 700
}

.name-input-content {
    background: var(--color-dark);
    border: 1px solid var(--color-primary);
    border-radius: var(--border-radius)
}

.name-input-content h2 {
    color: var(--color-primary)
}

.name-input-content input {
    border-radius: 12px;
    border-radius: var(--border-radius);
    color: var(--color-light)
}

.name-input-content input:focus {
    border-color: var(--color-primary)
}

.game-modal {
    align-items: center;
    background: #000000e6;
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000
}

.modal-inner {
    background: #1a1a1a;
    background: var(--color-dark);
    border-radius: 12px;
    border-radius: var(--border-radius);
    max-width: 1200px;
    overflow: hidden;
    position: relative;
    width: 95%
}

.close-modal {
    align-items: center;
    background: #ffffff1a;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    height: 40px;
    justify-content: center;
    position: absolute;
    right: 1rem;
    top: 1rem;
    transition: background .3s ease;
    width: 40px;
    z-index: 1
}

.close-modal:hover {
    background: #fff3
}

.close-modal img {
    filter: invert(1);
    height: 20px;
    width: 20px
}

@media (max-width: 992px) {
    .games-content {
        grid-template-columns:1fr
    }
}

@media (max-width: 768px) {
    .game-preview,.leaderboard {
        padding:1rem
    }

    .name-input-content {
        padding: 1.5rem
    }
}

.rewards-page {
    background: var(--color-background);
    min-height: calc(100vh - 80px);
    min-height: calc(100vh - var(--header-height));
    padding: calc(var(--header-height) + 2rem) 0 4rem
}

.rewards-header {
    margin-bottom: 3rem;
    text-align: center
}

.rewards-header h1 {
    color: gold;
    color: var(--color-primary);
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: var(--text-shadow-glow)
}

.rewards-header p {
    color: var(--color-text-secondary);
    font-size: 1.2rem
}

.achievements-section,.rewards-section {
    margin-bottom: 4rem
}

.achievements-section h2,.rewards-section h2 {
    color: gold;
    color: var(--color-primary);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center
}

.achievements-grid,.rewards-grid {
    grid-gap: 2rem;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr))
}

.achievement-card,.reward-card {
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    background: #111928bf;
    border: 1px solid #ffd7001a;
    border-radius: 12px;
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: all .3s ease
}

.achievement-card:hover,.reward-card:hover {
    border-color: #ffd7004d;
    box-shadow: 0 0 10px #ffd70080,0 0 20px #ffd7004d,0 0 30px #ffd7001a;
    box-shadow: var(--shadow-neon);
    transform: translateY(-5px)
}

.achievement-card__icon,.reward-card__icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center
}

.achievement-card__title,.reward-card__title {
    color: gold;
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center
}

.achievement-card__description,.reward-card__description {
    color: var(--color-text-secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-align: center
}

.achievement-card__reward,.reward-card__cooldown,.reward-card__progress,.reward-card__requirement,.reward-card__reward {
    align-items: center;
    background: #ffd7000d;
    border-radius: 12px;
    border-radius: var(--border-radius);
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: .5rem
}

.achievement-card__label,.reward-card__label {
    color: var(--color-text-secondary);
    font-size: .9rem
}

.achievement-card__value,.reward-card__value {
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 600
}

.reward-card .button {
    margin-top: 1.5rem;
    width: 100%
}

.achievement-card__progress-bar {
    background: #ffd7001a;
    border-radius: 4px;
    height: 8px;
    margin: 1rem 0;
    overflow: hidden
}

.achievement-card__progress-fill {
    background: linear-gradient(90deg,gold,#4caf50);
    background: linear-gradient(90deg,var(--color-primary),var(--color-accent));
    border-radius: 4px;
    height: 100%;
    transition: width .3s ease
}

.achievement-card__progress-text {
    color: var(--color-text-secondary);
    display: block;
    font-size: .9rem;
    text-align: center
}

@media (max-width: 768px) {
    .rewards-header h1 {
        font-size:2rem
    }

    .achievements-section h2,.rewards-section h2 {
        font-size: 1.5rem
    }

    .achievements-grid,.rewards-grid {
        grid-template-columns: 1fr
    }

    .achievement-card,.reward-card {
        padding: 1.5rem
    }

    .achievement-card__icon,.reward-card__icon {
        font-size: 2.5rem
    }
}

.contact-page {
    background: var(--color-background);
    min-height: calc(100vh - 80px);
    min-height: calc(100vh - var(--header-height));
    padding: calc(var(--header-height) + 2rem) 0 4rem
}

.contact-header {
    margin-bottom: 3rem;
    text-align: center
}

.contact-header h1 {
    color: gold;
    color: var(--color-primary);
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: var(--text-shadow-glow)
}

.contact-header p {
    color: var(--color-text-secondary);
    font-size: 1.2rem
}

.contact-content {
    grid-gap: 4rem;
    display: grid;
    gap: 4rem;
    grid-template-columns: 1fr 1fr
}

.contact-form-section,.contact-info-section {
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    background: #111928bf;
    border: 1px solid #ffd7001a;
    border-radius: 12px;
    border-radius: var(--border-radius);
    padding: 2rem
}

.contact-form-section h2,.contact-info-section h2 {
    color: gold;
    color: var(--color-primary);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center
}

.contact-form {
    gap: 1.5rem
}

.contact-form,.form-group {
    display: flex;
    flex-direction: column
}

.form-group {
    gap: .5rem
}

.form-group label {
    color: var(--color-text);
    font-size: 1rem
}

.form-group input,.form-group textarea {
    background: #ffffff0d;
    border: 1px solid #ffd7001a;
    border-radius: 12px;
    border-radius: var(--border-radius);
    color: var(--color-text);
    font-size: 1rem;
    padding: .75rem 1rem;
    transition: all .3s ease
}

.form-group input:focus,.form-group textarea:focus {
    border-color: gold;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px #6c63ff33;
    outline: none
}

.form-group input::placeholder,.form-group textarea::placeholder {
    color: #ffffff80
}

.contact-info {
    margin-bottom: 3rem
}

.contact-info__item {
    align-items: center;
    background: #ffd7000d;
    border-radius: 12px;
    border-radius: var(--border-radius);
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    padding: 1rem
}

.contact-info__icon {
    font-size: 2rem
}

.contact-info__content h3 {
    color: gold;
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-bottom: .5rem
}

.contact-info__content p {
    color: var(--color-text-secondary);
    font-size: 1rem
}

.faq-section {
    margin-top: 3rem
}

.faq-item {
    background: #ffd7000d;
    border-radius: 12px;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    padding: 1rem
}

.faq-question {
    color: gold;
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-bottom: .5rem
}

.faq-answer {
    color: var(--color-text-secondary);
    font-size: 1rem
}

@media (max-width: 992px) {
    .contact-content {
        gap:2rem;
        grid-template-columns: 1fr
    }
}

@media (max-width: 768px) {
    .contact-header h1 {
        font-size:2rem
    }

    .contact-form-section,.contact-info-section {
        padding: 1.5rem
    }

    .contact-form-section h2,.contact-info-section h2 {
        font-size: 1.5rem
    }

    .contact-info__item {
        flex-direction: column;
        gap: 1rem;
        text-align: center
    }

    .faq-question {
        font-size: 1.1rem
    }
}

.leaderboard-empty {
    color: #9e9e9e;
    color: var(--color-gray);
    padding: 2rem;
    text-align: center
}

.name-input-disclaimer {
    border-radius: 12px;
    border-radius: var(--border-radius)
}

.name-input-disclaimer p {
    color: var(--color-gray)
}

.policy-page {
    background: #0d0d0d;
    background: var(--color-darker);
    min-height: 100vh;
    padding: calc(80px + 2rem) 0 4rem;
    padding: calc(var(--header-height) + 2rem) 0 4rem
}

.policy-header {
    margin-bottom: 3rem;
    text-align: center
}

.policy-header h1 {
    color: gold;
    color: var(--color-primary);
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px #ffd70080,0 0 20px #ffd7004d,0 0 30px #ffd7001a;
    text-shadow: var(--shadow-neon)
}

.policy-header p {
    color: #9e9e9e;
    color: var(--color-gray);
    font-size: 1.2rem
}

.policy-content {
    margin: 0 auto;
    max-width: 900px
}

.policy-section {
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    background: #111928bf;
    border: 1px solid #ffd7001a;
    border-radius: 12px;
    border-radius: var(--border-radius);
    padding: 2rem
}

.policy-section h2 {
    color: gold;
    color: var(--color-primary);
    font-size: 1.8rem;
    margin: 2rem 0 1rem
}

.policy-section h2:first-child {
    margin-top: 0
}

.policy-section p {
    color: #fff;
    color: var(--color-light);
    line-height: 1.6;
    margin-bottom: 1rem
}

.policy-section ul {
    list-style: none;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem
}

.policy-section li {
    color: #fff;
    color: var(--color-light);
    margin-bottom: .5rem;
    position: relative
}

.policy-section li:before {
    color: gold;
    color: var(--color-primary);
    content: "•";
    left: -1.5rem;
    position: absolute
}

@media (max-width: 768px) {
    .policy-header h1 {
        font-size:2rem
    }

    .policy-section {
        padding: 1.5rem
    }

    .policy-section h2 {
        font-size: 1.5rem
    }
}

footer {
    background: #1a1a1a;
    background: var(--color-dark);
    border-top: 1px solid #ffd7001a;
    padding-top: 3rem
}

.top-row {
    border-bottom: 1px solid #ffd7001a;
    padding: 2rem 0
}

.disclaimer-section {
    margin: 0 auto;
    max-width: 1000px;
    text-align: center
}

.disclaimer-section h3 {
    color: gold;
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px #ffd70080,0 0 20px #ffd7004d,0 0 30px #ffd7001a;
    text-shadow: var(--shadow-neon)
}

.disclaimer-text {
    color: #9e9e9e;
    color: var(--color-gray);
    font-size: .9rem;
    line-height: 1.6;
    margin-bottom: 1rem
}

.bottom-row {
    padding: 3rem 0
}

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

.footer-logo .logo-link {
    align-items: center;
    display: flex;
    gap: 1rem;
    text-decoration: none
}

.footer-logo img {
    height: 40px;
    width: 40px
}

.logo-text h3 {
    color: gold;
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-bottom: .25rem
}

.logo-text p {
    color: #9e9e9e;
    color: var(--color-gray);
    font-size: .9rem
}

.footer-links,.footer-nav {
    display: flex;
    justify-content: center
}

.footer-links {
    flex-wrap: wrap;
    gap: 2rem;
    list-style: none
}

.footer-links a {
    color: #fff;
    color: var(--color-light);
    text-decoration: none;
    transition: color .3s ease
}

.footer-links a:hover {
    color: gold;
    color: var(--color-primary)
}

.footer-social {
    text-align: right
}

.footer-social p {
    color: #9e9e9e;
    color: var(--color-gray);
    margin-bottom: 1rem
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-end
}

.social-links a {
    background: #ffd7001a;
    border-radius: 20px;
    color: #fff;
    color: var(--color-light);
    padding: .5rem 1rem;
    text-decoration: none;
    transition: all .3s ease
}

.social-links a:hover {
    background: #ffd70033;
    color: gold;
    color: var(--color-primary)
}

.footer-bottom {
    border-top: 1px solid #ffd7001a;
    padding-top: 2rem;
    text-align: center
}

.footer-bottom p {
    color: #9e9e9e;
    color: var(--color-gray);
    font-size: .9rem
}

@media (max-width: 992px) {
    .footer-content {
        gap:3rem;
        grid-template-columns: 1fr;
        text-align: center
    }

    .footer-logo .logo-link {
        justify-content: center
    }

    .footer-social {
        text-align: center
    }

    .social-links {
        justify-content: center
    }
}

@media (max-width: 768px) {
    .footer-links {
        flex-direction:column;
        gap: 1rem
    }

    .social-links {
        flex-wrap: wrap
    }

    .disclaimer-section h3 {
        font-size: 1.2rem
    }

    .disclaimer-text {
        font-size: .8rem
    }
}

.age-check-popup {
    align-items: center;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: #000000f2;
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 2000
}

.popup-inner-wrapper {
    background: #1a1a1a;
    background: var(--color-dark);
    border: 2px solid gold;
    border: 2px solid var(--color-primary);
    border-radius: 12px;
    border-radius: var(--border-radius);
    box-shadow: 0 0 10px #ffd70080,0 0 20px #ffd7004d,0 0 30px #ffd7001a;
    box-shadow: var(--shadow-neon);
    max-width: 500px;
    overflow: hidden;
    width: 90%
}

.age-check-content {
    padding: 2.5rem;
    text-align: center
}

.age-check-content h3 {
    color: gold;
    color: var(--color-primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px #ffd70080,0 0 20px #ffd7004d,0 0 30px #ffd7001a;
    text-shadow: var(--shadow-neon)
}

.age-icon {
    font-size: 4rem
}

.age-icon,.age-text {
    margin-bottom: 1.5rem
}

.age-text {
    color: #fff;
    color: var(--color-light);
    font-size: 1.2rem
}

.age-error {
    animation: shake .5s ease-in-out;
    background: #e31e241a;
    border-radius: 12px;
    border-radius: var(--border-radius);
    color: #e31e24;
    color: var(--color-secondary);
    font-weight: 500;
    margin-bottom: 1.5rem;
    padding: 1rem
}

.age-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem
}

.age-btn {
    border: none;
    border-radius: 12px;
    border-radius: var(--border-radius);
    cursor: pointer;
    flex: 1 1;
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem;
    transition: all .3s ease
}

.yes-btn {
    background: linear-gradient(135deg,gold,orange);
    background: var(--gradient-gold);
    color: #1a1a1a;
    color: var(--color-dark)
}

.yes-btn:hover {
    box-shadow: 0 0 10px #ffd70080,0 0 20px #ffd7004d,0 0 30px #ffd7001a;
    box-shadow: var(--shadow-neon);
    transform: translateY(-2px)
}

.no-btn {
    background: #ffffff1a;
    border: 1px solid #ffd70033;
    color: #fff;
    color: var(--color-light)
}

.no-btn:hover {
    background: #fff3
}

.age-disclaimer {
    color: #9e9e9e;
    color: var(--color-gray);
    font-size: .9rem;
    line-height: 1.5
}

@keyframes shake {
    0%,to {
        transform: translateX(0)
    }

    10%,30%,50%,70%,90% {
        transform: translateX(-5px)
    }

    20%,40%,60%,80% {
        transform: translateX(5px)
    }
}

@media (max-width: 768px) {
    .age-check-content {
        padding:1.5rem
    }

    .age-check-content h3 {
        font-size: 1.5rem
    }

    .age-icon {
        font-size: 3rem
    }

    .age-text {
        font-size: 1rem
    }

    .age-buttons {
        flex-direction: column
    }

    .age-btn {
        width: 100%
    }
}

.loading-screen {
    align-items: center;
    background: #0d0d0d;
    background: var(--color-darker);
    display: flex;
    height: 100vh;
    justify-content: center;
    left: 0;
    opacity: 1;
    position: fixed;
    top: 0;
    visibility: visible;
    width: 100%;
    z-index: 9999
}

.loading-content {
    animation: fadeIn .5s ease;
    position: relative;
    text-align: center;
    z-index: 10000
}

.loading-logo {
    animation: pulse 2s infinite;
    height: 120px;
    margin-bottom: 2rem;
    width: 120px
}

.slot-spinner {
    margin: 2rem 0
}

.slot-symbol {
    animation: spin 2s infinite;
    background: var(--gradient-dark);
    border: 2px solid var(--color-primary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-neon);
    font-size: 3rem;
    padding: 1rem
}

.loading-text {
    color: var(--color-primary);
    margin-top: 2rem;
    text-shadow: 0 0 10px #ffd70080,0 0 20px #ffd7004d,0 0 30px #ffd7001a;
    text-shadow: var(--shadow-neon)
}

.cookie-banner {
    animation: slideUp .5s ease;
    background: #1a1a1a;
    background: var(--color-dark);
    border: 2px solid gold;
    border: 2px solid var(--color-primary);
    border-radius: 12px;
    border-radius: var(--border-radius);
    bottom: 2rem;
    box-shadow: 0 0 10px #ffd70080,0 0 20px #ffd7004d,0 0 30px #ffd7001a;
    box-shadow: var(--shadow-neon);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    left: 50%;
    max-width: 500px;
    padding: 1.5rem;
    position: fixed;
    transform: translateX(-50%);
    width: 90%;
    z-index: 1000
}

.cookie-banner p {
    color: #fff;
    color: var(--color-light);
    font-size: .9rem;
    line-height: 1.5;
    margin: 0
}

.cookie-banner button {
    align-self: flex-end;
    background: linear-gradient(135deg,gold,orange);
    background: var(--gradient-gold);
    border: none;
    border-radius: 12px;
    border-radius: var(--border-radius);
    color: #1a1a1a;
    color: var(--color-dark);
    cursor: pointer;
    font-weight: 600;
    padding: .75rem 1.5rem;
    transition: all .3s ease
}

.cookie-banner button:hover {
    box-shadow: 0 0 10px #ffd70080,0 0 20px #ffd7004d,0 0 30px #ffd7001a;
    box-shadow: var(--shadow-neon);
    transform: translateY(-2px)
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translate(-50%,100%)
    }

    to {
        opacity: 1;
        transform: translate(-50%)
    }
}

.custom-loader {
    padding: 1rem;
    text-align: center
}

.slot-spinner {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 1rem 0
}

.slot-symbol {
    animation: spin 1.5s infinite;
    background: linear-gradient(135deg,#1a1a1a,#2c2c2c);
    background: var(--gradient-dark,linear-gradient(135deg,#1a1a1a 0,#2c2c2c 100%));
    border: 2px solid gold;
    border: 2px solid var(--color-primary,gold);
    border-radius: 12px;
    box-shadow: 0 0 10px #ffd70080,0 0 20px #ffd7004d,0 0 30px #ffd7001a;
    font-size: 2rem;
    padding: .75rem
}

.slot-symbol:nth-child(2) {
    animation-delay: .2s
}

.slot-symbol:nth-child(3) {
    animation-delay: .4s
}

.loading-text {
    animation: glow 1.5s ease-in-out infinite alternate;
    color: gold;
    color: var(--color-primary,gold);
    font-size: 1.2rem;
    margin-top: 1rem;
    text-shadow: 0 0 10px #ffd70080,0 0 20px #ffd7004d
}

@keyframes spin {
    0% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-15px)
    }

    to {
        transform: translateY(0)
    }
}

@keyframes glow {
    0% {
        text-shadow: 0 0 5px gold,0 0 10px gold;
        text-shadow: 0 0 5px var(--color-primary,gold),0 0 10px var(--color-primary,gold)
    }

    to {
        text-shadow: 0 0 10px gold,0 0 15px gold,0 0 20px gold;
        text-shadow: 0 0 10px var(--color-primary,gold),0 0 15px var(--color-primary,gold),0 0 20px var(--color-primary,gold)
    }
}

.name-input-modal {
    align-items: center;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    background: #000c;
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000
}

.name-input-content {
    animation: fadeIn .3s ease-in-out;
    background: #1a1a1a;
    background: var(--color-dark,#1a1a1a);
    border: 1px solid gold;
    border: 1px solid var(--color-primary,gold);
    border-radius: 12px;
    box-shadow: 0 0 10px #ffd70080,0 0 20px #ffd7004d,0 0 30px #ffd7001a;
    max-width: 400px;
    padding: 2rem;
    text-align: center;
    width: 90%
}

.name-input-content h2 {
    color: gold;
    color: var(--color-primary,gold);
    font-size: 1.8rem;
    margin-bottom: 1.5rem
}

.name-input-content form {
    display: flex;
    flex-direction: column;
    gap: 1rem
}

.name-input-content input {
    background: #ffffff1a;
    border: 1px solid #ffd70033;
    border-radius: 8px;
    color: #fff;
    color: var(--color-light,#fff);
    font-size: 1rem;
    padding: .75rem 1rem;
    transition: all .3s ease
}

.name-input-content input:focus {
    border-color: gold;
    border-color: var(--color-primary,gold);
    box-shadow: 0 0 0 2px #ffd70033;
    outline: none
}

.name-input-content input::placeholder {
    color: #ffffff80
}

.name-input-disclaimer {
    background: #ffd7001a;
    border-radius: 8px;
    margin-top: 1rem;
    padding: 1rem
}

.name-input-disclaimer p {
    color: #9e9e9e;
    color: var(--color-gray,#9e9e9e);
    font-size: .8rem;
    text-align: center
}

.name-input-content .button {
    background: linear-gradient(135deg,gold,orange);
    background: var(--gradient-gold,linear-gradient(135deg,gold 0,orange 100%));
    border: none;
    border-radius: 8px;
    color: #1a1a1a;
    color: var(--color-dark,#1a1a1a);
    cursor: pointer;
    font-weight: 600;
    margin-top: 1rem;
    padding: .75rem 1.5rem;
    transition: all .3s ease
}

.name-input-content .button:hover {
    box-shadow: 0 4px 8px #ffd70066;
    transform: translateY(-2px)
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@media (max-width: 768px) {
    .name-input-content {
        padding:1.5rem
    }

    .name-input-content h2 {
        font-size: 1.5rem
    }
}

.player-stats {
    align-items: center;
    animation: glow 3s infinite alternate;
    background: #ffd7001a;
    border: 1px solid #ffd70033;
    border-radius: 12px;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin: 1.5rem auto;
    max-width: 500px;
    padding: 1rem 2rem
}

.player-welcome {
    color: #fff;
    color: var(--color-light);
    font-size: 1.2rem
}

.player-balance {
    color: #9e9e9e;
    color: var(--color-gray);
    font-size: 1rem
}

.player-balance strong {
    color: gold;
    color: var(--color-primary);
    font-size: 1.2rem
}

.leaderboard-section {
    background: #0a0f194d;
    border-top: 1px solid #ffd7001a;
    padding: 4rem 0
}

.section-title {
    color: gold;
    color: var(--color-primary);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 0 0 10px #ffd70080,0 0 20px #ffd7004d,0 0 30px #ffd7001a;
    text-shadow: var(--shadow-neon)
}

@keyframes highlight {
    0% {
        background-color: #ffd7004d
    }

    to {
        background-color: #ffd7001a
    }
}

.leaderboard-item.highlight {
    animation: highlight 2s ease-out
}

.coin-change {
    font-size: .8rem;
    font-weight: 700;
    opacity: 0;
    position: absolute;
    right: 2rem;
    transition: all .5s ease-out
}

.coin-increase {
    animation: float-up 2s forwards;
    color: #4caf50;
    color: var(--color-accent)
}

.coin-decrease {
    animation: float-down 2s forwards;
    color: #e31e24;
    color: var(--color-secondary)
}

@keyframes float-up {
    0% {
        opacity: 0;
        transform: translateY(0)
    }

    20% {
        opacity: 1
    }

    to {
        opacity: 0;
        transform: translateY(-20px)
    }
}

@keyframes float-down {
    0% {
        opacity: 0;
        transform: translateY(0)
    }

    20% {
        opacity: 1
    }

    to {
        opacity: 0;
        transform: translateY(20px)
    }
}

@media (max-width: 768px) {
    .player-stats {
        padding:.8rem 1.5rem
    }

    .player-welcome {
        font-size: 1rem
    }

    .player-balance {
        font-size: .9rem
    }

    .section-title {
        font-size: 2rem
    }
}

.player-welcome-hero {
    animation: pulse 3s infinite;
    background: #ffd7001a;
    border: 1px solid #ffd70033;
    border-radius: 12px;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    padding: 1rem;
    text-align: center
}

.player-welcome-hero .player-name {
    color: gold;
    color: var(--color-primary);
    font-size: 1.1em;
    font-weight: 600
}

.player-welcome-hero .player-coins {
    color: #9e9e9e;
    color: var(--color-gray);
    font-size: .9em;
    margin-top: .5rem
}

.player-welcome-hero .coins-amount {
    color: gold;
    color: var(--color-primary);
    font-weight: 600
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 5px #ffd7004d
    }

    50% {
        box-shadow: 0 0 15px #ffd70080
    }

    to {
        box-shadow: 0 0 5px #ffd7004d
    }
}
