/* Reset and Base Styles */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    --bg-body: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-alt: #f1f5f9;
    
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    --border-color: #e2e8f0;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --container-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 32px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 48px;
    }
}

/* Header */
.header {
    height: var(--header-height);
    background: #18191a;
    backdrop-filter: blur(12px);
   /*border-bottom: 1px solid var(--border-color);*/
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1;
    justify-content: center;
}

.nav a {
    color: #ffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    white-space: nowrap;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
}

.nav a:hover {
    color: #0c0d4f;
    background: var(--bg-surface-alt);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.connect-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    min-width: 140px;
    text-align: center;
}

.connect-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.connect-btn.connected {
    background: white;
    color: #0c0d4f;
    border: 2px solid #0c0d4f;
    box-shadow: var(--shadow-sm);
    font-family: monospace;
    font-size: 12px;
    padding: 9px 16px;
}

.connect-btn.connected:hover {
    background: var(--bg-surface-alt);
    border-color: var(--primary-dark);
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger-btn span {
    width: 24px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    height: 100%;
    background: var(--bg-surface);
    box-shadow: var(--shadow-xl);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
}

.mobile-nav {
    padding: 24px 0;
    display: flex;
    flex-direction: column;
}

.mobile-nav-item {
    padding: 16px 24px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}

.mobile-nav-item:hover {
    background: var(--bg-surface-alt);
    color: #0c0d4f;
}

.mobile-nav-divider {
    height: 1px;
    background: var(--border-color);
    margin: 16px 24px;
}

/* Hero Section */
.hero {
    padding: 60px 0 40px;
    text-align: center;
    /*background:
        radial-gradient(circle at top center, rgba(99, 102, 241, 0.15) 0%, transparent 60%),
        linear-gradient(180deg, rgba(255,255,255,0) 0%, var(--bg-body) 100%);*/
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        padding: 100px 0 80px;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: 60px 0 100px;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url("./defi.gif") left top no-repeat; background-size: 100% 100%;
    z-index: -1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    
    color: #fff;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid #fff;
}

.hero-title {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #119cff 0%, #00FFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 42px;
        margin-bottom: 20px;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 5 6px;
        margin-bottom: 24px;
    }
}

.hero-subtitle {
    font-size: 16px;
    color: #fff;
    max-width: 640px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 18px;
        margin: 0 auto 32px;
    }
}

@media (min-width: 1024px) {
    .hero-subtitle {
        font-size: 20px;
        margin: 0 auto 40px;
    }
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    padding: 0 20px;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
        justify-content: center;
        gap: 16px;
        margin-bottom: 40px;
    }
}

.hero-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .hero-socials {
        gap: 20px;
        margin-bottom: 64px;
    }
}

.hero-socials a {
    color: var(--text-muted);
    transition: all 0.2s ease;
    padding: 12px;
    border-radius: 50%;
    background: white;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
}

.hero-socials a:hover {
    color: #0c0d4f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cta-button {
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    text-align: center;
    min-width: 180px;
}

@media (max-width: 639px) {
    .cta-button {
        width: 100%;
        max-width: 400px;
    }
}

.cta-button.primary {
    background: #0d1089;
    color: white;
    box-shadow: var(--shadow-lg);
}

.cta-button.primary:hover {
    background: #0d1089;
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: white;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.cta-button.secondary:hover {
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

.platform-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #0c0d4f;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Section Styles */
.section {
    padding: 32px 0;
}

.section-title {
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .section {
        padding: 56px 0;
    }
    
    .section-title {
        font-size: 30px;
        margin-bottom: 32px;
    }
}

@media (min-width: 1024px) {
    .section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 36px;
        margin-bottom: 48px;
    }
}

/* Investment Widget */
.investment-section {
    background: white;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.investment-widget {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-body);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--border-color);
}

@media (min-width: 640px) {
    .investment-widget {
        padding: 32px;
        border-radius: var(--radius-xl);
    }
}

@media (min-width: 1024px) {
    .investment-widget {
        padding: 48px;
    }
}

.widget-header {
    text-align: center;
    margin-bottom: 48px;
}

.widget-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.plan-selector {
    margin-bottom: 40px;
}

.plan-slider {
    margin: 32px 0;
}

input[type="range"] {
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: 100px;
    outline: none;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: #0c0d4f;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
    transition: transform 0.1s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.plan-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
}

.plan-labels span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
}

.plan-labels span.active {
    color: #0c0d4f;
}

.selected-plan-info {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-color);
    margin-top: 24px;
}

.plan-name {
    font-size: 20px;
    font-weight: 700;
    color: #0c0d4f;
    margin-bottom: 16px;
    text-align: center;
}

.plan-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    text-align: center;
}

.plan-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
}

.plan-stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

.amount-selector {
    margin-bottom: 40px;
}

.amount-input-group {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 8px;
    transition: border-color 0.2s;
}

.amount-input-group:focus-within {
    border-color: #0c0d4f;
}

.amount-input-group input {
    flex: 1;
    border: none;
    padding: 12px 16px;
    font-size: 20px;
    font-weight: 600;
    outline: none;
    color: var(--text-main);
}

.currency {
    font-weight: 600;
    color: var(--text-muted);
    padding: 0 16px;
}

.max-btn {
    background: #0c0d4f;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
}

.amount-info {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.profit-calculator {
    background: var(--text-main);
    color: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 32px;
}

.profit-calculator h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
    color: white;
}

.profit-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profit-item .profit-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.profit-item .profit-value {
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.profit-item.earnings .profit-value {
    color: var(--success);
}

.profit-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    text-align: center;
}

.profit-detail .detail-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.profit-detail .detail-value {
    font-size: 15px;
    font-weight: 600;
    color: white;
}

.invest-now-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    border-radius: var(--radius-lg);
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-lg);
}

.invest-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-text {
    font-size: 18px;
    font-weight: 700;
    color: white;
}

.btn-amount {
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
}

/* Dashboard */
.dashboard-section {
    background: var(--bg-body);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.bonuses-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.bonus-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
}

.bonus-card h3 {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bonus-amount {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 24px;
}

.claim-btn {
    background: var(--success);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}

.claim-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.claim-btn:disabled {
    background: var(--bg-surface-alt);
    color: var(--text-light);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Investments List */
.investments-list {
    display: grid;
    gap: 24px;
}

.investment-item {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.investment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.investment-plan {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
}

.investment-status {
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.investment-status.active {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.investment-status.withdrawn {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

.investment-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.investment-detail .detail-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.investment-detail .detail-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
}

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

.investment-actions button {
    flex: 1;
    padding: 14px;
    border-radius: var(--radius-md);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.action-claim {
    background: #0c0d4f;
    color: white;
}

.action-withdraw {
    background: white;
    color: var(--text-main);
    border: 1px solid var(--border-color) !important;
}

.action-withdraw:hover {
    background: var(--bg-surface-alt);
}

/* Referral Section */
.referral-notice {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 48px;
    display: flex;
    gap: 16px;
}

.notice-icon {
    font-size: 24px;
}

.notice-content h3 {
    font-size: 16px;
    color: var(--error);
    margin-bottom: 8px;
}

.notice-content ul {
    list-style: none;
    padding: 0;
}

.notice-content li {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 4px;
    padding-left: 16px;
    position: relative;
}

.notice-content li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--error);
}

.notice-content a {
    color: #0c0d4f;
    text-decoration: underline;
    font-weight: 600;
}

.notice-content a:hover {
    color: var(--primary-dark);
}

.referral-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.referral-rates {
    display: grid;
    gap: 16px;
    margin: 32px 0;
}

.referral-benefits {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-color);
    margin-top: 32px;
}

.referral-benefits h4 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--text-main);
}

.referral-benefits ul {
    list-style: none;
    padding: 0;
}

.referral-benefits li {
    padding: 8px 0;
    color: var(--text-muted);
    font-size: 15px;
}

.rate-item {
    background: white;
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rate-level {
    font-weight: 600;
    color: var(--text-main);
}

.rate-percentage {
    font-weight: 700;
    color: #0c0d4f;
    font-size: 18px;
}

.referral-link-box {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    margin-bottom: 32px;
}

.link-input-group {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.link-input-group input {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-surface-alt);
    color: var(--text-muted);
}

.copy-btn {
    background: #0c0d4f;
    color: white;
    border: none;
    padding: 0 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.copy-btn:hover {
    background: var(--primary-dark);
}

.share-btn {
    background: white;
    color: #0c0d4f;
    border: 1px solid #0c0d4f;
    padding: 0 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.share-btn:hover {
    background: var(--bg-surface-alt);
}

/* Leadership */
.leadership-info {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 32px;
}

.leadership-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 40px;
    border-radius: var(--radius-xl);
    text-align: center;
}

.rank-display {
    font-size: 48px;
    font-weight: 800;
    margin: 16px 0;
}

.rank-list {
    display: grid;
    gap: 12px;
}

.rank-item {
    background: white;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-muted);
}

.rank-item strong {
    color: #0c0d4f;
}

/* Leadership Breakdown */
.leadership-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.breakdown-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.breakdown-card.elite {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 2px solid #0c0d4f;
}

.breakdown-card h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.rank-requirements {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.requirement {
    font-size: 14px;
    color: var(--text-muted);
}

.requirement strong {
    color: var(--text-main);
    font-weight: 600;
}

.rank-benefits {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rank-benefits p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* How It Works */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.step-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.2s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--bg-surface-alt);
    color: #0c0d4f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 24px;
}

.step-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--text-main);
}

.step-card p {
    color: var(--text-muted);
    font-size: 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.feature-item {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.feature-item h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-main);
}

.feature-item p {
    color: var(--text-muted);
    font-size: 14px;
}

/* FAQ */
.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-main);
}

.faq-question:hover {
    background: var(--bg-surface-alt);
}

.faq-answer {
    padding: 0 24px 24px;
    color: var(--text-muted);
    display: none;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-toggle {
    color: #0c0d4f;
    font-size: 24px;
    font-weight: 300;
}

/* Live Transactions */
.live-transactions {
    margin-top: 48px;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 32px;
}

.live-transactions h3 {
    font-size: 20px;
    margin-bottom: 24px;
    color: var(--text-main);
    text-align: center;
}

.tx-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tx-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--bg-surface-alt);
    border-radius: var(--radius-md);
    font-size: 14px;
    transition: background 0.2s;
}

.tx-item:hover {
    background: #e2e8f0;
}

.tx-type {
    font-weight: 600;
    color: #0c0d4f;
    width: 140px;
}

.tx-amount {
    font-weight: 700;
    color: var(--text-main);
}

.tx-user {
    color: var(--text-muted);
    font-family: monospace;
}

.tx-time {
    color: var(--text-light);
    font-size: 12px;
}

.tx-link {
    color: #0c0d4f;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
}

.tx-link:hover {
    text-decoration: underline;
}

.tx-note {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-muted);
}

.tx-note a {
    color: #0c0d4f;
    text-decoration: none;
    font-weight: 600;
}
/* Network Stats */
.network-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.network-stat:last-child {
    border-bottom: none;
}

.network-stat span {
    font-size: 14px;
    color: var(--text-muted);
}

.network-stat strong {
    font-size: 16px;
    color: var(--text-main);
    font-weight: 600;
}

#networkSummary {
    background: white;
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

#networkSummary h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-main);
}

/* Level Stats */
.level-stats {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.level-stat-item {
    background: white;
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: center;
}

.level-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.level-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

/* Footer */
.footer {
    background: var(--text-main);
    color: white;
    padding: 80px 0 32px;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.2s;
}

.social-links a:hover {
    background: #0c0d4f;
    transform: translateY(-2px);
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
}

.contract-address {
    font-family: monospace;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    word-break: break-all;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-link:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 8px;
}

.disclaimer {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.not-connected {
    text-align: center;
    padding: 80px 40px;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.not-connected p {
    font-size: 16px;
    color: var(--text-muted);
}

.stats-overview {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border-color);
    margin-bottom: 48px;
    text-align: center;
}

.stat-highlight h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-main);
}

.stat-highlight p {
    color: var(--text-muted);
    font-size: 15px;
}

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

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

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    transition: border-color 0.2s;
}

.input-group input:focus {
    outline: none;
    border-color: #0c0d4f;
}

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

.primary-btn {
    width: 100%;
    background: #0c0d4f;
    color: white;
    border: none;
    padding: 14px;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.primary-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.rate-description {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.link-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 12px;
}


/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 480px;
    box-shadow: var(--shadow-xl);
}

.modal-content h2 {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    font-size: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close {
    cursor: pointer;
    color: var(--text-muted);
    font-size: 24px;
}

.modal-body {
    padding: 32px;
}

/* Responsive */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .hamburger-btn {
        display: flex;
    }

    /* Mobile Header Fixes */
    .header {
        height: 70px;
    }

    .header-content {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 10px;
    }

    .logo {
        justify-self: start;
    }

    .logo span {
        font-size: 18px;
        display: none; /* Hide text on very small screens if needed, or keep it */
    }
    
    /* Show logo text on mobile but maybe smaller */
    @media (min-width: 360px) {
        .logo span { display: block; }
    }

    .header-actions {
        display: contents; /* Flatten the actions container */
    }

    .connect-btn {
        justify-self: center;
        padding: 8px 12px;
        font-size: 12px;
        white-space: nowrap;
    }

    .hamburger-btn {
        justify-self: end;
    }
    
    .hero {
        padding: 80px 0 60px;
    }

    .hero-title {
        font-size: 32px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }

    .hero-socials {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .referral-content,
    .leadership-info,
    .footer-top,
    .footer-links,
    .leadership-breakdown {
        grid-template-columns: 1fr;
    }
    
    .leadership-card, .breakdown-card, .footer-section {
        text-align: center;
    }

    .footer-links {
        gap: 40px;
    }
    
    .level-stat-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 16px;
    }
    
    .level-number {
        margin: 0 auto;
    }

    .link-input-group {
        flex-direction: column;
    }

    .copy-btn, .share-btn {
        width: 100%;
        padding: 12px;
    }
}

.t_f{ font-size: 100px;  background-image: linear-gradient(270deg,#119cff 0,#00FFFF); color: #fff; -webkit-background-clip: text;  -webkit-text-fill-color: transparent; animation: upDown 3.8s ease-in-out infinite; cursor: pointer; }
/* Wavy + Swing Motion */
@keyframes upDown {
  0%   { transform: translateY(0); }
  25%  { transform: translateY(-10px); }
  50%  { transform: translateY(0); }
  75%  { transform: translateY(10px); }
  100% { transform: translateY(0); }
}

.tm_bt{ color: #fff; margin: 0px 0px 30px; }

.footer-links{ width: 800px; }

@media only screen and (max-width: 1024px) {
.amount-input-group input{ width: 100%; }
.footer-links{ width: 100%; }
.logo img{ width:100%; height: inherit !important; }
.t_f{ font-size: 50px; }
}
