/* ============================================
   TIPS - 2026 Premium Design System
   Dark Glassmorphism, Neon Gradients,
   Fluid Animations, Micro-Interactions
   ============================================ */

:root {
    --tips-primary: #0052FF;
    --tips-primary-light: #3B82F6;
    --tips-primary-glow: rgba(0, 82, 255, 0.25);
    --tips-accent: #00FF88;
    --tips-accent-glow: rgba(0, 255, 136, 0.2);
    --tips-gold: #F59E0B;
    --tips-gold-glow: rgba(245, 158, 11, 0.2);
    --tips-purple: #8B5CF6;
    --tips-purple-glow: rgba(139, 92, 246, 0.2);
    --tips-cyan: #06B6D4;
    --tips-danger: #EF4444;
    --tips-surface: rgba(255, 255, 255, 0.75);
    --tips-surface-elevated: rgba(255, 255, 255, 0.9);
    --tips-border: rgba(0, 0, 0, 0.06);
    --tips-border-hover: rgba(0, 82, 255, 0.2);
    --tips-radius: 24px;
    --tips-radius-sm: 14px;
    --tips-radius-xs: 10px;
    --tips-shadow: 0 4px 32px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    --tips-shadow-hover: 0 20px 60px rgba(0, 82, 255, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    --tips-shadow-glow: 0 0 40px var(--tips-primary-glow);
    --tips-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --tips-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    --text-high: rgba(15, 23, 42, 0.95);
    --text-mid: rgba(51, 65, 85, 0.85);
    --text-low: rgba(100, 116, 139, 0.75);
}

.dark {
    --tips-surface: rgba(30, 32, 52, 0.85);
    --tips-surface-elevated: rgba(38, 40, 65, 0.92);
    --tips-border: rgba(255, 255, 255, 0.12);
    --tips-border-hover: rgba(0, 82, 255, 0.5);
    --tips-shadow: 0 4px 32px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.2);
    --tips-shadow-hover: 0 20px 60px rgba(0, 82, 255, 0.2), 0 4px 12px rgba(0, 0, 0, 0.3);
    --text-high: rgba(255, 255, 255, 0.95);
    --text-mid: rgba(255, 255, 255, 0.75);
    --text-low: rgba(255, 255, 255, 0.50);
}

/* ============================================
   HERO SECTION
   ============================================ */
.tips-hero {
    position: relative;
    text-align: center;
    padding: 56px 0 40px;
    overflow: hidden;
}
.tips-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(ellipse at center, var(--tips-primary-glow) 0%, rgba(139, 92, 246, 0.1) 40%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
    animation: heroPulse 8s ease-in-out infinite;
}
.dark .tips-hero::before { opacity: 0.7; }
.tips-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--tips-purple-glow) 0%, transparent 60%);
    opacity: 0.3;
    pointer-events: none;
    animation: heroPulse 8s ease-in-out infinite reverse;
}

.tips-hero-title {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--tips-primary) 0%, var(--tips-purple) 40%, var(--tips-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    position: relative;
    line-height: 1.1;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}
.tips-hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-mid);
    font-weight: 400;
    max-width: 420px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 1;
    word-break: break-word;
    overflow-wrap: break-word;
}
.dark .tips-hero-subtitle { color: rgba(255,255,255,0.8); }
.tips-base-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, var(--tips-primary), #3B6BFF);
    color: white;
    box-shadow: 0 4px 20px var(--tips-primary-glow), inset 0 1px 0 rgba(255,255,255,0.15);
    transition: var(--tips-transition);
}
.tips-base-badge:hover { transform: scale(1.05); box-shadow: 0 6px 28px var(--tips-primary-glow); }
.tips-base-badge img { width: 16px; height: 16px; filter: brightness(10); }

/* ============================================
   COUNTDOWN
   ============================================ */
.tips-countdown {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    margin: 20px 0 8px;
}
.tips-countdown-unit {
    background: var(--tips-surface-elevated);
    backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid var(--tips-border);
    border-radius: var(--tips-radius-sm);
    padding: 12px 16px;
    min-width: 64px;
    text-align: center;
    transition: var(--tips-transition);
    position: relative;
    overflow: hidden;
}
.tips-countdown-unit::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,82,255,0.03), transparent);
    pointer-events: none;
}
.tips-countdown-unit:hover {
    border-color: var(--tips-border-hover);
    box-shadow: 0 4px 20px var(--tips-primary-glow);
    transform: translateY(-2px);
}
.tips-countdown-unit .value {
    font-size: 28px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, var(--tips-primary), var(--tips-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.tips-countdown-unit .label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-low);
    margin-top: 6px;
    font-weight: 700;
}
.tips-countdown-separator {
    font-size: 20px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--tips-primary), var(--tips-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.6;
    animation: blink 1.5s ease-in-out infinite;
}

/* ============================================
   PREDICTION CARDS
   ============================================ */
.tips-predictions-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}
.tips-match-card {
    position: relative;
    background: var(--tips-surface-elevated);
    backdrop-filter: blur(24px) saturate(1.3);
    border: 1px solid var(--tips-border);
    border-radius: var(--tips-radius);
    padding: 32px;
    overflow: hidden;
    transition: var(--tips-transition);
    box-shadow: var(--tips-shadow);
}
.tips-match-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--tips-primary), var(--tips-purple), var(--tips-accent));
    opacity: 0;
    transition: opacity 0.4s ease;
}
.tips-match-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--tips-primary-glow) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.tips-match-card:hover {
    border-color: var(--tips-border-hover);
    box-shadow: var(--tips-shadow-hover);
    transform: translateY(-4px);
}
.tips-match-card:hover::before { opacity: 1; }
.tips-match-card:hover::after { opacity: 0.3; }

.tips-match-card.locked {
    opacity: 0.6;
    pointer-events: none;
    filter: grayscale(0.15);
}
.tips-match-card.locked::after { display: none; }

.tips-match-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.tips-match-league {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #10B981;
    padding: 5px 12px;
    border-radius: 8px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
}
.dark .tips-match-league {
    color: #34D399;
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.25);
}
.tips-match-slot {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-low);
    padding: 5px 10px;
    border-radius: 8px;
    background: rgba(0,0,0,0.03);
    letter-spacing: 0.05em;
}
.dark .tips-match-slot { background: rgba(255,255,255,0.04); }

.tips-teams-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 28px;
}
.tips-team {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.tips-team-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 10px;
    background: rgba(255,255,255,0.9);
    padding: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.dark .tips-team-logo {
    background: rgba(255,255,255,0.08);
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.tips-match-card:hover .tips-team-logo {
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(0,82,255,0.15);
}
.tips-team-logo-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,82,255,0.06);
    border: 1px solid var(--tips-border);
    color: var(--text-low);
}
.dark .tips-team-logo-placeholder {
    background: rgba(0,82,255,0.1);
}
.tips-team-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-high);
    line-height: 1.3;
    letter-spacing: -0.01em;
    max-width: 160px;
    word-wrap: break-word;
}
.tips-vs-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
    color: var(--text-low);
    background: linear-gradient(135deg, rgba(0,82,255,0.05), rgba(139,92,246,0.05));
    border: 1px solid var(--tips-border);
    flex-shrink: 0;
    letter-spacing: 0.05em;
}
.dark .tips-vs-badge { background: linear-gradient(135deg, rgba(0,82,255,0.15), rgba(139,92,246,0.15)); color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.15); }

/* Prediction Buttons */
.tips-pred-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}
.tips-pred-btn {
    position: relative;
    padding: 18px 10px;
    border-radius: var(--tips-radius-sm);
    font-weight: 800;
    font-size: 15px;
    border: 2px solid var(--tips-border);
    background: transparent;
    color: var(--text-mid);
    cursor: pointer;
    transition: var(--tips-spring);
    overflow: hidden;
    text-align: center;
}
.tips-pred-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--tips-primary), var(--tips-purple));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}
.tips-pred-btn:hover {
    border-color: var(--tips-primary);
    color: var(--tips-primary);
    transform: scale(1.04);
    box-shadow: 0 6px 24px var(--tips-primary-glow);
}
.tips-pred-btn.selected {
    border-color: transparent;
    color: white;
    box-shadow: 0 6px 28px var(--tips-primary-glow);
    transform: scale(1.03);
}
.tips-pred-btn.selected::before { opacity: 1; }
.tips-pred-btn.correct {
    border-color: var(--tips-accent) !important;
    background: rgba(0,255,136,0.08);
    color: #059669;
    box-shadow: 0 0 24px var(--tips-accent-glow);
}
.dark .tips-pred-btn.correct { color: var(--tips-accent); }
.tips-pred-btn.wrong {
    border-color: var(--tips-danger) !important;
    background: rgba(239,68,68,0.06);
    color: var(--tips-danger);
}
.tips-pred-btn .pred-label {
    display: block;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.7;
    margin-top: 4px;
}
.dark .tips-pred-btn .pred-label { opacity: 0.8; }
.tips-pred-btn[disabled] { cursor: not-allowed; opacity: 0.5; }
.tips-pred-btn[disabled]:hover { transform: none; box-shadow: none; border-color: var(--tips-border); color: var(--text-mid); }

/* Submit Button */
.tips-submit-btn {
    width: 100%;
    padding: 18px;
    border-radius: var(--tips-radius-sm);
    font-size: 16px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: var(--tips-transition);
    background: linear-gradient(135deg, var(--tips-primary), var(--tips-purple));
    color: white;
    box-shadow: 0 6px 28px var(--tips-primary-glow);
    margin-top: 24px;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}
.tips-submit-btn::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.6s ease;
}
.tips-submit-btn:hover:not(:disabled)::before { left: 100%; }
.tips-submit-btn:hover:not(:disabled) { transform: translateY(-3px); box-shadow: 0 12px 40px var(--tips-primary-glow); }
.tips-submit-btn:disabled { opacity: 0.35; cursor: not-allowed; transform: none; box-shadow: none; }
.tips-submit-btn.submitted { background: linear-gradient(135deg, #059669, #10B981); box-shadow: 0 6px 28px var(--tips-accent-glow); }



/* ============================================
   ACCORDION / INFO
   ============================================ */
.tips-info-section { margin-top: 56px; }
.tips-accordion-item {
    border: 1px solid var(--tips-border);
    border-radius: var(--tips-radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
    transition: var(--tips-transition);
    background: var(--tips-surface);
    backdrop-filter: blur(12px);
}
.tips-accordion-item:hover { border-color: var(--tips-border-hover); }
.tips-accordion-header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-high);
    transition: background 0.2s ease;
    gap: 12px;
}
.tips-accordion-header:hover { background: rgba(0,82,255,0.02); }
.tips-accordion-header .icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0,82,255,0.08), rgba(139,92,246,0.08));
    flex-shrink: 0;
}
.dark .tips-accordion-header .icon { background: linear-gradient(135deg, rgba(0,82,255,0.25), rgba(139,92,246,0.25)); border: 1px solid rgba(0,82,255,0.3); }
.tips-accordion-header .chevron { transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); color: var(--text-low); }
.tips-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0 24px;
}
.tips-accordion-item.open .tips-accordion-content { max-height: 600px; padding: 0 24px 22px; }
.tips-accordion-item.open .tips-accordion-header .chevron { transform: rotate(180deg); }
.tips-accordion-content p, .tips-accordion-content li { font-size: 13.5px; line-height: 1.85; color: var(--text-mid); font-weight: 400; }
.dark .tips-accordion-content p, .dark .tips-accordion-content li { color: rgba(255,255,255,0.8); }
.tips-accordion-content ul { list-style: none; padding: 0; }
.tips-accordion-content li { padding: 7px 0; padding-left: 22px; position: relative; }
.tips-accordion-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tips-primary), var(--tips-purple));
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.tips-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}
.tips-section-header .icon-box {
    width: 44px;
    height: 44px;
    border-radius: var(--tips-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0,82,255,0.08), rgba(139,92,246,0.08));
    border: 1px solid var(--tips-border);
    flex-shrink: 0;
}
.dark .tips-section-header .icon-box { background: linear-gradient(135deg, rgba(0,82,255,0.25), rgba(139,92,246,0.25)); border-color: rgba(0,82,255,0.3); }
.tips-section-header h2 {
    font-size: 22px;
    font-weight: 900;
    color: var(--text-high);
    letter-spacing: -0.03em;
}

/* ============================================
   DASHBOARD STATS
   ============================================ */
.tips-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
    gap: 14px;
}
.tips-stat-card {
    position: relative;
    background: var(--tips-surface-elevated);
    backdrop-filter: blur(20px) saturate(1.3);
    border: 1px solid var(--tips-border);
    border-radius: var(--tips-radius);
    padding: 24px 20px;
    overflow: hidden;
    transition: var(--tips-transition);
    box-shadow: var(--tips-shadow);
}
.tips-stat-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--stat-color, var(--tips-primary));
    opacity: 0.05;
    transition: all 0.4s ease;
}
.tips-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tips-shadow-hover);
    border-color: var(--tips-border-hover);
}
.tips-stat-card:hover::before { opacity: 0.1; transform: scale(1.5); }
.tips-stat-card .stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.tips-stat-card .stat-value {
    font-size: 28px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    color: var(--text-high);
    letter-spacing: -0.03em;
}
.tips-stat-card .stat-label {
    font-size: 11px;
    color: var(--text-low);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

/* ============================================
   BADGE CARDS
   ============================================ */
.tips-badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 16px;
}
.tips-badge-card {
    position: relative;
    border-radius: var(--tips-radius);
    padding: 24px 16px 20px;
    text-align: center;
    border: 1px solid var(--tips-border);
    background: var(--tips-surface);
    backdrop-filter: blur(12px);
    transition: var(--tips-transition);
    cursor: default;
    box-shadow: var(--tips-shadow);
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 200px;
}
.tips-badge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--tips-primary), var(--tips-purple));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.tips-badge-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--tips-shadow-hover);
}
.tips-badge-card:hover::before { opacity: 1; }
.tips-badge-card.earned {
    border-color: rgba(0,255,136,0.25);
    box-shadow: 0 4px 28px var(--tips-accent-glow);
}
.tips-badge-card.earned::before { opacity: 1; background: linear-gradient(90deg, var(--tips-accent), #10B981); }
.tips-badge-card.mintable {
    border-color: var(--tips-primary);
    box-shadow: 0 4px 28px var(--tips-primary-glow);
    animation: badgePulse 3s ease-in-out infinite;
}
.tips-badge-card .badge-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}
.tips-badge-card:hover .badge-icon { transform: scale(1.2) rotate(5deg); }
.tips-badge-card.locked-badge .badge-icon { filter: grayscale(1) opacity(0.2); }
.tips-badge-card .badge-name {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-high);
    margin-bottom: 6px;
    word-break: break-word;
    line-height: 1.3;
}
.tips-badge-card .badge-criteria {
    font-size: 10px;
    color: var(--text-low);
    line-height: 1.5;
    word-break: break-word;
    flex: 1;
}
.tips-badge-progress { height: 4px; border-radius: 2px; background: rgba(0,82,255,0.06); margin-top: auto; padding-top: 14px; overflow: hidden; width: 100%; }
.tips-badge-progress .fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--tips-primary), var(--tips-purple)); transition: width 1s cubic-bezier(0.4, 0, 0.2, 1); }
.tips-mint-btn {
    margin-top: 14px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, var(--tips-primary), var(--tips-purple));
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--tips-spring);
}
.tips-mint-btn:hover { transform: scale(1.1); box-shadow: 0 6px 20px var(--tips-primary-glow); }

/* ============================================
   PROFILE / AVATAR
   ============================================ */
.tips-avatar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    justify-items: center;
}
.tips-avatar-option {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    border: 2px solid var(--tips-border);
    padding: 4px;
    cursor: pointer;
    transition: var(--tips-spring);
    background: rgba(255,255,255,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
}
.tips-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}
.tips-avatar-option:hover {
    border-color: var(--tips-primary);
    transform: scale(1.15);
    box-shadow: 0 4px 16px var(--tips-primary-glow);
}
.tips-avatar-option.selected {
    border-color: var(--tips-primary);
    box-shadow: 0 0 20px var(--tips-primary-glow);
    background: rgba(0,82,255,0.05);
}

/* ============================================
   HISTORY
   ============================================ */
.tips-history-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: var(--tips-radius-sm);
    border: 1px solid var(--tips-border);
    margin-bottom: 8px;
    transition: var(--tips-transition);
    background: var(--tips-surface);
}
.tips-history-item:hover { border-color: var(--tips-border-hover); transform: translateX(4px); }
.tips-history-result { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.tips-history-result.correct { background: var(--tips-accent); box-shadow: 0 0 10px var(--tips-accent-glow); }
.tips-history-result.wrong { background: var(--tips-danger); box-shadow: 0 0 8px rgba(239,68,68,0.3); }
.tips-history-result.pending { background: var(--text-low); opacity: 0.3; }

/* ============================================
   EMPTY STATE
   ============================================ */
.tips-empty-state {
    text-align: center;
    padding: 56px 24px;
    color: var(--text-low);
}
.tips-empty-state .empty-icon { font-size: 56px; margin-bottom: 18px; opacity: 0.25; }
.tips-empty-state p { font-size: 14px; max-width: 320px; margin: 0 auto; line-height: 1.7; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes heroPulse {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.7; transform: translateX(-50%) scale(1.08); }
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 4px 28px var(--tips-primary-glow); }
    50% { box-shadow: 0 4px 44px rgba(0, 82, 255, 0.35); }
}
@keyframes slideInUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes blink { 0%, 100% { opacity: 0.6; } 50% { opacity: 0.2; } }
@keyframes confetti {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(-140px) rotate(720deg); opacity: 0; }
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.tips-animate-in { animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards; opacity: 0; }
.confetti-particle {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    animation: confetti 1.5s ease-out forwards;
    pointer-events: none;
    z-index: 9999;
}

/* ============================================
   TOAST
   ============================================ */
.tips-toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    padding: 16px 24px;
    border-radius: var(--tips-radius-sm);
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    backdrop-filter: blur(16px);
    transform: translateY(12px);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 380px;
    border: 1px solid rgba(255,255,255,0.1);
}
.tips-toast.show { transform: translateY(0); opacity: 1; }
.tips-toast.success { background: linear-gradient(135deg, #059669, #10B981); color: white; }
.tips-toast.error { background: linear-gradient(135deg, #DC2626, #EF4444); color: white; }
.tips-toast.info { background: linear-gradient(135deg, var(--tips-primary), var(--tips-purple)); color: white; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .tips-hero-title { font-size: 2.25rem; }
    .tips-hero { padding: 40px 0 28px; }
    .tips-match-card { padding: 24px 20px; }
    .tips-team-logo { width: 40px; height: 40px; }
    .tips-team-logo-placeholder { width: 40px; height: 40px; }
    .tips-team-name { font-size: 13px; max-width: 120px; }
    .tips-countdown-unit { padding: 10px 12px; min-width: 54px; }
    .tips-countdown-unit .value { font-size: 22px; }
    .tips-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .tips-badges-grid { grid-template-columns: repeat(2, 1fr); }
    .tips-avatar-grid { grid-template-columns: repeat(4, 1fr); }
    .tips-stat-card .stat-value { font-size: 24px; }
    .tips-badge-card .badge-icon { width: 48px; height: 48px; }
    .tips-section-header h2 { font-size: 18px; }
}
@media (max-width: 480px) {
    .tips-hero { padding: 28px 0 20px; }
    .tips-hero-title { font-size: 1.85rem; }
    .tips-hero-subtitle { font-size: 0.9rem; }
    .tips-team-logo { width: 36px; height: 36px; }
    .tips-team-logo-placeholder { width: 36px; height: 36px; }
    .tips-team-name { font-size: 12px; max-width: 100px; }
    .tips-teams-row { gap: 10px; }
    .tips-vs-badge { width: 36px; height: 36px; font-size: 10px; }
    .tips-pred-buttons { gap: 8px; }
    .tips-pred-btn { padding: 14px 8px; font-size: 14px; }
    .tips-stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .tips-stat-card { padding: 18px 14px; }
    .tips-countdown { gap: 4px; }
    .tips-countdown-unit { min-width: 48px; padding: 8px 10px; }
    .tips-countdown-unit .value { font-size: 20px; }
    .tips-toast { left: 16px; right: 16px; bottom: 16px; }
}

/* ============================================
   PROFILE MODAL
   ============================================ */
.tips-profile-modal-content {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px;
    width: 100%;
    max-width: 440px;
    margin: 0 16px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.3), 0 4px 16px rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.06);
    max-height: 85vh;
    overflow-y: auto;
}
.dark .tips-profile-modal-content {
    background: #1e2035;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 25px 80px rgba(0,0,0,0.6), 0 4px 16px rgba(0,0,0,0.4);
}
.tips-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
}
.dark .tips-modal-title {
    color: #f5f5f5;
}
.tips-modal-close {
    color: #999;
    padding: 4px;
    border-radius: 8px;
    transition: all 0.2s;
}
.tips-modal-close:hover {
    color: #333;
    background: rgba(0,0,0,0.05);
}
.dark .tips-modal-close {
    color: rgba(255,255,255,0.5);
}
.dark .tips-modal-close:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}
.tips-modal-label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 12px;
}
.dark .tips-modal-label {
    color: rgba(255,255,255,0.8);
}
.tips-modal-input {
    flex: 1;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.1);
    background: #f8f9fa;
    font-size: 14px;
    color: #1a1a2e;
    outline: none;
    transition: border-color 0.2s;
}
.tips-modal-input:focus {
    border-color: var(--tips-primary);
}
.tips-modal-input::placeholder {
    color: #aaa;
}
.dark .tips-modal-input {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    color: #f0f0f0;
}
.dark .tips-modal-input::placeholder {
    color: rgba(255,255,255,0.35);
}
.tips-modal-save-btn {
    padding: 10px 20px;
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--tips-primary), var(--tips-purple));
    transition: all 0.2s;
    white-space: nowrap;
}
.tips-modal-save-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--tips-primary-glow);
}
.tips-modal-wallet-info {
    padding: 16px;
    border-radius: 12px;
    background: #f8f9fa;
    border: 1px solid rgba(0,0,0,0.06);
}
.dark .tips-modal-wallet-info {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
}
.tips-modal-wallet-label {
    font-size: 11px;
    color: #888;
    margin-bottom: 4px;
}
.dark .tips-modal-wallet-label {
    color: rgba(255,255,255,0.5);
}
.tips-modal-wallet-address {
    font-size: 13px;
    font-family: monospace;
    color: #444;
    word-break: break-all;
}
.dark .tips-modal-wallet-address {
    color: rgba(255,255,255,0.7);
}


/* EAS Attestation Info Box */
.tips-eas-info {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: var(--tips-radius-sm);
    background: rgba(0, 82, 255, 0.04);
    border: 1px solid rgba(0, 82, 255, 0.1);
}
.dark .tips-eas-info {
    background: rgba(0, 82, 255, 0.08);
    border-color: rgba(0, 82, 255, 0.18);
}
.tips-pro-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    background: linear-gradient(135deg, var(--tips-primary), var(--tips-purple));
    border-radius: 6px;
}

/* EAS Toggle Switch - Premium Animated */
.tips-eas-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 60px;
    height: 32px;
    cursor: pointer;
    flex-shrink: 0;
}
.tips-eas-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}
.tips-eas-slider {
    position: absolute;
    inset: 0;
    background: rgba(71, 85, 105, 0.5);
    border-radius: 32px;
    transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    border: 2px solid rgba(100, 116, 139, 0.4);
}
.tips-eas-knob {
    position: absolute;
    width: 26px;
    height: 26px;
    left: 3px;
    top: 50%;
    transform: translateY(-50%) translateX(0);
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    border-radius: 50%;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}
.tips-eas-check {
    width: 14px;
    height: 14px;
    color: transparent;
    transition: color 0.3s ease, transform 0.3s ease;
    transform: scale(0);
}

/* Checked state */
.tips-eas-toggle input:checked + .tips-eas-slider {
    background: linear-gradient(135deg, var(--tips-primary), var(--tips-purple));
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 0 20px var(--tips-primary-glow), 0 0 40px rgba(139, 92, 246, 0.15);
}
.tips-eas-toggle input:checked + .tips-eas-slider .tips-eas-knob {
    transform: translateY(-50%) translateX(28px);
    background: linear-gradient(135deg, #fff, #f0f0ff);
    box-shadow: 0 2px 12px rgba(0, 82, 255, 0.4);
}
.tips-eas-toggle input:checked + .tips-eas-slider .tips-eas-check {
    color: var(--tips-primary);
    transform: scale(1);
    animation: easCheckPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Hover */
.tips-eas-toggle:hover .tips-eas-knob {
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.tips-eas-toggle:hover input:checked + .tips-eas-slider {
    box-shadow: 0 0 28px var(--tips-primary-glow), 0 0 50px rgba(139, 92, 246, 0.2);
}

/* Pulse animation on checked state */
.tips-eas-toggle input:checked + .tips-eas-slider::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 36px;
    border: 2px solid var(--tips-primary);
    opacity: 0;
    animation: easPulseRing 2s ease-out infinite;
}

@keyframes easCheckPop {
    0% { transform: scale(0) rotate(-45deg); }
    60% { transform: scale(1.3) rotate(0deg); }
    100% { transform: scale(1) rotate(0deg); }
}
@keyframes easPulseRing {
    0% { opacity: 0.6; transform: scale(1); }
    70% { opacity: 0; transform: scale(1.15); }
    100% { opacity: 0; transform: scale(1.15); }
}

/* LIVE Badge */
.tips-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #EF4444;
}
.tips-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #EF4444;
    animation: livePulse 1.5s ease-in-out infinite;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

/* Future Date Notice */
.tips-future-date-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 82, 255, 0.08), rgba(139, 92, 246, 0.08));
    border: 1px solid rgba(0, 82, 255, 0.2);
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--tips-primary);
    grid-column: 1 / -1;
}
.dark .tips-future-date-notice {
    background: linear-gradient(135deg, rgba(0, 82, 255, 0.12), rgba(139, 92, 246, 0.12));
    border-color: rgba(0, 82, 255, 0.3);
    color: var(--tips-primary-light);
}

/* ============================================
   LIVE SCORE + TEAM LOGOS (Auto Tips)
   ============================================ */
.tips-score-center {
    min-width: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-shrink: 0;
}

.tips-state-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.12em;
    color: var(--text-low);
    background: rgba(100, 116, 139, 0.08);
    border: 1px solid var(--tips-border);
}

.tips-score-center strong {
    font-size: 22px;
    line-height: 1;
    font-weight: 950;
    font-variant-numeric: tabular-nums;
    color: var(--text-high);
}

.tips-score-center.is-live .tips-state-pill {
    color: #fff;
    background: linear-gradient(135deg, #ef4444, #f97316);
    border-color: rgba(239, 68, 68, 0.35);
    box-shadow: 0 0 24px rgba(239, 68, 68, 0.25);
    animation: tipsLivePulse 1.3s ease-in-out infinite;
}

.tips-score-center.is-finished .tips-state-pill {
    color: #065f46;
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(16, 185, 129, 0.25);
}

.dark .tips-score-center.is-finished .tips-state-pill {
    color: #34d399;
}

@keyframes tipsLivePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.06); opacity: 0.86; }
}

@media (max-width: 520px) {
    .tips-teams-row { gap: 10px; }
    .tips-team-logo, .tips-team-logo-placeholder { width: 40px; height: 40px; }
    .tips-score-center { min-width: 62px; }
    .tips-score-center strong { font-size: 19px; }
    .tips-team-name { font-size: 12px; max-width: 118px; }
}


/* ============================================
   REFERRAL SYSTEM STYLES
   ============================================ */

.referral-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Referral Link Box */
.referral-link-box {
    background: linear-gradient(135deg, rgba(0,82,255,0.04), rgba(139,92,246,0.04));
    border: 1px solid rgba(0,82,255,0.12);
    border-radius: 14px;
    padding: 18px 20px;
    transition: all 0.3s ease;
}
.dark .referral-link-box {
    background: linear-gradient(135deg, rgba(0,82,255,0.08), rgba(139,92,246,0.08));
    border-color: rgba(0,82,255,0.2);
}
.referral-link-box:hover {
    border-color: rgba(0,82,255,0.3);
    box-shadow: 0 4px 20px rgba(0,82,255,0.08);
}

.referral-link-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(0,82,255,0.8);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.dark .referral-link-label {
    color: rgba(99,162,255,0.9);
}

.referral-link-input-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.referral-link-input {
    flex: 1;
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    font-family: 'JetBrains Mono', monospace;
    color: #1a1a2e;
    outline: none;
    transition: all 0.2s ease;
}
.dark .referral-link-input {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
    color: #e0e0e0;
}
.referral-link-input:focus {
    border-color: rgba(0,82,255,0.4);
    box-shadow: 0 0 0 3px rgba(0,82,255,0.08);
}

.referral-copy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(0,82,255,0.2);
    background: linear-gradient(135deg, rgba(0,82,255,0.08), rgba(139,92,246,0.08));
    color: #0052ff;
    cursor: pointer;
    transition: all 0.2s ease;
}
.dark .referral-copy-btn {
    border-color: rgba(0,82,255,0.3);
    background: linear-gradient(135deg, rgba(0,82,255,0.15), rgba(139,92,246,0.15));
    color: #63a2ff;
}
.referral-copy-btn:hover {
    background: linear-gradient(135deg, #0052ff, #8b5cf6);
    color: white;
    border-color: transparent;
    transform: scale(1.05);
}
.referral-copy-btn:active {
    transform: scale(0.95);
}

/* Stats Row */
.referral-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.referral-stat-card {
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    transition: all 0.2s ease;
}
.dark .referral-stat-card {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.06);
}
.referral-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.referral-stat-value {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #0052ff, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.referral-stat-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(0,0,0,0.5);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.dark .referral-stat-label {
    color: rgba(255,255,255,0.4);
}

/* Share Buttons */
.referral-share-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.referral-share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.8);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    min-width: 120px;
    justify-content: center;
}
.dark .referral-share-btn {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
}

.referral-share-twitter {
    color: #1DA1F2;
}
.referral-share-twitter:hover {
    background: rgba(29,161,242,0.1);
    border-color: rgba(29,161,242,0.3);
    transform: translateY(-2px);
}

.referral-share-telegram {
    color: #0088cc;
}
.referral-share-telegram:hover {
    background: rgba(0,136,204,0.1);
    border-color: rgba(0,136,204,0.3);
    transform: translateY(-2px);
}

.referral-share-whatsapp {
    color: #25D366;
}
.referral-share-whatsapp:hover {
    background: rgba(37,211,102,0.1);
    border-color: rgba(37,211,102,0.3);
    transform: translateY(-2px);
}

/* Rewards Notice */
.referral-rewards-notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(245,158,11,0.06), rgba(236,72,153,0.06));
    border: 1px solid rgba(245,158,11,0.15);
    position: relative;
    overflow: hidden;
}
.dark .referral-rewards-notice {
    background: linear-gradient(135deg, rgba(245,158,11,0.08), rgba(236,72,153,0.08));
    border-color: rgba(245,158,11,0.2);
}
.referral-rewards-notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #f59e0b, #ec4899, #8b5cf6);
}

.referral-rewards-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(236,72,153,0.15));
    color: #f59e0b;
    flex-shrink: 0;
}
.dark .referral-rewards-icon {
    background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(236,72,153,0.2));
}

.referral-rewards-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}
.dark .referral-rewards-title {
    color: #f0f0f0;
}

.referral-rewards-desc {
    font-size: 13px;
    color: rgba(0,0,0,0.6);
    line-height: 1.5;
}
.dark .referral-rewards-desc {
    color: rgba(255,255,255,0.5);
}

/* Responsive */
@media (max-width: 520px) {
    .referral-stats-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .referral-stat-value {
        font-size: 20px;
    }
    .referral-share-row {
        flex-direction: column;
    }
    .referral-share-btn {
        min-width: unset;
    }
    .referral-link-input {
        font-size: 12px;
        padding: 10px 12px;
    }
}
