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

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #141414;
    --bg-card-hover: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --text-muted: #555555;
    --accent: #ffffff;
    --accent-hover: #e0e0e0;
    --positive: #4ade80;
    --negative: #f87171;
    --border: #1f1f1f;
    --border-hover: #333333;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    padding: 1rem 2rem;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    height: 56px;
    display: flex;
    align-items: center;
}

/* Top Banner */
.top-banner {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    z-index: 1099;
    background: #111111;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    height: 36px;
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 160px;
}

.logo img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    font-size: 0.82rem;
    color: var(--text-secondary);
    transition: all 0.25s ease;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    position: relative;
    letter-spacing: 0.01em;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.04);
}

.nav-links a.active {
    color: var(--text-primary);
    background: rgba(255,255,255,0.06);
}

.nav-links a.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    min-width: 160px;
}

.nav-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    color: #666;
    transition: all 0.2s;
}

.nav-logout:hover {
    background: rgba(255,255,255,0.06);
    color: #ccc;
}

.btn-login {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    transition: all 0.3s ease;
}

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

.btn-start {
    font-size: 0.875rem;
    background: var(--text-primary);
    color: var(--bg-primary);
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-start:hover {
    background: var(--accent-hover);
}

/* Top Banner */
.top-banner {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    z-index: 1001;
    background: #111111;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    height: 36px;
    display: flex;
    align-items: center;
}

.banner-track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    white-space: nowrap;
    animation: scrollBanner 40s linear infinite;
}

.banner-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

.banner-item svg {
    flex-shrink: 0;
    stroke: var(--text-muted);
}

.banner-sep {
    color: var(--text-muted);
    font-size: 0.4rem;
    opacity: 0.5;
}

@keyframes scrollBanner {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 140px;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

#heroCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-stats {
    position: relative;
    z-index: 1;
}

/* Scroll Reveal */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(255,255,255,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero h1 {
    font-size: clamp(3.5rem, 8vw, 7rem);
    line-height: 1.05;
    margin-bottom: 0;
    font-weight: 400;
    letter-spacing: -0.02em;
    font-family: 'Playfair Display', Georgia, serif;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 550px;
    line-height: 1.7;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 0.5rem;
}

.btn-primary {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--text-primary);
    color: var(--bg-primary);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.05);
}

.hero-stats {
    display: flex;
    gap: 4rem;
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    font-family: 'Outfit', 'Space Grotesk', sans-serif;
    letter-spacing: -0.02em;
    transition: opacity 0.3s ease;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Sections */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem;
}

.section-container h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 4rem;
    font-weight: 300;
}

/* Features */
.features {
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.4s ease;
}

.feature-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.feature-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* How It Works */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 5rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1;
}

.step-line {
    width: 40px;
    height: 2px;
    background: var(--border-hover);
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Performance */
.performance {
    background: var(--bg-secondary);
}

.performance-chart {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.chart-header h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
}

.chart-badge {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
    padding: 0.4rem 1rem;
    border-radius: 20px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 220px;
    padding-bottom: 1rem;
    margin-top: 1.5rem;
}

.chart-bar {
    flex: 1;
    max-width: 80px;
    background: var(--bg-secondary);
    border-radius: 6px 6px 0 0;
    height: var(--height);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.chart-bar:hover {
    background: var(--border-hover);
}

.chart-bar span {
    position: absolute;
    top: -2rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    opacity: 1;
}

.chart-bar.active span {
    color: #ffffff;
    font-weight: 700;
}

.chart-bar:hover span {
    opacity: 1;
}

.chart-bar.active {
    background: var(--text-primary);
}

.chart-bar.active span {
    opacity: 1;
    color: #ffffff;
    font-weight: 700;
}

.chart-months {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.chart-months span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Profit Sharing */
.profit-model {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.profit-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    transition: all 0.3s ease;
}

.profit-card:hover {
    border-color: var(--border-hover);
}

.profit-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.profit-percent {
    font-family: 'Inter', sans-serif;
    font-size: 4.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.profit-card > p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.profit-card ul {
    list-style: none;
    text-align: left;
}

.profit-card li {
    padding: 0.75rem 0;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.profit-card.investor {
    border-color: var(--border-hover);
}

/* Pricing */
.pricing {
    background: var(--bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.pricing-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-badge.free {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.pricing-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.pricing-price .price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.pricing-price .period {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li svg {
    flex-shrink: 0;
    color: var(--text-primary);
}

.pricing-features li.disabled {
    color: var(--text-muted);
    opacity: 0.5;
}

.pricing-features li.disabled svg {
    color: var(--text-muted);
}

.pricing-btn {
    display: block;
    text-align: center;
    padding: 0.875rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.pricing-btn:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

.pricing-btn.primary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border);
}

.pricing-btn.primary:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

/* Reviews */
.reviews {
    text-align: center;
}

.reviews-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
    margin-top: 0;
}

.reviews h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 12px;
    margin-top: 0;
}

.reviews-overall {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 20px;
    margin-top: 0;
}

.reviews-stars {
    display: flex;
    gap: 2px;
}

.reviews-score {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    color: var(--text-muted);
}

.reviews-featured {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.review-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem;
    text-align: left;
    transition: all 0.3s ease;
}

.review-card:hover {
    border-color: var(--border-hover);
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 1rem;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    object-fit: cover;
    flex-shrink: 0;
}

.review-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.reviews-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reviews-toggle:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

.reviews-expanded {
    display: none;
    margin-top: 3rem;
}

.reviews-expanded.active {
    display: block;
}

.reviews-summary {
    display: flex;
    gap: 3rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem 1.75rem;
    margin-bottom: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.summary-score {
    text-align: center;
    flex-shrink: 0;
}

.summary-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    line-height: 1;
}

.summary-stars {
    display: flex;
    gap: 2px;
    justify-content: center;
    margin: 0.5rem 0 0.25rem;
}

.summary-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.summary-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.4rem;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bar-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    color: var(--text-muted);
    min-width: 2.5rem;
    text-align: right;
    white-space: nowrap;
}

.bar-track {
    flex: 1;
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: #f5a623;
    border-radius: 4px;
}

.bar-count {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    color: var(--text-muted);
    width: 1.5rem;
}

.reviews .section-container {
    padding: 1rem 2rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

/* FAQ */
.faq {
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--text-secondary);
}

.faq-question span {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question span {
    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: 200px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* CTA */
.cta {
    text-align: center;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.cta p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    display: block;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.875rem;
    padding: 0.35rem 0;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Dashboard Styles */
.dashboard-body {
    padding-top: 0;
}

#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.dashboard-nav {
    position: relative;
    z-index: 10;
}
    border-bottom: 1px solid var(--border);
    height: 56px;
}

.dashboard-main {
    padding-top: 5rem;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.dashboard-header h1 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
    font-family: 'Inter', sans-serif;
}

.dashboard-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.header-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-deposit {
    padding: 0.7rem 1.5rem;
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.01em;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-deposit:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255,255,255,0.1);
}

.btn-deposit:active {
    transform: translateY(0) scale(0.98);
}

.btn-withdraw-sm {
    padding: 0.7rem 1.25rem;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
    min-height: 40px;
}

.btn-withdraw-sm:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-1px);
}

.btn-withdraw-sm:active {
    transform: translateY(0) scale(0.98);
}
    border-color: var(--border-hover);
}

.user-badge {
    font-size: 0.8rem;
    color: var(--positive);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-logout {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    transition: all 0.3s ease;
}

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

/* Settings Dropdown */
.settings-wrapper {
    position: relative;
}

.settings-btn {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    transition: all 0.25s;
    position: relative;
}

.settings-btn::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent);
    opacity: 0;
    transition: opacity 0.25s;
    z-index: -1;
}

.settings-btn:hover {
    background: rgba(255,255,255,0.08);
    color: #ccc;
    border-color: rgba(255,255,255,0.12);
}

.settings-btn:hover::before {
    opacity: 1;
}

.settings-btn svg {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.settings-btn:hover svg {
    transform: rotate(60deg);
}

.settings-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 240px;
    background: #141414;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.03);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.97);
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.settings-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 16px;
    width: 12px;
    height: 12px;
    background: #141414;
    border-left: 1px solid rgba(255,255,255,0.07);
    border-top: 1px solid rgba(255,255,255,0.07);
    transform: rotate(45deg);
    z-index: 1;
}

.settings-dropdown.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0) scale(1);
}

.settings-dropdown-user {
    padding: 1rem 1rem 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 0.35rem;
}

.settings-dropdown-user-name {
    font-family: 'Sora', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
}

.settings-dropdown-user-email {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.settings-dropdown-label {
    font-size: 0.58rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem 0.3rem;
}

.settings-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 1rem;
    font-size: 0.78rem;
    color: #888;
    text-decoration: none;
    transition: all 0.15s;
    cursor: pointer;
    margin: 1px 6px;
    border-radius: 8px;
}

.settings-dropdown-item:hover {
    background: rgba(255,255,255,0.05);
    color: #ddd;
}

.settings-dropdown-item svg {
    width: 15px;
    height: 15px;
    opacity: 0.6;
    transition: opacity 0.15s;
    flex-shrink: 0;
}

.settings-dropdown-item:hover svg {
    opacity: 0.9;
}

.settings-dropdown-item.logout {
    color: #ef4444;
}

.settings-dropdown-item.logout svg {
    color: #ef4444;
    opacity: 0.7;
}

.settings-dropdown-item.logout:hover {
    background: rgba(239,68,68,0.08);
    color: #ef4444;
}

.settings-dropdown-item.logout:hover svg {
    opacity: 1;
}

.pro-badge {
    margin-left: auto;
    padding: 0.15rem 0.5rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    font-size: 0.58rem;
    font-weight: 600;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    pointer-events: none;
}

.settings-dropdown-divider {
    height: 1px;
    background: rgba(255,255,255,0.05);
    margin: 0.35rem 0;
}

.settings-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: rgba(255,255,255,0.015);
}

.settings-tab {
    flex: 1;
    padding: 0.7rem 0;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #555;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
    font-family: 'Inter', sans-serif;
    text-align: center;
}

.settings-tab:hover {
    color: #999;
}

.settings-tab.active {
    color: #fff;
    border-bottom: 1px solid #fff;
}

.settings-panels {
    padding: 0;
    max-height: 420px;
    overflow-y: auto;
}

.settings-panels::-webkit-scrollbar { width: 4px; }
.settings-panels::-webkit-scrollbar-track { background: transparent; }
.settings-panels::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 4px; }

.settings-panel {
    display: none;
    padding: 1.25rem;
}

.settings-panel.active {
    display: block;
}

.panel-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.panel-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #aaa;
    flex-shrink: 0;
    overflow: hidden;
}

.panel-username {
    font-size: 0.9rem;
    font-weight: 500;
    color: #ddd;
}

.panel-sub {
    font-size: 0.7rem;
    color: #555;
    margin-top: 2px;
}

.panel-field {
    margin-bottom: 1rem;
}

.panel-field label {
    display: block;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #444;
    margin-bottom: 0.4rem;
    font-family: 'Inter', sans-serif;
}

.panel-input-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.panel-input {
    width: 100%;
    padding: 0.6rem 0.75rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    color: #ccc;
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.panel-input:focus {
    border-color: rgba(255,255,255,0.15);
}

.panel-select {
    width: 100%;
    padding: 0.6rem 0.75rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    color: #ccc;
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    appearance: none;
    cursor: pointer;
}

.panel-btn {
    padding: 0.55rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.panel-btn.save {
    background: #fff;
    color: #000;
    white-space: nowrap;
}

.panel-btn.save:hover {
    background: #e5e5e5;
}

.panel-btn.full {
    width: 100%;
    padding: 0.7rem;
}

.panel-btn.submit {
    background: #fff;
    color: #000;
    margin-top: 0.5rem;
}

.panel-btn.submit:hover {
    background: #e5e5e5;
}

.panel-btn.logout {
    background: rgba(239,68,68,0.1);
    color: #ef4444;
    border: 1px solid rgba(239,68,68,0.2);
    margin-top: 0.75rem;
}

.panel-btn.logout:hover {
    background: rgba(239,68,68,0.2);
}

.panel-status {
    display: block;
    font-size: 0.7rem;
    margin-top: 0.4rem;
    min-height: 1em;
}

.panel-hint {
    display: block;
    font-size: 0.68rem;
    color: #444;
    margin-top: 0.3rem;
}

.panel-divider {
    height: 1px;
    background: rgba(255,255,255,0.05);
    margin: 0.5rem 0 1rem;
}

.panel-history {
    max-height: 160px;
    overflow-y: auto;
}

.panel-history::-webkit-scrollbar { width: 3px; }
.panel-history::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.06); border-radius: 3px; }

.history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    font-size: 0.75rem;
}

.history-date { color: #555; }
.history-amount { color: #ccc; font-weight: 500; }
.history-status { font-size: 0.68rem; font-weight: 500; }

.panel-empty {
    display: block;
    text-align: center;
    color: #3a3a3a;
    font-size: 0.75rem;
    padding: 1rem 0;
}

.panel-logout-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 0 0.5rem;
}

.panel-logout-box p {
    color: #666;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

.stat-card:hover {
    border-color: rgba(255,255,255,0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.stat-card-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-card-icon {
    font-size: 1rem;
    opacity: 0.5;
}

.stat-card-value {
    font-family: 'Outfit', 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.stat-card-change {
    font-size: 0.8rem;
}

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

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

.stat-card-change.neutral {
    color: var(--text-muted);
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.withdraw-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.card {
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    border-color: rgba(255,255,255,0.08);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.card-header h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
}

.view-all {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.view-all:hover {
    color: var(--text-primary);
}

/* Chart Filters */
.chart-filters {
    display: flex;
    gap: 0.25rem;
    background: var(--bg-secondary);
    padding: 0.25rem;
    border-radius: 6px;
}

.filter-btn {
    padding: 0.35rem 0.75rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

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

.filter-btn.active {
    background: var(--bg-card);
    color: var(--text-primary);
}

/* Chart Visual */
.chart-visual {
    position: relative;
}

.line-chart {
    width: 100%;
    height: auto;
}

.chart-labels {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

.chart-labels span {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Trading Status */
.status-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-badge.active {
    background: rgba(74, 222, 128, 0.1);
    color: var(--positive);
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.bot-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.bot-stat {
    display: flex;
    justify-content: space-between;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border);
}

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

.bot-label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.bot-value {
    font-size: 0.85rem;
    font-weight: 500;
}

.bot-value.positive {
    color: var(--positive);
}

.bot-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.btn-pause {
    flex: 1;
    padding: 0.625rem;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-pause:hover {
    border-color: var(--border-hover);
}

.btn-settings {
    flex: 1;
    padding: 0.625rem;
    background: var(--text-primary);
    border: none;
    color: var(--bg-primary);
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-settings:hover {
    background: var(--accent-hover);
}

/* Trades List */
.trades-list {
    display: flex;
    flex-direction: column;
}

.trade-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

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

.trade-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.trade-icon.buy {
    background: rgba(74, 222, 128, 0.1);
    color: var(--positive);
}

.trade-icon.sell {
    background: rgba(248, 113, 113, 0.1);
    color: var(--negative);
}

.trade-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.trade-pair {
    font-size: 0.9rem;
    font-weight: 500;
}

.trade-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.trade-amount {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.trade-value {
    font-size: 0.9rem;
    font-weight: 500;
}

.trade-value.positive {
    color: var(--positive);
}

.trade-value.negative {
    color: var(--negative);
}

.trade-size {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Deposit Section */
.deposit-info {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.crypto-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.crypto-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
}

.crypto-btn:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.crypto-icon {
    font-size: 1.1rem;
    opacity: 0.7;
}

.deposit-address {
    margin-bottom: 1rem;
}

.deposit-address label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.address-box {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    gap: 0.75rem;
}

.address-box code {
    flex: 1;
    font-size: 0.8rem;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.copy-btn {
    padding: 0.35rem 0.75rem;
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

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

.min-deposit {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Profit History */
.profit-list {
    display: flex;
    flex-direction: column;
}

.profit-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

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

.profit-date {
    flex: 1;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.profit-amount {
    font-size: 0.9rem;
    font-weight: 500;
    margin-right: 1.5rem;
}

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

.profit-pct {
    font-size: 0.8rem;
    color: var(--text-muted);
    min-width: 50px;
    text-align: right;
}

/* Withdrawal Section */
.available-balance {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.available-balance span:first-child {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.balance-value {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
}

.withdrawal-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.withdraw-input {
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.3s ease;
}

.withdraw-input:focus {
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.05), 0 0 20px rgba(255,255,255,0.03);
    outline: none;
}

.withdraw-input::placeholder {
    color: var(--text-muted);
}

.withdraw-select {
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23555' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.withdraw-select:focus {
    border-color: var(--border-hover);
}

.btn-withdraw {
    padding: 0.75rem;
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-withdraw:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255,255,255,0.1);
}

.btn-withdraw:active {
    transform: translateY(0) scale(0.98);
}

.btn-withdraw:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.withdrawal-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .profit-model {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .crypto-options {
        grid-template-columns: 1fr;
    }
}

/* Login Page Styles */
/* ===== LOGIN PAGE ===== */
.login-body {
    background: #0a0a0a;
    overflow: hidden;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.login-left {
    background: #0d0d0d;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-right: 1px solid rgba(255,255,255,0.04);
}

.login-glow {
    position: absolute;
    top: 30%;
    left: 40%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255,255,255,0.025) 0%, transparent 70%);
    pointer-events: none;
    animation: glowDrift 12s ease-in-out infinite;
}

.login-glow-2 {
    top: 55%;
    left: 55%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255,255,255,0.015) 0%, transparent 70%);
    animation: glowDrift 16s ease-in-out infinite reverse;
}

@keyframes glowDrift {
    0%, 100% { opacity: 0.5; transform: translate(0, 0); }
    25% { opacity: 0.8; transform: translate(30px, -20px); }
    50% { opacity: 0.6; transform: translate(-20px, 30px); }
    75% { opacity: 0.9; transform: translate(15px, 15px); }
}

/* Floating icons */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.float-icon {
    position: absolute;
    color: rgba(255,255,255,0.04);
    animation: floatGentle 25s ease-in-out infinite;
}

.float-icon svg {
    width: 100%;
    height: 100%;
}

.fi-1 { top: 15%; left: 8%; animation-duration: 30s; }
.fi-2 { top: 35%; right: 12%; animation-duration: 26s; animation-delay: -4s; }
.fi-3 { bottom: 25%; left: 15%; animation-duration: 28s; animation-delay: -8s; }
.fi-4 { top: 60%; right: 20%; animation-duration: 32s; animation-delay: -2s; }
.fi-5 { bottom: 10%; right: 8%; animation-duration: 24s; animation-delay: -6s; }
.fi-6 { top: 8%; left: 50%; animation-duration: 34s; animation-delay: -10s; }

@keyframes floatGentle {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-12px) rotate(3deg); }
    50% { transform: translateY(8px) rotate(-2deg); }
    75% { transform: translateY(-6px) rotate(1deg); }
}

.login-brand {
    position: relative;
    z-index: 1;
    margin-bottom: 5rem;
}

.login-brand a {
    display: inline-block;
    transition: opacity 0.2s;
}

.login-brand a:hover {
    opacity: 0.7;
}

.login-brand img {
    display: block;
}

.login-hero {
    position: relative;
    z-index: 1;
    max-width: 460px;
}

.login-hero h1 {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-family: 'Sora', sans-serif;
    letter-spacing: -0.03em;
    color: #e8e8e8;
}

.accent-text {
    color: #fff;
    font-weight: 600;
}

.login-hero p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.75;
    max-width: 380px;
}

.login-features {
    position: relative;
    z-index: 1;
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.login-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    stroke: #888;
}

.login-feature strong {
    display: block;
    color: #ccc;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 1px;
    font-family: 'Sora', sans-serif;
}

.login-feature span {
    color: #555;
    font-size: 0.75rem;
}

.login-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    background: #0a0a0a;
}

.login-card {
    width: 100%;
    max-width: 360px;
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: #444;
    text-transform: uppercase;
    margin-bottom: 2rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 100px;
    background: rgba(255,255,255,0.015);
    font-family: 'Inter', sans-serif;
}

.auth-dot {
    width: 5px;
    height: 5px;
    background: #22c55e;
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
    50% { opacity: 0.6; box-shadow: 0 0 0 4px rgba(34,197,94,0); }
}

.login-card h2 {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: #f0f0f0;
}

.login-subtitle {
    color: #555;
    font-size: 0.82rem;
    margin-bottom: 2rem;
}

.auth-btn {
    width: 100%;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.discord-btn {
    background: #5865F2;
    color: white;
}

.discord-btn:hover {
    background: #4752C4;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(88,101,242,0.25);
}

.google-btn {
    background: rgba(255,255,255,0.03);
    color: #999;
    border: 1px solid rgba(255,255,255,0.06);
}

.google-btn:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
    color: #ccc;
    transform: translateY(-1px);
}

.auth-icon {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.25rem 0;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.05);
}

.login-divider span {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: #3a3a3a;
    font-family: 'Inter', sans-serif;
}

.login-footer {
    margin-top: 2.5rem;
    text-align: center;
}

.login-footer p {
    font-size: 0.7rem;
    color: #3a3a3a;
}

.login-footer a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

.login-footer a:hover {
    color: #999;
}

/* Username Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background: #111;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 14px;
    padding: 2.25rem;
    width: 90%;
    max-width: 400px;
    transform: translateY(16px) scale(0.98);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.modal-header img {
    margin-bottom: 1rem;
}

.modal-header h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: #eee;
}

.modal-header p {
    color: #555;
    font-size: 0.8rem;
}

.modal-field {
    margin-bottom: 1.15rem;
}

.modal-field label {
    display: block;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #444;
    margin-bottom: 0.4rem;
    font-family: 'Inter', sans-serif;
}

.modal-input {
    width: 100%;
    padding: 0.75rem 0.9rem;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    color: #ddd;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.modal-input:focus {
    border-color: rgba(255,255,255,0.15);
}

.modal-input[readonly] {
    opacity: 0.4;
    cursor: default;
}

.submit-btn {
    background: #fff;
    color: #000;
    font-weight: 600;
    margin-top: 0.75rem;
    padding: 0.85rem;
    border-radius: 10px;
}

.submit-btn:hover {
    background: #e5e5e5;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255,255,255,0.08);
}

.loading-spinner {
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    margin-right: 6px;
}

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

/* Profile Page Styles */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.profile-card {
    grid-column: 1 / -1;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.avatar-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    border: 2px solid rgba(255,255,255,0.08);
    position: relative;
    flex-shrink: 0;
}

.avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #555;
    background: rgba(255,255,255,0.04);
}

.avatar-edit {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 28px;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
    color: #ccc;
}

.avatar-wrap:hover .avatar-edit {
    opacity: 1;
}

.profile-info h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.15rem;
    margin-bottom: 0.2rem;
    color: #eee;
}

.profile-info .member-since {
    font-size: 0.78rem;
    color: #555;
}

/* Account Info Grid */
.account-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.info-label {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #444;
    font-family: 'Inter', sans-serif;
}

.info-value {
    font-size: 0.82rem;
    color: #bbb;
    word-break: break-all;
}

/* Deposit History Rows */
.dep-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.dep-row:last-child {
    border-bottom: none;
}

.dep-date {
    font-size: 0.78rem;
    color: #555;
    min-width: 80px;
}

.dep-amount {
    font-size: 0.82rem;
    color: #ccc;
    font-weight: 500;
    font-family: 'Sora', sans-serif;
}

.dep-status {
    font-size: 0.72rem;
    font-weight: 500;
    min-width: 70px;
    text-align: right;
}

.dep-status.paid {
    color: #22c55e;
}

.dep-status.pending {
    color: #f59e0b;
}

.dep-row-empty {
    text-align: center;
    color: #3a3a3a;
    font-size: 0.78rem;
    padding: 1.5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-box {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 1.2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.stat-box-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-box-value {
    font-family: 'Sora', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
}

.stat-box-value.positive {
    color: #22c55e;
}

.stat-box-value.negative {
    color: #ef4444;
}



.verified-badge {
    display: inline-block;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    background: rgba(74, 222, 128, 0.1);
    color: var(--positive);
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.profile-stats-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mini-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mini-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mini-value {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Settings Form */
.settings-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input {
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    border-color: var(--border-hover);
}

.linked-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.linked-value span:first-child {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.linked-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    background: rgba(74, 222, 128, 0.1);
    color: var(--positive);
    border-radius: 4px;
}

.btn-save {
    padding: 0.875rem;
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    margin-top: 0.5rem;
}

.btn-save:hover {
    background: var(--accent-hover);
}

/* Security Options */
.security-options {
    display: flex;
    flex-direction: column;
}

.security-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
}

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

.security-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.security-label {
    font-size: 0.9rem;
    font-weight: 500;
}

.security-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    cursor: pointer;
}

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

.toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 24px;
    transition: all 0.3s ease;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 2px;
    top: 2px;
    background: var(--text-muted);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.toggle input:checked + .toggle-slider {
    background: rgba(74, 222, 128, 0.2);
    border-color: rgba(74, 222, 128, 0.3);
}

.toggle input:checked + .toggle-slider::before {
    transform: translateX(20px);
    background: var(--positive);
}

/* Referral Card */
.referral-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

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

.referral-value {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.referral-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.referral-link-box {
    margin-bottom: 1.5rem;
}

.referral-link-box label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.referral-link {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    gap: 0.75rem;
}

.referral-link code {
    flex: 1;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.referral-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.referral-info strong {
    color: var(--text-primary);
}

/* API Card */
.api-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.api-key-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.api-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.api-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.api-key {
    font-size: 0.85rem;
    font-family: monospace;
    color: var(--text-secondary);
}

.btn-regenerate {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-regenerate:hover {
    border-color: var(--border-hover);
}

/* Danger Zone */
.danger-content {
    display: flex;
    flex-direction: column;
}

.danger-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
}

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

.danger-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.danger-label {
    font-size: 0.9rem;
    font-weight: 500;
}

.danger-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.btn-danger-outline {
    padding: 0.625rem 1.25rem;
    background: transparent;
    border: 1px solid var(--negative);
    color: var(--negative);
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-danger-outline:hover {
    background: rgba(248, 113, 113, 0.1);
}

.btn-danger {
    padding: 0.625rem 1.25rem;
    background: var(--negative);
    border: none;
    color: white;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-danger:hover {
    background: #dc2626;
}

/* Heleket Payment Modal */
.heleket-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.heleket-modal.active {
    display: flex;
}

.heleket-modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    width: 100%;
    max-width: 480px;
    position: relative;
}

.heleket-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

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

.heleket-modal h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.heleket-modal-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.heleket-amount-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    outline: none;
    margin-bottom: 1rem;
}

.heleket-amount-input:focus {
    border-color: var(--border-hover);
}

.heleket-crypto-select {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.heleket-crypto-option {
    padding: 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.heleket-crypto-option:hover {
    border-color: var(--border-hover);
}

.heleket-crypto-option.selected {
    border-color: var(--text-primary);
    background: var(--bg-card-hover);
}

.heleket-crypto-option span {
    display: block;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.heleket-pay-btn {
    width: 100%;
    padding: 1rem;
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.heleket-pay-btn:hover {
    background: var(--accent-hover);
}

.heleket-powered {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

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

@media (max-width: 768px) {
    .login-container {
        grid-template-columns: 1fr;
    }

    .login-left {
        display: none;
    }

    .login-right {
        padding: 2rem;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-stats-mini {
        grid-template-columns: 1fr;
    }

    .api-key-item {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .danger-item {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .heleket-crypto-select {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   DEPOSIT PAGE STYLES
   ============================================ */
.deposit-page-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.deposit-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
}

.deposit-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.deposit-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.deposit-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.deposit-form-group {
    margin-bottom: 1.25rem;
}

.deposit-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.deposit-amount-input-wrap {
    display: flex;
    align-items: center;
    background: #1a1a1a;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0 1rem;
}

.currency-prefix {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 600;
}

.deposit-amount-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    padding: 0.75rem 0.5rem;
    outline: none;
}

.deposit-amount-input::placeholder {
    color: var(--text-muted);
}

.deposit-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
}

.coin-select-wrap {
    position: relative;
}

.coin-select-trigger {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #1a1a1a;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: border-color 0.2s;
}

.coin-select-trigger:hover {
    border-color: var(--accent);
}

.coin-icon {
    font-size: 1.1rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
}

.btc-icon { background: #f7931a22; color: #f7931a; }
.ltc-icon { background: #bfbbbb22; color: #bfbbbb; }
.eth-icon { background: #627eea22; color: #627eea; }
.usdt-icon { background: #26a17b22; color: #26a17b; }

.coin-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    flex: 1;
}

.coin-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1a1a;
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-top: 4px;
    z-index: 20;
    display: none;
    overflow: hidden;
}

.coin-dropdown.open {
    display: block;
}

.coin-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.coin-option:hover {
    background: #222;
}

.coin-option.selected {
    background: #2a2a2a;
}

.coin-option .coin-full {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-left: auto;
}

.network-badge, .network-badge-small {
    display: inline-block;
    background: #1a1a1a;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.network-badge-small {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.deposit-pay-btn {
    width: 100%;
    padding: 0.85rem;
    background: var(--text-primary);
    color: #000;
    border: none;
    border-radius: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    margin-top: 0.5rem;
}

.deposit-pay-btn:hover {
    opacity: 0.85;
}

.deposit-powered {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1.25rem;
}

.accepted-coins {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.accepted-coin {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #1a1a1a;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
}

.spinner-wrap {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

.loading-spinner-lg {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.pay-amount-display {
    text-align: center;
    margin: 1rem 0;
}

.pay-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.pay-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0.25rem 0;
}

.pay-usd-approx {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.scan-instructions {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin: 1rem 0;
}

.payment-details {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: #1a1a1a;
    border-radius: 12px;
    padding: 1.25rem;
}

.qr-section {
    flex-shrink: 0;
}

.qr-code-img {
    width: 160px;
    height: 160px;
    border-radius: 8px;
    background: #fff;
    padding: 4px;
}

.address-section {
    flex: 1;
    min-width: 0;
}

.address-label, .amount-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.amount-label {
    margin-top: 0.75rem;
}

.address-box {
    display: flex;
    align-items: center;
    background: #0a0a0a;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
}

.address-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    color: var(--text-primary);
    word-break: break-all;
    flex: 1;
    line-height: 1.4;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
    transition: color 0.2s;
}

.copy-btn:hover {
    color: var(--accent);
}

.status-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.25rem;
    padding: 0.75rem 1rem;
    background: #1a1a1a;
    border-radius: 10px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-indicator.waiting .status-dot { background: #f5a623; }
.status-indicator.detected .status-dot { background: #3498db; }
.status-indicator.confirmed .status-dot { background: #27ae60; }
.status-indicator.forwarded .status-dot { background: #27ae60; }
.status-indicator.expired .status-dot { background: #e74c3c; animation: none; }

.status-indicator.waiting { color: #f5a623; }
.status-indicator.detected { color: #3498db; }
.status-indicator.confirmed { color: #27ae60; }
.status-indicator.forwarded { color: #27ae60; }
.status-indicator.expired { color: #e74c3c; }

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

.timer {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.deposit-footer {
    text-align: center;
    margin-top: 1rem;
}

.deposit-footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.timer-countdown {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: 0.25rem;
}

.deposit-back-btn {
    width: 100%;
    padding: 0.65rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: border-color 0.2s;
}

.deposit-back-btn:hover {
    border-color: var(--text-muted);
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #27ae60;
    color: #fff;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem auto;
}

.success-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.success-details {
    margin-top: 1rem;
    background: #1a1a1a;
    border-radius: 10px;
    padding: 1rem;
}

.success-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

.success-row:last-child {
    border-bottom: none;
}

.success-row span:last-child {
    color: var(--text-primary);
    font-weight: 600;
}

/* Admin Table Styles */
.admin-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.admin-table th {
    text-align: left;
    padding: 0.6rem 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.admin-table td {
    padding: 0.6rem 0.75rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.admin-table tr:hover td {
    background: rgba(255,255,255,0.02);
}

.status-confirmed { color: #27ae60; }
.status-detected { color: #3498db; }
.status-waiting { color: #f5a623; }
.status-expired { color: #e74c3c; }

/* Chart Card */
.chart-card {
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    position: relative;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.chart-header h3 {
    font-family: 'Sora', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 0 0.15rem;
}

.chart-subtitle {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin: 0;
}

.chart-controls {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.chart-price-box {
    text-align: right;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 0.6rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.chart-price {
    font-family: 'Sora', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

.chart-change {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    width: fit-content;
    margin-left: auto;
}

.chart-change.positive {
    color: #22c55e;
    background: rgba(34,197,94,0.1);
}

.chart-change.negative {
    color: #ef4444;
    background: rgba(239,68,68,0.1);
}

.chart-container {
    width: 100%;
    height: 260px;
    position: relative;
}

.chart-container canvas {
    width: 100%;
    height: 100%;
}

.chart-tooltip {
    position: absolute;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s;
    z-index: 10;
    min-width: 160px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 15px rgba(34,197,94,0.06);
}

.tooltip-date {
    font-size: 0.62rem;
    color: var(--text-muted);
    margin-bottom: 0.45rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.tooltip-row {
    font-size: 0.72rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.25rem;
}

.tooltip-row strong {
    color: var(--text-primary);
    font-weight: 600;
}

.tooltip-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 6px rgba(34,197,94,0.4);
}

.tooltip-row svg {
    color: #22c55e;
}

.tooltip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}

/* Portfolio Allocation */
.allocation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.alloc-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 10px;
    padding: 1rem 1rem 0.85rem;
    transition: border-color 0.2s, background 0.2s;
}

.alloc-item:hover {
    border-color: rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.035);
}

.alloc-top {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.55rem;
}

.alloc-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
}

.alloc-logo {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.alloc-letter {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    font-weight: 700;
    font-family: 'Sora', sans-serif;
    letter-spacing: -0.3px;
}

.alloc-name {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    flex: 1;
}

.alloc-pct {
    font-family: 'Sora', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.alloc-bar {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.4rem;
}

.alloc-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s ease;
}

.alloc-amt {
    font-family: 'Sora', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
}

.allocation-total {
    font-family: 'Sora', sans-serif;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.chart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 220px;
    gap: 0.8rem;
}

.chart-empty p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.alloc-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    gap: 0.8rem;
}

.alloc-empty p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.btn-add-funds {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.2rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.78rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-add-funds:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Processing Screen */
.processing-spinner {
    width: 90px;
    height: 90px;
    margin: 1.5rem auto 1.25rem;
    position: relative;
}

.spinner-ring {
    width: 100%;
    height: 100%;
    animation: spinnerRotate 1.4s linear infinite;
}

.spinner-arc {
    animation: spinnerDash 1.4s ease-in-out infinite;
    transform-origin: center;
}

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

@keyframes spinnerDash {
    0% { stroke-dasharray: 1 200; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 80 200; stroke-dashoffset: -35; }
    100% { stroke-dasharray: 80 200; stroke-dashoffset: -124; }
}

.spinner-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.9;
}

.processing-text {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.processing-steps {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 200px;
    margin: 0 auto;
}

.proc-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.2);
    transition: color 0.3s;
}

.proc-step.active {
    color: rgba(255,255,255,0.7);
}

.proc-step.done {
    color: #22c55e;
}

.proc-step svg {
    flex-shrink: 0;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.proc-step.active svg {
    opacity: 0.9;
    animation: procPulse 1s ease-in-out infinite;
}

.proc-step.done svg {
    opacity: 1;
}

@keyframes procPulse {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 0.4; }
}

/* Dashboard Pricing */
.pricing-grid-dashboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 0.5rem;
}

.pricing-card-dash {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, transform 0.2s;
}

.pricing-card-dash:hover {
    border-color: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.pricing-card-dash.featured {
    border-color: rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.03);
}

.pricing-card-top {
    margin-bottom: 1.25rem;
}

.pricing-card-top h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0.5rem 0 0.3rem;
}

.pricing-badge-dash {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.55rem;
    border-radius: 20px;
    background: rgba(255,255,255,0.06);
    color: var(--text-muted);
}

.pricing-badge-dash.popular {
    background: rgba(255,255,255,0.1);
    color: var(--text-primary);
}

.pricing-badge-dash.free {
    background: rgba(34,197,94,0.1);
    color: #22c55e;
}

.pricing-price-dash {
    margin-top: 0.25rem;
}

.pricing-price-dash span:first-child {
    font-family: 'Sora', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.period-dash {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: 0.15rem;
}

.pricing-features-dash {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex: 1;
}

.pricing-features-dash li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
    padding: 0.4rem 0;
}

.pricing-features-dash li svg {
    color: #22c55e;
    flex-shrink: 0;
}

.pricing-features-dash li.disabled {
    color: var(--text-muted);
    opacity: 0.5;
}

.pricing-features-dash li.disabled svg {
    color: var(--text-muted);
}

.pricing-btn-dash {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
    min-height: 44px;
}

.pricing-btn-dash:hover:not(:disabled) {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-1px);
}

.pricing-btn-dash:active:not(:disabled) {
    transform: translateY(0) scale(0.98);
}

.pricing-btn-dash.primary {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.pricing-btn-dash.primary:hover {
    background: #e5e5e5;
    box-shadow: 0 4px 16px rgba(255,255,255,0.15);
}

.pricing-btn-dash:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Toast Notification */
.toast-container {
    position: fixed;
    top: 80px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.toast {
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 280px;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    pointer-events: all;
    animation: toastIn 0.3s ease forwards;
    font-family: 'Inter', sans-serif;
}

.toast.removing {
    animation: toastOut 0.25s ease forwards;
}

.toast-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast.success .toast-icon { background: rgba(34,197,94,0.15); color: #22c55e; }
.toast.error .toast-icon { background: rgba(239,68,68,0.15); color: #ef4444; }
.toast.info .toast-icon { background: rgba(59,130,246,0.15); color: #3b82f6; }

.toast-text {
    flex: 1;
    font-size: 0.8rem;
    color: #ccc;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: #555;
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
    flex-shrink: 0;
}

.toast-close:hover {
    color: #aaa;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(20px); }
}

/* Confirm Modal */
.confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.confirm-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.confirm-card {
    background: #151515;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 2rem;
    width: 90%;
    max-width: 380px;
    text-align: center;
    transform: scale(0.95);
    transition: transform 0.2s;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.confirm-overlay.active .confirm-card {
    transform: scale(1);
}

.confirm-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.confirm-icon.warn {
    background: rgba(245,158,11,0.1);
    color: #f59e0b;
}

.confirm-icon.danger {
    background: rgba(239,68,68,0.1);
    color: #ef4444;
}

.confirm-icon.success {
    background: rgba(34,197,94,0.1);
    color: #22c55e;
}

.confirm-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #eee;
    margin-bottom: 0.4rem;
}

.confirm-msg {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.confirm-actions {
    display: flex;
    gap: 0.6rem;
}

.confirm-btn {
    flex: 1;
    padding: 0.7rem;
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.15s;
}

.confirm-btn.cancel {
    background: rgba(255,255,255,0.05);
    color: #888;
    border: 1px solid rgba(255,255,255,0.06);
}

.confirm-btn.cancel:hover {
    background: rgba(255,255,255,0.08);
    color: #bbb;
}

.confirm-btn.ok {
    background: #fff;
    color: #000;
}

.confirm-btn.ok:hover {
    background: #e5e5e5;
}

.confirm-btn.danger {
    background: #ef4444;
    color: #fff;
}

.confirm-btn.danger:hover {
    background: #dc2626;
}

/* ========================================
   Community Page - Discord-like Layout
   ======================================== */
.community-wrapper {
    padding-top: 56px;
    height: 100vh;
    overflow: hidden;
}

.community-layout {
    display: flex;
    height: calc(100vh - 56px);
    background: #0d0d0d;
}

/* Left Sidebar */
.community-sidebar {
    width: 240px;
    background: #111111;
    border-right: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.server-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: #f2f3f5;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.15s;
}

.server-header:hover {
    background: rgba(255,255,255,0.04);
}

.server-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f5a623, #e6941a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    color: #0a0a0a;
}

.channel-category {
    padding: 1.25rem 0.75rem 0.25rem;
}

.category-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0 0.5rem;
    margin-bottom: 0.375rem;
}

.channel-link {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
    color: rgba(255,255,255,0.4);
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.15s;
    cursor: pointer;
}

.channel-link:hover {
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.8);
}

.channel-link.active {
    background: rgba(255,255,255,0.06);
    color: #f2f3f5;
}

.sidebar-user {
    margin-top: auto;
    padding: 0.625rem 0.75rem;
    background: rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.tv-avatar-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.sidebar-user .user-info {
    display: flex;
    flex-direction: column;
}

.sidebar-user .user-display {
    font-size: 0.8rem;
    font-weight: 600;
    color: #f2f3f5;
}

.sidebar-user .user-tag {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.4);
}

.user-pfp {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

/* Channel Header */
.community-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.channel-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: #111111;
    flex-shrink: 0;
    color: rgba(255,255,255,0.4);
}

.channel-title {
    font-weight: 600;
    color: #f2f3f5;
    font-size: 1rem;
}

.header-divider {
    width: 1px;
    height: 1.25rem;
    background: rgba(255,255,255,0.08);
    margin: 0 0.25rem;
}

.channel-desc {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-actions {
    margin-left: auto;
    display: flex;
    gap: 0.5rem;
}

.header-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
}

.header-btn:hover {
    color: #f2f3f5;
}

/* Messages Area */
.messages-area {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.25rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.messages-area::-webkit-scrollbar {
    width: 6px;
}

.messages-area::-webkit-scrollbar-track {
    background: transparent;
}

.messages-area::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

.channel-content {
    display: none;
}

.channel-content.active {
    display: block;
}

.welcome-banner {
    padding: 2rem 0;
    margin-bottom: 1.5rem;
}

.welcome-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5a623, #e6941a);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    color: #0a0a0a;
}

.welcome-banner h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    color: #f2f3f5;
    margin-bottom: 0.25rem;
}

.welcome-banner p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

/* Messages */
.message {
    display: flex;
    gap: 0.75rem;
    padding: 0.5rem 0;
    margin-bottom: 0.25rem;
    position: relative;
}

.message:hover {
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
}

.tv-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5a623, #e6941a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    color: #0a0a0a;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.msg-content {
    flex: 1;
    min-width: 0;
}

.msg-pfp {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.msg-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.msg-author {
    font-weight: 600;
    font-size: 0.9rem;
    color: #f2f3f5;
}

.msg-author.tv-brand {
    color: #f5a623;
}

.msg-role {
    font-size: 0.55rem;
    font-weight: 700;
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    text-transform: uppercase;
}

.msg-role.system {
    background: rgba(245,166,35,0.15);
    color: #f5a623;
}

.msg-role.admin {
    background: rgba(245,166,35,0.15);
    color: #f5a623;
}

.msg-role.support {
    background: rgba(35,165,90,0.15);
    color: #23a55a;
}

.msg-role.staff {
    background: rgba(155,89,182,0.15);
    color: #9b59b6;
}

.msg-time {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.25);
}

.msg-body {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

.msg-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #f2f3f5;
    margin-bottom: 0.25rem;
}

.msg-list {
    margin: 0.5rem 0;
    padding-left: 1.25rem;
}

.msg-list li {
    margin-bottom: 0.25rem;
    color: rgba(255,255,255,0.65);
}

.mention {
    background: rgba(245,166,35,0.15);
    color: #f5a623;
    padding: 0 0.2rem;
    border-radius: 3px;
    font-weight: 500;
    cursor: pointer;
}

.mention:hover {
    background: rgba(245,166,35,0.25);
}

.msg-embed {
    display: flex;
    margin: 0.75rem 0;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
}

.embed-accent {
    width: 4px;
    background: linear-gradient(180deg, #f5a623, #e6941a);
    flex-shrink: 0;
}

.embed-content {
    padding: 0.875rem 1rem;
    font-size: 0.85rem;
}

.embed-content p {
    margin-bottom: 0.25rem;
    color: rgba(255,255,255,0.6);
}

.embed-content strong {
    color: rgba(255,255,255,0.85);
}

.msg-reactions {
    display: flex;
    gap: 0.375rem;
    margin-top: 0.5rem;
}

.reaction {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.15s;
    user-select: none;
}

.reaction:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.12);
}

.reaction.active {
    background: rgba(88, 101, 242, 0.18);
    border-color: rgba(88, 101, 242, 0.4);
}

.reaction.active .reaction-count {
    color: #8b9aff;
}

.reaction-emoji {
    font-size: 0.85rem;
}

.reaction-count {
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}

.reaction-add {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 24px;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px dashed rgba(255,255,255,0.1);
    cursor: pointer;
    transition: all 0.15s;
    position: relative;
}

.reaction-add:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
}

.reaction-add svg {
    width: 14px;
    height: 14px;
    color: rgba(255,255,255,0.3);
}

.reaction-add:hover svg {
    color: rgba(255,255,255,0.6);
}

.reaction-picker {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a2e;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 0.4rem;
    display: none;
    gap: 0.2rem;
    z-index: 100;
    box-shadow: 0 8px 32px rgba(0,0,0,0.6);
    flex-wrap: wrap;
    width: 196px;
}

.reaction-picker.show {
    display: flex;
}

.reaction-picker-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.1s;
    border: none;
    background: none;
}

.reaction-picker-btn:hover {
    background: rgba(255,255,255,0.1);
}

/* Review Star Picker */
.review-star-picker {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.review-star {
    cursor: pointer;
    transition: all 0.15s;
}

.review-star:hover {
    transform: scale(1.15);
}

/* Review Message in Channel */
.review-msg {
    margin-top: 0.25rem;
}

.review-msg-stars {
    display: flex;
    gap: 0.15rem;
    margin-bottom: 0.35rem;
}

/* Leaderboard Podium */
.lb-podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1.5rem;
    padding: 2rem 1rem 1.5rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
}

.lb-podium-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.lb-podium-item.first {
    order: 2;
}

.lb-podium-item.second {
    order: 1;
}

.lb-podium-item.third {
    order: 3;
}

.lb-podium-avatar {
    position: relative;
    margin-bottom: 1rem;
}

.lb-podium-avatar img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 2;
}

.lb-podium-item.first .lb-podium-avatar img {
    width: 90px;
    height: 90px;
}

.lb-podium-rank {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: #0a0a0a;
    z-index: 3;
}

.lb-podium-rank.gold {
    background: linear-gradient(135deg, #f5a623, #e6941a);
}

.lb-podium-rank.silver {
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
}

.lb-podium-rank.bronze {
    background: linear-gradient(135deg, #cd7f32, #b8690e);
}

.lb-podium-wreath {
    position: absolute;
    width: 120px;
    height: 120px;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.lb-podium-item.first .lb-podium-wreath {
    width: 140px;
    height: 140px;
    top: -25px;
}

.lb-podium-wreath svg {
    width: 100%;
    height: 100%;
}

.lb-podium-name {
    font-weight: 700;
    font-size: 0.85rem;
    color: #f2f3f5;
    margin-bottom: 0.15rem;
}

.lb-podium-profit {
    font-weight: 700;
    font-size: 0.8rem;
    color: #23a55a;
}

.lb-podium-item.first .lb-podium-name {
    font-size: 1rem;
}

.lb-podium-item.first .lb-podium-profit {
    font-size: 0.9rem;
}

/* Leaderboard List (4-10) */
.lb-list {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 0.5rem;
}

.lb-row-item {
    display: grid;
    grid-template-columns: 40px 36px 1fr auto auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.15s;
}

.lb-row-item:hover {
    background: rgba(255,255,255,0.03);
}

.lb-row-rank {
    font-weight: 700;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.35);
    text-align: center;
}

.lb-row-pfp {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.lb-row-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: #f2f3f5;
}

.lb-row-deposited {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.05);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.lb-row-profit {
    font-weight: 700;
    font-size: 0.85rem;
    color: #23a55a;
    min-width: 80px;
    text-align: right;
}

/* TOS */
.tos-content {
    margin-top: 0.5rem;
}

.tos-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.5);
}

.tos-content strong {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

/* Ticket System — Embed */
.ticket-embed {
    display: flex;
    background: #1e1e1e;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.06);
    max-width: 520px;
    overflow: hidden;
    margin-top: 4px;
}

.ticket-embed-bar {
    width: 4px;
    background: #5865f2;
    flex-shrink: 0;
}

.ticket-embed-content {
    padding: 12px 16px;
    flex: 1;
}

.ticket-embed-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 10px;
}

.ticket-embed-sub {
    font-weight: 600;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 4px;
    margin-top: 8px;
}

.ticket-embed-list {
    list-style: none;
    padding: 0;
    margin: 0 0 4px 0;
}

.ticket-embed-list li {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
    padding-left: 12px;
    position: relative;
}

.ticket-embed-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: rgba(255,255,255,0.35);
}

.ticket-embed-footer {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.ticket-embed-footer-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.ticket-embed-footer span {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.35);
}

/* Ticket Action Buttons */
.ticket-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.ticket-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: none;
    border-radius: 4px;
    font-size: 0.8rem;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.ticket-action-btn.close {
    background: #ed4245;
    color: #fff;
}

.ticket-action-btn.close:hover {
    background: #c93b3e;
}

.ticket-action-btn.close-reason {
    background: #23a55a;
    color: #fff;
}

.ticket-action-btn.close-reason:hover {
    background: #1d8f49;
}

/* Ticket Date Divider */
.ticket-date-divider {
    display: flex;
    align-items: center;
    margin: 1rem 0;
}

.ticket-date-divider::before,
.ticket-date-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.08);
}

.ticket-date-divider span {
    padding: 0 12px;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
}

/* Ticket Conversation */
.ticket-conversation {
    padding: 0 1rem;
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Ticket Embed Button */
.ticket-embed-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 8px 20px;
    background: rgba(88,101,242,0.15);
    color: #dee0fc;
    border: 1px solid rgba(88,101,242,0.4);
    border-radius: 4px;
    font-size: 0.82rem;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.ticket-embed-btn:hover {
    background: rgba(88,101,242,0.28);
    border-color: #5865f2;
}

/* Ticket Input Bar */
.ticket-input-bar {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    align-items: center;
    background: #111111;
    border-top: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}

.ticket-input {
    flex: 1;
    background: #0d0d0d;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 10px 14px;
    color: #fff;
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
}

.ticket-input:focus {
    border-color: #5865f2;
}

.ticket-send {
    background: #5865f2;
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ticket-send:hover {
    background: #4752c4;
}

/* Members Sidebar */
.community-members {
    width: 240px;
    background: #111111;
    border-left: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    overflow-y: auto;
}

.community-members.hidden {
    display: none;
}

.members-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.members-title {
    display: block;
    font-weight: 600;
    color: #f2f3f5;
    font-size: 0.85rem;
    margin-bottom: 0.375rem;
}

.members-count {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.35);
    margin-right: 0.75rem;
}

.members-search {
    padding: 0.5rem 0.75rem;
}

.member-search-input {
    width: 100%;
    padding: 0.375rem 0.625rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    color: #f2f3f5;
    font-size: 0.8rem;
    outline: none;
    transition: border-color 0.15s;
}

.member-search-input:focus {
    border-color: rgba(245,166,35,0.4);
}

.member-search-input::placeholder {
    color: rgba(255,255,255,0.2);
}

.members-list {
    padding: 0 0.5rem;
}

.member-category {
    font-size: 0.6rem;
    font-weight: 700;
    color: rgba(255,255,255,0.25);
    text-transform: uppercase;
    padding: 0.875rem 0.5rem 0.25rem;
    letter-spacing: 0.04em;
}

.member-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s;
}

.member-item:hover {
    background: rgba(255,255,255,0.04);
}

.member-item.offline {
    opacity: 0.35;
}

.member-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.status-dot {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2.5px solid #111111;
}

.status-dot.online {
    background: #23a55a;
}

.status-dot.idle {
    background: #f0b232;
}

.status-dot.dnd {
    background: #f23f43;
}

.member-info {
    flex: 1;
    min-width: 0;
}

.member-pfp {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.member-name {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.member-status {
    display: block;
    font-size: 0.625rem;
    color: rgba(255,255,255,0.3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.member-badge {
    font-size: 0.5rem;
    font-weight: 700;
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.member-badge.admin {
    background: rgba(245,166,35,0.15);
    color: #f5a623;
}

.member-badge.owner {
    background: rgba(245,166,35,0.2);
    color: #f5a623;
}

.member-badge.system {
    background: rgba(245,166,35,0.15);
    color: #f5a623;
}

.member-badge.staff {
    background: rgba(155,89,182,0.15);
    color: #9b59b6;
}

/* Community Page Responsive */
@media (max-width: 1100px) {
    .community-members {
        display: none;
    }
}

@media (max-width: 768px) {
    .community-sidebar {
        display: none;
    }
    .community-layout {
        flex-direction: column;
    }
}

/* Letter Avatars */
.letter-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.letter-avatar.sm {
    width: 28px;
    height: 28px;
    font-size: 0.7rem;
}

/* Ticket Modal Overlay */
.ticket-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.ticket-modal {
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    width: 420px;
    max-width: 90vw;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.ticket-modal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
}

.ticket-modal-close {
    margin-left: auto;
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.2s;
}

.ticket-modal-close:hover {
    color: #fff;
}

.ticket-modal-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ticket-modal-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    margin-bottom: -4px;
}

.ticket-modal-input,
.ticket-modal-textarea {
    background: #0d0d0d;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 10px 14px;
    color: #fff;
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
    resize: vertical;
}

.ticket-modal-input:focus,
.ticket-modal-textarea:focus {
    border-color: #5865f2;
}

.ticket-modal-submit {
    margin-top: 6px;
    padding: 10px;
    background: #5865f2;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.ticket-modal-submit:hover {
    background: #4752c4;
}

/* Ticket Success Modal */
.ticket-success-modal {
    text-align: center;
    padding: 32px 24px;
}

.ticket-success-icon {
    margin: 0 auto 16px;
    width: 72px;
    height: 72px;
    background: rgba(35,165,90,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successPop 0.4s ease;
}

@keyframes successPop {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

.tick-path {
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
    animation: tickDraw 0.4s 0.2s ease forwards;
}

@keyframes tickDraw {
    to { stroke-dashoffset: 0; }
}

.ticket-success-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.ticket-success-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
    margin-bottom: 20px;
}

.ticket-success-modal .ticket-modal-submit {
    width: 100%;
}
