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

:root {
    --primary: #6C5CE7;
    --primary-dark: #5A4BD1;
    --primary-light: #A29BFE;
    --accent: #00D2FF;
    --accent-2: #7B68EE;
    --bg-dark: #0A0A1A;
    --bg-card: #12122A;
    --bg-card-2: #1A1A3E;
    --bg-input: #0D0D24;
    --text: #FFFFFF;
    --text-secondary: #8E8EA0;
    --text-muted: #5A5A7A;
    --border: #2A2A4A;
    --success: #00E676;
    --warning: #FFB74D;
    --danger: #FF5252;
    --gold: #FFD700;
    --silver: #C0C0C0;
    --bronze: #CD7F32;
    --diamond: #B9F2FF;
    --gradient-1: linear-gradient(135deg, #6C5CE7, #00D2FF);
    --gradient-2: linear-gradient(135deg, #A29BFE, #6C5CE7);
    --gradient-3: linear-gradient(135deg, #00D2FF, #6C5CE7, #A29BFE);
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Particles Background */
.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.15;
    animation: float linear infinite;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(108, 92, 231, 0.1);
    transition: all 0.3s;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.accent {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-connect {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gradient-1);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.btn-connect:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(108, 92, 231, 0.4);
}

.btn-connect.connected {
    background: rgba(0, 230, 118, 0.15);
    border: 1px solid rgba(0, 230, 118, 0.3);
}

.mobile-menu {
    display: none;
    background: none;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 20px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(108, 92, 231, 0.15);
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 24px;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(108, 92, 231, 0); }
}

.hero h1 {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.gradient-text {
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-value {
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--gradient-1);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(108, 92, 231, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(108, 92, 231, 0.1);
    transform: translateY(-2px);
}

/* Token Card */
.hero-visual {
    flex: 0 0 380px;
}

.token-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.token-glow {
    position: absolute;
    inset: -2px;
    background: var(--gradient-3);
    border-radius: 24px;
    opacity: 0.6;
    filter: blur(1px);
    animation: glow-rotate 4s linear infinite;
}

@keyframes glow-rotate {
    0% { filter: blur(1px) hue-rotate(0deg); }
    100% { filter: blur(1px) hue-rotate(360deg); }
}

.token-inner {
    position: relative;
    background: var(--bg-card);
    border-radius: 22px;
    padding: 40px 32px;
    text-align: center;
    z-index: 1;
    margin: 2px;
}

.token-logo {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 16px;
    box-shadow: 0 8px 32px rgba(108, 92, 231, 0.3);
    animation: token-float 3s ease-in-out infinite;
}

@keyframes token-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.token-name {
    font-size: 32px;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.token-chain {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
}

.token-divider {
    height: 1px;
    background: var(--border);
    margin-bottom: 24px;
}

.token-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.token-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.token-row span:first-child {
    color: var(--text-muted);
}

.token-row span:last-child {
    font-weight: 600;
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.section-dark {
    background: var(--bg-card);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(108, 92, 231, 0.15);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto;
}

/* Claim Grid */
.claim-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

.claim-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    transition: all 0.3s;
}

.claim-card:hover {
    border-color: rgba(108, 92, 231, 0.3);
    transform: translateY(-4px);
}

.section-dark .claim-card {
    background: var(--bg-card-2);
}

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

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.check-icon {
    background: rgba(0, 210, 255, 0.15);
    color: var(--accent);
}

.claim-icon {
    background: rgba(108, 92, 231, 0.15);
    color: var(--primary-light);
}

.history-icon {
    background: rgba(255, 183, 77, 0.15);
    color: var(--warning);
}

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

/* Eligibility */
.eligibility-input {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.eligibility-input input {
    flex: 1;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

.eligibility-input input:focus {
    border-color: var(--primary);
}

.btn-check {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    background: var(--gradient-1);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    white-space: nowrap;
}

.btn-check:hover {
    box-shadow: 0 4px 16px rgba(108, 92, 231, 0.4);
}

.eligibility-result {
    background: var(--bg-input);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    animation: slideDown 0.3s ease;
}

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

.result-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 15px;
}

.result-status.eligible {
    color: var(--success);
}

.result-status.not-eligible {
    color: var(--danger);
}

.result-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.detail-row span:first-child {
    color: var(--text-muted);
}

.detail-row span:last-child {
    font-weight: 600;
}

.eligibility-criteria h4 {
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.eligibility-criteria ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.eligibility-criteria li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.eligibility-criteria li i {
    color: var(--success);
    font-size: 12px;
}

/* Main Claim Card */
.main-claim-card {
    border-color: rgba(108, 92, 231, 0.3);
    background: linear-gradient(180deg, rgba(108, 92, 231, 0.08) 0%, var(--bg-card) 100%);
}

.claim-status {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.status-circle {
    position: relative;
    width: 120px;
    height: 120px;
}

.status-circle svg {
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: var(--border);
    stroke-width: 6;
}

.circle-progress {
    fill: none;
    stroke: url(#progressGrad);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    stroke-dashoffset: 339.292;
    transition: stroke-dashoffset 1s ease;
}

.status-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.status-inner i {
    font-size: 24px;
    color: var(--primary-light);
}

.status-inner span {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

.claim-amount {
    text-align: center;
    margin-bottom: 24px;
    animation: slideDown 0.3s ease;
}

.amount-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.amount-value {
    font-size: 28px;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.amount-usd {
    font-size: 13px;
    color: var(--text-secondary);
}

.btn-claim {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    background: var(--gradient-1);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    margin-bottom: 16px;
}

.btn-claim:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(108, 92, 231, 0.4);
}

.btn-claim:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.claim-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Progress */
.progress-bar-container {
    margin-bottom: 28px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.progress-bar {
    height: 8px;
    background: var(--bg-input);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 4px;
    transition: width 1s ease;
}

.progress-amounts {
    text-align: right;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
}

/* Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.timeline-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    position: relative;
}

.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 40px;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item.active:not(:last-child)::before {
    background: var(--primary);
}

.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--border);
    flex-shrink: 0;
    margin-top: 2px;
}

.timeline-item.active .timeline-dot {
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.2);
}

.timeline-content strong {
    font-size: 14px;
    display: inline;
    margin-right: 8px;
}

.timeline-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.timeline-badge.live {
    background: rgba(0, 230, 118, 0.15);
    color: var(--success);
}

.timeline-badge.upcoming {
    background: rgba(108, 92, 231, 0.15);
    color: var(--primary-light);
}

.timeline-content p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Referral */
.referral-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
}

.referral-card {
    background: var(--bg-card-2);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
}

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

.referral-header i {
    font-size: 24px;
    color: var(--primary-light);
}

.referral-header h3 {
    font-size: 20px;
    font-weight: 700;
}

.referral-link-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 24px;
}

.referral-placeholder {
    flex: 1;
    font-size: 13px;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-copy {
    background: var(--gradient-1);
    border: none;
    border-radius: 8px;
    color: white;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.btn-copy:hover:not(:disabled) {
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.4);
}

.btn-copy:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.referral-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.ref-stat {
    text-align: center;
    padding: 16px;
    background: var(--bg-dark);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.ref-stat i {
    font-size: 20px;
    color: var(--primary-light);
    margin-bottom: 8px;
    display: block;
}

.ref-stat-value {
    display: block;
    font-size: 20px;
    font-weight: 800;
}

.ref-stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: transparent;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-btn.twitter:hover {
    border-color: #1DA1F2;
    background: rgba(29, 161, 242, 0.1);
}

.share-btn.telegram:hover {
    border-color: #0088cc;
    background: rgba(0, 136, 204, 0.1);
}

.share-btn.discord:hover {
    border-color: #5865F2;
    background: rgba(88, 101, 242, 0.1);
}

/* Tier List */
.tier-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.tier-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--bg-dark);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.tier-item:hover {
    transform: translateX(4px);
}

.tier-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
}

.tier-item.bronze .tier-badge { color: var(--bronze); }
.tier-item.silver .tier-badge { color: var(--silver); }
.tier-item.gold .tier-badge { color: var(--gold); }
.tier-item.diamond .tier-badge { color: var(--diamond); }

.tier-req {
    font-size: 13px;
    color: var(--text-muted);
}

.tier-reward {
    font-weight: 700;
    font-size: 14px;
    color: var(--success);
}

.tier-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    padding: 12px 16px;
    background: rgba(108, 92, 231, 0.08);
    border-radius: 10px;
}

/* Leaderboard */
.leaderboard-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.tab-btn.active {
    background: var(--gradient-1);
    border-color: transparent;
    color: white;
}

.tab-btn:hover:not(.active) {
    border-color: var(--primary);
}

.leaderboard-table {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.table-header {
    display: grid;
    grid-template-columns: 80px 1fr 200px 120px;
    padding: 16px 24px;
    background: rgba(108, 92, 231, 0.08);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.table-row {
    display: grid;
    grid-template-columns: 80px 1fr 200px 120px;
    padding: 14px 24px;
    align-items: center;
    border-bottom: 1px solid rgba(42, 42, 74, 0.5);
    transition: background 0.2s;
}

.table-row:hover {
    background: rgba(108, 92, 231, 0.05);
}

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

.col-rank {
    font-weight: 700;
}

.rank-1 .col-rank { color: var(--gold); }
.rank-2 .col-rank { color: var(--silver); }
.rank-3 .col-rank { color: var(--bronze); }

.col-wallet {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: var(--text-secondary);
}

.col-amount {
    font-weight: 700;
    color: var(--accent);
}

.col-tier {
    font-size: 13px;
}

.tier-badge-sm {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.tier-diamond { background: rgba(185, 242, 255, 0.15); color: var(--diamond); }
.tier-gold { background: rgba(255, 215, 0, 0.15); color: var(--gold); }
.tier-silver { background: rgba(192, 192, 192, 0.15); color: var(--silver); }
.tier-bronze { background: rgba(205, 127, 50, 0.15); color: var(--bronze); }

.leaderboard-footer {
    text-align: center;
    margin-top: 24px;
}

/* Footer */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 16px 0;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 16px;
    transition: all 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    border-color: var(--primary);
    color: var(--primary-light);
    transform: translateY(-2px);
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    padding: 6px 0;
    transition: color 0.3s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
}

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

.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--bg-card);
    border: 1px solid var(--success);
    border-radius: 12px;
    color: var(--success);
    font-size: 14px;
    font-weight: 600;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.error {
    border-color: var(--danger);
    color: var(--danger);
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fadeIn 0.2s ease;
}

.modal-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    width: 100%;
    max-width: 480px;
    animation: modalSlideUp 0.3s ease;
    overflow: hidden;
}

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

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px 0;
}

.modal-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
}

.modal-header h3 i {
    color: var(--primary-light);
}

.modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-close:hover {
    background: rgba(255, 82, 82, 0.15);
    border-color: var(--danger);
    color: var(--danger);
}

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

.modal-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.modal-input-group {
    margin-bottom: 24px;
}

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

.modal-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.modal-input-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

.modal-input-wrapper i {
    color: var(--text-muted);
    font-size: 16px;
}

.modal-input-wrapper input {
    flex: 1;
    padding: 14px 0;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 14px;
    font-family: 'Courier New', monospace;
    outline: none;
    letter-spacing: 0.5px;
}

.modal-input-wrapper input::placeholder {
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
}

.modal-hint {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
}

.modal-hint.error {
    color: var(--danger);
}

.modal-hint.success {
    color: var(--success);
}


.modal-footer {
    display: flex;
    gap: 12px;
    padding: 0 28px 24px;
}

.modal-cancel {
    flex: 1;
    justify-content: center;
    padding: 14px;
}

.modal-submit {
    flex: 1.5;
    justify-content: center;
    padding: 14px;
}

@media (max-width: 480px) {
    .modal {
        border-radius: 20px;
    }
    .modal-header, .modal-body, .modal-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
    .wallet-options-grid {
        grid-template-columns: 1fr;
    }
}

/* Claim Modal */
.claim-modal {
    max-width: 440px;
}

.claim-steps {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.claim-step {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    animation: slideDown 0.4s ease;
}

.claim-step.active {
    display: flex;
}

.step-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
    background: rgba(108, 92, 231, 0.15);
    color: var(--primary-light);
}

.step-icon.success-icon {
    background: rgba(0, 230, 118, 0.15);
    color: var(--success);
    font-size: 36px;
    animation: scaleIn 0.4s ease;
}

@keyframes scaleIn {
    from { transform: scale(0); }
    50% { transform: scale(1.2); }
    to { transform: scale(1); }
}

.claim-step h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.claim-step p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.step-progress {
    width: 100%;
    max-width: 280px;
}

.step-bar {
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.step-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--gradient-1);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.tx-hash {
    font-family: 'Courier New', monospace;
    font-size: 11px;
    color: var(--text-muted);
    background: var(--bg-input);
    padding: 8px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
    word-break: break-all;
    max-width: 100%;
}

.claim-success-details {
    width: 100%;
}

.success-amount {
    font-size: 32px;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.success-usd {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.success-info {
    background: var(--bg-input);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.info-row span:first-child {
    color: var(--text-muted);
}

.info-row span:last-child {
    font-weight: 600;
}

.status-confirmed {
    color: var(--success) !important;
}

.tx-link {
    font-family: 'Courier New', monospace;
    font-size: 11px;
    color: var(--accent) !important;
}

.gas-free {
    color: var(--success) !important;
}

.gas-free i {
    color: var(--warning);
}

/* Step Indicators */
.step-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.indicator {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    background: var(--bg-input);
    color: var(--text-muted);
    border: 2px solid var(--border);
    transition: all 0.3s;
    flex-shrink: 0;
}

.indicator.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.indicator.done {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

.indicator-line {
    width: 40px;
    height: 2px;
    background: var(--border);
    border-radius: 1px;
    overflow: hidden;
}

.indicator-line-fill {
    height: 100%;
    width: 0%;
    background: var(--success);
    transition: width 0.5s ease;
}

/* Live Claim Notifications */
.live-notif-container {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 8000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: 380px;
    width: 100%;
}

.live-notif {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: notifSlideIn 0.5s ease, notifFadeOut 0.5s ease 5.5s forwards;
    pointer-events: auto;
}

@keyframes notifSlideIn {
    from { opacity: 0; transform: translateY(-30px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes notifFadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-20px); }
}

.notif-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    background: rgba(0, 230, 118, 0.12);
    color: var(--success);
}

.notif-content {
    flex: 1;
    min-width: 0;
}

.notif-wallet {
    font-size: 12px;
    font-family: 'Courier New', monospace;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-action {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 4px;
}

.notif-amount {
    color: var(--success);
    font-weight: 700;
}

.notif-time {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .live-notif-container {
        left: 50%;
        transform: translateX(-50%);
        max-width: calc(100% - 24px);
        top: 75px;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        padding: 120px 24px 60px;
        text-align: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-visual {
        flex: none;
        width: 100%;
        max-width: 360px;
    }
    .claim-grid {
        grid-template-columns: 1fr;
    }
    .referral-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.active {
        display: flex;
    }
    .mobile-menu {
        display: block;
    }
    .hero h1 {
        font-size: 36px;
    }
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .table-header,
    .table-row {
        grid-template-columns: 50px 1fr 100px;
    }
    .col-tier {
        display: none;
    }
    .referral-stats-grid {
        grid-template-columns: 1fr;
    }
    .share-buttons {
        flex-direction: column;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    .section-header h2 {
        font-size: 28px;
    }
    .btn-connect span {
        display: none;
    }
}
