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

:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-gray-50: #fafafa;
    --color-gray-100: #f5f5f5;
    --color-gray-200: #e5e5e5;
    --color-gray-300: #d4d4d4;
    --color-gray-400: #a3a3a3;
    --color-gray-500: #737373;
    --color-gray-600: #525252;
    --color-gray-700: #404040;
    --color-gray-800: #262626;
    --color-gray-900: #171717;
    --color-green: #00ff88;
    --color-green-dark: #00cc6a;
    --color-green-light: #33ffaa;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-black);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-gray-800);
    z-index: 1000;
    padding: 16px 0;
}

.navbar .container {
    max-width: none;
    margin: 0;
    padding-left: 0;
    padding-right: 24px;
}

.navbar .nav-content {
    padding-left: 24px;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    text-decoration: none;
    margin: 0;
}

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

.nav-center-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-center-btn {
    background-color: transparent;
    color: var(--color-gray-400);
    border: 1px solid var(--color-gray-800);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-family);
}

.nav-center-btn:hover {
    border-color: var(--color-gray-700);
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
}

.nav-links a {
    color: var(--color-gray-400);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-white);
}

/* Buttons */
.btn-primary {
    background-color: var(--color-green);
    color: var(--color-black);
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-family);
}

.btn-primary:hover {
    background-color: var(--color-green-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.3);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-primary:disabled:hover {
    background-color: var(--color-green);
    transform: none;
    box-shadow: none;
}

.btn-primary.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    color: var(--color-white);
    border: 1px solid rgba(64, 64, 64, 0.6);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-family);
}

.btn-secondary:hover {
    border-color: rgba(163, 163, 163, 0.5);
    background: rgba(23, 23, 23, 0.6);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary:disabled:hover {
    border-color: rgba(64, 64, 64, 0.6);
    background: rgba(0, 0, 0, 0.4);
    transform: none;
    box-shadow: none;
}

.btn-secondary.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
    background: linear-gradient(180deg, var(--color-black) 0%, var(--color-gray-900) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero .container {
    width: 100%;
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding-top: 80px;
    padding-bottom: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--color-gray-900);
    border: 1px solid var(--color-gray-800);
    border-radius: 50px;
    font-size: 14px;
    color: var(--color-gray-300);
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-green) 0%, var(--color-green-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    color: var(--color-gray-400);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--color-gray-800);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-green);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--color-gray-500);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--color-gray-800);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-gray-400);
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--color-black);
}

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

.feature-card {
    padding: 32px;
    background-color: var(--color-gray-900);
    border: 1px solid var(--color-gray-800);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--color-gray-700);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-white);
}

.feature-description {
    font-size: 15px;
    color: var(--color-gray-400);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background-color: var(--color-gray-900);
}

.steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 48px;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    text-align: center;
}

.step-number {
    font-size: 72px;
    font-weight: 700;
    color: var(--color-gray-800);
    margin-bottom: 16px;
    line-height: 1;
}

.step-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-white);
}

.step-description {
    font-size: 15px;
    color: var(--color-gray-400);
    line-height: 1.6;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gray-800) 0%, var(--color-green) 50%, var(--color-gray-800) 100%);
    margin-top: 40px;
    flex-shrink: 0;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background-color: var(--color-black);
}

.pricing-simple {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.pricing-card-simple {
    width: 100%;
    padding: 60px 40px;
    background-color: var(--color-gray-900);
    border: 1px solid var(--color-gray-800);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card-simple:hover {
    border-color: var(--color-gray-700);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.pricing-price-large {
    margin-bottom: 32px;
}

.price-amount-large {
    font-size: 72px;
    font-weight: 700;
    color: var(--color-green);
    line-height: 1;
    display: block;
    margin-bottom: 8px;
}

.price-label {
    font-size: 18px;
    color: var(--color-gray-400);
    display: block;
}

.pricing-description {
    margin-bottom: 40px;
}

.pricing-description p {
    font-size: 16px;
    color: var(--color-gray-300);
    line-height: 1.7;
}

.pricing-features-simple {
    margin-bottom: 40px;
    text-align: left;
}

.pricing-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    color: var(--color-gray-300);
    font-size: 15px;
    border-bottom: 1px solid var(--color-gray-800);
}

.pricing-feature-item:last-child {
    border-bottom: none;
}

.feature-check {
    color: var(--color-green);
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background-color: var(--color-gray-900);
    text-align: center;
}

.cta-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-description {
    font-size: 18px;
    color: var(--color-gray-400);
    margin-bottom: 40px;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background-color: var(--color-black);
    border-top: 1px solid var(--color-gray-800);
}

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

.footer-description {
    color: var(--color-gray-500);
    font-size: 14px;
    margin-top: 16px;
    line-height: 1.6;
}

.footer-heading {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-white);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--color-gray-500);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--color-gray-800);
    text-align: center;
    color: var(--color-gray-500);
    font-size: 14px;
}

/* Auth Page Styles */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    background: linear-gradient(180deg, var(--color-black) 0%, var(--color-gray-900) 100%);
}

.auth-wrapper {
    width: 100%;
    max-width: 440px;
}

.auth-card {
    background-color: var(--color-gray-900);
    border: 1px solid var(--color-gray-800);
    border-radius: 12px;
    padding: 40px;
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.auth-subtitle {
    font-size: 15px;
    color: var(--color-gray-400);
}

.auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    background-color: var(--color-black);
    padding: 4px;
    border-radius: 8px;
}

.auth-tab {
    flex: 1;
    padding: 10px 16px;
    background-color: transparent;
    border: none;
    color: var(--color-gray-400);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-family: var(--font-family);
}

.auth-tab.active {
    background-color: var(--color-gray-900);
    color: var(--color-white);
}

.auth-tab:hover:not(.active) {
    color: var(--color-gray-300);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

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

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

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--color-black);
    border: 1px solid var(--color-gray-800);
    border-radius: 6px;
    color: var(--color-white);
    font-size: 15px;
    font-family: var(--font-family);
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-green);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.form-group input::placeholder {
    color: var(--color-gray-600);
}

.form-hint {
    display: block;
    font-size: 12px;
    color: var(--color-gray-500);
    margin-top: 6px;
}

.form-error {
    display: none;
    padding: 12px;
    background-color: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 6px;
    color: #ff6b6b;
    font-size: 14px;
    margin-bottom: 16px;
    text-align: center;
}

#payment-success {
    background-color: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: var(--color-green);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-gray-300);
    font-size: 14px;
}

.user-email {
    color: var(--color-white);
    font-weight: 500;
}

.logout-btn {
    background-color: transparent;
    color: var(--color-gray-400);
    border: 1px solid var(--color-gray-800);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-family);
}

.logout-btn:hover {
    border-color: var(--color-gray-700);
    color: var(--color-white);
}

/* Dashboard Styles */
.dashboard-container {
    min-height: calc(100vh - 80px);
    height: calc(100vh - 80px);
    padding: 0;
    margin-top: 80px;
    background: linear-gradient(180deg, var(--color-black) 0%, var(--color-gray-900) 100%);
    display: flex;
    position: relative;
    overflow: hidden;
}

.dashboard-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Sidebar */
.dashboard-sidebar {
    width: 280px;
    background: rgba(23, 23, 23, 0.6);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(38, 38, 38, 0.5);
    padding: 24px;
    overflow-y: auto;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.sidebar-section {
    margin-bottom: 32px;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    opacity: 0.8;
}

.sidebar-item {
    margin-bottom: 16px;
}

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

.sidebar-item label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-gray-400);
    margin-bottom: 8px;
}

.trading-pair-select {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(38, 38, 38, 0.6);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--color-white);
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-family);
    cursor: pointer;
    transition: all 0.3s ease;
}

.trading-pair-select:hover {
    border-color: rgba(163, 163, 163, 0.4);
    background: rgba(0, 0, 0, 0.5);
    transform: translateY(-1px);
}

.trading-pair-select:focus {
    outline: none;
    border-color: var(--color-green);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.15);
    background: rgba(0, 0, 0, 0.6);
}

/* Main Content */
.dashboard-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.dashboard-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-bottom: 1px solid rgba(38, 38, 38, 0.5);
    background: rgba(23, 23, 23, 0.4);
    backdrop-filter: blur(10px);
    position: relative;
}

.metric-card {
    padding: 28px 32px;
    border-right: 1px solid rgba(38, 38, 38, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: background 0.3s ease;
    position: relative;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 255, 136, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.metric-card:hover::before {
    opacity: 1;
}

.metric-card:last-child {
    border-right: none;
}

.metric-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.metric-value-small {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    color: var(--color-white);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.metric-value-small.positive {
    color: var(--color-green);
}

.metric-value-small.negative {
    color: #ff6b6b;
}

.profit-period-selector {
    display: flex;
    gap: 6px;
}

.period-btn {
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(38, 38, 38, 0.6);
    border-radius: 6px;
    color: var(--color-gray-400);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-family);
}

.period-btn:hover {
    border-color: rgba(163, 163, 163, 0.4);
    color: var(--color-white);
    transform: translateY(-1px);
}

.period-btn.active {
    background: linear-gradient(135deg, var(--color-green) 0%, var(--color-green-light) 100%);
    border-color: var(--color-green);
    color: var(--color-black);
    box-shadow: 0 2px 8px rgba(0, 255, 136, 0.3);
}

/* Dashboard Middle Section */
.dashboard-middle {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    overflow: hidden;
}

.trades-terminal {
    border-right: 1px solid rgba(38, 38, 38, 0.5);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.profit-graph-container {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.terminal-header {
    padding: 18px 24px;
    border-bottom: 1px solid rgba(38, 38, 38, 0.5);
    background: rgba(23, 23, 23, 0.5);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terminal-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-white);
}

.terminal-status {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-green);
    text-transform: uppercase;
    padding: 5px 10px;
    background: rgba(0, 255, 136, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 255, 136, 0.1);
}

.terminal-content {
    flex: 1;
    padding: 16px 24px;
    overflow-y: auto;
    overflow-x: hidden;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.8;
    color: var(--color-gray-300);
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.terminal-content::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.terminal-line {
    margin-bottom: 8px;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.terminal-time {
    color: var(--color-gray-500);
}

.terminal-type {
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.terminal-type.buy {
    color: var(--color-green);
    background: rgba(0, 255, 136, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 255, 136, 0.2);
    box-shadow: 0 2px 6px rgba(0, 255, 136, 0.1);
}

.terminal-type.sell {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 107, 107, 0.2);
    box-shadow: 0 2px 6px rgba(255, 107, 107, 0.1);
}

.terminal-type.fee {
    color: var(--color-gray-400);
    background: rgba(128, 128, 128, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(128, 128, 128, 0.2);
}

.terminal-symbol {
    color: var(--color-white);
    font-weight: 600;
}

.terminal-message {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--color-gray-300);
}

.terminal-amount-highlight {
    color: var(--color-white);
    font-weight: 600;
}

.terminal-profit-label {
    color: var(--color-gray-500);
    margin-left: 4px;
}

.terminal-amount {
    color: var(--color-gray-400);
}

.terminal-profit {
    font-weight: 600;
    margin-left: 4px;
}

.profit-positive {
    color: var(--color-green);
}

.profit-negative {
    color: #ff6b6b;
}

.graph-header {
    padding: 18px 24px;
    border-bottom: 1px solid rgba(38, 38, 38, 0.5);
    background: rgba(23, 23, 23, 0.5);
    backdrop-filter: blur(10px);
}

.graph-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-white);
}

.profit-graph {
    flex: 1;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#profit-chart {
    width: 100%;
    height: 100%;
    max-height: 100%;
}

/* Loading Screen */
.loading-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-black);
}

.loading-content {
    text-align: center;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--color-gray-800);
    border-top-color: var(--color-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 32px auto;
}

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

.loading-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 8px;
}

.loading-description {
    font-size: 14px;
    color: var(--color-gray-400);
}

/* Budget Setup Page */
.budget-setup-container {
    min-height: calc(100vh - 80px);
    padding: 60px 24px;
    margin-top: 80px;
    background-color: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
}

.budget-setup-card {
    width: 100%;
    max-width: 600px;
    background-color: var(--color-gray-900);
    border: 1px solid var(--color-gray-800);
    border-radius: 12px;
    padding: 40px;
}

.setup-header {
    text-align: center;
    margin-bottom: 32px;
}

.setup-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-white);
    letter-spacing: -0.02em;
}

.setup-subtitle {
    font-size: 16px;
    color: var(--color-gray-400);
}

.setup-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.input-prefix {
    position: absolute;
    left: 16px;
    color: var(--color-gray-400);
    font-size: 16px;
    font-weight: 500;
    z-index: 1;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 16px 12px 32px;
    background-color: var(--color-black);
    border: 1px solid var(--color-gray-800);
    border-radius: 6px;
    color: var(--color-white);
    font-size: 18px;
    font-weight: 600;
    font-family: var(--font-family);
    transition: all 0.3s ease;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--color-green);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.terms-section {
    background-color: var(--color-black);
    border: 1px solid var(--color-gray-800);
    border-radius: 8px;
    padding: 24px;
}

.terms-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 16px;
}

.terms-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.term-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.term-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.term-text {
    font-size: 14px;
    color: var(--color-gray-300);
    line-height: 1.6;
}

.term-text strong {
    color: var(--color-white);
    font-weight: 600;
}

.checkbox-group {
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--color-green);
}

.checkbox-text {
    font-size: 14px;
    color: var(--color-gray-300);
    line-height: 1.6;
}

/* Trading Pair Selection */
.trading-pair-selection-container {
    min-height: calc(100vh - 80px);
    padding: 60px 24px;
    margin-top: 80px;
    background-color: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pair-selection-card {
    width: 100%;
    max-width: 600px;
    background-color: var(--color-gray-900);
    border: 1px solid var(--color-gray-800);
    border-radius: 12px;
    padding: 40px;
}

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

.selection-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-white);
    letter-spacing: -0.02em;
}

.selection-subtitle {
    font-size: 16px;
    color: var(--color-gray-400);
}

.pair-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pair-option {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background-color: var(--color-black);
    border: 2px solid var(--color-gray-800);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pair-option:hover {
    border-color: var(--color-gray-700);
    transform: translateX(4px);
}

.pair-option.selected {
    border-color: var(--color-green);
    background-color: rgba(0, 255, 136, 0.05);
}

.pair-icon {
    font-size: 40px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-gray-900);
    border-radius: 8px;
    flex-shrink: 0;
}

.pair-info {
    flex: 1;
}

.pair-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 4px;
}

.pair-description {
    font-size: 14px;
    color: var(--color-gray-400);
}

.pair-select-indicator {
    font-size: 24px;
    color: var(--color-gray-600);
    transition: all 0.3s ease;
}

.pair-option:hover .pair-select-indicator,
.pair-option.selected .pair-select-indicator {
    color: var(--color-green);
    transform: translateX(4px);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.loading-overlay-content {
    text-align: center;
}

.loading-overlay-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-white);
    margin-top: 24px;
    margin-bottom: 8px;
}

.loading-overlay-description {
    font-size: 14px;
    color: var(--color-gray-400);
}

/* Confirmation Modal */
.confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.confirm-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.confirm-modal-content {
    position: relative;
    background-color: var(--color-gray-900);
    border: 1px solid var(--color-gray-800);
    border-radius: 12px;
    padding: 32px;
    max-width: 440px;
    width: 90%;
    z-index: 1;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.confirm-modal-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 12px;
}

.confirm-modal-message {
    font-size: 14px;
    color: var(--color-gray-400);
    line-height: 1.6;
    margin-bottom: 24px;
}

.confirm-modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.confirm-modal-buttons button {
    min-width: 120px;
}

.modal-profit-info {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(38, 38, 38, 0.5);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.modal-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.modal-info-row:last-child {
    margin-bottom: 0;
}

.modal-info-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-400);
}

.modal-info-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
}

.modal-input-group {
    margin-bottom: 20px;
}

.modal-input-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-400);
    margin-bottom: 8px;
}

.modal-input {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--color-black);
    border: 1px solid var(--color-gray-800);
    border-radius: 6px;
    color: var(--color-white);
    font-size: 16px;
    font-family: var(--font-family);
    transition: border-color 0.3s ease;
}

.modal-input:focus {
    outline: none;
    border-color: var(--color-green);
}

.modal-input::placeholder {
    color: var(--color-gray-500);
}

.modal-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.modal-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(38, 38, 38, 0.5);
    border-top-color: var(--color-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

.modal-loading-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-300);
}

/* Shop Modal Styles */
.shop-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.shop-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(38, 38, 38, 0.5);
    border-radius: 8px;
    padding: 20px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.shop-item:hover {
    border-color: rgba(0, 255, 136, 0.3);
    background: rgba(0, 0, 0, 0.4);
}

.shop-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.shop-item-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
    margin: 0;
}

.shop-item-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-green);
}

.shop-item-description {
    font-size: 14px;
    color: var(--color-gray-400);
    line-height: 1.5;
    margin-bottom: 16px;
}

.shop-buy-btn {
    margin-top: 8px;
}

.shop-item-upgrade {
    border-color: rgba(0, 255, 136, 0.3);
    background: rgba(0, 255, 136, 0.05);
}

.shop-item-badge {
    display: inline-block;
    padding: 4px 8px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 255, 136, 0.1));
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.shop-item-status {
    margin-bottom: 16px;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

/* Cash Out Currency Selection Styles */
.cashout-currency-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cashout-currency-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background-color: var(--color-black);
    border: 1px solid var(--color-gray-800);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cashout-currency-option:hover {
    border-color: var(--color-gray-700);
}

.cashout-currency-option.selected {
    border-color: var(--color-green);
    background-color: rgba(0, 255, 136, 0.05);
}

.cashout-currency-icon {
    font-size: 24px;
    font-weight: 700;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 8px;
    color: var(--color-green);
}

.cashout-currency-info {
    flex: 1;
}

.cashout-currency-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 4px;
}

.cashout-currency-desc {
    font-size: 13px;
    color: var(--color-gray-400);
}

.cashout-currency-check {
    font-size: 20px;
    color: var(--color-green);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.cashout-currency-option.selected .cashout-currency-check {
    opacity: 1;
}

/* Trading Rules Styles */
.rule-conditions-section {
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(38, 38, 38, 0.5);
    border-radius: 8px;
}

.rule-section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 12px;
}

.rule-condition-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.rule-condition-row:last-child {
    margin-bottom: 0;
}

.rule-condition-label {
    font-size: 13px;
    color: var(--color-gray-400);
    flex: 1;
}

.rule-toggle-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-gray-300);
    cursor: pointer;
}

.rule-toggle-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--color-green);
}

.rules-empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--color-gray-400);
}

.rules-list-container {
    margin-bottom: 24px;
}

.rule-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(38, 38, 38, 0.5);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.rule-card:hover {
    border-color: rgba(163, 163, 163, 0.3);
    background: rgba(0, 0, 0, 0.4);
}

.rule-card.rule-active {
    border-left: 3px solid var(--color-green);
}

.rule-card.rule-inactive {
    border-left: 3px solid var(--color-gray-600);
    opacity: 0.7;
}

.rule-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.rule-card-title-section {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.rule-card-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
    margin: 0;
}

.rule-status-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rule-status-badge.rule-active {
    background: rgba(0, 255, 136, 0.15);
    color: var(--color-green);
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.rule-status-badge.rule-inactive {
    background: rgba(163, 163, 163, 0.15);
    color: var(--color-gray-400);
    border: 1px solid rgba(163, 163, 163, 0.2);
}

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

.rule-toggle-btn,
.rule-delete-btn {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(64, 64, 64, 0.6);
    border-radius: 6px;
    padding: 6px 10px;
    color: var(--color-gray-300);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.rule-toggle-btn:hover {
    border-color: var(--color-green);
    color: var(--color-green);
    background: rgba(0, 255, 136, 0.1);
}

.rule-delete-btn:hover {
    border-color: #ff6b6b;
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.rule-card-description {
    font-size: 13px;
    color: var(--color-gray-400);
    margin-bottom: 12px;
    line-height: 1.5;
}

.rule-card-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rule-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.rule-detail-label {
    color: var(--color-gray-500);
}

.rule-detail-value {
    color: var(--color-gray-300);
    font-weight: 500;
}

textarea.modal-input {
    resize: vertical;
    min-height: 80px;
    font-family: var(--font-family);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 16px;
    }
    
    .nav-links a {
        display: none;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-cta button {
        width: 100%;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step-connector {
        width: 2px;
        height: 40px;
        margin: 16px 0;
        background: linear-gradient(180deg, var(--color-gray-800) 0%, var(--color-green) 50%, var(--color-gray-800) 100%);
    }
    
    .pricing-card-simple {
        padding: 40px 24px;
    }
    
    .price-amount-large {
        font-size: 56px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .cta-title {
        font-size: 36px;
    }
    
    .dashboard-container {
        flex-direction: column;
    }
    
    .dashboard-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--color-gray-800);
        max-height: 200px;
        overflow-y: auto;
    }
    
    .dashboard-top {
        grid-template-columns: 1fr;
    }
    
    .metric-card {
        border-right: none;
        border-bottom: 1px solid var(--color-gray-800);
    }
    
    .metric-card:last-child {
        border-bottom: none;
    }
    
    .dashboard-middle {
        grid-template-columns: 1fr;
    }
    
    .trades-terminal {
        border-right: none;
        border-bottom: 1px solid var(--color-gray-800);
    }
    
    .profit-graph-container {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero .container {
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .features,
    .how-it-works,
    .pricing,
    .cta-section {
        padding: 60px 0;
    }
    
    .auth-card {
        padding: 32px 24px;
    }
    
    .auth-title {
        font-size: 28px;
    }
    
    .budget-setup-card {
        padding: 32px 24px;
    }
    
    .setup-title {
        font-size: 28px;
    }
    
    .dashboard-container {
        padding: 80px 0 40px;
    }
    
    .dashboard-card {
        padding: 24px;
    }
    
    .metric-value-small {
        font-size: 24px;
    }
    
    .profit-period-selector {
        flex-direction: column;
        width: 100%;
    }
    
    .period-btn {
        width: 100%;
    }
    
    .pair-selection-card {
        padding: 32px 24px;
    }
    
    .selection-title {
        font-size: 28px;
    }
    
    .pair-option {
        padding: 20px;
    }
    
    .pair-icon {
        font-size: 32px;
        width: 50px;
        height: 50px;
    }
}

/* Payment Page Styles */
.payment-container {
    min-height: calc(100vh - 80px);
    padding: 60px 24px;
    margin-top: 80px;
    background-color: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-card {
    width: 100%;
    max-width: 600px;
    background-color: var(--color-gray-900);
    border: 1px solid var(--color-gray-800);
    border-radius: 12px;
    padding: 40px;
}

.payment-header {
    text-align: center;
    margin-bottom: 32px;
}

.payment-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-white);
    letter-spacing: -0.02em;
}

.payment-subtitle {
    font-size: 16px;
    color: var(--color-gray-400);
}

.payment-amount-section {
    text-align: center;
    padding: 32px;
    background-color: var(--color-black);
    border: 1px solid var(--color-gray-800);
    border-radius: 8px;
    margin-bottom: 32px;
}

.payment-amount-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.payment-amount-value {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-green);
    letter-spacing: -0.02em;
}

.payment-method-section {
    margin-bottom: 32px;
}

.payment-method-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 16px;
    text-align: center;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-method-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background-color: var(--color-black);
    border: 2px solid var(--color-gray-800);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.payment-method-option:hover {
    border-color: var(--color-gray-700);
}

.payment-method-option.selected {
    border-color: var(--color-green);
    background-color: rgba(0, 255, 136, 0.05);
}

.payment-method-icon {
    font-size: 32px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-gray-900);
    border-radius: 8px;
    flex-shrink: 0;
}

.payment-method-info {
    flex: 1;
}

.payment-method-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 4px;
}

.payment-method-desc {
    font-size: 14px;
    color: var(--color-gray-400);
}

.payment-method-check {
    font-size: 20px;
    color: var(--color-green);
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.payment-method-option.selected .payment-method-check {
    opacity: 1;
}

.wallet-address-section {
    margin-bottom: 32px;
    padding: 24px;
    background-color: var(--color-black);
    border: 1px solid var(--color-gray-800);
    border-radius: 8px;
}

.wallet-address-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-400);
    margin-bottom: 12px;
    text-align: center;
}

.wallet-address-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    margin-bottom: 8px;
}

.wallet-address-value {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--color-gray-900);
    border: 1px solid var(--color-gray-800);
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--color-white);
    word-break: keep-all;
    white-space: nowrap;
    overflow-x: auto;
    line-height: 1.5;
    text-align: center;
}

.copy-address-btn {
    width: 100%;
    padding: 12px 20px;
    background-color: var(--color-gray-800);
    border: 1px solid var(--color-gray-700);
    border-radius: 6px;
    color: var(--color-white);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: var(--font-family);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}

.copy-address-btn:hover {
    background-color: var(--color-gray-700);
    border-color: var(--color-gray-600);
}

.copy-icon {
    font-size: 16px;
}

.wallet-address-hint {
    font-size: 12px;
    color: var(--color-gray-500);
    margin-top: 8px;
    text-align: center;
}

.payment-status-section {
    margin-bottom: 24px;
    padding: 24px;
    background-color: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--color-green);
    border-radius: 8px;
    text-align: center;
}

.payment-status-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.payment-status-icon {
    font-size: 24px;
    animation: pulse 2s infinite;
}

.payment-status-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-green);
}

.payment-status-hint {
    font-size: 14px;
    color: var(--color-gray-400);
}

.payment-loading-bar {
    width: 100%;
    height: 4px;
    background-color: var(--color-gray-800);
    border-radius: 2px;
    overflow: hidden;
    margin: 16px 0;
}

.payment-loading-bar-fill {
    height: 100%;
    background-color: var(--color-green);
    border-radius: 2px;
    width: 0%;
    animation: loadingProgress 1.5s ease-out forwards;
}

@keyframes loadingProgress {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

.payment-actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.payment-actions button {
    flex: 1;
}

@media (max-width: 480px) {
    .payment-card {
        padding: 32px 24px;
    }
    
    .payment-title {
        font-size: 28px;
    }
    
    .payment-amount-value {
        font-size: 36px;
    }
    
    .wallet-address-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .payment-actions {
        flex-direction: column;
    }
}

/* Theme Modal */
.theme-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.theme-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
}

.theme-modal-content {
    position: relative;
    background-color: var(--color-gray-900);
    border: 1px solid var(--color-gray-800);
    border-radius: 16px;
    padding: 48px;
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
    z-index: 1;
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.7);
    overflow-y: auto;
}

.theme-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.theme-modal-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-white);
    margin: 0;
}

.theme-modal-close {
    background: none;
    border: none;
    color: var(--color-gray-400);
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.theme-modal-close:hover {
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.1);
}

.theme-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.theme-option {
    cursor: pointer;
    border: 2px solid var(--color-gray-800);
    border-radius: 20px;
    padding: 24px;
    background-color: var(--color-black);
    transition: all 0.3s ease;
    text-align: center;
}

.theme-option-btn {
    border-radius: 24px !important;
    overflow: hidden;
    background: var(--color-gray-900) !important;
    border: 2px solid var(--color-gray-800) !important;
}

.theme-option-btn:hover {
    background: var(--color-gray-800) !important;
    border-color: var(--color-gray-700) !important;
}

.theme-option-btn.selected {
    background: rgba(0, 255, 136, 0.1) !important;
    border-color: var(--color-green) !important;
    border-width: 3px !important;
}

.theme-option:hover {
    border-color: var(--color-gray-700);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.theme-option.selected {
    border-color: var(--color-green);
    background-color: rgba(0, 255, 136, 0.05);
    box-shadow: 0 0 0 2px rgba(0, 255, 136, 0.2);
}

.theme-option-preview {
    width: 100%;
    height: 200px;
    border-radius: 20px 20px 0 0;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

.dark-preview {
    background: linear-gradient(180deg, #000000 0%, #171717 100%);
}

.light-preview {
    background: #ffffff !important;
    background-image: none !important;
    position: relative;
    box-shadow: none !important;
}

.light-preview::before,
.light-preview::after {
    display: none !important;
    content: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.light-preview .theme-preview-content {
    background: #ffffff !important;
    background-image: none !important;
}

.cyber-preview {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0033 30%, #000033 60%, #0a0a1a 100%);
    position: relative;
    overflow: hidden;
}

.cyber-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(0, 255, 136, 0.15) 50%, transparent 100%),
        linear-gradient(0deg, transparent 0%, rgba(0, 204, 255, 0.1) 50%, transparent 100%),
        linear-gradient(45deg, rgba(255, 0, 255, 0.05) 0%, transparent 50%);
    animation: cyberScan 4s ease-in-out infinite;
    pointer-events: none;
}

.cyber-preview::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    animation: cyberPulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes cyberScan {
    0%, 100% {
        opacity: 0.4;
        transform: translateX(-10%);
    }
    50% {
        opacity: 0.7;
        transform: translateX(10%);
    }
}

@keyframes cyberGlow {
    0%, 100% {
        box-shadow: 
            0 0 12px rgba(0, 255, 136, 0.6),
            0 0 24px rgba(0, 204, 255, 0.4),
            inset 0 0 8px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 
            0 0 16px rgba(0, 255, 136, 0.8),
            0 0 32px rgba(0, 204, 255, 0.6),
            inset 0 0 12px rgba(255, 255, 255, 0.3);
    }
}

@keyframes cyberShine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

@keyframes cyberPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

.theme-preview-content {
    padding: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.theme-preview-bar {
    height: 8px;
    border-radius: 4px;
    background-color: var(--color-gray-800);
}

.dark-preview .theme-preview-bar {
    background-color: #262626;
}

.light-preview .theme-preview-bar {
    background: #e5e5e5 !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 4px !important;
}

.light-preview .theme-preview-bar::before,
.light-preview .theme-preview-bar::after {
    display: none !important;
    content: none !important;
    opacity: 0 !important;
}

.cyber-preview .theme-preview-bar {
    background: linear-gradient(90deg, #00ff88 0%, #00ccff 50%, #ff00ff 100%);
    box-shadow: 
        0 0 12px rgba(0, 255, 136, 0.6),
        0 0 24px rgba(0, 204, 255, 0.4),
        inset 0 0 8px rgba(255, 255, 255, 0.2);
    animation: cyberGlow 2s ease-in-out infinite;
    position: relative;
}

.cyber-preview .theme-preview-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: cyberShine 2s ease-in-out infinite;
}

.theme-preview-box {
    flex: 1;
    border-radius: 4px;
    background-color: var(--color-gray-900);
}

.dark-preview .theme-preview-box {
    background-color: #171717;
}

.light-preview .theme-preview-box {
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid #e5e5e5 !important;
    box-shadow: none !important;
    border-radius: 4px !important;
}

.light-preview .theme-preview-box::before,
.light-preview .theme-preview-box::after {
    display: none !important;
    content: none !important;
    opacity: 0 !important;
}

.cyber-preview .theme-preview-box {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.08) 0%, rgba(0, 204, 255, 0.05) 50%, rgba(255, 0, 255, 0.08) 100%);
    border: 1px solid rgba(0, 255, 136, 0.25);
    box-shadow: 
        inset 0 0 20px rgba(0, 255, 136, 0.1),
        0 0 10px rgba(0, 255, 136, 0.2);
    position: relative;
    overflow: hidden;
}

.cyber-preview .theme-preview-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.2), transparent);
    animation: cyberShine 3s ease-in-out infinite;
}

.theme-option-info {
    background: transparent;
    padding: 28px;
}

.theme-option-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-white);
    margin: 0 0 8px 0;
}

.theme-option-description {
    font-size: 14px;
    color: var(--color-gray-400);
    margin: 0;
}

@media (max-width: 768px) {
    .theme-options {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .theme-modal-content {
        padding: 32px 24px;
    }
    
    .theme-modal-title {
        font-size: 24px;
    }
}
