:root {
    --theme-bg: #030712;
    --theme-bg-secondary: #060d1f;
    --theme-surface: rgba(8, 16, 40, 0.9);
    --theme-surface-strong: rgba(10, 20, 45, 0.95);
    --theme-border: rgba(255, 255, 255, 0.08);
    --theme-border-strong: rgba(102, 247, 241, 0.35);
    --theme-accent: #66f7f1;
    --theme-accent-2: #b57dff;
    --theme-danger: #ff5f8f;
    --theme-text: #f6f7fb;
    --theme-muted: rgba(246, 247, 251, 0.7);
    --theme-glow: 0 0 35px rgba(102, 247, 241, 0.25);
}

body.theme-cyberwave {
    background: radial-gradient(circle at 20% 20%, #101c3d 0%, #050a16 45%, #020510 100%);
    color: var(--theme-text);
    font-family: 'Segoe UI', 'Montserrat', 'Inter', sans-serif;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.background-layer {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.background-grid {
    background: radial-gradient(circle at 30% 20%, rgba(181, 125, 255, 0.35), transparent 45%),
                radial-gradient(circle at 70% 10%, rgba(102, 247, 241, 0.25), transparent 40%),
                linear-gradient(140deg, rgba(6, 13, 31, 0.9), rgba(3, 7, 18, 0.95));
}

.background-glow {
    background: radial-gradient(circle at 50% 0%, rgba(102, 247, 241, 0.15), transparent 55%),
                radial-gradient(circle at 0% 100%, rgba(181, 125, 255, 0.1), transparent 45%);
    filter: blur(60px);
}

.background-noise {
    background-image: url("data:image/svg+xml,%3Csvg width='160' height='160' viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M0 0h20v20H0zM40 40h20v20H40zM80 0h20v20H80zM120 40h20v20h-20z'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.35;
    mix-blend-mode: screen;
}

.page-shell {
    position: relative;
    z-index: 1;
}

.glass-panel {
    background: var(--theme-surface);
    border: 1px solid var(--theme-border);
    border-radius: 24px;
    padding: 24px;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.35);
}

.hero-panel {
    border: 1px solid rgba(181, 125, 255, 0.25);
    box-shadow: var(--theme-glow);
}

.hero-logo {
    max-width: 240px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(102, 247, 241, 0.35));
}

.hero-label {
    color: var(--theme-accent);
    font-size: 0.825rem;
    letter-spacing: 0.2em;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    color: var(--theme-muted);
    max-width: 560px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.metric-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-pill i {
    color: var(--theme-accent);
    font-size: 1.25rem;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--theme-muted);
    text-transform: uppercase;
}

.metric-value {
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-cta {
    min-width: 180px;
    justify-content: center;
    gap: 0.4rem;
    font-weight: 600 !important;
    border-radius: 999px !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.btn-outline-light {
    color: var(--theme-text) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    background-color: transparent !important;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.hero-footnote {
    color: var(--theme-muted);
    font-size: 0.9rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.account-panel .section-title,
.content-feed .section-title,
.category-stack .section-title,
.about-panel .section-title {
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.eyebrow {
    color: var(--theme-muted);
    font-size: 0.8rem;
    letter-spacing: 0.25em;
}

.account-summary {
    background: var(--theme-surface-strong);
    border-radius: 20px;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.account-username {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.account-username:hover {
    color: var(--theme-accent);
}

.account-balance {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
    font-weight: 600;
}

.account-balance .label {
    color: var(--theme-muted);
}

.account-balance .value {
    color: var(--theme-accent);
    font-size: 1.1rem;
}

.account-balance.muted .value {
    color: var(--theme-accent-2);
}

.neon-alert {
    border-radius: 18px;
    padding: 1rem;
    border: 1px solid rgba(255, 215, 0, 0.35);
    background: rgba(255, 215, 0, 0.1);
    color: #fff;
}

.cta-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.account-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quick-action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.85rem;
}

.quick-action-card {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0.9rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, border 0.2s ease;
}

.quick-action-card:hover {
    transform: translateY(-4px);
    border-color: var(--theme-border-strong);
}

.quick-action-card i {
    color: var(--theme-accent);
    font-size: 1.1rem;
}

.quick-action-card .label {
    font-size: 0.8rem;
    color: var(--theme-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.quick-action-card .value {
    font-weight: 600;
}

.navigation-panel {
    padding: 1.25rem;
    border: 1px solid rgba(102, 247, 241, 0.15);
}

.navigation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1rem;
}

.nav-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, border 0.2s ease;
}

.nav-card:hover {
    transform: translateY(-6px);
    border-color: var(--theme-border-strong);
}

.nav-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
}

.bg-gradient-primary { background: linear-gradient(135deg, #66f7f1, #34cfff); }
.bg-gradient-coin { background: linear-gradient(135deg, #ffd166, #ff934f); }
.bg-gradient-exchange { background: linear-gradient(135deg, #b57dff, #7b5bff); }
.bg-gradient-support { background: linear-gradient(135deg, #66a6ff, #89f7fe); }
.bg-gradient-gift { background: linear-gradient(135deg, #ff6cab, #ff9472); }

.nav-copy .label {
    display: block;
    font-weight: 600;
}

.nav-copy .value {
    font-size: 0.85rem;
    color: var(--theme-muted);
}

.content-feed .post-feed {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.post-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.post-card_icon img {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.post-card_title {
    font-size: 1.05rem;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.post-card_title.is-hot {
    color: var(--theme-danger);
}

.post-card_meta {
    color: var(--theme-muted);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.post-card_status {
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid;
}

.status-live {
    border-color: var(--theme-danger);
    color: var(--theme-danger);
}

.status-info {
    border-color: var(--theme-accent);
    color: var(--theme-accent);
}

.empty-state {
    text-align: center;
    padding: 2rem;
    border-radius: 18px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.empty-state i {
    font-size: 2rem;
    color: var(--theme-muted);
    margin-bottom: 0.75rem;
}

.category-grid {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.category-card {
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, border 0.2s ease;
}

.category-card:hover {
    transform: translateX(6px);
    border-color: var(--theme-border-strong);
}

.category-card img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.category-card .title {
    font-weight: 600;
    margin-bottom: 0;
}

.category-card .description {
    margin-bottom: 0;
    color: var(--theme-muted);
    font-size: 0.85rem;
}

.about-panel {
    border: 1px solid rgba(181, 125, 255, 0.2);
    background: rgba(10, 20, 45, 0.85);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.25);
}

.text-accent {
    color: var(--theme-accent);
}

.site-footer .age-rule {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    color: var(--theme-muted);
    font-size: 0.85rem;
}

.footer-panel {
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy {
    color: var(--theme-muted);
    font-size: 0.85rem;
    margin-top: 0.75rem;
}

.reward-shell {
    position: relative;
    z-index: 1;
}

.reward-panel {
    border: 1px solid rgba(102, 247, 241, 0.15);
    background: rgba(8, 16, 40, 0.9);
}

.section-note, .milestone-note, .confirm-note {
    color: var(--theme-muted);
    font-size: 0.85rem;
}

.milestone-note {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.85rem;
}

.character-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.9rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
}

.character-card:hover {
    border-color: var(--theme-border-strong);
    transform: translateY(-4px);
}

.character-card.active {
    border-color: var(--theme-accent);
    box-shadow: 0 0 20px rgba(102, 247, 241, 0.25);
}

.character-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.character-name {
    font-weight: 600;
    color: #fff;
}

.character-class {
    color: var(--theme-accent-2);
    font-size: 0.85rem;
}

.gift-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.gift-card {
    padding: 1.25rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    position: relative;
}

.gift-card:hover {
    border-color: var(--theme-border-strong);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.gift-card.active {
    border-color: var(--theme-accent);
    background: rgba(102, 247, 241, 0.1);
    box-shadow: 0 0 30px rgba(102, 247, 241, 0.35), inset 0 0 20px rgba(102, 247, 241, 0.05);
    transform: translateY(-2px);
}

.gift-card.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--theme-accent), var(--theme-accent-2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.4;
    pointer-events: none;
}

.gift-card_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gift-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--theme-accent);
}

.gift-label {
    color: var(--theme-muted);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
}

.status-chip {
    border-radius: 999px;
    padding: 0.2rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.reward-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.reward-row {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    padding: 0.45rem 0.35rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.reward-row img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.reward-title {
    font-weight: 600;
}

.reward-value {
    font-size: 0.85rem;
    color: var(--theme-muted);
}

.confirm-panel {
    border: 1px dashed rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

.confirm-panel .btn {
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.content-detail-shell {
    position: relative;
    z-index: 1;
}

.detail-header .detail-avatar {
    position: relative;
    width: 72px;
    height: 72px;
}

.detail-header .detail-avatar img {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.detail-header .detail-avatar .badge {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--theme-accent);
    color: #02111f;
    border-radius: 999px;
    font-size: 0.7rem;
    padding: 0.1rem 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.detail-title {
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    color: var(--theme-muted);
    font-size: 0.85rem;
}

.detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-back {
    border-radius: 999px !important;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.detail-content .post-content {
    color: #f7f8fb;
    font-size: 1rem;
}

.detail-content .post-content a {
    color: var(--theme-accent);
}

.collection-shell {
    position: relative;
    z-index: 1;
}

.giftcode-panel {
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.giftcode-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.giftcode-card {
    background: rgba(8, 16, 40, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.giftcode-card:hover {
    border-color: var(--theme-border-strong);
    background: rgba(8, 16, 40, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.giftcode-header {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.giftcode-badge-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.giftcode-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, var(--theme-accent), #4dd4d0);
    color: #030712;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(102, 247, 241, 0.3);
    text-transform: uppercase;
}

.giftcode-expiry {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--theme-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.giftcode-expiry.unlimited {
    background: rgba(181, 125, 255, 0.15);
    border-color: rgba(181, 125, 255, 0.3);
    color: var(--theme-accent-2);
}

.giftcode-expiry i {
    font-size: 0.75rem;
}

.giftcode-rewards {
    margin-top: 1rem;
}

.rewards-label {
    color: var(--theme-muted);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.reward-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.reward-chip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.reward-chip:hover {
    border-color: var(--theme-border-strong);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.reward-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.reward-icon img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: contain;
}

.reward-info {
    flex: 1;
    min-width: 0;
}

.reward-name {
    margin: 0 0 0.25rem 0;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--theme-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reward-quantity {
    font-size: 0.85rem;
    color: var(--theme-accent);
    font-weight: 600;
}

.modern-table table {
    width: 100%;
}

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

.modern-table th,
.modern-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem;
}

.leaderboard-shell {
    position: relative;
    z-index: 1;
}

.leaderboard-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
}

.leaderboard-tab {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    color: var(--theme-text);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.leaderboard-tab:hover {
    border-color: var(--theme-border-strong);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.leaderboard-tab.active {
    border-color: var(--theme-accent);
    background: linear-gradient(135deg, rgba(102, 247, 241, 0.15), rgba(102, 247, 241, 0.05));
    box-shadow: 0 0 25px rgba(102, 247, 241, 0.3), inset 0 0 20px rgba(102, 247, 241, 0.1);
    color: var(--theme-accent);
    font-weight: 700;
}

.leaderboard-tab.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, var(--theme-accent), var(--theme-accent-2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
}

.leaderboard-table table {
    width: 100%;
}

.leaderboard-table {
    margin-top: 1.5rem;
}

.leaderboard-table thead th {
    background: rgba(8, 16, 40, 0.6);
    color: var(--theme-text);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem;
    border-bottom: 2px solid var(--theme-border);
}

.leaderboard-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.leaderboard-table tbody tr:hover {
    background: rgba(102, 247, 241, 0.08);
}

.leaderboard-table tbody td {
    padding: 1rem;
    color: var(--theme-text);
    font-size: 0.95rem;
}

.leaderboard-table tbody tr:nth-child(1) td {
    color: #ff6cab;
    font-weight: 700;
    background: rgba(255, 108, 171, 0.1);
}

.leaderboard-table tbody tr:nth-child(2) td {
    color: #ffd166;
    font-weight: 600;
    background: rgba(255, 209, 102, 0.1);
}

.leaderboard-table tbody tr:nth-child(3) td {
    color: #66f7f1;
    font-weight: 600;
    background: rgba(102, 247, 241, 0.1);
}

.recharge-shell {
    position: relative;
    z-index: 1;
}

.recharge-hero .hero-card-icon {
    width: 120px;
    height: 120px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.recharge-hero .hero-card-icon img {
    width: 72px;
}

.method-pill {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.4rem 1.2rem;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--theme-accent);
}

.method-switch {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.method-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 0.45rem 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--theme-text);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
}

.method-card.active {
    border-color: var(--theme-border-strong);
    color: var(--theme-accent);
}

.recharge-panel {
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.recharge-tier .recharge-method-item {
    height: 130px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.recharge-tier .recharge-method-item:hover {
    border-color: var(--theme-border-strong);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.recharge-tier .recharge-method-item.active {
    border-color: var(--theme-accent);
    background: rgba(102, 247, 241, 0.1);
    box-shadow: 0 0 20px rgba(102, 247, 241, 0.25);
}

.tier-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--theme-accent);
}

.tier-desc {
    color: var(--theme-muted);
    font-size: 0.9rem;
}

.tier-value {
    font-size: 1.1rem;
    font-weight: 600;
}

.tier-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ff6cab;
    color: #fff;
    border-radius: 999px;
    padding: 0.15rem 0.5rem;
    font-size: 0.75rem;
}

.recharge-actions .btn {
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.community-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.02);
    transition: transform 0.2s ease, border 0.2s ease;
}

.community-card:hover {
    border-color: var(--theme-border-strong);
    transform: translateY(-4px);
}

.community-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-accent);
}

.community-title {
    font-weight: 600;
}

.community-desc {
    color: var(--theme-muted);
    font-size: 0.85rem;
}

.account-shell {
    position: relative;
    z-index: 1;
}

.form-panel {
    max-width: 520px;
    margin: 0 auto;
}

.auth-form .form-control {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--theme-text);
    padding: 0.65rem 2.9rem;
}

.auth-form .form-control:focus {
    border-color: var(--theme-border-strong);
    box-shadow: 0 0 0 0.15rem rgba(102, 247, 241, 0.15);
    color: var(--theme-text);
}

.auth-form .form-control::placeholder {
    color: var(--theme-muted);
}

.dashboard-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.dashboard-tab-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.dashboard-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.45rem 1.2rem;
    color: var(--theme-text);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
}

.dashboard-tab.active {
    border-color: var(--theme-border-strong);
    color: var(--theme-accent);
    box-shadow: 0 0 18px rgba(102, 247, 241, 0.2);
}

.account-summary-panel {
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
}

.stat-card {
    border-radius: 16px;
    padding: 1rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.stat-card.primary {
    background: linear-gradient(135deg, #1f6feb, #0b3d91);
}

.stat-card.secondary {
    background: linear-gradient(135deg, #9b59b6, #5e2b7b);
}

.stat-card.neutral {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
}

.stat-card .label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    opacity: 0.8;
}

.stat-card .value {
    margin: 0.2rem 0;
    font-size: 1.4rem;
}

.stat-card .meta {
    font-size: 0.8rem;
    opacity: 0.9;
}

.info-panel {
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 0.5rem;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .label {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.72rem;
    color: var(--theme-muted);
}

.info-row .value {
    font-weight: 600;
}

.quick-note {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.data-panel {
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.35rem 1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    color: var(--theme-muted);
}

.data-surface {
    border-radius: 20px;
    min-height: 200px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem;
    overflow-x: auto;
}

.pagination-shell {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-shell button,
.pagination-shell a {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    color: var(--theme-text);
    border-radius: 10px;
    padding: 0.35rem 0.8rem;
    text-decoration: none;
}

.pagination-shell .active {
    border-color: var(--theme-accent);
    color: var(--theme-accent);
}

.download-shell {
    position: relative;
    z-index: 1;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.download-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
}

.download-card_title {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.download-card_desc {
    color: var(--theme-muted);
    font-size: 0.9rem;
    margin-bottom: 0.9rem;
}

.download-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.download-pill-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
}

.download-pill {
    border-radius: 999px;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: var(--theme-text);
    font-weight: 600;
    text-decoration: none;
}

.download-pill:hover {
    border-color: var(--theme-border-strong);
    color: var(--theme-accent);
}

.download-pill_note {
    font-size: 0.78rem;
    color: var(--theme-muted);
}

.download-guide {
    margin-top: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.download-guide_title {
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.download-steps {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--theme-text);
    line-height: 1.6;
}

.download-cta {
    margin-top: 1.5rem;
}

.download-cta button {
    border-radius: 999px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.secondary-grid .system-card {
    min-height: 100%;
}

.action-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    padding: 0.85rem 1rem;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: border 0.2s ease, transform 0.2s ease;
    position: relative;
}

.action-item:hover {
    border-color: var(--theme-border-strong);
    transform: translateX(4px);
}

.action-item .icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
}

.action-title {
    font-weight: 600;
}

.action-desc {
    color: var(--theme-muted);
    font-size: 0.85rem;
}

.payment-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.payment-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.85rem;
    align-items: center;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    text-decoration: none;
    color: inherit;
}

.payment-card:hover {
    border-color: var(--theme-border-strong);
}

.payment-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--theme-accent);
}

.payment-title {
    font-weight: 600;
}

.payment-desc {
    color: var(--theme-muted);
    font-size: 0.85rem;
}

.badge.badge-outline {
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    padding: 0.15rem 0.65rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--theme-text);
}

.reassurance {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    color: var(--theme-muted);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 14px;
    padding: 0.65rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.reassurance i {
    color: var(--theme-accent);
}

.insight-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.insight-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.8rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.insight-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.insight-title {
    font-weight: 600;
}

.insight-desc {
    color: var(--theme-muted);
    font-size: 0.85rem;
}

/* Auth Modals */
.modal-backdrop {
    background: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(8px);
}

.auth-modal {
    background: var(--theme-surface);
    border: 1px solid var(--theme-border);
    border-radius: 24px;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5), var(--theme-glow);
    color: var(--theme-text);
}

.auth-modal .modal-body {
    padding: 32px;
}

.auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.auth-logo {
    margin-bottom: 16px;
}

.auth-logo img {
    max-width: 150px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(102, 247, 241, 0.35));
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.auth-subtitle {
    color: var(--theme-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.auth-form {
    margin-top: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    color: var(--theme-text);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: var(--theme-muted);
    z-index: 1;
}

.auth-input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    background: rgba(8, 16, 40, 0.6);
    border: 1px solid var(--theme-border);
    border-radius: 12px;
    color: var(--theme-text);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.auth-input:focus {
    background: rgba(8, 16, 40, 0.8);
    border-color: var(--theme-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 247, 241, 0.15);
}

.auth-input::placeholder {
    color: var(--theme-muted);
}

.input-wrapper-otp {
    gap: 8px;
}

.input-wrapper-otp .auth-input {
    flex: 1;
}

.auth-otp-btn {
    padding: 12px 20px;
    white-space: nowrap;
    border-radius: 12px;
}

.captcha-wrapper {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.auth-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.auth-btn-primary,
.auth-btn-secondary {
    flex: 1;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-btn-primary {
    background: linear-gradient(135deg, var(--theme-accent), #4dd4d0);
    border: none;
    color: #030712;
}

.auth-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 247, 241, 0.4);
}

.auth-links {
    margin-top: 20px;
    text-align: center;
}

.auth-links p {
    margin-bottom: 8px;
    color: var(--theme-muted);
    font-size: 0.9rem;
}

.auth-link {
    color: var(--theme-accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-link:hover {
    color: #4dd4d0;
    text-decoration: underline;
}

/* Transactions Table */
.data-surface {
    overflow-x: auto;
}

.data-surface table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.data-surface thead th {
    background: rgba(8, 16, 40, 0.6);
    color: var(--theme-text);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 16px;
    border-bottom: 2px solid var(--theme-border);
    cursor: pointer;
    transition: all 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 10;
}

.data-surface thead th:hover {
    background: rgba(8, 16, 40, 0.8);
    color: var(--theme-accent);
}

.data-surface thead th.text-warning {
    color: var(--theme-accent);
    border-bottom-color: var(--theme-accent);
}

.data-surface tbody tr {
    border-bottom: 1px solid var(--theme-border);
    transition: all 0.3s ease;
}

.data-surface tbody tr:hover {
    background: rgba(102, 247, 241, 0.08);
}

.data-surface tbody td {
    padding: 16px;
    color: var(--theme-text);
    font-size: 0.9rem;
}

.data-surface tbody tr:last-child {
    border-bottom: none;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(102, 247, 241, 0.15);
    border: 1px solid rgba(102, 247, 241, 0.3);
    border-radius: 20px;
    color: var(--theme-accent);
    font-size: 0.85rem;
    font-weight: 600;
}

.status-pill i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Pagination */
.pagination-shell {
    margin-top: 24px;
}

.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-item {
    margin: 0;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: rgba(8, 16, 40, 0.6);
    border: 1px solid var(--theme-border);
    border-radius: 12px;
    color: var(--theme-text);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: rgba(102, 247, 241, 0.15);
    border-color: var(--theme-accent);
    color: var(--theme-accent);
    transform: translateY(-2px);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--theme-accent), #4dd4d0);
    border-color: var(--theme-accent);
    color: #030712;
}

.page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Transaction amount colors */
.text-success {
    color: #4ade80 !important;
}

.text-danger {
    color: #f87171 !important;
}

.text-warning {
    color: var(--theme-accent) !important;
}

.table-header-sortable {
    position: relative;
}

.table-header-sortable::after {
    content: '↕';
    position: absolute;
    right: 8px;
    opacity: 0.5;
    font-size: 0.75rem;
}

.table-header-sortable.text-warning::after {
    opacity: 1;
    color: var(--theme-accent);
}

/* Fix about panel alignment */
.about-panel {
    border: 1px solid rgba(181, 125, 255, 0.2);
    background: rgba(10, 20, 45, 0.85);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.25);
    margin-top: 1.5rem;
}

@media (max-width: 767px) {
    .glass-panel {
        padding: 20px;
    }

    .post-card {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .post-card_status {
        justify-self: flex-start;
    }

    .auth-modal .modal-body {
        padding: 24px;
    }

    .auth-title {
        font-size: 1.5rem;
    }

    .auth-actions {
        flex-direction: column;
    }

    .giftcode-card {
        padding: 1.25rem;
    }

    .giftcode-badge-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .giftcode-badge {
        font-size: 1rem;
        padding: 0.45rem 1rem;
    }

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

    .reward-chip {
        padding: 0.75rem;
    }
}

