@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Fira+Code:wght@400;600&display=swap');

:root {
    --bg-dark: #050505;
    --card-dark: #0a0a0f;
    --hero-start: #2a21e9;
    --hero-end: #00bdff;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --cyan: #00bdff;
    --border: rgba(255, 255, 255, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    background-image: radial-gradient(rgba(42, 33, 233, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    height: 80px;
    background: rgba(5, 5, 5, 0.9);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
}

.logo span {
    color: #888;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    margin-left: 30px;
    transition: 0.2s;
}

.nav-links a:hover {
    color: var(--cyan);
}

/* Dashboard Grid - 2 Column */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    max-width: 1500px;
    margin: 30px auto;
    padding: 0 50px;
    min-height: calc(100vh - 140px);
}

/* Hero Card */
.hero-card {
    background: linear-gradient(135deg, var(--hero-start), var(--hero-end));
    border-radius: 28px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px -20px rgba(42, 33, 233, 0.5);
}

.hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.15), transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
}

/* Wallet Box - Clean & Large */
.wallet-box {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: linear-gradient(135deg, rgba(15, 15, 25, 0.95) 0%, rgba(8, 8, 15, 0.98) 100%);
    padding: 0;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: fit-content;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.qr-container {
    background: transparent;
    /* No background color */
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-container img {
    width: 130px;
    height: 130px;
    /* Larger QR */
    background: white;
    padding: 10px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.wallet-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 40px 30px 20px;
    gap: 14px;
}

.wallet-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #666;
    text-transform: uppercase;
}

.wallet-address {
    font-family: 'Fira Code', monospace;
    font-size: 1.4rem;
    font-weight: 600;
    /* Larger text */
    color: #fff;
    letter-spacing: 0.02em;
}

.wallet-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

/* BNB Balance Display */
.wallet-balance-row {
    margin: 8px 0;
}

.bnb-balance {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #f0b90b 0%, #d4a30a 100%);
    color: #000;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 8px 14px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(240, 185, 11, 0.3);
}

.bnb-balance i {
    font-size: 1rem;
}

.eka-balance {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #2a21e9 0%, #00bdff 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 8px 14px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(42, 33, 233, 0.3);
}

.eka-balance i {
    font-size: 1rem;
}


.btn-outline-sm {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #999;
    padding: 12px 22px;
    border-radius: 12px;
    /* Bigger buttons */
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-sm:hover {
    background: linear-gradient(135deg, #2a21e9, #00bdff);
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 25px rgba(42, 33, 233, 0.4);
    transform: translateY(-2px);
}

.btn-outline-sm i {
    font-size: 0.9rem;
}


.init-loader {
    text-align: center;
    color: var(--cyan);
    padding: 30px;
}

.init-loader i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

/* Stats Column */
.stats-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-card {
    background: var(--card-dark);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.5);
}

.stat-icon {
    font-size: 1.3rem;
    color: var(--cyan);
    margin-bottom: 15px;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

.stat-sub {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

.cyan {
    color: var(--cyan);
}

.stat-action {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.claimable-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

/* Airdrop Card Enhanced */
.airdrop-card .stat-info {
    margin-bottom: 20px;
}

.airdrop-details {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--text-secondary);
}

.detail-value {
    font-weight: 600;
    color: #fff;
}

.detail-row.highlight {
    background: rgba(0, 189, 255, 0.08);
    margin: 8px -16px -16px -16px;
    padding: 14px 16px;
    border-radius: 0 0 12px 12px;
    border-bottom: none;
}

.detail-row.highlight .detail-label {
    color: #fff;
    font-weight: 500;
}

.claim-note {
    font-size: 0.75rem;
    color: #666;
    text-align: center;
    margin-top: 12px;
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, var(--hero-start), var(--hero-end));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.2s;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1100px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .hero-card {
        min-height: 350px;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .navbar {
        padding: 0 20px;
    }

    .wallet-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-title {
        font-size: 2rem;
    }
}

/* Animations */
.hero-card {
    animation: fadeInUp 0.6s ease-out;
}

.stat-card {
    animation: fadeInUp 0.6s ease-out;
}

.stat-card:nth-child(2) {
    animation-delay: 0.1s;
}

.stat-card:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
} 
 / *   A u t h   P a g e s   ( L o g i n / R e g i s t e r )   * /  
 . a u t h - c o n t a i n e r   {  
         w i d t h :   1 0 0 % ;  
         m a x - w i d t h :   4 5 0 p x ;  
         m a r g i n :   8 0 p x   a u t o ;  
         p a d d i n g :   2 r e m ;  
         t e x t - a l i g n :   c e n t e r ;  
 }  
  
 . g l a s s - p a n e l   {  
         b a c k g r o u n d :   r g b a ( 1 0 ,   1 0 ,   1 5 ,   0 . 7 ) ;  
         b a c k d r o p - f i l t e r :   b l u r ( 2 0 p x ) ;  
         b o r d e r :   1 p x   s o l i d   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 0 8 ) ;  
         b o r d e r - r a d i u s :   2 4 p x ;  
         b o x - s h a d o w :   0   2 5 p x   5 0 p x   - 1 2 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 5 ) ;  
 }  
  
 . a u t h - c o n t a i n e r   h 1   {  
         f o n t - s i z e :   2 r e m ;  
         f o n t - w e i g h t :   8 0 0 ;  
         m a r g i n - b o t t o m :   0 . 5 r e m ;  
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   # 2 a 2 1 e 9 ,   # 0 0 b d f f ) ;  
         - w e b k i t - b a c k g r o u n d - c l i p :   t e x t ;  
         - w e b k i t - t e x t - f i l l - c o l o r :   t r a n s p a r e n t ;  
 }  
  
 . a u t h - c o n t a i n e r   h 2   {  
         f o n t - s i z e :   1 . 2 5 r e m ;  
         c o l o r :   v a r ( - - t e x t - s e c o n d a r y ) ;  
         m a r g i n - b o t t o m :   2 r e m ;  
         f o n t - w e i g h t :   5 0 0 ;  
 }  
  
 . a u t h - c o n t a i n e r   f o r m   {  
         d i s p l a y :   f l e x ;  
         f l e x - d i r e c t i o n :   c o l u m n ;  
         g a p :   1 . 2 5 r e m ;  
 }  
  
 . f o r m - c o n t r o l   {  
         w i d t h :   1 0 0 % ;  
         b a c k g r o u n d :   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 0 3 ) ;  
         b o r d e r :   1 p x   s o l i d   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 1 ) ;  
         c o l o r :   w h i t e ;  
         p a d d i n g :   1 r e m   1 . 2 5 r e m ;  
         b o r d e r - r a d i u s :   1 2 p x ;  
         f o n t - s i z e :   1 r e m ;  
         f o n t - f a m i l y :   i n h e r i t ;  
         t r a n s i t i o n :   a l l   0 . 3 s   e a s e ;  
 }  
  
 . f o r m - c o n t r o l : f o c u s   {  
         o u t l i n e :   n o n e ;  
         b a c k g r o u n d :   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 0 5 ) ;  
         b o r d e r - c o l o r :   v a r ( - - c y a n ) ;  
         b o x - s h a d o w :   0   0   0   4 p x   r g b a ( 0 ,   1 8 9 ,   2 5 5 ,   0 . 1 ) ;  
 }  
  
 . b t n - p r e m i u m   {  
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   v a r ( - - h e r o - s t a r t ) ,   v a r ( - - h e r o - e n d ) ) ;  
         c o l o r :   w h i t e ;  
         b o r d e r :   n o n e ;  
         p a d d i n g :   1 r e m ;  
         b o r d e r - r a d i u s :   1 2 p x ;  
         f o n t - s i z e :   1 r e m ;  
         f o n t - w e i g h t :   7 0 0 ;  
         c u r s o r :   p o i n t e r ;  
         t r a n s i t i o n :   a l l   0 . 3 s   e a s e ;  
         b o x - s h a d o w :   0   1 0 p x   2 0 p x   - 5 p x   r g b a ( 4 2 ,   3 3 ,   2 3 3 ,   0 . 4 ) ;  
 }  
  
 . b t n - p r e m i u m : h o v e r   {  
         t r a n s f o r m :   t r a n s l a t e Y ( - 2 p x ) ;  
         b o x - s h a d o w :   0   1 5 p x   3 0 p x   - 5 p x   r g b a ( 4 2 ,   3 3 ,   2 3 3 ,   0 . 6 ) ;  
 }  
  
 . a u t h - c o n t a i n e r   p   {  
         c o l o r :   v a r ( - - t e x t - s e c o n d a r y ) ;  
         f o n t - s i z e :   0 . 9 r e m ;  
 }  
  
 . a u t h - c o n t a i n e r   a   {  
         c o l o r :   v a r ( - - c y a n ) ;  
         t e x t - d e c o r a t i o n :   n o n e ;  
         f o n t - w e i g h t :   6 0 0 ;  
 }  
  
 . a u t h - c o n t a i n e r   a : h o v e r   {  
         t e x t - d e c o r a t i o n :   u n d e r l i n e ;  
 }  
  
 / *   A n i m a t i o n s   i n c l u d e d   i n   s t y l e . c s s   e a r l i e r   b u t   f a d e - i n   m i g h t   b e   c l e a n e r   * /  
 . f a d e - i n   {  
         a n i m a t i o n :   f a d e I n   0 . 8 s   e a s e - o u t ;  
 }  
  
 @ k e y f r a m e s   f a d e I n   {  
         f r o m   {   o p a c i t y :   0 ;   t r a n s f o r m :   t r a n s l a t e Y ( 2 0 p x ) ;   }  
         t o   {   o p a c i t y :   1 ;   t r a n s f o r m :   t r a n s l a t e Y ( 0 ) ;   }  
 }  
 
/* Staking Page Enhancements */
.staking-history-card {
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.2);
}

.staking-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 15px;
}

.staking-table th {
    text-align: left;
    padding: 16px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.staking-table td {
    padding: 16px;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.95rem;
}

.staking-table tr:last-child td {
    border-bottom: none;
}

.staking-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.status-active {
    background: rgba(0, 255, 200, 0.1);
    color: #00ffc8;
    border: 1px solid rgba(0, 255, 200, 0.2);
    box-shadow: 0 0 10px rgba(0, 255, 200, 0.1);
}

.status-completed {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.glow-icon {
    color: var(--cyan);
    filter: drop-shadow(0 0 5px rgba(0, 189, 255, 0.5));
}


/* --- NEW PREMIUM STAKING REDESIGN --- */

.staking-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.staking-header {
    text-align: center;
    margin-bottom: 50px;
}

.staking-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.glow-text {
    color: #00bdff;
    -webkit-text-fill-color: #00bdff;
    text-shadow: 0 0 30px rgba(0, 189, 255, 0.4);
}

.staking-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.staking-dashboard {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .staking-dashboard {
        grid-template-columns: 1fr;
    }
}

.glass-panel {
    background: rgba(12, 12, 18, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 189, 255, 0.5), transparent);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.panel-header h2 {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.balance-badge {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.balance-badge strong {
    color: #fff;
    margin-left: 5px;
}

.input-group-wrapper {
    position: relative;
    margin-bottom: 25px;
}

.neon-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    font-size: 1.2rem;
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Fira Code', monospace;
}

.neon-input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 20px rgba(0, 189, 255, 0.15);
}

.max-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 189, 255, 0.15);
    color: var(--cyan);
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.8rem;
    transition: 0.2s;
}

.max-btn:hover {
    background: var(--cyan);
    color: #000;
}

.apr-info {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.apr-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.apr-item span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.apr-item strong {
    font-size: 1.1rem;
    color: #00ff88;
}

.neon-btn-primary {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #00bdff, #0088ff);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.neon-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 189, 255, 0.4);
}

.neon-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    background: #333;
}

.stat-row {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    font-family: 'Fira Code', monospace;
}

.stat-value.highlight {
    color: #00ff88;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.claim-btn-small {
    margin-top: 15px;
    padding: 10px 20px;
    background: rgba(0, 255, 136, 0.15);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #00ff88;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    transition: 0.2s;
}

.claim-btn-small:hover {
    background: #00ff88;
    color: #000;
}

