:root {
    --primary: #ff2d55;
    --secondary: #af52de;
    --accent: #ff9500;
    --bg-dark: #0a0a1a;
    --bg-card: rgba(255,255,255,0.04);
    --bg-card-hover: rgba(255,255,255,0.08);
    --text-primary: #ffffff;
    --text-secondary: #8e8ea0;
    --text-muted: #5a5a6e;
    --border: rgba(255,255,255,0.08);
    --border-glow: rgba(255,45,85,0.3);
    --gradient-primary: linear-gradient(135deg, #ff2d55, #ff9500);
    --gradient-secondary: linear-gradient(135deg, #af52de, #ff2d55);
    --gradient-card: linear-gradient(135deg, rgba(255,45,85,0.1), rgba(175,82,222,0.1));
    --shadow-glow: 0 0 30px rgba(255,45,85,0.15);
    --shadow-card: 0 8px 32px rgba(0,0,0,0.3);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(255,45,85,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(175,82,222,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255,149,0,0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.particles-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: floatParticle linear infinite;
    opacity: 0;
}

@keyframes floatParticle {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* HEADER */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10,10,26,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 22px;
    font-weight: 800;
}

.logo-icon {
    width: 36px;
    height: 36px;
    animation: logoFloat 3s ease-in-out infinite, logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes logoGlow {
    0% { filter: drop-shadow(0 0 6px rgba(255,45,85,0.4)); }
    100% { filter: drop-shadow(0 0 14px rgba(255,45,85,0.8)); }
}

.btn-logout {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: rgba(255,45,85,0.12);
    border: 1px solid rgba(255,45,85,0.3);
    border-radius: var(--radius-sm);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-logout:hover {
    background: rgba(255,45,85,0.2);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(255,45,85,0.2);
    transform: translateY(-1px);
}

/* STAT CARDS */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,45,85,0.2), rgba(175,82,222,0.1), rgba(255,149,0,0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderGlow 3s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes borderGlow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.stat-card:hover {
    transform: translateY(-3px);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-glow);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.stat-icon.pink { background: rgba(255,45,85,0.15); color: #ff2d55; }
.stat-icon.gold { background: rgba(255,183,77,0.15); color: #ffb74d; }
.stat-icon.purple { background: rgba(175,82,222,0.15); color: #af52de; }
.stat-icon.green { background: rgba(52,199,89,0.15); color: #34c759; }

.stat-info { flex: 1; }
.stat-label { font-size: 12px; color: var(--text-secondary); margin-bottom: 2px; font-weight: 500; }
.stat-value { font-size: 20px; font-weight: 800; line-height: 1.2; }
.stat-sub { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.stat-sub.green { color: #34c759; }

/* LIVE USERS BAR */
.live-users-bar {
    background: linear-gradient(135deg, rgba(52,199,89,0.08), rgba(99,102,241,0.08));
    border: 1px solid rgba(52,199,89,0.2);
    border-radius: var(--radius);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    animation: borderGlow 3s ease-in-out infinite alternate;
}

.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #34c759;
    box-shadow: 0 0 8px #34c759;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px #34c759; }
    50% { opacity: 0.5; box-shadow: 0 0 16px #34c759, 0 0 30px rgba(52,199,89,0.3); }
}

.live-text {
    font-size: 11px;
    font-weight: 800;
    color: #34c759;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.live-count {
    font-size: 16px;
    font-weight: 800;
    color: #34c759;
    font-variant-numeric: tabular-nums;
}

.live-label {
    font-size: 12px;
    color: var(--text-secondary);
}

.live-separator {
    color: var(--text-muted);
    margin: 0 4px;
}

.live-count-sub {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

#live-claims {
    font-weight: 700;
    color: var(--text-primary);
}

@media (max-width: 640px) {
    .live-users-bar { flex-wrap: wrap; justify-content: center; gap: 6px; padding: 10px 16px; }
    .live-count-sub { display: none; }
}

/* WELCOME BANNER */
.welcome-banner {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 30px;
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.welcome-banner::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 200%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(50%); }
}

.welcome-banner h2 {
    font-size: 18px;
    font-weight: 700;
}

.welcome-banner h2 .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-banner p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 4px;
}

.welcome-banner p .hl { color: var(--accent); font-weight: 600; }

/* CLAIM CARD */
.claim-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
    position: relative;
}

.claim-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,45,85,0.3), rgba(175,82,222,0.1), rgba(255,149,0,0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: borderGlow 3s ease-in-out infinite alternate;
}

.claim-left {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 30px;
    position: relative;
    background: radial-gradient(circle at center, rgba(255,45,85,0.08) 0%, transparent 70%);
}

.tron-logo-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tron-logo-wrapper::before {
    content: '';
    position: absolute;
    width: 180px; height: 180px;
    border-radius: 50%;
    border: 1px solid rgba(255,45,85,0.15);
    animation: orbitSlow 12s linear infinite;
}

.tron-logo-wrapper::after {
    content: '';
    position: absolute;
    width: 140px; height: 140px;
    border-radius: 50%;
    border: 1px dashed rgba(175,82,222,0.15);
    animation: orbitSlow 8s linear infinite reverse;
}

@keyframes orbitSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.tron-main-logo {
    width: 120px;
    height: 120px;
    animation: logoFloat 4s ease-in-out infinite, logoBreath 3s ease-in-out infinite alternate, logoGlow 2s ease-in-out infinite alternate;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 30px rgba(255,45,85,0.5));
}

@keyframes logoBreath {
    0% { transform: scale(0.95); }
    100% { transform: scale(1.05); }
}

.orbit-particle {
    position: absolute;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    animation: orbitParticle 6s linear infinite;
}

.orbit-particle:nth-child(2) { animation-delay: -1.5s; background: var(--secondary); box-shadow: 0 0 10px var(--secondary); }
.orbit-particle:nth-child(3) { animation-delay: -3s; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.orbit-particle:nth-child(4) { animation-delay: -4.5s; width: 4px; height: 4px; }

@keyframes orbitParticle {
    from { transform: rotate(0deg) translateX(90px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(90px) rotate(-360deg); }
}

.claim-right {
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.claim-right h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 6px;
}

.claim-right h2 .gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.claim-right .subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 28px;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

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

.input-wrapper .input-icon {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    font-size: 16px;
    pointer-events: none;
}

.form-control {
    width: 100%;
    padding: 13px 14px 13px 44px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255,45,85,0.1);
    background: rgba(255,255,255,0.06);
}

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

.btn-primary {
    width: 100%;
    padding: 15px 24px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before { left: 100%; }

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255,45,85,0.4);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.form-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 12px;
}

.form-note i { color: #34c759; }

/* CLAIM SECTION (logged in) */
.claim-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: rgba(255,45,85,0.2);
    box-shadow: var(--shadow-glow);
}

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

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: rgba(255,45,85,0.12);
    color: var(--primary);
}

.card-icon.purple { background: rgba(175,82,222,0.12); color: var(--secondary); }

.card-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.reward-display {
    text-align: center;
    margin-bottom: 24px;
}

.reward-amount {
    font-size: 36px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.reward-usd {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* COUNTDOWN TIMER */
.countdown-wrapper {
    text-align: center;
    margin-bottom: 24px;
}

.countdown-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.countdown-block {
    background: rgba(255,45,85,0.08);
    border: 1px solid rgba(255,45,85,0.15);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    min-width: 60px;
    text-align: center;
}

.countdown-block .num {
    font-size: 28px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--primary);
}

.countdown-block .lbl {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-sep {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-muted);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* CLAIM BUTTON ROW */
.claim-btn-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
}

.btn-claim {
    padding: 14px 32px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-claim:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,45,85,0.4);
}

.btn-claim:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.captcha-box {
    flex-shrink: 0;
}

.claim-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
}

.claim-note i { color: #34c759; }

/* HOW IT WORKS */
.how-it-works .step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.step:last-child { margin-bottom: 0; }

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
    background: var(--gradient-primary);
    color: #fff;
}

.step-num.purple { background: var(--gradient-secondary); }
.step-num.orange { background: linear-gradient(135deg, #ff9500, #ff2d55); }
.step-num.green { background: linear-gradient(135deg, #34c759, #30d158); }

.step-content h4 { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.step-content p { font-size: 12px; color: var(--text-secondary); }

/* BOTTOM INFO CARDS */
.info-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255,45,85,0.2);
}

.info-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.info-card-icon.pink { background: rgba(255,45,85,0.12); color: #ff2d55; }
.info-card-icon.gold { background: rgba(255,183,77,0.12); color: #ffb74d; }
.info-card-icon.purple { background: rgba(175,82,222,0.12); color: #af52de; }
.info-card-icon.green { background: rgba(52,199,89,0.12); color: #34c759; }

.info-card-label { font-size: 11px; color: var(--text-secondary); }
.info-card-value { font-size: 16px; font-weight: 700; }

/* REFERRAL SECTION */
.referral-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px 35px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.referral-section::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,45,85,0.2), rgba(175,82,222,0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.referral-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.referral-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255,45,85,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--primary);
    flex-shrink: 0;
    animation: logoFloat 3s ease-in-out infinite;
}

.referral-left h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 4px;
}

.referral-left p {
    font-size: 13px;
    color: var(--text-secondary);
}

.referral-left p .hl { color: var(--accent); font-weight: 600; }

.referral-right { text-align: right; }
.referral-right label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.referral-link-row {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.referral-link-input {
    padding: 12px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--primary);
    font-size: 13px;
    font-family: 'Courier New', monospace;
    width: 300px;
    outline: none;
}

.btn-copy {
    padding: 12px 20px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.btn-copy:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,45,85,0.3);
}

/* FOOTER */
.footer {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    margin-top: 20px;
}

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

.footer-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    width: 28px;
    height: 28px;
}

.footer-text {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-links a::after { content: '>'; margin-left: 6px; color: var(--text-muted); font-size: 11px; }

/* AUTH PAGES */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
}

.auth-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,45,85,0.3), rgba(175,82,222,0.1), rgba(255,149,0,0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.auth-card .logo {
    justify-content: center;
    margin-bottom: 8px;
}

.auth-card .auth-title {
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 4px;
}

.auth-card .auth-subtitle {
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.auth-card .form-group { margin-bottom: 16px; }

.auth-card .form-group label { font-size: 12px; }

.auth-card .btn-primary { margin-top: 8px; }

.auth-card .auth-footer {
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 20px;
}

.auth-card .auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-card .auth-footer a:hover { text-decoration: underline; }

/* DASHBOARD CARDS */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.dash-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    transition: all 0.3s ease;
}

.dash-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.dash-card h4 {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 8px;
}

.dash-card .value {
    font-size: 22px;
    font-weight: 800;
}

.dash-card .value.gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* WITHDRAW PAGE */
.withdraw-form {
    max-width: 600px;
    margin: 0 auto;
}

/* ACTIVITY TABLE */
.activity-list {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease;
}

.activity-item:last-child { border-bottom: none; }
.activity-item:hover { background: rgba(255,255,255,0.02); }

.activity-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.activity-icon.claim { background: rgba(255,45,85,0.12); color: #ff2d55; }
.activity-icon.withdraw { background: rgba(175,82,222,0.12); color: #af52de; }
.activity-icon.referral { background: rgba(255,183,77,0.12); color: #ffb74d; }

.activity-info { flex: 1; }
.activity-info .title { font-size: 13px; font-weight: 600; }
.activity-info .time { font-size: 11px; color: var(--text-muted); }
.activity-amount { font-size: 14px; font-weight: 700; }
.activity-amount.positive { color: #34c759; }
.activity-amount.negative { color: #ff453a; }

/* PAGES */
.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.page-content h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 24px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-content h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 24px 0 12px;
}

.page-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 18px 0 8px;
}

.page-content p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.7;
}

.page-content ul, .page-content ol {
    color: var(--text-secondary);
    margin-bottom: 12px;
    padding-left: 24px;
}

.page-content li { margin-bottom: 6px; line-height: 1.6; }

/* FAQ */
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.3s ease;
}

.faq-question:hover { background: rgba(255,255,255,0.02); }

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary);
}

.faq-item.open .faq-question i { transform: rotate(180deg); }

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 24px 18px;
}

/* CONTACT FORM */
.contact-form {
    max-width: 600px;
}

.contact-form .form-group { margin-bottom: 16px; }
.contact-form label { font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; display: block; }

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 13px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255,45,85,0.1);
}

/* MAINTENANCE */
.maintenance-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.maintenance-page h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.maintenance-page p { color: var(--text-secondary); font-size: 16px; }

/* TOAST */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideInRight 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 280px;
}

.toast.success { background: rgba(52,199,89,0.15); border: 1px solid rgba(52,199,89,0.3); color: #34c759; }
.toast.error { background: rgba(255,69,58,0.15); border: 1px solid rgba(255,69,58,0.3); color: #ff453a; }
.toast.info { background: rgba(0,122,255,0.15); border: 1px solid rgba(0,122,255,0.3); color: #007aff; }

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* NOTICE BAR */
.notice-bar {
    background: rgba(255,183,77,0.1);
    border: 1px solid rgba(255,183,77,0.2);
    border-radius: var(--radius-sm);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #ffb74d;
}

.notice-bar i { font-size: 16px; }

/* MOBILE RESPONSIVE */
@media (max-width: 968px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .info-cards { grid-template-columns: repeat(2, 1fr); }
    .claim-card { grid-template-columns: 1fr; }
    .claim-left { padding: 40px 20px; }
    .referral-section { grid-template-columns: 1fr; text-align: center; }
    .referral-right { text-align: center; }
    .referral-link-row { justify-content: center; }
    .referral-left { justify-content: center; }
    .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .stats-grid { grid-template-columns: 1fr; }
    .info-cards { grid-template-columns: 1fr; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .stat-card { padding: 16px; }
    .stat-value { font-size: 16px; }
    .claim-right { padding: 30px 20px; }
    .claim-right h2 { font-size: 22px; }
    .reward-amount { font-size: 28px; }
    .countdown-block { padding: 10px 12px; min-width: 50px; }
    .countdown-block .num { font-size: 22px; }
    .claim-btn-row { flex-direction: column; align-items: stretch; }
    .referral-link-row { flex-direction: column; align-items: stretch; }
    .referral-link-input { width: 100%; }
    .footer .container { flex-direction: column; gap: 12px; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
    .tron-logo-wrapper { width: 150px; height: 150px; }
    .tron-main-logo { width: 90px; height: 90px; }
    .header .container { gap: 10px; }
    .logo { font-size: 18px; }
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* LOADING SPINNER */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    display: inline-block;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* TRANSITION UTILITIES */
.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-up {
    animation: slideUp 0.6s cubic-bezier(0.4,0,0.2,1) forwards;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
