* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #0a0014;
    color: #e4e4e7;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    font-weight: 400;
    line-height: 1.6;
}

body::before {
    content: '';
    position: fixed;
    top: 20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: 10%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* ========== AUTH SCREEN ========== */
#authScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0014;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

#authScreen.hidden {
    display: none;
}

.auth-container {
    width: 100%;
    max-width: 440px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(20, 10, 40, 0.6));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    padding: 50px 40px;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo img {
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
}

.auth-logo h1 {
    font-size: 24px;
    font-weight: 800;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.5px;
}

.auth-logo h1 span {
    color: #8b5cf6;
}

.auth-tabs {
    display: flex;
    gap: 8px;
    background: rgba(20, 10, 40, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.1);
    padding: 4px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.auth-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: rgba(228, 228, 231, 0.6);
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    font-family: inherit;
}

.auth-tab.active {
    background: rgba(139, 92, 246, 0.15);
    color: white;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form h2 {
    color: white;
    font-size: 22px;
    margin-bottom: 8px;
    font-weight: 700;
}

.auth-form > p {
    color: rgba(228, 228, 231, 0.6);
    font-size: 14px;
    margin-bottom: 24px;
}

.auth-field {
    margin-bottom: 18px;
}

.auth-field label {
    display: block;
    color: rgba(228, 228, 231, 0.7);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-field input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 14px;
    font-family: inherit;
    transition: 0.2s;
}

.auth-field input::placeholder {
    color: rgba(228, 228, 231, 0.3);
}

.auth-field input:focus {
    outline: none;
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(0, 0, 0, 0.5);
}

.auth-error {
    color: #f87171;
    font-size: 13px;
    margin-bottom: 16px;
    text-align: center;
    min-height: 18px;
}

.auth-success {
    color: #4ade80;
    font-size: 13px;
    margin-bottom: 16px;
    text-align: center;
    min-height: 18px;
}

.auth-btn {
    width: 100%;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    font-family: inherit;
    margin-top: 10px;
}

.auth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(139, 92, 246, 0.4);
}

.auth-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    color: rgba(228, 228, 231, 0.5);
    font-size: 13px;
}

.auth-link {
    color: #c084fc;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
}

.auth-link:hover {
    text-decoration: underline;
}

/* ========== LOADING SCREEN ========== */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0014;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 64px;
    height: 64px;
    margin-bottom: 30px;
    animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% { opacity: 0.5; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1); }
}

.loader-bar {
    width: 180px;
    height: 2px;
    background: rgba(139, 92, 246, 0.15);
    border-radius: 100px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress {
    height: 100%;
    background: linear-gradient(90deg, #8b5cf6, #c084fc);
    border-radius: 100px;
    animation: loaderFill 1.5s ease-out forwards;
}

@keyframes loaderFill {
    from { width: 0%; }
    to { width: 100%; }
}

/* ========== ÉTOILES ========== */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.4;
    animation: twinkle 4s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.7; }
}

/* ========== REVEAL ANIMATION ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========== PROMO BANNER ========== */
.promo-banner {
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.05));
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    padding: 12px 0;
    position: relative;
    z-index: 99;
}

.promo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.promo-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.promo-tag {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: 'Space Grotesk', sans-serif;
}

.promo-text-content {
    color: #e4e4e7;
    font-size: 14px;
    font-weight: 500;
}

.promo-code-tag {
    background: rgba(139, 92, 246, 0.15);
    border: 1px dashed rgba(139, 92, 246, 0.5);
    color: #c084fc;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-family: 'Space Grotesk', sans-serif;
}

.countdown {
    display: flex;
    align-items: center;
    gap: 4px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 38px;
}

.countdown-item span {
    font-size: 16px;
    font-weight: 700;
    color: #c084fc;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1;
}

.countdown-item small {
    font-size: 9px;
    opacity: 0.5;
    margin-top: 2px;
    letter-spacing: 1px;
}

.countdown-sep {
    color: rgba(192, 132, 252, 0.4);
    font-weight: 700;
    margin: 0 2px;
}

/* ========== HEADER ========== */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 0, 20, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
}

.logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.brand {
    font-weight: 700;
    font-size: 18px;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.5px;
}

.brand-accent {
    color: #8b5cf6;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: rgba(228, 228, 231, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav-links a:hover {
    color: white;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: #8b5cf6;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.header-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

.user-menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 6px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s;
}

.user-menu:hover {
    background: rgba(139, 92, 246, 0.15);
}

.user-avatar {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 13px;
    font-family: 'Space Grotesk', sans-serif;
    overflow: hidden;
}

.user-name {
    color: white;
    font-size: 13px;
    font-weight: 600;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #14092a;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 8px;
    min-width: 220px;
    display: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.user-dropdown.active {
    display: block;
}

.user-dropdown-header {
    padding: 12px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    margin-bottom: 6px;
}

.user-dropdown-header .ud-name {
    color: white;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 2px;
}

.user-dropdown-header .ud-email {
    color: rgba(228, 228, 231, 0.5);
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-dropdown-balance {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 8px;
    padding: 12px;
    margin: 6px;
    text-align: center;
}

.ud-balance-label {
    color: rgba(228, 228, 231, 0.5);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.ud-balance-amount {
    color: #c084fc;
    font-size: 22px;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: rgba(228, 228, 231, 0.8);
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
}

.user-dropdown-item:hover {
    background: rgba(139, 92, 246, 0.1);
    color: white;
}

.user-dropdown-item.danger {
    color: #f87171;
}

.user-dropdown-item.danger:hover {
    background: rgba(239, 68, 68, 0.1);
}

.lang-switch {
    background: transparent;
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: rgba(228, 228, 231, 0.8);
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    font-family: 'Space Grotesk', sans-serif;
}

.lang-switch:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.6);
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: white;
    transition: 0.3s;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background: #0a0014;
    border-left: 1px solid rgba(139, 92, 246, 0.2);
    z-index: 200;
    padding: 80px 30px;
    transition: right 0.3s ease;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a, .mobile-menu button {
    display: block;
    width: 100%;
    text-align: left;
    color: rgba(228, 228, 231, 0.8);
    text-decoration: none;
    padding: 14px 0;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    transition: 0.2s;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    cursor: pointer;
    font-family: inherit;
}

.mobile-menu a:hover, .mobile-menu button:hover {
    color: white;
    padding-left: 8px;
}

/* ========== HERO ========== */
.hero {
    padding: 100px 0 80px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 13px;
    color: rgba(228, 228, 231, 0.8);
    margin-bottom: 30px;
}

.tag-dot {
    width: 6px;
    height: 6px;
    background: #8b5cf6;
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7); }
    50% { box-shadow: 0 0 0 8px rgba(139, 92, 246, 0); }
}

.hero h1 {
    font-size: 76px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -3px;
    margin-bottom: 28px;
    color: white;
}

.subtitle {
    font-size: 18px;
    color: rgba(228, 228, 231, 0.6);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.7;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ========== STATS ========== */
.stats-section {
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(20, 10, 40, 0.5));
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 16px;
    padding: 40px;
}

.stat-card {
    text-align: center;
    flex: 1;
    min-width: 140px;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(139, 92, 246, 0.15);
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: white;
    line-height: 1;
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
}

.stat-suffix {
    font-size: 28px;
    font-weight: 700;
    color: #8b5cf6;
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
}

.stat-label {
    margin-top: 8px;
    color: rgba(228, 228, 231, 0.5);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== SECTIONS ========== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.1);
    color: #c084fc;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    margin-bottom: 20px;
    font-family: 'Space Grotesk', sans-serif;
}

section h2 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    color: white;
}

.section-sub {
    font-size: 16px;
    color: rgba(228, 228, 231, 0.6);
    max-width: 600px;
    margin: 0 auto;
}

.gradient-text {
    background: linear-gradient(135deg, #8b5cf6, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ========== FEATURES ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.03), rgba(20, 10, 40, 0.3));
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-4px);
}

.feature-icon-wrap {
    width: 48px;
    height: 48px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c084fc;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
    color: white;
}

.feature-card p {
    color: rgba(228, 228, 231, 0.6);
    line-height: 1.6;
    font-size: 14px;
}

/* ========== PRODUITS ========== */
.products-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
    flex-wrap: wrap;
}

.search-container {
    position: relative;
    flex: 1;
    max-width: 400px;
    min-width: 250px;
}

.search-container svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(228, 228, 231, 0.4);
}

.search-container input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 8px;
    background: rgba(20, 10, 40, 0.4);
    color: white;
    font-size: 14px;
    transition: 0.2s;
    font-family: inherit;
}

.search-container input::placeholder {
    color: rgba(228, 228, 231, 0.4);
}

.search-container input:focus {
    outline: none;
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(20, 10, 40, 0.7);
}

.category-tabs {
    display: flex;
    gap: 8px;
    background: rgba(20, 10, 40, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.1);
    padding: 4px;
    border-radius: 10px;
}

.tab-btn {
    background: transparent;
    border: none;
    color: rgba(228, 228, 231, 0.6);
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s;
    font-family: inherit;
}

.tab-btn:hover {
    color: white;
}

.tab-btn.active {
    background: rgba(139, 92, 246, 0.15);
    color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
    gap: 20px;
    justify-content: center;
}

.product-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.03), rgba(20, 10, 40, 0.3));
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.product-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(139, 92, 246, 0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(20, 10, 40, 0.5));
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: white;
}

.duration {
    color: rgba(228, 228, 231, 0.5);
    font-size: 13px;
    margin-bottom: 24px;
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 24px;
    font-weight: 800;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
}

.price-currency {
    color: #8b5cf6;
    font-size: 18px;
}

.buy-btn {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s;
}

.buy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

/* STOCK */
.stock-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    backdrop-filter: blur(10px);
    z-index: 2;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: 'Space Grotesk', sans-serif;
}

.stock-available {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.stock-low {
    background: rgba(251, 146, 60, 0.15);
    color: #fb923c;
    border: 1px solid rgba(251, 146, 60, 0.3);
}

.stock-out {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.product-card.out-of-stock {
    opacity: 0.5;
}

.product-card.out-of-stock .product-image img {
    filter: grayscale(100%);
}

.buy-btn.disabled {
    background: rgba(100, 100, 100, 0.3) !important;
    cursor: not-allowed !important;
}

.buy-btn.disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* ========== FAQ ========== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(20, 10, 40, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.2s;
}

.faq-item:hover {
    border-color: rgba(139, 92, 246, 0.25);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: white;
    padding: 22px 28px;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}

.faq-arrow {
    color: #8b5cf6;
    transition: transform 0.3s;
    display: flex;
}

.faq-item.active .faq-arrow {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    color: rgba(228, 228, 231, 0.65);
    line-height: 1.7;
    padding: 0 28px 22px;
    font-size: 14px;
}

/* ========== AVIS ========== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.review-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.03), rgba(20, 10, 40, 0.3));
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.2s;
}

.review-card:hover {
    border-color: rgba(139, 92, 246, 0.25);
}

.review-card h4 {
    font-size: 15px;
    margin-bottom: 6px;
    color: white;
    font-weight: 700;
}

.review-card .stars-display {
    color: #fbbf24;
    margin-bottom: 14px;
    font-size: 14px;
    letter-spacing: 2px;
}

.review-card p {
    color: rgba(228, 228, 231, 0.7);
    line-height: 1.6;
    margin-bottom: 12px;
    font-size: 14px;
}

.review-card small {
    color: rgba(228, 228, 231, 0.4);
    font-size: 12px;
}

.no-content {
    text-align: center;
    color: rgba(228, 228, 231, 0.5);
    grid-column: 1/-1;
    padding: 60px 20px;
    font-size: 14px;
}

/* ========== CTA ========== */
.cta-section {
    padding: 60px 0 120px;
}

.cta-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(109, 40, 217, 0.08));
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 20px;
    padding: 70px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    z-index: 0;
}

.cta-card h2 {
    font-size: 42px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-card p {
    color: rgba(228, 228, 231, 0.7);
    font-size: 16px;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ========== MODAL ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #14092a;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 40px;
    max-width: 480px;
    width: 90%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: rgba(228, 228, 231, 0.5);
    transition: 0.2s;
    line-height: 1;
}

.close:hover {
    color: white;
}

.modal h2 {
    font-size: 22px;
    margin-bottom: 16px;
    font-weight: 700;
    color: white;
}

.selected-product {
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 24px;
    text-align: center;
    color: white;
    font-size: 14px;
}

.modal label {
    display: block;
    margin: 16px 0 6px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(228, 228, 231, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal input, .modal select, .modal textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 14px;
    font-family: inherit;
    transition: 0.2s;
}

.modal input::placeholder {
    color: rgba(228, 228, 231, 0.3);
}

.modal input:focus, .modal select:focus, .modal textarea:focus {
    outline: none;
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(0, 0, 0, 0.5);
}

.promo-input-group {
    display: flex;
    gap: 8px;
}

.promo-input-group input {
    flex: 1;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.apply-promo-btn {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: white;
    padding: 0 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: 0.2s;
    white-space: nowrap;
    font-family: inherit;
}

.apply-promo-btn:hover {
    background: rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.5);
}

.promo-message {
    font-size: 12px;
    margin-top: 8px;
    min-height: 18px;
}

.promo-message.success {
    color: #4ade80;
}

.promo-message.error {
    color: #f87171;
}

.order-summary {
    background: rgba(139, 92, 246, 0.04);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 8px;
    padding: 18px;
    margin: 24px 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    color: rgba(228, 228, 231, 0.7);
    font-size: 14px;
}

.summary-row.discount {
    color: #4ade80;
}

.summary-row.total {
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    margin-top: 8px;
    padding-top: 14px;
    font-size: 17px;
    color: white;
    font-weight: 700;
}

.summary-row.total span:last-child {
    color: #c084fc;
    font-family: 'Space Grotesk', sans-serif;
}

.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 8px;
}

.payment-option {
    background: rgba(20, 10, 40, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 10px;
    padding: 14px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.payment-option:hover {
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(139, 92, 246, 0.05);
}

.payment-option.active {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
    box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.3);
}

.payment-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.payment-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-content svg {
    color: #c084fc;
    flex-shrink: 0;
}

.payment-content strong {
    display: block;
    color: white;
    font-size: 14px;
    margin-bottom: 2px;
}

.payment-content small {
    color: rgba(228, 228, 231, 0.5);
    font-size: 11px;
}

.payment-option.has-balance .payment-content small {
    color: #4ade80;
    font-weight: 600;
}

.payment-option.insufficient .payment-content small {
    color: #f87171;
}

.paypal-btn {
    width: 100%;
    margin-top: 24px;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.paypal-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(139, 92, 246, 0.4);
}

.secure-text {
    text-align: center;
    color: rgba(228, 228, 231, 0.4);
    font-size: 12px;
    margin-top: 14px;
}

/* BALANCE MODAL */
.balance-result {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(20, 10, 40, 0.5));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.balance-display {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.15);
}

.balance-label {
    display: block;
    color: rgba(228, 228, 231, 0.5);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.balance-amount {
    font-size: 42px;
    font-weight: 800;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    background: linear-gradient(135deg, #8b5cf6, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.balance-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.balance-stat {
    text-align: center;
}

.bs-label {
    display: block;
    color: rgba(228, 228, 231, 0.5);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.bs-value {
    color: white;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
}

.recharge-info {
    background: rgba(20, 10, 40, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    padding: 20px;
}

.recharge-info h3 {
    color: white;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 700;
}

.recharge-info p {
    color: rgba(228, 228, 231, 0.6);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.bonus-tiers h4 {
    color: #c084fc;
    font-size: 13px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bonus-tier {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 6px;
    margin-bottom: 6px;
    font-size: 13px;
}

.bonus-tier strong {
    color: #4ade80;
    font-family: 'Space Grotesk', sans-serif;
}

/* ========== LINK SYSTEM ========== */
.link-warning {
    background: rgba(251, 146, 60, 0.1);
    border: 1px solid rgba(251, 146, 60, 0.3);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    margin-bottom: 20px;
}

.warning-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.link-warning h3 {
    color: #fb923c;
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 700;
}

.link-warning p {
    color: rgba(228, 228, 231, 0.7);
    font-size: 14px;
    line-height: 1.5;
}

.link-code-box {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(20, 10, 40, 0.5));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.link-code-box h3 {
    color: white;
    font-size: 16px;
    margin-bottom: 16px;
    font-weight: 700;
}

.link-code {
    background: rgba(0, 0, 0, 0.4);
    border: 2px dashed rgba(139, 92, 246, 0.5);
    border-radius: 8px;
    padding: 16px;
    font-size: 28px;
    font-weight: 800;
    color: #c084fc;
    letter-spacing: 4px;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 12px;
    user-select: all;
}

.link-expires {
    color: #fbbf24;
    font-size: 13px;
    margin-bottom: 16px;
    font-weight: 600;
}

.link-instructions {
    text-align: left;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
}

.link-instructions p {
    color: white;
    margin-bottom: 8px;
    font-size: 14px;
}

.link-instructions ol {
    padding-left: 20px;
    color: rgba(228, 228, 231, 0.8);
}

.link-instructions li {
    padding: 4px 0;
    font-size: 13px;
    line-height: 1.5;
}

.link-instructions code {
    background: rgba(139, 92, 246, 0.2);
    color: #c084fc;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Space Grotesk', monospace;
    font-size: 12px;
}

.linked-info {
    margin-top: 16px;
    text-align: center;
}

.linked-badge {
    display: inline-block;
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

/* ========== FOOTER ========== */
footer {
    padding: 80px 0 30px;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: white;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col a {
    display: block;
    color: rgba(228, 228, 231, 0.6);
    text-decoration: none;
    padding: 6px 0;
    font-size: 14px;
    transition: 0.2s;
    cursor: pointer;
}

.footer-col a:hover {
    color: #c084fc;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-col > p {
    color: rgba(228, 228, 231, 0.5);
    font-size: 14px;
    line-height: 1.6;
    max-width: 320px;
}

.footer-bottom {
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(228, 228, 231, 0.4);
    font-size: 13px;
}

/* ========================================
   ========== PROFIL MODAL ==========
   ======================================== */

.profile-modal {
    max-width: 720px !important;
    padding: 0 !important;
    overflow: hidden;
}

.profile-modal .close {
    z-index: 10;
    color: white;
    background: rgba(0,0,0,0.5);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 14px;
    right: 14px;
}

.profile-banner {
    position: relative;
    width: 100%;
    height: 140px;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9, #4c1d95);
    background-size: cover;
    background-position: center;
}

.banner-edit-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.banner-edit-btn:hover {
    background: rgba(139, 92, 246, 0.8);
}

.profile-header {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    padding: 0 30px;
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

.profile-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.profile-avatar-big {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    border: 4px solid #14092a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 36px;
    font-family: 'Space Grotesk', sans-serif;
    overflow: hidden;
}

.profile-avatar-big img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-edit-btn {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: #8b5cf6;
    border: 2px solid #14092a;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.avatar-edit-btn:hover {
    background: #a855f7;
    transform: scale(1.1);
}

.profile-info {
    padding-bottom: 8px;
    flex: 1;
    min-width: 0;
}

.profile-info h2 {
    font-size: 22px;
    color: white;
    margin: 0 0 4px;
    font-weight: 700;
}

.profile-info p {
    color: rgba(228,228,231,0.5);
    font-size: 13px;
    margin: 0 0 10px;
}

.profile-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.profile-badge {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
}

.profile-badge.linked {
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
    border-color: rgba(99, 102, 241, 0.3);
}

.profile-tabs {
    display: flex;
    gap: 4px;
    padding: 20px 30px 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    overflow-x: auto;
    scrollbar-width: none;
}

.profile-tabs::-webkit-scrollbar {
    display: none;
}

.profile-tab {
    background: none;
    border: none;
    color: rgba(228,228,231,0.5);
    padding: 12px 16px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid transparent;
    transition: 0.2s;
    white-space: nowrap;
}

.profile-tab:hover {
    color: white;
}

.profile-tab.active {
    color: #c084fc;
    border-bottom-color: #8b5cf6;
}

.profile-tab-content {
    display: none;
    padding: 24px 30px 30px;
    max-height: 450px;
    overflow-y: auto;
}

.profile-tab-content.active {
    display: block;
}

.profile-tab-content::-webkit-scrollbar {
    width: 6px;
}

.profile-tab-content::-webkit-scrollbar-track {
    background: rgba(139, 92, 246, 0.05);
}

.profile-tab-content::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.3);
    border-radius: 10px;
}

.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.profile-stat-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(20, 10, 40, 0.4));
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: 0.2s;
}

.profile-stat-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

.ps-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.ps-value {
    font-size: 24px;
    font-weight: 800;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 4px;
}

.ps-label {
    color: rgba(228,228,231,0.5);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.list-item {
    background: rgba(20, 10, 40, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: 0.2s;
}

.list-item:hover {
    border-color: rgba(139, 92, 246, 0.3);
}

.list-item-left {
    flex: 1;
    min-width: 0;
}

.list-item-title {
    color: white;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.list-item-sub {
    color: rgba(228,228,231,0.5);
    font-size: 12px;
}

.list-item-right {
    text-align: right;
    flex-shrink: 0;
}

.list-item-amount {
    font-weight: 700;
    font-size: 15px;
    font-family: 'Space Grotesk', sans-serif;
}

.list-item-amount.positive {
    color: #4ade80;
}

.list-item-amount.negative {
    color: #f87171;
}

.list-item-status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.status-pending {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

.status-delivered {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

.status-cancelled {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.referral-code-box {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(20, 10, 40, 0.5));
    border: 2px dashed rgba(139, 92, 246, 0.4);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.rc-label {
    color: rgba(228,228,231,0.5);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.rc-code {
    font-size: 32px;
    font-weight: 800;
    color: #c084fc;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 4px;
    margin-bottom: 16px;
    user-select: all;
}

.referral-bonus-info {
    background: rgba(20, 10, 40, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
}

.referral-bonus-info > p {
    color: white;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 14px;
}

.bonus-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    color: rgba(228,228,231,0.7);
    font-size: 13px;
}

.bonus-row strong {
    color: #4ade80;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
}

.referral-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.rs-card {
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
}

.rs-value {
    color: white;
    font-size: 24px;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 4px;
}

.rs-label {
    color: rgba(228,228,231,0.5);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.referral-disabled {
    background: rgba(251, 146, 60, 0.1);
    border: 1px solid rgba(251, 146, 60, 0.3);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.referral-disabled h3 {
    color: #fb923c;
    font-size: 16px;
    margin: 8px 0;
}

.referral-disabled p {
    color: rgba(228,228,231,0.6);
    font-size: 13px;
}

.top-referrer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(20, 10, 40, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 10px;
}

.top-rank {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.2);
    color: #c084fc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    flex-shrink: 0;
    font-family: 'Space Grotesk', sans-serif;
}

.top-rank.gold { background: linear-gradient(135deg, #fbbf24, #d97706); color: white; }
.top-rank.silver { background: linear-gradient(135deg, #d1d5db, #6b7280); color: white; }
.top-rank.bronze { background: linear-gradient(135deg, #f97316, #b45309); color: white; }

.top-name {
    flex: 1;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.top-count {
    color: #4ade80;
    font-weight: 700;
    font-size: 13px;
    font-family: 'Space Grotesk', sans-serif;
}

.security-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.security-row {
    background: rgba(20, 10, 40, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.security-row h4 {
    color: white;
    font-size: 14px;
    margin: 0 0 4px;
    font-weight: 700;
}

.security-row p {
    color: rgba(228,228,231,0.5);
    font-size: 12px;
    margin: 0;
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: 0.3s;
    border-radius: 100px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    transition: 0.3s;
    border-radius: 50%;
}

.switch input:checked + .slider {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    border-color: #8b5cf6;
}

.switch input:checked + .slider:before {
    transform: translateX(22px);
}

.login-item {
    background: rgba(20, 10, 40, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.login-icon {
    font-size: 20px;
}

.login-info {
    flex: 1;
    min-width: 0;
}

.login-info-main {
    color: white;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
}

.login-info-sub {
    color: rgba(228,228,231,0.5);
    font-size: 11px;
}

.login-status {
    font-size: 16px;
}

/* TOAST */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #14092a;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 10px;
    padding: 14px 20px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    z-index: 99999;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
}

.toast.success {
    border-color: #4ade80;
}

.toast.error {
    border-color: #f87171;
}

@keyframes toastIn {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes toastOut {
    to { transform: translateX(120%); opacity: 0; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }
    
    .header-right {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-container {
        padding: 16px 24px;
    }
    
    .container {
        padding: 0 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .auth-container {
        padding: 40px 28px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0 60px;
    }
    
    .hero h1 {
        font-size: 42px;
        letter-spacing: -1.5px;
    }
    
    .subtitle {
        font-size: 15px;
    }
    
    section {
        padding: 70px 0;
    }
    
    section h2 {
        font-size: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    
    .stats-grid {
        gap: 20px;
        padding: 30px 20px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .promo-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .countdown-item {
        min-width: 32px;
    }
    
    .products-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-container {
        max-width: 100%;
    }
    
    .category-tabs {
        justify-content: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 30px 24px;
    }
    
    .cta-card {
        padding: 50px 30px;
    }
    
    .cta-card h2 {
        font-size: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .balance-amount {
        font-size: 36px;
    }
    
    .link-code {
        font-size: 22px;
        letter-spacing: 2px;
    }
}

@media (max-width: 600px) {
    .profile-modal {
        max-width: 100% !important;
        margin: 10px;
        max-height: calc(100vh - 20px);
    }
    
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
    
    .profile-avatar-big {
        width: 80px;
        height: 80px;
        font-size: 28px;
    }
    
    .profile-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .profile-tab span {
        display: none;
    }
    
    .profile-tab {
        padding: 12px;
    }
    
    .rc-code {
        font-size: 24px;
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 34px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .countdown-item span {
        font-size: 13px;
    }
    
    .promo-text-content {
        font-size: 12px;
    }
    
    .auth-container {
        padding: 32px 20px;
    }
}