/* ===================================
   Skully - Premium Trading Bot Design System
   =================================== */

:root {
    /* Skully Orange & Black Palette */
    --gold-primary: #F5A623;
    --gold-light: #FFB84D;
    --gold-dark: #D4841C;
    --gold-metallic: linear-gradient(135deg, #E8930C, #FFD180, #F5A623, #FFCC66, #D4841C);

    --bg-deep: #050505;
    --bg-surface: #0a0a0a;
    --bg-card: rgba(20, 20, 20, 0.6);
    --bg-glass: rgba(255, 255, 255, 0.03);

    --text-primary: #FFFFFF;
    --text-secondary: #E0E0E0;
    --text-muted: #888888;
    --text-gold: #F5A623;

    /* Accents & Effects */
    --border-gold: rgba(245, 166, 35, 0.3);
    --glow-gold: 0 0 20px rgba(245, 166, 35, 0.15);
    --glow-strong: 0 0 30px rgba(245, 166, 35, 0.3);

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(245, 166, 35, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(245, 166, 35, 0.03) 0%, transparent 20%);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    background: var(--gold-metallic);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 40px rgba(245, 166, 35, 0.2);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 3rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

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

/* Top Banner */
.top-banner {
    background: var(--gold-metallic);
    color: #000;
    padding: 0.8rem;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    font-weight: 600;
    box-shadow: 0 2px 20px rgba(245, 166, 35, 0.2);
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.banner-icon {
    font-size: 1.5rem;
}

.banner-text {
    font-size: 1rem;
    font-weight: 500;
}

.banner-cta {
    background: #000;
    color: var(--gold-primary);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8em;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.banner-cta:hover {
    background: #fff;
    color: #000;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid var(--border-gold);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gold-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-primary {
    background: var(--gold-metallic);
    color: #000;
    box-shadow: var(--glow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 40px rgba(245, 166, 35, 0.5), 0 10px 30px rgba(0, 0, 0, 0.3);
    filter: brightness(1.15);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
}

.btn-secondary:hover {
    background: rgba(245, 166, 35, 0.1);
    color: #fff;
    border-color: #fff;
}

/* Skully Mascot */
.skully-mascot-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.skully-mascot {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--gold-primary);
    box-shadow:
        0 0 30px rgba(245, 166, 35, 0.4),
        0 0 60px rgba(245, 166, 35, 0.2),
        0 20px 40px rgba(0, 0, 0, 0.5);
    animation: skullyFloat 4s ease-in-out infinite, pulseGlow 3s ease-in-out infinite;
}

@keyframes skullyFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-8px) rotate(1deg);
    }

    75% {
        transform: translateY(-4px) rotate(-1deg);
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(8rem + 50px) 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.08) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
}

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

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-social {
    margin-top: 2rem;
}

.social-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid;
}

.social-link.telegram {
    background: rgba(36, 161, 222, 0.1);
    color: #24A1DE;
    border-color: rgba(36, 161, 222, 0.3);
}

.social-link.telegram:hover {
    background: #24A1DE;
    color: white;
    border-color: #24A1DE;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(36, 161, 222, 0.4);
}

.chart-container img {
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-gold);
    max-width: 100%;
}

/* Sections */
.section {
    padding: 6rem 2rem;
    position: relative;
}

.section-dark {
    background: var(--bg-surface);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* Cards & Grid */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    padding: 2.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.card:hover {
    transform: translateY(-12px) scale(1.02);
    background: rgba(30, 30, 30, 0.9);
    box-shadow: 0 0 40px rgba(245, 166, 35, 0.3), 0 20px 60px rgba(0, 0, 0, 0.4);
    border-color: var(--gold-primary);
}

.card:hover h3 {
    color: #fff;
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

/* Feature Cards */
.feature-card {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gold-metallic);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: var(--glow-gold);
}

/* Stats */
.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 3rem;
    padding: 3rem 0;
}

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

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    background: var(--gold-metallic);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    position: relative;
    text-align: center;
}

.pricing-badge {
    background: var(--gold-primary);
    color: #000;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    position: absolute;
    top: -12px;
    right: 20px;
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.4);
}

.pricing-discount-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 68, 68, 0.4);
    z-index: 10;
    letter-spacing: 0.5px;
}

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

.pricing-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.price-old {
    font-size: 1.5rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-new {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gold-metallic);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features li::before {
    content: '✓';
    color: var(--gold-primary);
    font-weight: 800;
    font-size: 1.25rem;
}

/* FAQ */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem 2rem;
}

/* Trusted Section */
.trusted-section {
    padding: 3rem 2rem;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
    text-align: center;
}

.trusted-title {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.6;
}

.logo-item {
    flex: 0 0 auto;
}

.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-secondary);
}

/* Phone Mockup */
.app-showcase {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 4rem 0;
    flex-wrap: wrap;
}

.phone-mockup {
    border: 8px solid #1a1a1a;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background: #000;
    max-width: 300px;
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 25px;
    background: #000;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
}

.phone-screen img {
    width: 100%;
    display: block;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto 2rem;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-gold);
}

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

/* ============================================
   ADVANCED ANIMATIONS & TRANSITIONS
   ============================================ */

/* Swipe In Animations */
.swipe-element {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.swipe-element.swipe-in {
    opacity: 1;
    transform: translateX(0);
}

.swipe-element.swipe-from-bottom {
    transform: translateY(60px);
}

.swipe-element.swipe-from-bottom.swipe-in {
    transform: translateY(0);
}

.swipe-element.swipe-scale {
    transform: scale(0.8);
}

.swipe-element.swipe-scale.swipe-in {
    transform: scale(1);
}

/* Floating Animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Pulse Glow Animation */
@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(245, 166, 35, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(245, 166, 35, 0.6);
    }
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

/* Gradient Shift */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.animate-up {
    opacity: 0;
    animation: float 0.8s ease forwards;
}


/* ============================================
   AFFILIATE & DASHBOARD STYLES
   ============================================ */

/* Affiliate Hero */
.affiliate-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 30%, rgba(245, 166, 35, 0.08) 0%, transparent 50%);
}

.affiliate-navbar,
.dashboard-navbar {
    top: 0;
}

.affiliate-badge {
    display: inline-block;
    background: var(--gold-metallic);
    color: #000;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

/* Auth Container */
.auth-container {
    max-width: 500px;
    margin: 2rem auto 0;
}

.auth-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.auth-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 180px;
    justify-content: center;
}

.btn-icon {
    font-size: 1.25rem;
}

.auth-hint {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.auth-error {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.auth-error p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Dashboard Loading */
.dashboard-loading {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 8rem 2rem;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(245, 166, 35, 0.2);
    border-top-color: var(--gold-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

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

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

.dashboard-error h2 {
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

/* Dashboard Main */
.dashboard-main {
    padding-top: 6rem;
}

/* Dashboard Hero / Welcome Section */
.dashboard-hero {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.05) 0%, transparent 50%);
}

.welcome-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.welcome-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.text-gold {
    background: var(--gold-metallic);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.welcome-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.welcome-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--gold-primary);
    object-fit: cover;
    box-shadow: var(--glow-gold);
}

/* Dashboard Stats */
.dashboard-stats {
    padding: 2rem;
    margin-top: -2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.5rem;
    }
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-gold);
    border-color: var(--gold-primary);
}

.stat-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 166, 35, 0.1);
    border-radius: 12px;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gold-metallic);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Referral Card */
.referral-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.referral-header {
    margin-bottom: 2rem;
}

.referral-header h2 {
    margin-bottom: 0.5rem;
}

.referral-header p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.referral-link-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.referral-input {
    flex: 1;
    min-width: 200px;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-primary);
}

.referral-input:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: var(--glow-gold);
}

.copy-btn {
    min-width: 140px;
}

.copy-btn.copied {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn.twitter {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.share-btn.twitter:hover {
    background: #000;
    transform: translateY(-2px);
}

.share-btn.telegram {
    background: rgba(36, 161, 222, 0.1);
    color: #24A1DE;
    border: 1px solid rgba(36, 161, 222, 0.3);
}

.share-btn.telegram:hover {
    background: #24A1DE;
    color: #fff;
    transform: translateY(-2px);
}

.share-btn.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.share-btn.whatsapp:hover {
    background: #25D366;
    color: #fff;
    transform: translateY(-2px);
}

/* User Menu */
.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--gold-primary);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-name {
    color: var(--text-primary);
    font-weight: 600;
}

.sign-out-btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    transition: all 0.3s ease;
}

.activity-item:hover {
    border-color: var(--gold-primary);
}

.activity-icon {
    font-size: 1.5rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 166, 35, 0.1);
    border-radius: 10px;
}

.activity-content {
    flex: 1;
}

.activity-text {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

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

/* ============================================
   MOBILE OPTIMIZATION (Touch Devices)
   ============================================ */

@media (max-width: 768px) {

    /* Typography - Better Readability */
    h1 {
        font-size: 2.25rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    p {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Top Banner - Fixed & Compact */
    .top-banner {
        padding: 0.5rem 0.75rem;
        position: relative;
    }

    .banner-content {
        gap: 0.5rem;
        font-size: 0.85rem;
    }

    .banner-icon {
        font-size: 1.2rem;
    }

    .banner-text {
        font-size: 0.85rem;
    }

    .banner-cta {
        padding: 0.3rem 0.8rem;
        font-size: 0.75rem;
    }

    /* Navbar - Touch Optimized */
    .navbar {
        position: sticky;
        top: 0;
        padding: 0.75rem 0;
    }

    .navbar.scrolled {
        padding: 0.5rem 0;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    /* Mobile Menu - Full Screen Overlay */
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        max-height: calc(100vh - 92px);
        overflow-y: auto;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.75rem 0;
        text-align: center;
    }

    .mobile-menu-toggle {
        display: block;
        font-size: 1.75rem;
        padding: 0.5rem;
        -webkit-tap-highlight-color: transparent;
    }

    /* Buttons - Touch Friendly (48px min height) */
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-height: 48px;
        width: 100%;
        text-align: center;
        -webkit-tap-highlight-color: transparent;
    }

    .btn-primary:hover,
    .btn-secondary:hover {
        transform: none;
    }

    .btn-primary:active {
        transform: scale(0.95);
    }

    /* Hero Section */
    .hero {
        min-height: 100vh;
        padding: 2rem 1rem 3rem;
    }

    .hero::before {
        display: none;
    }

    .hero-content {
        padding: 0 0.5rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .hero-social {
        margin-top: 2rem;
    }

    .social-links {
        flex-direction: column;
        gap: 1rem;
    }

    .social-link {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        font-size: 1.05rem;
    }

    /* Sections - Better Spacing */
    .section {
        padding: 3rem 1rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header p {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    /* Grids - Stack on Mobile */
    .grid {
        gap: 1.5rem;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    /* Cards - Optimized */
    .card {
        padding: 1.75rem 1.5rem;
    }

    .card:hover {
        transform: none;
        box-shadow: 0 0 20px rgba(245, 166, 35, 0.2);
    }

    /* Feature Icons */
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    /* Stats */
    .stats {
        gap: 2rem;
        padding: 2rem 0;
        flex-direction: column;
    }

    .stat-item {
        padding: 1rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .pricing-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    .pricing-discount-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.75rem;
    }

    .price-new {
        font-size: 2.75rem;
    }

    .price-old {
        font-size: 1.25rem;
    }

    .pricing-features li {
        font-size: 0.95rem;
        padding: 0.65rem 0;
    }

    /* FAQ */
    .faq-container {
        padding: 0;
    }

    .faq-item {
        margin-bottom: 1rem;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1.05rem;
    }

    .faq-answer {
        font-size: 0.95rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.25rem 1.5rem;
    }

    /* Trusted Section */
    .trusted-section {
        padding: 2rem 1rem;
    }

    .trusted-logos {
        gap: 2rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    /* Phone Mockups */
    .app-showcase {
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .phone-mockup {
        max-width: 250px;
    }

    /* Footer */
    .footer {
        padding: 3rem 1rem 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section h3 {
        margin-bottom: 1rem;
    }

    .footer-links {
        padding: 0;
    }

    .footer-links li {
        margin-bottom: 0.6rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }

    .footer-bottom p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    /* Images - Responsive */
    img {
        max-width: 100%;
        height: auto;
    }

    .chart-container {
        margin-top: 2rem !important;
    }

    /* Utility Classes */
    .mt-3 {
        margin-top: 2rem;
    }

    .mb-2 {
        margin-bottom: 1.5rem;
    }

    /* Performance - Disable Heavy Animations */
    .swipe-element {
        opacity: 1;
        transform: none;
        transition: none;
    }

    * {
        transition-duration: 0.2s !important;
    }

    /* Affiliate & Dashboard Mobile Styles */
    .affiliate-hero {
        padding: 6rem 1rem 3rem;
        min-height: auto;
    }

    .auth-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .auth-btn {
        width: 100%;
    }

    .welcome-card {
        flex-direction: column-reverse;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .welcome-avatar img {
        width: 100px;
        height: 100px;
    }

    .welcome-content h1 {
        font-size: 1.75rem;
    }

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

    .stat-card {
        padding: 1.25rem 1.5rem;
    }

    .referral-card {
        padding: 2rem 1.5rem;
    }

    .referral-link-container {
        flex-direction: column;
    }

    .referral-input {
        text-align: center;
        font-size: 0.9rem;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-btn {
        width: 100%;
        justify-content: center;
    }

    .user-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }

    .user-name {
        display: none;
    }

    .activity-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .dashboard-main {
        padding-top: 5rem;
    }

    .dashboard-stats {
        padding: 1.5rem 1rem;
        margin-top: 0;
    }
}

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

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

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

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

.payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.payment-option {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 600;
}

.payment-option:hover,
.payment-option.active {
    background: rgba(245, 166, 35, 0.1);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.qr-display {
    text-align: center;
    margin: 2rem 0;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.qr-display img {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.wallet-address-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    word-break: break-all;
    font-family: monospace;
    font-size: 0.85rem;
    text-align: center;
    cursor: pointer;
    position: relative;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.wallet-address-box:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.wallet-address-box::after {
    content: 'Click to Copy';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    opacity: 0;
    transition: opacity 0.3s;
    color: var(--text-muted);
}

.wallet-address-box:hover::after {
    opacity: 1;
}

.checkout-form .form-group {
    margin-bottom: 1.5rem;
}

.checkout-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.checkout-form input {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-family: var(--font-primary);
    transition: border-color 0.3s;
}

.checkout-form input:focus {
    outline: none;
    border-color: var(--gold-primary);
}

/* Dashboard Grid Layout (Desktop) */
.dashboard-grid-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    margin-top: 2rem;
    padding-bottom: 4rem;
}

/* Sidebar Styles */
.dashboard-sidebar {
    display: block;
}

.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.help-widget {
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .dashboard-grid-layout {
        grid-template-columns: 1fr;
        /* Stack vertically on tablets and mobile */
    }

    .dashboard-sidebar {
        order: 2;
        /* Move sidebar to bottom on mobile */
    }
}