/* ==================== ROOT VARIABLES ==================== */
:root {
    /* Primary Colors - Staking Theme */
    --primary-blue: #3b82f6;
    --primary-blue-dark: #2563eb;
    --primary-blue-light: #60a5fa;
    --primary-purple: #8b5cf6;
    --primary-purple-dark: #7c3aed;

    /* Accent Colors */
    --success-green: #10b981;
    --success-green-dark: #059669;
    --success-green-light: #34d399;

    --warning-yellow: #f59e0b;
    --warning-red: #ef4444;
    --accent-cyan: #06b6d4;
    --accent-pink: #ec4899;

    /* Background Colors */
    --background-dark: #0a0e1a;
    --background-darker: #050810;
    --surface-dark: #111827;
    --surface-card: #1e293b;
    --surface-hover: #334155;
    --surface-light: rgba(17, 24, 39, 0.6);

    /* Text Colors */
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --text-tertiary: #6b7280;
    --text-muted: #4b5563;

    /* Border Colors */
    --border-color: rgba(75, 85, 99, 0.3);
    --border-color-light: rgba(75, 85, 99, 0.1);
    --border-glow: rgba(59, 130, 246, 0.5);

    /* Tier Colors */
    --bronze-color: #cd7f32;
    --silver-color: #c0c0c0;
    --gold-color: #ffd700;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-warning: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --gradient-danger: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    --gradient-blue-purple: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-cyber: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.4);
    --shadow-glow-lg: 0 0 40px rgba(59, 130, 246, 0.5);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== GLOBAL STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 10%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: backgroundPulse 20s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ==================== NAVIGATION ==================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: all var(--transition-normal);
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.navbar:hover::after {
    opacity: 1;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    cursor: pointer;
    transition: transform var(--transition-normal);
}

.nav-brand:hover {
    transform: translateY(-3px);
}

.logo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow:
        0 0 30px rgba(59, 130, 246, 0.5),
        0 0 60px rgba(139, 92, 246, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(59, 130, 246, 0.4);
    transition: all var(--transition-normal);
    animation: logoFloat 3s ease-in-out infinite;
}

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

.logo:hover {
    box-shadow:
        0 0 50px rgba(59, 130, 246, 0.7),
        0 0 100px rgba(139, 92, 246, 0.5),
        0 8px 24px rgba(0, 0, 0, 0.4);
    border-color: rgba(59, 130, 246, 0.8);
    transform: scale(1.1) rotate(5deg);
    animation: none;
}

.brand-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
}

.brand-name::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-cyber);
    transition: width var(--transition-normal);
    border-radius: 2px;
}

.nav-brand:hover .brand-name::after {
    width: 100%;
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.network-indicator {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 1.25rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.network-indicator:hover {
    border-color: rgba(16, 185, 129, 0.5);
    background: rgba(16, 185, 129, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.network-status-dot {
    width: 10px;
    height: 10px;
    background: var(--success-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success-green);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 10px var(--success-green);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
        box-shadow: 0 0 20px var(--success-green);
    }
}

.network-name {
    color: var(--success-green);
    font-weight: 700;
}

.wallet-container {
    position: relative;
}

.connect-wallet-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow:
        0 4px 20px rgba(102, 126, 234, 0.4),
        0 1px 3px rgba(0, 0, 0, 0.12),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

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

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

.connect-wallet-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 6px 30px rgba(102, 126, 234, 0.5),
        0 2px 8px rgba(0, 0, 0, 0.15),
        inset 0 -2px 0 rgba(0, 0, 0, 0.15);
}

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

.wallet-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-normal);
}

.connect-wallet-btn:hover .wallet-icon {
    transform: scale(1.1) rotate(-5deg);
}

.wallet-text {
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.wallet-dropdown {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 0.75rem;
    min-width: 220px;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all var(--transition-normal);
    z-index: 1001;
}

.wallet-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1.25rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-weight: 600;
}

.dropdown-item:hover {
    background: var(--surface-hover);
    color: var(--warning-red);
    transform: translateX(4px);
}

.dropdown-item svg {
    color: currentColor;
    transition: transform var(--transition-fast);
}

.dropdown-item:hover svg {
    transform: scale(1.1);
}

/* ==================== PAGE NAVIGATION ==================== */
.page-nav {
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
}

.page-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    gap: 1rem;
}

.page-nav-tab {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.page-nav-tab::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-cyber);
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
}

.page-nav-tab:hover {
    color: var(--text-primary);
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.page-nav-tab.active {
    color: var(--primary-blue);
    background: rgba(59, 130, 246, 0.15);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.page-nav-tab.active::before {
    transform: translateX(0);
}

/* ==================== MAIN CONTAINER ==================== */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
    z-index: 1;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease both;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fff 0%, #60a5fa 40%, #a78bfa 70%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
    text-shadow: 0 0 80px rgba(59, 130, 246, 0.5);
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-subtitle {
    font-size: 1.375rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* ==================== STATS GRID ==================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.stat-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px) saturate(150%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.75rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.stat-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--border-glow);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(59, 130, 246, 0.3);
}

.stat-card:hover::before,
.stat-card:hover::after {
    opacity: 1;
}

.stat-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    flex-shrink: 0;
    transition: all var(--transition-normal);
    position: relative;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.05));
}

.stat-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.stat-card:hover .stat-icon-wrapper {
    transform: scale(1.15) rotate(-8deg);
}

.stat-card:hover .stat-icon-wrapper::before {
    opacity: 1;
}

.stat-icon {
    color: var(--primary-blue);
    position: relative;
    z-index: 1;
}

.stat-content {
    flex: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.375rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.stat-value-group {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary), var(--primary-blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-unit {
    font-size: 1rem;
    color: var(--text-tertiary);
    font-weight: 600;
}

.stat-tier-bonus {
    font-size: 0.8125rem;
    color: var(--success-green);
    margin-top: 0.375rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

/* ==================== CARDS GRID ==================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.action-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px) saturate(150%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.action-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.action-card:hover {
    border-color: var(--border-glow);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(59, 130, 246, 0.2);
    transform: translateY(-6px);
}

.action-card:hover::before {
    opacity: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.card-title {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.balance-display {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.balance-display span {
    color: var(--primary-blue);
    font-weight: 800;
}

.nft-tier-display {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1.25rem;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 700;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.nft-tier-display:hover {
    background: rgba(59, 130, 246, 0.18);
    border-color: rgba(59, 130, 246, 0.5);
    transform: scale(1.05);
}

.tier-icon {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* ==================== INPUT SECTION ==================== */
.input-section {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.input-label {
    display: block;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

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

.token-input {
    flex: 1;
    background: rgba(15, 23, 42, 0.6);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem 1.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    outline: none;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.token-input:focus {
    border-color: var(--border-glow);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
    background: rgba(15, 23, 42, 0.8);
}

.token-input::placeholder {
    color: var(--text-muted);
}

.max-btn {
    position: absolute;
    right: 1.25rem;
    padding: 0.625rem 1.25rem;
    background: var(--gradient-blue-purple);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.max-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.5);
}

.max-btn:active {
    transform: scale(0.95);
}

/* ==================== INFO GRID ==================== */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.info-item {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border-color-light);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.info-item:hover {
    background: rgba(15, 23, 42, 0.7);
    border-color: var(--border-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.info-label {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.info-value {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--text-primary);
}

.apr-highlight {
    color: var(--success-green);
    background: linear-gradient(135deg, var(--success-green), var(--success-green-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== REWARDS DISPLAY ==================== */
.rewards-display {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(5, 150, 105, 0.12) 100%);
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.rewards-display::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.rewards-display:hover {
    border-color: rgba(16, 185, 129, 0.5);
    transform: scale(1.02);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.2);
}

.rewards-display:hover::before {
    opacity: 1;
}

.rewards-label {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.rewards-value {
    font-size: 3rem;
    font-weight: 900;
    color: var(--success-green);
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.625rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 40px rgba(16, 185, 129, 0.5);
}

.rewards-unit {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 700;
}

/* ==================== ACTION BUTTONS ==================== */
.action-btn {
    width: 100%;
    padding: 1.25rem 2rem;
    border: none;
    border-radius: 16px;
    font-size: 1.0625rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--shadow-md);
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.action-btn:hover::before {
    width: 300px;
    height: 300px;
    opacity: 0;
}

.btn-text {
    position: relative;
    z-index: 1;
}

.stake-btn {
    background: var(--gradient-blue-purple);
    color: white;
}

.stake-btn:not(:disabled):hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4);
}

.claim-btn {
    background: var(--gradient-success);
    color: white;
}

.claim-btn:not(:disabled):hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.4);
}

.unstake-btn {
    background: var(--gradient-warning);
    color: white;
}

.unstake-btn:not(:disabled):hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.4);
}

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

.action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ==================== CARD NOTICES ==================== */
.card-notice {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 14px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-top: 2rem;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.card-notice:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateX(4px);
}

.card-notice svg {
    flex-shrink: 0;
    color: var(--primary-blue);
    margin-top: 0.125rem;
}

.card-notice.success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.card-notice.success:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.5);
}

.card-notice.success svg {
    color: var(--success-green);
}

.card-notice.warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}

.card-notice.warning:hover {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.5);
}

.card-notice.warning svg {
    color: var(--warning-yellow);
}

/* ==================== TIER BENEFITS ==================== */
.tier-benefits-section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.tier-benefit-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px) saturate(150%);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.tier-benefit-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.tier-benefit-card.bronze {
    border-color: rgba(205, 127, 50, 0.4);
}

.tier-benefit-card.bronze::before {
    background: radial-gradient(circle, rgba(205, 127, 50, 0.15) 0%, transparent 70%);
}

.tier-benefit-card.bronze:hover {
    border-color: var(--bronze-color);
    box-shadow: 0 20px 60px rgba(205, 127, 50, 0.3);
    transform: translateY(-8px) scale(1.02);
}

.tier-benefit-card.silver {
    border-color: rgba(192, 192, 192, 0.4);
}

.tier-benefit-card.silver::before {
    background: radial-gradient(circle, rgba(192, 192, 192, 0.15) 0%, transparent 70%);
}

.tier-benefit-card.silver:hover {
    border-color: var(--silver-color);
    box-shadow: 0 20px 60px rgba(192, 192, 192, 0.3);
    transform: translateY(-8px) scale(1.02);
}

.tier-benefit-card.gold {
    border-color: rgba(255, 215, 0, 0.4);
}

.tier-benefit-card.gold::before {
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
}

.tier-benefit-card.gold:hover {
    border-color: var(--gold-color);
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.4);
    transform: translateY(-8px) scale(1.02);
}

.tier-benefit-card:hover::before {
    opacity: 1;
}

.tier-benefit-icon {
    width: 140px;
    height: 140px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 1;
}

.tier-benefit-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
    transition: transform var(--transition-normal);
}

.tier-benefit-card:hover .tier-benefit-image {
    transform: scale(1.1) rotate(5deg);
}

.tier-benefit-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.tier-benefit-apr {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--success-green);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
}

.tier-benefit-bonus {
    font-size: 1.125rem;
    color: var(--primary-blue);
    margin-bottom: 1.25rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.tier-benefit-requirement {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    padding: 0.75rem 1.25rem;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* ==================== HOW IT WORKS ==================== */
.how-it-works {
    margin-bottom: 4rem;
}

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

.step-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px) saturate(150%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.step-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(59, 130, 246, 0.2);
}

.step-card:hover::before {
    opacity: 1;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--gradient-blue-purple);
    border-radius: 16px;
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
    position: relative;
    z-index: 1;
    transition: transform var(--transition-normal);
}

.step-card:hover .step-number {
    transform: scale(1.15) rotate(-5deg);
}

.step-title {
    font-size: 1.375rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.step-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ==================== EMERGENCY SECTION ==================== */
.emergency-section {
    margin-bottom: 4rem;
}

.emergency-card {
    background: rgba(239, 68, 68, 0.08);
    border: 2px solid rgba(239, 68, 68, 0.4);
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.15);
    transition: all var(--transition-normal);
}

.emergency-card:hover {
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 12px 48px rgba(239, 68, 68, 0.2);
}

.emergency-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.emergency-header svg {
    color: var(--warning-red);
    filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.5));
}

.emergency-header h4 {
    font-size: 1.75rem;
    color: var(--warning-red);
    font-weight: 800;
}

.emergency-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1rem;
}

.emergency-description strong {
    color: var(--warning-red);
    font-weight: 800;
}

.emergency-btn {
    width: 100%;
    padding: 1.25rem 2rem;
    background: var(--gradient-danger);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.0625rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.3);
    position: relative;
    overflow: hidden;
}

.emergency-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.emergency-btn:hover::before {
    width: 300px;
    height: 300px;
    opacity: 0;
}

.emergency-btn:not(:disabled):hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(239, 68, 68, 0.4);
}

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

.emergency-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ==================== LOADING & TOAST ==================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    z-index: 1000;
}

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

.loading-spinner {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(59, 130, 246, 0.2);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}

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

.loading-text {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1.25rem 1.75rem;
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    transform: translateX(400px);
    transition: transform var(--transition-normal);
    z-index: 1001;
    backdrop-filter: blur(10px);
    min-width: 300px;
}

.toast.active {
    transform: translateX(0);
}

.toast.success {
    border-color: var(--success-green);
    background: rgba(16, 185, 129, 0.15);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.3);
}

.toast.error {
    border-color: var(--warning-red);
    background: rgba(239, 68, 68, 0.15);
    box-shadow: 0 12px 40px rgba(239, 68, 68, 0.3);
}

.toast-message {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1.25rem;
        padding: 1rem 1.5rem;
    }

    .nav-actions {
        width: 100%;
        justify-content: space-between;
    }

    .logo {
        width: 56px;
        height: 56px;
    }

    .brand-name {
        font-size: 1.25rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

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

    .tier-benefits-grid {
        grid-template-columns: 1fr;
    }

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

    .main-container {
        padding: 2rem 1.25rem;
    }

    .action-card {
        padding: 2rem;
    }

    .page-nav-container {
        padding: 0 1.5rem;
        overflow-x: auto;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .token-input {
        font-size: 1.25rem;
        padding: 1rem 1.25rem;
    }

    .rewards-value {
        font-size: 2.25rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
