@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --bg-color: #0b0b0f;
    --card-bg: rgba(20, 20, 27, 0.7);
    --card-bg-solid: #14141b;
    --card-hover-bg: rgba(28, 28, 38, 0.8);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 107, 0, 0.3);
    
    --text-primary: #ffffff;
    --text-secondary: #8e8e9f;
    --text-muted: #565666;
    
    --accent-orange: #ff6b00;
    --accent-orange-glow: rgba(255, 107, 0, 0.4);
    --accent-green: #00e676;
    --accent-green-glow: rgba(0, 230, 118, 0.2);
    
    --input-bg: rgba(10, 10, 15, 0.6);
    --input-border: rgba(255, 255, 255, 0.08);
    --input-focus: #ff6b00;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-brand: 'Outfit', sans-serif;
    
    /* Shadow & Glow */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.4);
    --orange-glow: 0 0 20px rgba(255, 107, 0, 0.25);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    /* Transition */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

button {
    color: inherit;
    font-family: inherit;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Ambient Background Light Leaks */
body::before {
    content: '';
    position: absolute;
    top: -10%;
    left: 20%;
    width: 60vw;
    height: 50vh;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -2;
    pointer-events: none;
    filter: blur(80px);
}

body::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: 10%;
    width: 50vw;
    height: 40vh;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.03) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -2;
    pointer-events: none;
    filter: blur(60px);
}

/* Main Container Layout */
.app-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px 120px 20px; /* Space at bottom for floating nav */
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* --- HEADER STYLES --- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    margin-bottom: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-brand);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    transition: var(--transition-fast);
}

.logo:hover {
    opacity: 0.9;
}

.logo-icon {
    width: 24px;
    height: 24px;
    fill: var(--accent-orange);
    filter: drop-shadow(0 0 6px var(--accent-orange));
    transform: rotate(-10deg);
}

.logo-text span {
    color: var(--text-primary);
}

.logo-text span.accent {
    color: var(--text-primary);
}

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

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 6px 14px 6px 6px;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff8c00, #ff5000);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 14px;
    box-shadow: var(--shadow-sm);
}

.user-name {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.btn-logout {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-logout:hover {
    background: rgba(255, 107, 0, 0.1);
    border-color: var(--border-hover);
    color: var(--accent-orange);
}

.btn-logout svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* --- TABS NAVIGATION --- */
.tabs-container {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 32px;
    position: relative;
    gap: 32px;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 18px;
    font-weight: 600;
    padding: 12px 4px 16px 4px;
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    color: var(--text-primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-orange);
    box-shadow: 0 0 10px var(--accent-orange-glow);
    border-radius: 2px 2px 0 0;
}

/* --- PRODUCTS CARD SYSTEM --- */
.product-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: border-color var(--transition-normal), transform var(--transition-normal);
}

.product-card:hover {
    border-color: rgba(255, 107, 0, 0.15);
}

.product-banner {
    background: #000000;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

/* Custom grid mesh for banner background */
.product-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    background-size: 20px 20px;
}

.banner-icon-container {
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 107, 0, 0.3);
    border-radius: var(--radius-md);
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8), inset 0 0 15px rgba(255, 107, 0, 0.1);
    transition: var(--transition-normal);
}

.banner-icon-container::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid rgba(255, 107, 0, 0.1);
    border-radius: 20px;
    pointer-events: none;
}

.banner-icon-container:hover {
    border-color: var(--accent-orange);
    box-shadow: var(--orange-glow), 0 0 30px rgba(0, 0, 0, 0.8);
    transform: scale(1.03);
}

.banner-icon {
    width: 44px;
    height: 44px;
    fill: var(--accent-orange);
    filter: drop-shadow(0 0 8px var(--accent-orange-glow));
    transition: var(--transition-normal);
}

.product-details {
    padding: 32px;
}

.product-title {
    font-family: var(--font-brand);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

.product-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.pricing-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.price-option-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.price-option-btn:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

.price-option-btn.active {
    background: rgba(255, 107, 0, 0.04);
    border-color: var(--accent-orange);
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.1);
}

.price-option-btn.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-orange);
}

.option-type {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.option-price {
    font-size: 18px;
    font-weight: 700;
}

.price-option-btn.green .option-price {
    color: var(--accent-green);
    text-shadow: 0 0 12px var(--accent-green-glow);
}

.price-option-btn.orange .option-price {
    color: var(--accent-orange);
    text-shadow: 0 0 12px var(--accent-orange-glow);
}

/* Purchase Submit Button (Glow design) */
.btn-buy-now {
    width: 100%;
    background: linear-gradient(90deg, #ff8c00, #ff5000);
    border: none;
    color: var(--text-primary);
    padding: 16px;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 24px;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
    transition: var(--transition-normal);
}

.btn-buy-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.5);
}

.btn-buy-now:active {
    transform: translateY(0);
}

/* --- BOTTOM FLOATING NAVIGATION --- */
.floating-nav-wrapper {
    position: fixed;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 100;
    pointer-events: none; /* Let clicks pass through outside the actual nav */
}

.floating-nav {
    background: rgba(22, 22, 29, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 10px 24px;
    display: flex;
    gap: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    pointer-events: auto; /* Re-enable pointer events for the nav */
    transition: var(--transition-normal);
}

.floating-nav:hover {
    border-color: rgba(255, 107, 0, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 107, 0, 0.05);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 4px 12px;
    border-radius: 12px;
}

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

.nav-item.active {
    color: var(--accent-orange);
}

.nav-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: var(--transition-fast);
}

.nav-item:hover .nav-icon {
    transform: translateY(-2px);
}

.nav-item.active .nav-icon {
    filter: drop-shadow(0 0 4px var(--accent-orange-glow));
}

/* --- AUTH PAGES (LOGIN / REGISTER) --- */
.auth-page {
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
}

.auth-container {
    width: 100%;
    max-width: 440px;
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff8c00, #ff5000);
}

.auth-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.auth-title {
    font-family: var(--font-brand);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    text-align: center;
    margin-bottom: 32px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

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

.form-input {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 14px;
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--input-focus);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
    background: rgba(10, 10, 15, 0.8);
}

.input-icon-btn {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.input-icon-btn:hover {
    color: var(--text-secondary);
}

.input-icon-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
    cursor: pointer;
    user-select: none;
}

.form-checkbox {
    margin-top: 3px;
    accent-color: var(--accent-orange);
    cursor: pointer;
}

.form-checkbox-group a {
    color: var(--accent-orange);
    text-decoration: none;
    transition: var(--transition-fast);
}

.form-checkbox-group a:hover {
    text-decoration: underline;
}

.btn-auth-submit {
    width: 100%;
    background: linear-gradient(90deg, #ff8c00, #ff5000);
    border: none;
    color: var(--text-primary);
    padding: 14px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.2);
    transition: var(--transition-normal);
}

.btn-auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.btn-auth-submit:active {
    transform: translateY(0);
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.auth-footer a:hover {
    text-decoration: underline;
}

.auth-error {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #ff5252;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    display: none;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    line-height: 1.4;
}

.auth-error.show {
    display: flex;
}

/* --- OTHER PAGES (PROFILE & SUPPORT) --- */
.section-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
}

.section-title {
    font-family: var(--font-brand);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}

/* Profile specific elements */
.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.info-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
}

.info-label {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 16px;
    font-weight: 600;
}

.info-value.accent {
    color: var(--accent-orange);
}

.balance-deposit {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.deposit-input {
    flex: 1;
    min-width: 150px;
}

.btn-deposit {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-deposit:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    box-shadow: var(--orange-glow);
}

.history-table-wrapper {
    overflow-x: auto;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.history-table th, .history-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.history-table th {
    color: var(--text-secondary);
    font-weight: 600;
}

.history-table td {
    color: var(--text-primary);
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.success {
    background: rgba(0, 230, 118, 0.1);
    color: var(--accent-green);
}

/* Support specific elements */
.support-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.support-channel {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    transition: var(--transition-normal);
}

.support-channel:hover {
    border-color: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.channel-icon {
    width: 48px;
    height: 48px;
    fill: var(--accent-orange);
    margin: 0 auto 16px auto;
}

.channel-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.channel-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.btn-channel {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.btn-channel:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    box-shadow: var(--orange-glow);
}

/* --- TOAST SYSTEM --- */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: rgba(20, 20, 27, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    color: var(--text-primary);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.toast-success {
    border-left: 4px solid var(--accent-green);
}

.toast-info {
    border-left: 4px solid var(--accent-orange);
}

.toast-icon {
    width: 20px;
    height: 20px;
}

.toast-success .toast-icon {
    fill: var(--accent-green);
}

.toast-info .toast-icon {
    fill: var(--accent-orange);
}

.toast-message {
    font-size: 14px;
    font-weight: 500;
}

/* --- MODAL STYLES --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: var(--card-bg-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    padding: 32px;
    box-shadow: var(--shadow-lg), 0 0 30px rgba(255, 107, 0, 0.05);
    position: relative;
    transform: translateY(40px);
    transition: transform var(--transition-normal);
}

.modal-overlay.show .modal-container {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    color: var(--accent-orange);
    background: rgba(255, 107, 0, 0.1);
}

.modal-close-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.modal-header {
    margin-bottom: 20px;
}

.modal-title {
    font-family: var(--font-brand);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.modal-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-orange);
    text-shadow: 0 0 10px var(--accent-orange-glow);
}

.modal-section {
    margin-bottom: 24px;
}

.modal-section-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.modal-description-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    font-size: 14px;
    line-height: 1.6;
}

.modal-desc-brief {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.modal-desc-separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 12px 0;
}

.modal-desc-full {
    color: var(--text-secondary);
}

.payment-buttons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.btn-payment-method {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition-normal);
}

.btn-payment-method:hover {
    background: rgba(255, 107, 0, 0.05);
    border-color: var(--accent-orange);
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.1);
}

.btn-payment-method svg,
.btn-payment-method .payment-method-icon {
    width: 28px;
    height: 28px;
    transition: transform var(--transition-fast);
}

.btn-payment-method:hover svg,
.btn-payment-method:hover .payment-method-icon {
    transform: scale(1.1);
}

.payment-method-icon {
    border-radius: 50%;
    object-fit: cover;
}

.btn-payment-method.cryptobot svg {
    fill: #0088cc;
    filter: drop-shadow(0 0 6px rgba(0, 136, 204, 0.3));
}

.btn-payment-method.nftstar svg {
    fill: #ffaa00;
    filter: drop-shadow(0 0 6px rgba(255, 170, 0, 0.3));
}

.payment-method-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

/* --- CUSTOM SELECT DROPDOWN --- */
.custom-select {
    position: relative;
    width: 100%;
    user-select: none;
}

.custom-select-trigger {
    background: rgba(15, 15, 22, 0.75);
    border: 1px solid rgba(255, 107, 0, 0.15);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    color: var(--text-primary);
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02), 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.custom-select-trigger:hover {
    border-color: rgba(255, 107, 0, 0.5);
    background: rgba(20, 20, 28, 0.85);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 6px 16px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 107, 0, 0.05);
}

.custom-select.open .custom-select-trigger {
    border-color: var(--accent-orange);
    background: rgba(20, 20, 28, 0.95);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15), 0 8px 24px rgba(0, 0, 0, 0.6);
}

.custom-select.open .select-arrow {
    transform: rotate(180deg);
}

.selected-country-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.selected-country-container .country-flag {
    font-size: 18px;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.selected-country-container .country-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 15px;
}

.selected-country-container .country-code {
    font-family: var(--font-brand);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.custom-options {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(20, 20, 28, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 107, 0, 0.25);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg), 0 0 25px rgba(255, 107, 0, 0.08);
    z-index: 120;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.25s;
    max-height: 260px;
    overflow-y: auto;
    padding: 6px 0;
}

.custom-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-option {
    padding: 12px 20px 12px 17px; /* compensate for border-left */
    cursor: pointer;
    transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), padding-left var(--transition-fast);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-left: 3px solid transparent;
}

.custom-option .country-flag {
    font-size: 18px;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    display: flex;
    align-items: center;
}

.custom-option .country-name {
    font-weight: 500;
    color: var(--text-primary);
    flex-grow: 1;
    text-align: left;
}

.custom-option .country-code {
    font-family: var(--font-brand);
    font-weight: 600;
    color: var(--accent-orange);
    font-size: 12px;
    background: rgba(255, 107, 0, 0.08);
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 107, 0, 0.15);
    transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.custom-option:hover {
    background: linear-gradient(90deg, rgba(255, 107, 0, 0.1) 0%, rgba(255, 107, 0, 0.01) 100%);
    color: var(--accent-orange);
    border-left-color: var(--accent-orange);
    padding-left: 20px;
}

.custom-option.selected {
    background: linear-gradient(90deg, rgba(255, 107, 0, 0.16) 0%, rgba(255, 107, 0, 0.03) 100%);
    color: var(--accent-orange);
    border-left-color: var(--accent-orange);
    font-weight: 600;
    padding-left: 20px;
}

.custom-option.selected .country-code {
    background: var(--accent-orange);
    color: var(--text-primary);
    border-color: var(--accent-orange);
    box-shadow: 0 0 8px rgba(255, 107, 0, 0.4);
}

.custom-options::-webkit-scrollbar {
    width: 6px;
}

.custom-options::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.01);
}

.custom-options::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
}

.custom-options::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 107, 0, 0.35);
}

/* --- HOW IT WORKS BLOCK --- */
.how-it-works-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 12px;
    text-align: left;
}

.how-it-works-title {
    color: var(--accent-green);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 0.2px;
}

.step-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-badge {
    background: #ff7b00; /* vibrant orange badge */
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(255, 123, 0, 0.2);
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.step-title {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.step-desc {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 768px) {
    .app-container {
        padding: 16px 16px 100px 16px;
    }
    
    .header {
        margin-bottom: 24px;
    }
    
    .tabs-container {
        gap: 20px;
        margin-bottom: 24px;
    }
    
    .tab-btn {
        font-size: 16px;
        padding-bottom: 12px;
    }
    
    .product-banner {
        height: 180px;
    }
    
    .banner-icon-container {
        width: 80px;
        height: 80px;
    }
    
    .banner-icon {
        width: 36px;
        height: 36px;
    }
    
    .product-details {
        padding: 24px;
    }
    
    .pricing-options {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .price-option-btn {
        padding: 16px;
    }
    
    .floating-nav {
        gap: 20px;
        padding: 8px 16px;
        border-radius: 20px;
    }
    
    .nav-item {
        padding: 4px 8px;
        gap: 4px;
    }
    
    .nav-item span {
        font-size: 10px;
    }
    
    .auth-container {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .header-right .user-name {
        display: none; /* Hide username on tiny screens */
    }
    
    .logo {
        font-size: 20px;
    }
    
    .logo-icon {
        width: 20px;
        height: 20px;
    }
}
