:root {
  --primary: #ff9008;
  --dark-bg: #f6f7fa;
  --light-bg: #2a1d4f;
  --card-bg: #ffffff;
  --text-primary: #fff;
  --text-secondary: #666666;
  --shadow-light: #ff91081a;
  --shadow-dark: #1a0f33;
}

/* Neumorphic Mixins */
@mixin neumorphic-light {
  background: var(--card-bg);
  border-radius: 15px;
  box-shadow:  8px 8px 16px var(--shadow-dark),
              -8px -8px 16px var(--shadow-light);
}

@mixin neumorphic-pressed {
  box-shadow: inset 4px 4px 8px var(--shadow-dark),
              inset -4px -4px 8px var(--shadow-light);
}

@mixin neumorphic-hover {
  box-shadow: 10px 10px 20px var(--shadow-dark),
             -10px -10px 20px var(--shadow-light);
}

/* Base Styles */
body {
  background-color: var(--dark-bg);
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Dashboard & Component Styles */

/* Dashboard Layout */
.main-content {
    padding: 95px 0 0px;
    min-height: 100vh;
}

.page-header {
    margin-bottom: 40px;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--primary);
}

.page-header p {
    color: var(--dark);
    font-size: 16px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}

@media (min-width: 992px) {
    .dashboard-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.dashboard-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

/* Card Styles */
.card, .stat-card {
    @include neumorphic-light;
    padding: 25px;
    transition: all 0.3s ease;
    border: none;
    border-radius: 15px;
    background: var(--card-bg);
    color: var(--text-primary);
}

.card:hover, .stat-card:hover {
    @include neumorphic-hover;
    transform: translateY(-5px);
}

.card-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.card-header h2 {
    color: var(--primary);
    margin: 0;
    font-size: 1.5rem;
}

.stat-card {
    text-align: center;
    padding: 20px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    background: rgba(255, 144, 8, 0.1);
    @include neumorphic-light;
}

.stat-amount {
    font-size: 24px;
    font-weight: 700;
    margin: 10px 0 5px;
    color: var(--primary);
}

.stat-info h3 {
    margin: 0 0 5px;
    font-size: 16px;
    color: var(--text-secondary);
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    background: var(--dark-gray);
    border-radius: var(--border-radius);
    padding: 20px;
    border: 1px solid var(--light-gray);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(49, 203, 158, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 20px;
}

.stat-info h3 {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 5px;
}

.stat-amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 5px;
}

.stat-change {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.stat-change.positive {
    color: var(--success);
}

.stat-change.negative {
    color: var(--danger);
}

.stat-actions {
    margin-top: 10px;
}

/* Card Styles */
.card {
    background: var(--dark-gray);
    border-radius: var(--border-radius);
    border: 1px solid var(--light-gray);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}

.card-header {
    padding: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.card-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 5px;
}

.card-header p {
    font-size: 13px;
    color: var(--dark);
    margin: 0;
}

.card-body {
    padding: 20px;
}

/* Gradient Card Variant */
.gradient-card {    
    border: 1px solid rgba(49, 203, 158, 0.25);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.gradient-card .card-header {
    border-bottom: 1px solid rgba(49, 203, 158, 0.25);
}

.gradient-card .table {
    background: transparent;
    color: var(--light);
}

.gradient-card .table th,
.gradient-card .table td {
    border-color: rgba(255, 255, 255, 0.06);
}

.gradient-card .badge {
    background: rgba(49, 203, 158, 0.15);
    color: var(--primary);
    border: 1px solid rgba(49, 203, 158, 0.25);
}

/* Grid for mini cards */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 576px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .card-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Mini Gradient Cards per leg */
.mini-gradient-card {    
    padding: 16px;    
    transition: var(--transition);
 border-radius: 35px;
background: linear-gradient(145deg, #d5d5d5, #fefefe);
box-shadow:  8px 8px 13px #c9c9c9,
             -8px -8px 13px #ffffff;
}

.mini-gradient-card:hover {
    transform: translateY(-3px);
}

.mini-gradient-card .title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 8px;
}

.mini-gradient-card .value {
    font-size: 18px;
    font-weight: 700;
    color: var(--light);
}

.mini-gradient-card .sub {
    font-size: 12px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--light);
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 20px;
    background: var(--card-bg);
    border: none;
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.3s ease;
    @include neumorphic-light;
    
    &:focus {
        outline: none;
        @include neumorphic-hover;
        border-color: var(--primary);
    }
    
    &::placeholder {
        color: var(--text-secondary);
        opacity: 0.7;
    }
    border-radius: var(--border-radius);
    color: var(--light);
    font-size: 14px;
    transition: var(--transition);
}

.input-group {
    display: flex;
    width: 100%;
}

.input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.input-group .input-group-text {
    background-color: var(--primary);
    border: 1px solid var(--primary);
    border-left: none;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    cursor: pointer;
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
    transition: var(--transition);
}

.input-group .input-group-text:hover {
    background-color: var(--light-gray);
}

.form-text {
    font-size: 12px;
    color: var(--dark);
    margin-top: 5px;
}

/* Preview Box */
.preview-box {
    background-color: rgba(49, 203, 158, 0.05);
    border: 1px dashed var(--primary);
    border-radius: var(--border-radius);
    padding: 15px;
    margin: 20px 0;
}

.preview-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--light);
}

.preview-item:last-child {
    margin-bottom: 0;
}

.preview-item.highlight {
    font-weight: 600;
    color: var(--primary);
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--light-gray);
}

/* Referral Section */
.referral-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.referral-stat {
    text-align: center;
    background: var(--medium-gray);
    padding: 15px 10px;
    border-radius: var(--border-radius);
}

.referral-stat .stat-value {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.referral-stat .stat-label {
    font-size: 11px;
    color: var(--dar);
    line-height: 1.3;
}

.referral-link {
    margin-bottom: 20px;
}

.referral-link label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--light);
}

/* defies List */
.stakes-container {
    max-height: 400px;
    padding-right: 10px;
}

.stakes-container::-webkit-scrollbar {
    width: 5px;
}

.stakes-container::-webkit-scrollbar-track {
    background: var(--dark-gray);
    border-radius: 10px;
}

.stakes-container::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.stakes-header {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    padding: 10px 15px;
    background: var(--primary);
    border-radius: var(--border-radius);
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--dark);
}

.stake-item {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    align-items: center;
    padding: 15px;
    border-radius: 11px;
background: #ffffff;
box-shadow: inset 8px 8px 16px #bfbfbf,
            inset -8px -8px 16px #ffffff;
    margin-bottom: 10px;
    font-size: 14px;
}

.stake-item.active {
    border-left-color: var(--primary);
}

.stake-item.inactive {
    opacity: 0.7;
}

.stake-amount {
    display: flex;
    flex-direction: column;
}

.stake-amount .amount {
    font-weight: 600;
    color: var(--light);
}

.stake-amount .tokens {
    font-size: 12px;
    color: var(--dark);
}

.stake-date, .stake-claim {
    font-size: 13px;
    color: var(--dark);
}

.stake-earned {
    display: flex;
    flex-direction: column;
}

.stake-earned .total-earned {
    font-weight: 600;
    color: var(--light);
}

.stake-earned .pending-rewards {
    font-size: 12px;
    color: var(--success);
}

.stake-actions {
    display: flex;
    gap: 8px;
}

.stake-actions .btn {
    padding: 6px 12px;
    font-size: 13px;
}

.no-stakes {
    text-align: center;
    padding: 40px 20px;
    color: var(--dark);
}

.no-stakes i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
    opacity: 0.5;
}

.no-stakes p {
    margin: 5px 0;
}

/* Transactions */
.transactions-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.transaction-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
}

.transaction-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 144, 8, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary);
}

.transaction-icon.receive {
    background-color: rgba(82, 196, 26, 0.1);
    color: var(--success);
}

.transaction-icon.send {
    background-color: rgba(255, 77, 79, 0.1);
    color: var(--danger);
}

.transaction-details {
    flex: 1;
}

.transaction-title {
    font-weight: 500;
    color: var(--light);
    margin-bottom: 3px;
}

.transaction-date {
    font-size: 12px;
    color: var(--dark);
}

.transaction-amount {
    font-weight: 600;
}

.transaction-amount.positive {
    color: var(--success);
}

.transaction-amount.negative {
    color: var(--danger);
}

/* Toast Notifications */
#toastContainer {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
    width: 100%;
}

.toast {
    padding: 15px 20px;
    border-radius: var(--border-radius);
    color: white;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateX(120%);
    animation: slideIn 0.3s forwards;
    position: relative;
    overflow: hidden;
}

.toast::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
}

.toast.success {
    background-color: rgba(82, 196, 26, 0.9);
}

.toast.success::before {
    background-color: #52c41a;
}

.toast.error {
    background-color: rgba(255, 77, 79, 0.9);
}

.toast.error::before {
    background-color: #ff4d4f;
}

.toast.info {
    background-color: rgba(24, 144, 255, 0.9);
}

.toast.info::before {
    background-color: #1890ff;
}

.toast.warning {
    background-color: rgba(250, 173, 20, 0.9);
}

.toast.warning::before {
    background-color: #faad14;
}

@keyframes slideIn {
    to {
        transform: translateX(0);
    }
}

/* Loading Overlay */
#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 15, 15, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 15px;
}

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

#loadingText {
    color: #ffffff;
    font-size: 16px;
    margin-top: 15px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .stakes-header {
        display: none;
    }
    
    .stake-item {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 15px;
    }
    
    .stake-amount, .stake-date, .stake-claim, .stake-earned {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
    
    .stake-actions {
        justify-content: flex-end;
        margin-top: 10px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .referral-stats {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.mt-3 { margin-top: 15px; }
.text-center { text-align: center; }
.btn-block { width: 100%; display: block; }
.btn-outline-primary {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
}

.btn-outline-danger {
    background: transparent;
    border: 1px solid var(--danger);
    color: var(--danger);
}

.btn-outline-danger:hover {
    background: var(--danger);
    color: white;
}

/* Base Styles & Variables */
:root {
    --primary: #4B2E1E;
    --primary-dark: #4B2E1E;
    --primary-light: #ffd983;
    --dark: #0f0f0f;
    --darker: #0a0a0a;
    --dark-gray: #1c1c1c;
    --medium-gray: #2d2d2d;
    --light-gray: #444;
    --lighter-gray: #ffffff;
    --light: #2d2d2d;
    --white: #ffffff;
    --danger: #dc3545;
    --warning: #ffc107;
    --success: #28a745;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #D4A437;
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* Buttons */
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    @include neumorphic-light;
    color: var(--text-primary);
    
    &:hover {
        @include neumorphic-hover;
        transform: translateY(-2px);
    }
    
    &:active {
        @include neumorphic-pressed;
        transform: translateY(0);
    }
    

    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    gap: 8px;
}


.btn-sm { padding: 5px 10px; font-size: 13px; }

.btn i {
    font-size: 14px;
}



.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: rgba(49, 203, 158, 0.1);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--dark-gray);
    color: var(--light);
}

.btn-secondary:hover {
    background-color: var(--medium-gray);
}

/* Navbar */
.navbar {
    background-color: rgba(212, 164, 55, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 1px;
}

.logo a img {
    width: 150px;
}

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

.nav-links a {
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    text-decoration: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #d4a437;
    border-radius: var(--border-radius);
    padding: 10px 0;
    min-width: 200px;
    box-shadow: var(--box-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
    border: 1px solid #d4a437;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 8px 20px;
    color: var(--light);
    transition: var(--transition);
}

.dropdown-item i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.dropdown-item:hover {
    color: var(--primary);
}

.dropdown-divider {
    height: 1px;
    background-color: var(--light-gray);
    margin: 8px 0;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 164, 55, 0.1) 0%, rgba(212, 164, 55, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(to right, #D4A437, #F2E6A3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; /* standard property for compatibility */
    color: transparent;     /* standard pairing with background-clip */
}

.hero p {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 30px;
    max-width: 600px;
}



.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

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

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(212, 164, 55, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    @include neumorphic-light;
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    padding: 30px;
    position: relative;
    
    .close {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 24px;
        color: var(--text-secondary);
        cursor: pointer;
        transition: color 0.3s ease;
        
        &:hover {
            color: var(--primary);
        }
    }
    padding: 30px;
    position: relative;
    transform: translateY(20px);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal h2 {
    margin-bottom: 20px;
    color: var(--light);
}

.modal p {
    margin-bottom: 25px;
    color: var(--dark);
}

.close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--primary);
}

.wallet-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.wallet-option {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-radius: 41px;
    background: #ffffff;
    box-shadow: inset 5px 7px 8px #b5b5b5,
            inset -16px -16px 32px #ffffff;
    border: 1px solid var(--primary); 
    cursor: pointer;
    transition: var(--transition);
}

.wallet-option:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.wallet-option img {
    width: 30px;
    height: 30px;
    margin-right: 15px;
}

.wallet-option span {
    font-weight: 500;
    color: var(--light);
}

.wallet-option:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.wallet-option:disabled:hover {
    background-color: var(--medium-gray);
    border-color: var(--light-gray);
}

.terms {
    font-size: 14px;
    color: var(--dark);
    text-align: center;
}

.terms a {
    color: var(--dark);
    text-decoration: underline;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--dark-gray);
    color: var(--light);
    padding: 15px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: none;
    align-items: center;
    z-index: 3000;
    border-left: 4px solid var(--primary);
}


/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(212, 164, 55, 0.8);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 4000;
    backdrop-filter: blur(5px);
}

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

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--dark-gray);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Footer */
.footer {
    background-color: var(--dark);
    padding: 50px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 164, 55, 0.3), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 10px;
}

.footer-logo img {
    width: 150px;
    height: auto;
}

.footer-logo p {
    color: var(--dark);
}

.footer-links h4 {
    color: var(--light);
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--dark);
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--dark-gray);
    border-radius: 50%;
    color: var(--light);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--light-gray);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: var(--dark);
    font-size: 14px;
}

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

.footer-legal a {
    color: var(--dark);
    font-size: 14px;
    transition: var(--transition);
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--dark);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links a {
        padding: 12px 0;
    }
    
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1000;
    }
    
    .hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--light);
        transition: var(--transition);
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-content {
        margin: 0 15px;
        padding: 20px 15px;
    }
    
    .wallet-option {
        padding: 12px 15px;
    }
    
    .wallet-option img {
        width: 25px;
        height: 25px;
        margin-right: 10px;
    }
    
    .footer-legal {
        gap: 10px;
    }
    
    .footer-legal a {
        font-size: 12px;
    }
}


/* Contact Page Styles */
/* Contact Page Styles */
.contact-page {
    padding: 80px 0;
    color: var(--dark);
    line-height: 1.8;
}

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

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

.contact-header h1 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.contact-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--dark);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.contact-info {
    padding: 40px;
 border-radius: 35px;
background: linear-gradient(145deg, #d5d5d5, #fefefe);
box-shadow:  8px 8px 13px #c9c9c9,
             -8px -8px 13px #ffffff;
}

.contact-info h2 {
    color: var(--light);
    font-size: 1.8rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.contact-info h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.contact-method {
    display: flex;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(49, 203, 158, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    color: var(--primary);
    font-size: 1.2rem;
}

.contact-details h3 {
    color: var(--light);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-details p, .contact-details a {
    margin: 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dark-gray);
    color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-container {    
    padding: 40px;
 border-radius: 35px;
background: linear-gradient(145deg, #d5d5d5, #fefefe);
box-shadow:  8px 8px 13px #c9c9c9,
             -8px -8px 13px #ffffff;
}

.contact-form-container h2 {
    color: var(--light);
    font-size: 1.8rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.contact-form-container h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--light);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: var(--darker);
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    color: var(--light);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(49, 203, 158, 0.2);
    outline: none;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    background: var(--primary);
    color: var(--dark);
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background: #2bb38f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info, .contact-form-container {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .contact-info, .contact-form-container {
        padding: 25px 20px;
    }
    
    .contact-method {
        flex-direction: column;
    }
    
    .contact-icon {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .contact-header h1 {
        font-size: 1.8rem;
    }
    
    .contact-header p {
        font-size: 1rem;
    }
    
    .btn-submit {
        width: 100%;
        padding: 15px;
    }
}



/* About Page */
/* Hero Section */
.hero {    
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-image: url('../img/bg.jpg');
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; /* standard property for compatibility */
    color: transparent;     /* standard pairing with background-clip */
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: 80px 0;    
}

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

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--dark);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.about-card {
    background: var(--dark);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--light-gray);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.about-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(49, 203, 158, 0.1) 0%, rgba(46, 204, 113, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: var(--primary);
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--light);
}

.about-card p {
    color: var(--dark);
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 20px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    background: var(--dark);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--light-gray);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.member-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-info {
    padding: 20px;
}

.member-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--light);
}

.member-info p {
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 500;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--dark-gray);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
}

/* Stats Section */
.stats-section {
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Legal Page */
/* Legal Page Styles */
.legal-page {
    padding: 80px 0;
    color: var(--dark);
    line-height: 1.8;
}

.legal-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.legal-header h1 {
    font-size: 2.5rem;
    color: var(--light);
    margin-bottom: 15px;
}

.legal-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.legal-content {
 border-radius: 35px;
background: linear-gradient(145deg, #d5d5d5, #fefefe);
box-shadow:  8px 8px 13px #c9c9c9,
             -8px -8px 13px #ffffff;
    padding: 40px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--light-gray);
}

.legal-section h3 {
    color: var(--light);
    font-size: 1.2rem;
    margin: 25px 0 10px;
}

.legal-section p, .legal-section ul {
    margin-bottom: 15px;
}

.legal-section ul {
    padding-left: 20px;
}

.legal-section li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.legal-section li:before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
}

.highlight {
    color: var(--primary);
    font-weight: 500;
}

.last-updated {
    font-size: 0.9rem;
    color: var(--dark);
    font-style: italic;
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid var(--light-gray);
}

.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

th {
    background-color: rgba(49, 203, 158, 0.1);
    color: var(--light);
    font-weight: 500;
}

tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.cookie-settings {
    background: rgba(49, 203, 158, 0.1);
    border: 1px solid var(--primary);
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
}

.cookie-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-gray);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #555;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--primary);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.btn-cookie-save {
    background-color: var(--primary);
    color: var(--dark);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cookie-save:hover {
    background-color: #2bb38f;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .legal-content {
        padding: 25px 20px;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    th, td {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
}

/* FAQ Page */
        /* FAQ Page Styles */
        .faq-page {
            padding: 80px 0;
            line-height: 1.8;
        }
        
        .faq-container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .faq-header {
            text-align: center;
            margin-bottom: 50px;
        }
        
        .faq-header h1 {
            font-size: 2.5rem;
            color: var(--dark);
            margin-bottom: 15px;
        }
        
        .faq-header p {
            font-size: 1.1rem;
            max-width: 700px;
            margin: 0 auto;
            color: var(--dark);
        }
        
        .search-box {
            max-width: 600px;
            margin: 0 auto 40px;
            position: relative;
        }
        
        .search-box input {
            width: 100%;
            padding: 15px 20px 15px 50px;
            border: 1px solid var(--light-gray);
            border-radius: 50px;
            color: var(--light);
            font-size: 1rem;
            font-family: 'Poppins', sans-serif;
            transition: all 0.3s ease;
        }
        
        .search-box input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 2px rgba(49, 203, 158, 0.2);
            outline: none;
        }
        
        .search-box i {
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--light-gray);
        }
        
        .faq-categories {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 40px;
        }
        
        .category-btn {
            border: 1px solid var(--light-gray);
            color: var(--dark);
            padding: 8px 20px;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.95rem;
        }
        
        .category-btn:hover, .category-btn.active {
            background: var(--primary);
            border-color: var(--primary);
            color: var(--dark);
        }
        
        .faq-category {
            margin-bottom: 50px;
        }
        
        .category-title {
            font-size: 1.5rem;
            color: var(--primary);
            margin-bottom: 25px;
            padding-bottom: 10px;
            border-bottom: 1px solid var(--light-gray);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .faq-item {
            margin-bottom: 15px;
        }
        
        .faq-question {
            padding: 20px 25px;
 border-radius: 35px;
background: linear-gradient(145deg, #d5d5d5, #fefefe);
box-shadow:  8px 8px 13px #c9c9c9,
             -8px -8px 13px #ffffff;
            color: var(--light);
            cursor: pointer;
            font-weight: 500;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s ease;
        }
        
        .faq-question:after {
            content: '+';
            font-size: 1.5rem;
            transition: transform 0.3s ease;
        }
        
        .faq-question.active:after {
            content: '-';
        }
        
        .faq-answer {
            padding: 0 25px;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease, padding 0.3s ease;
 border-radius: 35px;
background: linear-gradient(145deg, #d5d5d5, #fefefe);
box-shadow:  8px 8px 13px #c9c9c9,
             -8px -8px 13px #ffffff;
        }
        
        .faq-answer.show {
            padding: 20px 25px;
            max-height: 1000px;
        }
        
        .faq-answer p, .faq-answer ul, .faq-answer ol {
            margin-bottom: 15px;
        }
        
        .faq-answer ul, .faq-answer ol {
            padding-left: 20px;
        }
        
        .faq-answer li {
            margin-bottom: 8px;
        }
        
        .faq-answer a {
            color: var(--primary);
            text-decoration: none;
        }
        
        .faq-answer a:hover {
            text-decoration: underline;
        }
        
        .no-results {
            text-align: center;
            padding: 40px 20px;
            display: none;
        }
        
        .no-results i {
            font-size: 3rem;
            color: var(--light-gray);
            margin-bottom: 20px;
            display: block;
        }
        
        .no-results h3 {
            color: var(--light);
            margin-bottom: 15px;
        }
        
        .no-results p {
            color: var(--dark);
            max-width: 600px;
            margin: 0 auto;
        }
        
        .contact-support {
            text-align: center;
            margin-top: 60px;
            padding-top: 40px;
            border-top: 1px solid var(--light-gray);
        }
        
        .contact-support h2 {
            color: var(--light);
            margin-bottom: 20px;
        }
        
        .contact-support p {
            max-width: 700px;
            margin: 0 auto 25px;
            color: var(--dark);
        }
        
        @media (max-width: 768px) {
            .faq-header h1 {
                font-size: 2rem;
            }
            
            .faq-header p {
                font-size: 1rem;
            }
            
            .faq-question {
                padding: 15px 20px;
                font-size: 0.95rem;
            }
            
            .faq-answer {
                padding: 0 20px;
            }
            
            .faq-answer.show {
                padding: 15px 20px;
            }
            
            .category-title {
                font-size: 1.3rem;
            }
        }
        
        @media (max-width: 480px) {
            .faq-header h1 {
                font-size: 1.8rem;
            }
            
            .category-btn {
                padding: 6px 15px;
                font-size: 0.9rem;
            }
        }

/* team page style */

        /* Team Page Specific Styles */
        .team-stats {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 20px;
            margin-bottom: 30px;
        }
        
        @media (min-width: 768px) {
            .team-stats {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (min-width: 1200px) {
            .team-stats {
                grid-template-columns: repeat(4, 1fr);
            }
        }
        
        .stat-card {
            background: var(--dark-gray);
            border-radius: var(--border-radius);
            padding: 20px;
            border: 1px solid var(--light-gray);
            transition: var(--transition);
        }
        
        .stat-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }
        
        .stat-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: rgb(212 164 55);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 15px;
            color: var(--primary);
            font-size: 20px;
        }
        
        .stat-value {
            font-size: 24px;
            font-weight: 700;
            color: var(--light);
            text-align: center;
            margin-bottom: 5px;
        }
        
        .stat-label {
            font-size: 14px;
            color: var(--dark);
            text-align: center;
            margin-bottom: 10px;
        }
        
        .stat-change {
            font-size: 12px;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
        }
        
        .stat-change.positive {
            color: #52c41a;
        }
        
        .stat-change.negative {
            color: #ff4d4f;
        }
        
        .team-members {
            margin-bottom: 30px;
        }
        
        .member-card {
            background: var(--dark-gray);
            border-radius: var(--border-radius);
            padding: 15px;
            border: 1px solid var(--light-gray);
            transition: var(--transition);
            margin-bottom: 15px;
        }
        
        .member-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            border-color: var(--primary);
        }
        
        .member-header {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .member-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: rgba(49, 203, 158, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            color: var(--primary);
            font-size: 20px;
            font-weight: bold;
            text-transform: uppercase;
        }
        
        .member-info h4 {
            margin: 0 0 5px;
            color: var(--light);
            font-size: 16px;
        }
        
        .member-meta {
            display: flex;
            gap: 15px;
            font-size: 12px;
            color: var(--dark);
        }
        
        .member-meta span {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .member-stats {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            margin-top: 15px;
        }
        
        .stat-item {
 border-radius: 35px;
background: linear-gradient(145deg, #d5d5d5, #fefefe);
box-shadow:  8px 8px 13px #c9c9c9,
             -8px -8px 13px #ffffff;
            padding: 10px;
            text-align: center;
        }
        
        .stat-item .value {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 3px;
        }
        
        .stat-item .label {
            font-size: 11px;
            color: var(--dark);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .team-structure {
            margin-top: 30px;
        }
        
        .team-levels {
            display: flex;
            gap: 10px;
            overflow-x: auto;
            padding-bottom: 15px;
            margin-bottom: 20px;
        }
        
        .level-btn {
            background: var(--dark-gray);
            border: 1px solid var(--light-gray);
            border-radius: 20px;
            padding: 8px 15px;
            font-size: 13px;
            color: var(--dark);
            cursor: pointer;
            white-space: nowrap;
            transition: var(--transition);
        }
        
        .level-btn.active, .level-btn:hover {
            background: var(--primary);
            border-color: var(--primary);
            color: white;
        }
        
        /* Level-based coloring for level buttons */
        .level-btn.level-1, .level-btn.level-7, .level-btn.level-13 {
            background: rgba(212, 164, 55, 0.1);
            border-color: #D4A437;
            color: #D4A437;
        }
        .level-btn.level-1:hover, .level-btn.level-1.active, .level-btn.level-7:hover, .level-btn.level-7.active, .level-btn.level-13:hover, .level-btn.level-13.active {
            background: #D4A437;
            color: white;
        }
        
        .level-btn.level-2, .level-btn.level-8, .level-btn.level-14 {
            background: rgba(75, 46, 30, 0.1);
            border-color: #4B2E1E;
            color: #4B2E1E;
        }
        .level-btn.level-2:hover, .level-btn.level-2.active, .level-btn.level-8:hover, .level-btn.level-8.active, .level-btn.level-14:hover, .level-btn.level-14.active {
            background: #4B2E1E;
            color: white;
        }
        
        .level-btn.level-3, .level-btn.level-9, .level-btn.level-15 {
            background: rgba(167, 140, 109, 0.1);
            border-color: #A78C6D;
            color: #A78C6D;
        }
        .level-btn.level-3:hover, .level-btn.level-3.active, .level-btn.level-9:hover, .level-btn.level-9.active, .level-btn.level-15:hover, .level-btn.level-15.active {
            background: #A78C6D;
            color: white;
        }
        
        .level-btn.level-4, .level-btn.level-10 {
            background: rgba(184, 148, 31, 0.1);
            border-color: #B8941F;
            color: #B8941F;
        }
        .level-btn.level-4:hover, .level-btn.level-4.active, .level-btn.level-10:hover, .level-btn.level-10.active {
            background: #B8941F;
            color: white;
        }
        
        .level-btn.level-5, .level-btn.level-11 {
            background: rgba(139, 111, 71, 0.1);
            border-color: #8B6F47;
            color: #8B6F47;
        }
        .level-btn.level-5:hover, .level-btn.level-5.active, .level-btn.level-11:hover, .level-btn.level-11.active {
            background: #8B6F47;
            color: white;
        }
        
        .level-btn.level-6, .level-btn.level-12 {
            background: rgba(61, 37, 23, 0.1);
            border-color: #3D2517;
            color: #3D2517;
        }
        .level-btn.level-6:hover, .level-btn.level-6.active, .level-btn.level-12:hover, .level-btn.level-12.active {
            background: #3D2517;
            color: white;
        }
        
        /* Disabled state overrides */
        .level-btn.disabled {
            background: var(--dark-gray) !important;
            border-color: var(--light-gray) !important;
            color: var(--lighter-gray) !important;
            opacity: 0.5;
            cursor: not-allowed;
        }
        
        .team-table-wrapper {
            border: none;
        }
        
        .team-table {
            width: 100%;
            border-collapse: collapse;
        }
        
        .team-table th, .team-table td {
            padding: 12px 15px;
            text-align: left;
            border-bottom: none;
        }
        
        .team-table th {
            font-weight: 600;
            color: var(--dark);
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .team-table tbody tr:last-child td {
            border-bottom: none;
        }
        
        .team-table tbody tr:hover {
            background: rgba(255, 255, 255, 0.02);
        }
        
        .user-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: rgba(49, 203, 158, 0.1);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-right: 10px;
            color: var(--primary);
            font-size: 12px;
            font-weight: bold;
            text-transform: uppercase;
        }
        
        .status-badge {
            display: inline-block;
            padding: 3px 8px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 600;
        }
        
        .status-active {
            background: rgba(82, 196, 26, 0.1);
            color: #52c41a;
        }
        
        .status-inactive {
            background: rgba(255, 77, 79, 0.1);
            color: #ff4d4f;
        }
        
        .team-actions {
            display: flex;
            gap: 10px;
        }
        
        .btn-icon {
            width: 32px;
            height: 32px;
            border-radius: 6px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--light-gray);
            color: var(--dark);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .btn-icon:hover {
            background: var(--primary);
            border-color: var(--primary);
            color: white;
        }
        
        .pagination {
            display: flex;
            justify-content: flex-end;
            gap: 5px;
            margin-top: 20px;
        }
        
        .page-btn {
            width: 32px;
            height: 32px;
            border-radius: 6px;
            background: var(--dark-gray);
            border: 1px solid var(--light-gray);
            color: var(--dark);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .page-btn.active, .page-btn:hover {
            background: var(--primary);
            border-color: var(--primary);
            color: white;
        }
        
        .page-btn.disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

/* reward page style */
        /* Custom styles for rewards page */
        .rewards-summary {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 20px;
            margin-bottom: 30px;
        }
        
        @media (min-width: 768px) {
            .rewards-summary {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (min-width: 1200px) {
            .rewards-summary {
                grid-template-columns: repeat(4, 1fr);
            }
        }
        
        .reward-card {
            background: var(--dark-gray);
            border-radius: var(--border-radius);
            padding: 20px;
            border: 1px solid var(--light-gray);
            transition: var(--transition);
            text-align: center;
        }
        
        .reward-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
            border-color: var(--primary);
        }
        
        .reward-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: rgba(49, 203, 158, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 15px;
            color: var(--primary);
            font-size: 20px;
        }
        
        .reward-amount {
            font-size: 24px;
            font-weight: 700;
            color: var(--light);
            margin-bottom: 5px;
        }
        
        .reward-label {
            font-size: 14px;
            color: var(--dark);
            margin-bottom: 10px;
        }
        
        .reward-progress {
            height: 4px;
            background-color: var(--medium-gray);
            border-radius: 2px;
            margin: 10px 0;
            overflow: hidden;
        }
        
        .reward-progress-bar {
            height: 100%;
            background-color: var(--primary);
            border-radius: 2px;
            transition: width 0.6s ease;
        }
        
        .reward-target {
            font-size: 12px;
            color: var(--dark);
            display: flex;
            justify-content: space-between;
        }
        
        .chart-container {
            background: var(--dark-gray);
            border-radius: var(--border-radius);
            padding: 20px;
            margin-bottom: 30px;
            border: 1px solid var(--light-gray);
        }
        
        .chart-header {
            margin-bottom: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .chart-title {
            font-size: 18px;
            font-weight: 600;
            color: var(--light);
            margin: 0;
        }
        
        .time-filter {
            display: flex;
            background: var(--medium-gray);
            border-radius: 20px;
            padding: 5px;
        }
        
        .time-filter button {
            background: none;
            border: none;
            color: var(--dark);
            padding: 5px 15px;
            border-radius: 15px;
            font-size: 12px;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .time-filter button.active {
            background: var(--primary);
            color: white;
        }
        
        .tabs {
            display: flex;
            border-bottom: 3px solid var(--primary);
            margin-bottom: 20px;
        }
        
        .tab {
           padding: 10px 20px;
    cursor: pointer;
    font-weight: 500;
    color: var(--dark);
    border: 0px solid transparent;
    transition: var(--transition);
    background: var(--primary);
    border-radius: 10px 10px 0px 0px;
    margin-left: 10px;
        }
        
        .tab.active {
            color: var(--dark);
        }
        
        .tab-content {
            display: none;
        }
        
        .tab-content.active {
            display: block;
        }
        
        .reward-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
            border-bottom: 1px solid var(--light-gray);
        }
        
        .reward-item:last-child {
            border-bottom: none;
        }
        
        .reward-item-details {
            display: flex;
            align-items: center;
        }
        
        .reward-item-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: rgba(49, 203, 158, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            color: var(--primary);
            flex-shrink: 0;
        }
        
        .reward-item-info h4 {
            font-size: 15px;
            font-weight: 600;
            color: var(--light);
            margin: 0 0 3px;
        }
        
        .reward-item-meta {
            font-size: 12px;
            color: var(--dark);
            display: flex;
            gap: 10px;
        }
        
        .reward-item-amount {
            font-weight: 600;
            color: var(--primary);
        }
        
        .empty-state {
            text-align: center;
            padding: 40px 20px;
            color: var(--dark);
        }
        
        .empty-state i {
            font-size: 40px;
            color: var(--primary);
            margin-bottom: 15px;
            opacity: 0.5;
        }
        
        .empty-state p {
            margin: 5px 0;
        }
        
        .milestone {
            display: flex;
            align-items: center;
            padding: 15px;
            background: var(--medium-gray);
            border-radius: var(--border-radius);
            margin-bottom: 10px;
            border-left: 3px solid var(--primary);
        }
        
        .milestone.completed {
            border-left-color: #52c41a;
        }
        
        .milestone-locked {
            border-left-color: var(--light-gray);
            opacity: 0.7;
        }
        
        .milestone-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: rgba(49, 203, 158, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            color: var(--primary);
            flex-shrink: 0;
        }
        
        .milestone.completed .milestone-icon {
            background-color: rgba(82, 196, 26, 0.1);
            color: #52c41a;
        }
        
        .milestone-locked .milestone-icon {
            background-color: var(--light-gray);
            color: var(--dark);
        }
        
        .milestone-content {
            flex: 1;
        }
        
        .milestone-title {
            font-weight: 600;
            color: var(--light);
            margin-bottom: 3px;
            display: flex;
            justify-content: space-between;
        }
        
        .milestone-description {
            font-size: 13px;
            color: var(--dark);
            margin-bottom: 5px;
        }
        
        .milestone-progress {
            height: 4px;
            background-color: var(--dark-gray);
            border-radius: 2px;
            margin-top: 8px;
            overflow: hidden;
        }
        
        .milestone-progress-bar {
            height: 100%;
            background-color: var(--primary);
            border-radius: 2px;
        }
        
        .milestone.completed .milestone-progress-bar {
            background-color: #52c41a;
        }
        
        .milestone-locked .milestone-progress-bar {
            background-color: var(--light-gray);
        }
        
        .milestone-reward {
            font-weight: 600;
            color: var(--primary);
            margin-left: 15px;
            white-space: nowrap;
        }
        
        .milestone.completed .milestone-reward {
            color: #52c41a;
        }
        
        .badge {
            display: inline-block;
            padding: 3px 8px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .badge-success {
            background-color: rgba(82, 196, 26, 0.1);
            color: #52c41a;
        }
        .badge-danger {
            background-color: rgba(255, 77, 79, 0.1);
            color: #ff4d4f;
        }
        
        .badge-warning {
            background-color: rgba(250, 173, 20, 0.1);
            color: #faad14;
        }
        
        .badge-primary {
            background-color: rgba(24, 144, 255, 0.1);
            color: #1890ff;
        }
        
        .badge-purple {
            background-color: rgba(114, 46, 209, 0.1);
            color: #722ed1;
        }
        
        .bonus-program {
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid var(--light-gray);
        }
        
        .bonus-program:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }
        
        .bonus-program-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }
        
        .bonus-program-header h3 {
            font-size: 16px;
            margin: 0;
            color: var(--light);
        }
        
        .bonus-program-desc {
            font-size: 13px;
            color: var(--dark);
            margin-bottom: 15px;
        }
        
        .bonus-stats {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin-bottom: 15px;
        }
        
        .stat {
            background: var(--dark-gray);
            border-radius: var(--border-radius);
            padding: 10px;
            text-align: center;
        }
        
        .stat-value {
            font-size: 18px;
            font-weight: 700;
            color: var(--light);
            margin-bottom: 3px;
        }
        
        .stat-label {
            font-size: 11px;
            color: var(--dark);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .progress {
            height: 6px;
            background-color: var(--medium-gray);
            border-radius: 3px;
            margin: 10px 0;
            overflow: hidden;
        }
        
        .progress-bar {
            height: 100%;
            background-color: var(--primary);
            border-radius: 3px;
            transition: width 0.6s ease;
        }
        
        .progress-label {
            display: flex;
            justify-content: space-between;
            font-size: 11px;
            color: var(--dark);
            margin-top: 5px;
        }
        /* Loading overlay */
        #loadingOverlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            flex-direction: column;
            color: var(--light);
        }
        
        .spinner {
            border: 4px solid rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            border-top: 4px solid var(--primary);
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
            margin-bottom: 15px;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        /* Toast notifications */
        .toast {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: var(--primary);
            color: var(--light);
            padding: 15px 20px;
            border-radius: 4px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            display: flex;
            align-items: center;
            justify-content: space-between;
            min-width: 300px;
            z-index: 1000;
            transform: translateY(100px);
            opacity: 0;
            transition: all 0.3s ease;
        }
        
        .toast.show {
            transform: translateY(0);
            opacity: 1;
        }
        
        .toast-success {
            border-left: 4px solid #28a745;
        }
        
        .toast-error {
            border-left: 4px solid #dc3545;
        }
        
        .toast-close {
            background: none;
            border: none;
            color: var(--light);
            font-size: 18px;
            cursor: pointer;
            margin-left: 15px;
        }
        
        /* Section styling */
        .section {
            background: var(--dark-gray);
            border-radius: var(--border-radius);
            padding: 20px;
            margin-bottom: 20px;
            border: 1px solid var(--light-gray);
        }
        
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid var(--light-gray);
        }
        
        .section-title {
            font-size: 18px;
            font-weight: 600;
            color: var(--light);
            margin: 0;
        }        
        
/* Responsive: hide hamburger on big screen */
@media (min-width: 900px) {
    button.hamburger {
        display: none !important;
    }
}
        
/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: none; /* toggled via JS to flex */
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 1000;
}

.modal.active {
  opacity: 1;
}

.modal .modal-content {
  background: var(--primary);
  color: var(--light);
  border: 1px solid var(--light-gray);
  border-radius: 10px;
  width: 90%;
  max-width: 480px;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  transform: translateY(-10px);
  transition: transform 0.2s ease;
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.modal .close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  color: var(--dark);
  cursor: pointer;
}

/* Styling for pending tokens display */
.pending-tokens {
    font-size: 0.85rem;
    color: #4CAF50;
    margin-top: 5px;
    font-weight: 500;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.7;
    }
}
