/* ==========================================================================
   ARAYAS CHEATS — OFFICIAL DESIGN SYSTEM & STYLES (1:1 REPLICA)
   ========================================================================== */

@font-face {
    font-family: 'Onder';
    src: url('/static/fonts/Onder.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mont';
    src: url('/static/fonts/Mont-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mont';
    src: url('/static/fonts/Mont-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-onder: 'Onder', sans-serif;
    --font-mont: 'Mont', sans-serif;

    /* Arayas Dark Palette */
    --bg-page: #0f1016;
    --bg-header: rgba(31, 31, 43, 0.25);
    --card-bg: radial-gradient(885.95% 274.23% at 49.37% center, rgba(18, 20, 24, 0) 0%, rgba(90, 80, 139, 0.5) 100%), rgba(31, 31, 43, 0.25);

    /* Primary Purple Accents */
    --primary: #8c75e8;
    --primary-light: #ab8fff;
    --primary-gradient: linear-gradient(163deg, rgba(255, 255, 255, 0.5) 0.12%, rgba(170, 160, 255, 0.5) 99.94%), #8c75e8;

    /* Additional accents */
    --gold: #ffda8f;
    --gold-bg: rgba(255, 218, 143, 0.12);
    --silver: #b2b1d2;
    --bronze: #e09f67;
    --green: #8fffab;
    --red: #ff5858;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b2b1d2;
    --text-muted: #8a89a7;

    /* Border gradients */
    --border-color: #353150;
    --border-gradient: linear-gradient(111deg, rgb(53, 49, 80) 0%, rgba(53, 49, 80, 0.2) 40.38%, rgba(53, 49, 80, 0.2) 60.12%, rgb(53, 49, 80) 100%);
}

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

html {
    background-color: var(--bg-page);
    color: var(--text-primary);
    font-family: var(--font-mont);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    background-color: var(--bg-page);
    color: var(--text-secondary);
    font-family: var(--font-mont);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Atmospheric Ambient Glows */
.background-glow {
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 1100px;
    height: 650px;
    background: radial-gradient(circle, rgba(140, 117, 232, 0.16) 0%, rgba(15, 16, 22, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.background-glow-bottom {
    position: fixed;
    bottom: -300px;
    right: 5%;
    width: 800px;
    height: 600px;
    background: radial-gradient(circle, rgba(171, 143, 255, 0.08) 0%, rgba(15, 16, 22, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

/* ==========================================================================
   HEADER / NAVBAR (1:1 with arayas-cheats.com)
   ========================================================================== */

.header-wrapper {
    padding: 20px 0 0;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header {
    background: var(--bg-header);
    border-radius: 20px;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 40px);
    max-width: 1364px;
    height: 100px;
    margin: 0 auto 20px;
    padding: 0 20px;
    display: flex;
    position: relative;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.header::before {
    content: "";
    pointer-events: none;
    z-index: 5;
    background: var(--border-gradient);
    border-radius: 20px;
    padding: 1px;
    position: absolute;
    inset: 0;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.header-brand {
    flex-shrink: 0;
    align-items: center;
    gap: 7px;
    width: 300px;
    height: 100%;
    text-decoration: none;
    display: flex;
    overflow: hidden;
}

.header-logoIcon {
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    display: flex;
    width: 75px;
    height: 75px;
}

.header-logoIcon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-logoText {
    font-family: var(--font-onder);
    color: #fff;
    white-space: nowrap;
    letter-spacing: 1px;
    font-size: 8.5px;
    line-height: 36px;
    text-transform: uppercase;
}

.header-nav {
    flex: 1;
    justify-content: center;
    align-items: center;
    gap: 25px;
    height: 100%;
    display: flex;
    overflow: hidden;
}

.header-navLink {
    font-family: var(--font-mont);
    color: #b2b1d2;
    white-space: nowrap;
    cursor: pointer;
    background: none;
    border: none;
    align-items: center;
    gap: 5px;
    padding: 0;
    font-size: 14px;
    line-height: 36px;
    text-decoration: none;
    transition: color 0.15s;
    display: flex;
    position: relative;
}

.header-navLink:hover {
    color: #fff;
}

.header-navLink.header-active {
    color: #fff;
}

.header-navLink.header-active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-light);
    border-radius: 2px;
}

.header-navBadge {
    color: #fff;
    height: 15px;
    font-family: var(--font-mont);
    letter-spacing: 0.4px;
    text-transform: uppercase;
    background: #ff5858;
    border-radius: 100px;
    align-items: center;
    padding: 0 5px;
    font-size: 9px;
    font-weight: 700;
    display: inline-flex;
    position: absolute;
    top: -10px;
    right: 0;
}

.header-actions {
    flex-shrink: 0;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    width: 300px;
    height: 100%;
    display: flex;
}

.status-badge {
    height: 34px;
    padding: 0 14px;
    border-radius: 100px;
    font-family: var(--font-mont);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}

.status-badge.finished {
    background: rgba(143, 255, 171, 0.12);
    color: var(--green);
    border: 1px solid rgba(143, 255, 171, 0.3);
}

.status-badge.active {
    background: rgba(255, 218, 143, 0.12);
    color: var(--gold);
    border: 1px solid rgba(255, 218, 143, 0.3);
}

.header-authBtn {
    cursor: pointer;
    box-sizing: border-box;
    background: var(--primary-gradient);
    border-radius: 12px;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    gap: 10px;
    max-width: 160px;
    height: 55px;
    padding: 0 20px;
    text-decoration: none;
    transition: transform 0.25s, opacity 0.25s;
    display: flex;
    position: relative;
    overflow: hidden;
}

.header-authBtn:hover {
    opacity: 0.95;
    transform: translateY(-3px);
}

.header-authBtn::before {
    content: "";
    pointer-events: none;
    z-index: 5;
    background: linear-gradient(111deg, #fff 0%, rgba(255, 255, 255, 0.4) 40.38%, rgba(255, 255, 255, 0.2) 60.12%, #fff 100%);
    border-radius: 12px;
    padding: 1px;
    position: absolute;
    inset: 0;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.header-authBtnPattern {
    mix-blend-mode: luminosity;
    opacity: 0.3;
    z-index: 3;
    background-image: url("/static/images/auth-pattern.webp");
    background-position: 0 0;
    background-size: 1024px 1024px;
    border-radius: 12px;
    position: absolute;
    inset: 0;
}

.header-authBtnText {
    font-family: var(--font-mont);
    color: #0f1016;
    white-space: nowrap;
    z-index: 4;
    font-size: 14px;
    font-weight: 700;
    line-height: 36px;
    position: relative;
}

/* ==========================================================================
   CONTAINER & HERO (Exact 1:1 Dimensions)
   ========================================================================== */

.page-container {
    max-width: 1364px;
    width: calc(100% - 40px);
    margin: 20px auto 40px;
    position: relative;
    z-index: 10;
    flex: 1;
}

.hero-header {
    text-align: center;
    margin-bottom: 40px;
}

.hero-pill {
    display: inline-block;
    font-family: var(--font-onder);
    color: var(--primary-light);
    font-size: 11px;
    letter-spacing: 2px;
    padding: 4px 14px;
    border-radius: 100px;
    background: rgba(171, 143, 255, 0.12);
    border: 1px solid rgba(171, 143, 255, 0.25);
    margin-bottom: 14px;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-onder);
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    line-height: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary-light) 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 14px;
}

.hero-subtitle strong {
    color: #fff;
}

/* Stats 4-Column Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 45px;
}

.stat-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 24px;
    position: relative;
    backdrop-filter: blur(10px);
    transition: transform 0.25s, box-shadow 0.25s;
    overflow: hidden;
}

.stat-card::before {
    content: "";
    pointer-events: none;
    z-index: 5;
    background: var(--border-gradient);
    border-radius: 20px;
    padding: 1px;
    position: absolute;
    inset: 0;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(140, 117, 232, 0.25);
}

.stat-label {
    font-family: var(--font-mont);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.stat-value {
    font-family: var(--font-onder);
    font-size: 32px;
    font-weight: 700;
    color: #fff;
}

.stat-value.rule-val {
    font-size: 16px;
    color: var(--gold);
    line-height: 42px;
}

/* ==========================================================================
   WINNERS GRID (Place 1, 2, 3)
   ========================================================================== */

.section {
    margin-bottom: 45px;
}

.section-titleRow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-onder);
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-countBadge {
    font-family: var(--font-onder);
    font-size: 11px;
    color: var(--primary-light);
    background: rgba(171, 143, 255, 0.12);
    border: 1px solid rgba(171, 143, 255, 0.25);
    padding: 3px 10px;
    border-radius: 100px;
}

.winners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.winner-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 26px;
    position: relative;
    backdrop-filter: blur(12px);
    transition: transform 0.25s, box-shadow 0.25s;
    overflow: hidden;
}

.winner-card::before {
    content: "";
    pointer-events: none;
    z-index: 5;
    border-radius: 20px;
    padding: 1px;
    position: absolute;
    inset: 0;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.winner-card:hover {
    transform: translateY(-3px);
}

/* 1st Place — GOLD */
.winner-card.place-1 {
    background: radial-gradient(885.95% 274.23% at 49.37% center, rgba(18, 20, 24, 0) 0%, rgba(139, 110, 50, 0.45) 100%), rgba(31, 31, 43, 0.25);
}

.winner-card.place-1::before {
    background: linear-gradient(111deg, rgba(255, 218, 143, 0.8) 0%, rgba(255, 218, 143, 0) 40%, rgba(255, 218, 143, 0) 60%, rgba(255, 218, 143, 0.8) 100%);
}

.winner-card.place-1:hover {
    box-shadow: 0 15px 40px -10px rgba(255, 218, 143, 0.3);
}

.winner-card.place-1 .place-badge {
    background: var(--gold-bg);
    color: var(--gold);
    border: 1px solid rgba(255, 218, 143, 0.4);
}

/* 2nd Place — SILVER / PURPLE */
.winner-card.place-2 {
    background: radial-gradient(885.95% 274.23% at 49.37% center, rgba(18, 20, 24, 0) 0%, rgba(90, 80, 139, 0.45) 100%), rgba(31, 31, 43, 0.25);
}

.winner-card.place-2::before {
    background: linear-gradient(111deg, rgba(171, 143, 255, 0.8) 0%, rgba(171, 143, 255, 0) 40%, rgba(171, 143, 255, 0) 60%, rgba(171, 143, 255, 0.8) 100%);
}

.winner-card.place-2:hover {
    box-shadow: 0 15px 40px -10px rgba(171, 143, 255, 0.25);
}

.winner-card.place-2 .place-badge {
    background: rgba(171, 143, 255, 0.12);
    color: var(--primary-light);
    border: 1px solid rgba(171, 143, 255, 0.4);
}

/* 3rd Place — BRONZE */
.winner-card.place-3 {
    background: radial-gradient(885.95% 274.23% at 49.37% center, rgba(18, 20, 24, 0) 0%, rgba(140, 80, 50, 0.35) 100%), rgba(31, 31, 43, 0.25);
}

.winner-card.place-3::before {
    background: linear-gradient(111deg, rgba(224, 159, 103, 0.8) 0%, rgba(224, 159, 103, 0) 40%, rgba(224, 159, 103, 0) 60%, rgba(224, 159, 103, 0.8) 100%);
}

.winner-card.place-3:hover {
    box-shadow: 0 15px 40px -10px rgba(224, 159, 103, 0.25);
}

.winner-card.place-3 .place-badge {
    background: rgba(224, 159, 103, 0.12);
    color: var(--bronze);
    border: 1px solid rgba(224, 159, 103, 0.4);
}

.place-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 100px;
    font-family: var(--font-onder);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.winner-name {
    font-family: var(--font-mont);
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.winner-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.winner-handle {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
}

.winner-handle:hover {
    color: #fff;
    text-decoration: underline;
}

.winner-ticketsRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(53, 49, 80, 0.5);
}

.winner-ticketsLabel {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.winner-ticketsCount {
    font-family: var(--font-onder);
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

/* ==========================================================================
   PARTICIPANTS TABLE SECTION
   ========================================================================== */

.section-tableHeader {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
    gap: 20px;
    flex-wrap: wrap;
}

.table-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.search-container {
    position: relative;
    width: 320px;
    max-width: 100%;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.search-input {
    width: 100%;
    height: 44px;
    padding: 0 16px 0 42px;
    background: var(--bg-header);
    border: 1px solid rgba(53, 49, 80, 0.5);
    border-radius: 12px;
    color: #fff;
    font-family: var(--font-mont);
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(171, 143, 255, 0.15);
}

.table-wrapper {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.table-wrapper::before {
    content: "";
    pointer-events: none;
    z-index: 5;
    background: var(--border-gradient);
    border-radius: 20px;
    padding: 1px;
    position: absolute;
    inset: 0;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.data-table th {
    background: rgba(21, 22, 32, 0.6);
    padding: 16px 20px;
    text-align: left;
    font-family: var(--font-onder);
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(53, 49, 80, 0.5);
}

.data-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(53, 49, 80, 0.3);
    vertical-align: middle;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background: rgba(40, 39, 55, 0.35);
}

.cell-rank {
    font-family: var(--font-onder);
    font-size: 13px;
    color: var(--text-muted);
}

.cell-user strong {
    color: #fff;
    font-weight: 700;
}

.tg-link {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
}

.tg-link:hover {
    color: #fff;
    text-decoration: underline;
}

.spent-val {
    display: block;
    color: #fff;
    font-weight: 700;
    font-family: var(--font-mont);
}

.orders-count {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
}

.ticket-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 26px;
    padding: 0 10px;
    background: rgba(171, 143, 255, 0.15);
    border: 1px solid rgba(171, 143, 255, 0.35);
    border-radius: 100px;
    font-family: var(--font-onder);
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-light);
}

.chance-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    background: rgba(40, 39, 55, 0.7);
    border-radius: 100px;
    font-family: var(--font-onder);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
}

.cell-empty {
    text-align: center;
    padding: 40px !important;
    color: var(--text-muted);
}

/* ==========================================================================
   FOOTER (1:1 with arayas-cheats.com, powered by unvi.xyz)
   ========================================================================== */

.footer-module-scss-module__WbsKBG__footer {
    box-sizing: border-box;
    background: radial-gradient(885.95% 274.23% at 49.37% center, rgba(18, 20, 24, 0) 0%, rgba(90, 80, 139, 0.5) 100%), rgba(31, 31, 43, 0.25);
    border-radius: 20px;
    flex-direction: column;
    gap: 30px;
    width: calc(100% - 40px);
    max-width: 1364px;
    margin: 20px auto;
    padding: 15px 30px 30px;
    display: flex;
    position: relative;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.footer-module-scss-module__WbsKBG__footer::before {
    content: "";
    pointer-events: none;
    z-index: 5;
    background: linear-gradient(111deg, rgba(53, 49, 80, 0.5) 0%, rgba(53, 49, 80, 0.2) 40.38%, rgba(53, 49, 80, 0.2) 60.12%, rgba(53, 49, 80, 0.5) 100%);
    border-radius: 20px;
    padding: 1px;
    position: absolute;
    inset: 0px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.footer-module-scss-module__WbsKBG__general {
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    display: flex;
}

.footer-module-scss-module__WbsKBG__navigation {
    flex-direction: column;
    flex: 1 1 0%;
    gap: 45px;
    min-width: 0px;
    display: flex;
}

.footer-module-scss-module__WbsKBG__brand {
    align-items: center;
    gap: 10px;
    display: flex;
}

.footer-module-scss-module__WbsKBG__logoIcon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
}

.footer-module-scss-module__WbsKBG__logoIcon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-module-scss-module__WbsKBG__brandText {
    flex-direction: column;
    gap: 10px;
    display: flex;
}

.footer-module-scss-module__WbsKBG__brandName {
    font-family: var(--font-onder);
    color: #fff;
    font-size: 13px;
    letter-spacing: 1px;
    font-weight: 700;
}

.footer-module-scss-module__WbsKBG__brandSlogan {
    color: #b2b1d2;
    font-size: 14px;
}

.footer-module-scss-module__WbsKBG__nav {
    flex-wrap: wrap;
    gap: 25px 40px;
    display: flex;
}

.footer-module-scss-module__WbsKBG__navColumn {
    flex-direction: column;
    flex: 1 1 0%;
    gap: 15px;
    min-width: 0px;
    display: flex;
}

.footer-module-scss-module__WbsKBG__navTitle {
    font-family: var(--font-onder);
    color: #fff;
    text-transform: uppercase;
    margin: 0px 0px 10px;
    font-size: 10px;
    letter-spacing: 0.5px;
}

.footer-module-scss-module__WbsKBG__navLink {
    color: #8a89a7;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 5px 0px 0px;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.15s;
    overflow: hidden;
}

.footer-module-scss-module__WbsKBG__navLink:hover {
    color: #fff;
}

.footer-module-scss-module__WbsKBG__contactBlock {
    flex-direction: column;
    justify-content: flex-end;
    gap: 20px;
    height: 100%;
    display: flex;
}

.footer-module-scss-module__WbsKBG__socials {
    align-items: center;
    gap: 20px;
    display: flex;
}

.footer-module-scss-module__WbsKBG__socialLink {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    transition: opacity 0.15s;
}

.footer-module-scss-module__WbsKBG__socialLink:hover {
    opacity: 0.8;
}

.footer-module-scss-module__WbsKBG__partnerAside {
    flex-direction: column;
    flex-shrink: 0;
    gap: 20px;
    width: 390px;
    display: flex;
}

.footer-module-scss-module__WbsKBG__partnerCard {
    box-sizing: border-box;
    background: var(--primary-gradient);
    border-radius: 15px;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 180px;
    padding: 20px;
    display: flex;
    position: relative;
    overflow: hidden;
}

.footer-module-scss-module__WbsKBG__partnerCard::before {
    content: "";
    pointer-events: none;
    z-index: 5;
    background: linear-gradient(111deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 40.38%, rgba(255, 255, 255, 0) 60.12%, rgba(255, 255, 255, 0.5) 100%);
    border-radius: 15px;
    padding: 1px;
    position: absolute;
    inset: 0px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.footer-module-scss-module__WbsKBG__partnerContent {
    z-index: 1;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
    height: 100%;
    display: flex;
    position: relative;
}

.footer-module-scss-module__WbsKBG__partnerTitle {
    font-family: var(--font-onder);
    color: #fff;
    text-transform: uppercase;
    max-width: 250px;
    font-size: 11px;
    line-height: 24px;
}

.footer-module-scss-module__WbsKBG__partnerBtn {
    color: #fff;
    opacity: 0.85;
    background: linear-gradient(rgba(23, 25, 31, 0.2) 0%, rgba(53, 49, 80, 0.2) 100%), rgb(23, 25, 31);
    border-radius: 15px;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 145px;
    height: 55px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.15s, transform 0.15s;
    display: flex;
    box-shadow: rgba(15, 16, 22, 0.2) 0px 0px 50px;
}

.footer-module-scss-module__WbsKBG__partnerBtn:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-module-scss-module__WbsKBG__partnerHero {
    pointer-events: none;
    width: auto;
    height: 227px;
    position: absolute;
    bottom: -9px;
    right: -7px;
}

.footer-module-scss-module__WbsKBG__legal {
    color: #8a89a7;
    flex-direction: column;
    font-size: 11px;
    font-style: normal;
    line-height: 16px;
    display: flex;
    gap: 2px;
}

.footer-module-scss-module__WbsKBG__separator {
    background: rgba(40, 39, 55, 0.5);
    width: 100%;
    height: 1px;
}

.footer-module-scss-module__WbsKBG__bottom {
    justify-content: space-between;
    align-items: center;
    display: flex;
}

.footer-module-scss-module__WbsKBG__copyright {
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;
    display: flex;
}

.footer-module-scss-module__WbsKBG__copyrightText {
    color: #fff;
    white-space: nowrap;
    font-size: 15px;
    line-height: 25px;
    text-decoration: none;
}

.footer-module-scss-module__WbsKBG__copyrightHighlight {
    color: var(--primary);
}

.footer-module-scss-module__WbsKBG__devLink {
    cursor: pointer;
    align-items: baseline;
    gap: 5px;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    display: inline-flex;
}

.footer-module-scss-module__WbsKBG__devPrefix {
    color: #fff;
}

.footer-module-scss-module__WbsKBG__devBrand {
    display: inline-block;
    position: relative;
}

.footer-module-scss-module__WbsKBG__devBrandText {
    background: linear-gradient(100deg, rgb(140, 117, 232) 0%, rgb(140, 117, 232) 35%, rgb(255, 255, 255) 50%, rgb(140, 117, 232) 65%, rgb(140, 117, 232) 100%) 100% 0px / 250% 100% text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 700;
    transition: background-position 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    display: inline-block;
}

.footer-module-scss-module__WbsKBG__devBrandText:hover {
    background-position: 0 0;
}

.footer-credits-container {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-credits-divider {
    color: rgba(255, 255, 255, 0.25);
    font-size: 13px;
    user-select: none;
}

.footer-module-scss-module__WbsKBG__devLink:hover {
    transform: translateY(-2px);
}

.footer-module-scss-module__WbsKBG__devLink:hover .footer-module-scss-module__WbsKBG__devBrandText {
    background-position: 0 0;
}

.footer-module-scss-module__WbsKBG__payments {
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    display: flex;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1024px) {
    .header-nav {
        display: none;
    }

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

    .footer-module-scss-module__WbsKBG__general {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-module-scss-module__WbsKBG__partnerAside {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .header {
        height: 70px;
        padding: 0 15px;
        margin-bottom: 15px;
    }

    .header-brand {
        width: auto;
    }

    .header-logoIcon {
        width: 50px;
        height: 50px;
    }

    .header-logoText {
        display: none;
    }

    .header-actions {
        width: auto;
    }

    .header-authBtn {
        height: 45px;
        padding: 0 14px;
    }

    .hero-title {
        font-size: 24px;
        line-height: 36px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-card {
        padding: 16px;
    }

    .stat-value {
        font-size: 24px;
    }

    .search-container {
        width: 100%;
    }

    .section-tableHeader {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-module-scss-module__WbsKBG__footer {
        padding: 20px 15px;
    }

    .footer-module-scss-module__WbsKBG__nav {
        gap: 20px;
    }

    .footer-module-scss-module__WbsKBG__bottom {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

/* ==========================================================================
   ETHEREAL TOP BACKGROUND ANIMATION (1:1 REPLICA FROM ARAYAS-CHEATS.COM)
   ========================================================================== */
.ethereal-backdrop {
    position: absolute;
    top: -45px;
    left: 0;
    right: 0;
    height: 800px;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
    opacity: 0.75;
    mask-image: radial-gradient(55% 65% at 50% 20%, #000 0%, rgba(0, 0, 0, 0.95) 35%, rgba(0, 0, 0, 0.45) 70%, transparent 100%);
    -webkit-mask-image: radial-gradient(55% 65% at 50% 20%, #000 0%, rgba(0, 0, 0, 0.95) 35%, rgba(0, 0, 0, 0.45) 70%, transparent 100%);
}

.ethereal-root {
    position: relative;
    width: 100%;
    height: 100%;
}

.ethereal-shadow-layer {
    position: absolute;
    inset: -60px;
    filter: url(#ethereal-filter);
    -webkit-filter: url(#ethereal-filter);
}

.ethereal-filter-svg {
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
}

.ethereal-shadow {
    position: absolute;
    inset: 0;
    background-color: rgb(85, 71, 127);
    mask-image: url('/static/images/ethereal-shadow-mask.webp');
    -webkit-mask-image: url('/static/images/ethereal-shadow-mask.webp');
    mask-size: cover;
    -webkit-mask-size: cover;
    mask-position: center top;
    -webkit-mask-position: center top;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
}

/* ==========================================================================
   404 ERROR PAGE (1:1 REPLICA FROM ARAYAS-CHEATS.COM)
   ========================================================================== */
.error-page {
    position: relative;
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 80px;
    overflow: hidden;
    z-index: 1;
}

.error-backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.kanji-item {
    position: absolute;
    font-family: var(--font-onder);
    font-weight: 700;
    user-select: none;
    color: #8c75e8;
    pointer-events: none;
}

.kanji-1 {
    top: 15%;
    left: 10%;
    font-size: clamp(32px, 4vw, 45px);
    opacity: 0.20;
    transform: rotate(-8deg);
}

.kanji-2 {
    top: 20%;
    right: 12%;
    font-size: clamp(22px, 3vw, 30px);
    opacity: 0.15;
    transform: rotate(6deg);
}

.kanji-3 {
    top: 55%;
    left: 8%;
    font-size: clamp(28px, 3.5vw, 40px);
    opacity: 0.22;
    transform: rotate(4deg);
}

.kanji-4 {
    bottom: 18%;
    right: 10%;
    font-size: clamp(36px, 4.5vw, 50px);
    opacity: 0.18;
    transform: rotate(-6deg);
}

.kanji-5 {
    bottom: 12%;
    left: 36%;
    font-size: clamp(16px, 2vw, 22px);
    opacity: 0.12;
    transform: rotate(3deg);
}

.error-glow {
    position: absolute;
    width: 540px;
    height: 540px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(171, 143, 255, 0.18) 0%, rgba(171, 143, 255, 0.06) 40%, transparent 70%);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: errorPulse 5s ease-in-out infinite;
}

@keyframes errorPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.12);
        opacity: 1;
    }
}

.error-card {
    position: relative;
    z-index: 2;
    max-width: 560px;
    width: 100%;
    padding: 56px 40px;
    border-radius: 24px;
    border: 1px solid rgba(140, 117, 232, 0.22);
    background: radial-gradient(100% 100% at 50% 0%, rgba(140, 117, 232, 0.12) 0%, rgba(15, 16, 22, 0.88) 100%), rgba(31, 31, 43, 0.25);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(140, 117, 232, 0.08);
}

.error-code {
    font-family: var(--font-onder);
    font-size: clamp(64px, 10vw, 84px);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 16px;
    background: linear-gradient(180deg, #ab8fff 0%, #6855b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 35px rgba(171, 143, 255, 0.35));
}

.error-title {
    font-family: var(--font-onder);
    font-size: clamp(20px, 2.8vw, 24px);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 14px;
}

.error-desc {
    font-family: var(--font-mont);
    font-size: 14px;
    color: #8e90a6;
    line-height: 1.6;
    max-width: 440px;
    margin: 0 auto 32px;
}

.error-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 36px;
    border-radius: 12px;
    font-family: var(--font-mont);
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(163deg, rgba(255, 255, 255, 0.5) 0.12%, rgba(170, 160, 255, 0.5) 99.94%), #8c75e8;
    box-shadow: 0 4px 20px rgba(140, 117, 232, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.error-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(140, 117, 232, 0.55);
}

/* ==========================================================================
   GIVEAWAYS LIST PAGE (ALL GIVEAWAYS)
   ========================================================================== */
.filter-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 22px;
    border-radius: 12px;
    background: rgba(31, 31, 43, 0.4);
    border: 1px solid rgba(140, 117, 232, 0.2);
    color: #b2b1d2;
    font-family: var(--font-mont);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.filter-tab:hover,
.filter-tab.active {
    background: rgba(140, 117, 232, 0.2);
    border-color: #8c75e8;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(140, 117, 232, 0.25);
}

.tab-badge {
    background: rgba(255, 255, 255, 0.12);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 12px;
}

.dot-active {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #8fffab;
    box-shadow: 0 0 10px #8fffab;
}

.giveaways-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

@media (max-width: 1024px) {
    .giveaways-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .giveaways-list-grid {
        grid-template-columns: 1fr;
    }
}

.giveaway-item-card {
    background: radial-gradient(885.95% 274.23% at 49.37% center, rgba(18, 20, 24, 0) 0%, rgba(90, 80, 139, 0.35) 100%), rgba(31, 31, 43, 0.4);
    border-radius: 20px;
    border: 1px solid rgba(140, 117, 232, 0.2);
    padding: 28px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.giveaway-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 30px rgba(140, 117, 232, 0.2);
    border-color: rgba(140, 117, 232, 0.45);
}

.giveaway-card-shader {
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: rgba(140, 117, 232, 0.2);
    filter: blur(55px);
    border-radius: 50%;
    pointer-events: none;
}

.giveaway-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.badge-status-pill {
    padding: 6px 14px;
    border-radius: 100px;
    font-family: var(--font-mont);
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-active {
    background: rgba(143, 255, 171, 0.15);
    color: #8fffab;
    border: 1px solid rgba(143, 255, 171, 0.35);
    box-shadow: 0 0 15px rgba(143, 255, 171, 0.25);
}

.badge-finished {
    background: rgba(178, 177, 210, 0.12);
    color: #b2b1d2;
    border: 1px solid rgba(178, 177, 210, 0.25);
}

.giveaway-card-id {
    font-family: var(--font-onder);
    font-size: 16px;
    color: #8c75e8;
    font-weight: 700;
}

.giveaway-card-title {
    font-family: var(--font-onder);
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 700;
}

.giveaway-card-period {
    font-family: var(--font-mont);
    font-size: 13px;
    color: #8a89a7;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
}

.period-icon {
    font-size: 14px;
}

.giveaway-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    background: rgba(15, 16, 22, 0.6);
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 24px;
}

.giveaway-stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-box-num {
    font-family: var(--font-onder);
    font-size: 18px;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.2;
}

.stat-box-lbl {
    font-family: var(--font-mont);
    font-size: 11px;
    color: #8a89a7;
    margin-top: 4px;
}

.giveaway-action-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 50px;
    border-radius: 12px;
    font-family: var(--font-mont);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-tg {
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(42, 171, 238, 0.35);
}

.btn-tg:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(42, 171, 238, 0.55);
}

.btn-results {
    background: linear-gradient(163deg, rgba(255, 255, 255, 0.5) 0.12%, rgba(170, 160, 255, 0.5) 99.94%), #8c75e8;
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(140, 117, 232, 0.35);
}

.btn-results:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(140, 117, 232, 0.55);
}

.empty-giveaways-box {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: rgba(31, 31, 43, 0.3);
    border-radius: 20px;
    border: 1px dashed rgba(140, 117, 232, 0.3);
    color: #8a89a7;
    font-family: var(--font-mont);
    font-size: 15px;
}


