/* ========================================
   YoForex Gold - Premium Landing Page
   Telegram-Style Trading Channel Promo
   ======================================== */

/* CSS Variables */
:root {
    --bg-dark: #0a0e17;
    --bg-darker: #060810;
    --card-bg: rgba(15, 22, 36, 0.95);
    --card-border: rgba(212, 175, 55, 0.3);
    --gold-primary: #d4af37;
    --gold-light: #f4d03f;
    --gold-dark: #b8860b;
    --gold-glow: rgba(212, 175, 55, 0.4);
    --telegram-blue: #0088cc;
    --telegram-blue-light: #00a8e8;
    --telegram-blue-dark: #006999;
    --text-white: #ffffff;
    --text-gray: #a8b2c1;
    --text-light-gray: #6b7a90;
    --neon-green: #00ff88;
    --neon-cyan: #00f0ff;
    --success-green: #22c55e;
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-white);
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    position: relative;
}

/* Background with Trading Chart */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

#tradingChart {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 136, 204, 0.06) 0%, transparent 40%),
        radial-gradient(ellipse at 20% 90%, rgba(0, 255, 136, 0.04) 0%, transparent 40%),
        linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 50%, var(--bg-darker) 100%);
}

/* Floating Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--gold-primary);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle 8s infinite ease-in-out;
}

@keyframes floatParticle {

    0%,
    100% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(1);
    }
}

/* Telegram Header */
.telegram-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: linear-gradient(180deg, rgba(10, 14, 23, 0.98) 0%, rgba(10, 14, 23, 0.9) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.telegram-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-white);
    font-size: 1.25rem;
    font-weight: 600;
}

.telegram-logo svg {
    width: 32px;
    height: 32px;
    color: var(--telegram-blue);
}

.download-btn {
    background: linear-gradient(135deg, var(--telegram-blue) 0%, var(--telegram-blue-light) 100%);
    color: white;
    padding: 10px 24px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(0, 136, 204, 0.4);
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 136, 204, 0.5);
}

/* Main Container */
.container {
    position: relative;
    z-index: 10;
    max-width: 420px;
    margin: 0 auto;
    padding: 52px 12px 8px;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    overflow: hidden;
}

/* Main Card */
.card {
    position: relative;
    width: 100%;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 16px 18px 14px;
    border: 1px solid var(--card-border);
    box-shadow:
        0 0 60px rgba(212, 175, 55, 0.1),
        0 25px 50px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg,
            transparent 0deg,
            rgba(212, 175, 55, 0.15) 60deg,
            transparent 120deg,
            rgba(0, 136, 204, 0.1) 180deg,
            transparent 240deg,
            rgba(212, 175, 55, 0.15) 300deg,
            transparent 360deg);
    animation: rotateGlow 10s linear infinite;
    pointer-events: none;
}

@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Logo Section */
.logo-container {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.5));
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {

    0%,
    100% {
        filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
    }

    50% {
        filter: drop-shadow(0 0 35px rgba(212, 175, 55, 0.8));
    }
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes glowPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.9;
    }
}

.logo-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-top-color: var(--gold-primary);
    border-right-color: var(--gold-light);
    border-radius: 50%;
    animation: spinRing 4s linear infinite;
    z-index: 3;
    opacity: 0.6;
}

@keyframes spinRing {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Main Heading */
.main-heading {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 4px;
    background: linear-gradient(135deg, var(--text-white) 0%, var(--gold-light) 50%, var(--text-white) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

/* Subscriber Count */
.subscriber-count {
    text-align: center;
    color: #22c55e;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}

.wave {
    display: inline-block;
    animation: wave 2s ease-in-out infinite;
    transform-origin: 70% 70%;
}

@keyframes wave {

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

    10% {
        transform: rotate(14deg);
    }

    20% {
        transform: rotate(-8deg);
    }

    30% {
        transform: rotate(14deg);
    }

    40% {
        transform: rotate(-4deg);
    }

    50% {
        transform: rotate(10deg);
    }

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

/* Services Section */
.services-section {
    text-align: center;
    margin-bottom: 10px;
}

.services-intro {
    color: var(--text-gray);
    font-size: 0.8rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.services-list {
    list-style: none;
    text-align: left;
    margin-bottom: 8px;
}

.services-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    color: var(--text-white);
    font-size: 0.78rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.services-list li:last-child {
    border-bottom: none;
}

.services-list li:hover {
    padding-left: 8px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
}

.service-icon {
    font-size: 0.9rem;
    filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.4));
    min-width: 18px;
    text-align: center;
}

.join-text {
    color: var(--text-gray);
    font-size: 0.8rem;
    margin: 8px 0;
    font-weight: 500;
    text-align: center;
}

/* CTA Button */
.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 220px;
    margin: 0 auto 10px;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--telegram-blue) 0%, var(--telegram-blue-light) 50%, var(--telegram-blue) 100%);
    background-size: 200% 200%;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0, 136, 204, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    animation: gradientShift 3s ease infinite;
    transition: all 0.3s ease;
    text-align: center;
}

@keyframes gradientShift {

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

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

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 12px 40px rgba(0, 136, 204, 0.5),
        0 0 60px rgba(0, 136, 204, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.cta-button:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.btn-text {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Disclaimer */
.disclaimer {
    text-align: center;
    color: var(--text-light-gray);
    font-size: 0.65rem;
    line-height: 1.4;
    font-style: italic;
    padding: 0 5px;
    opacity: 0.8;
}

/* Bottom Info */
.bottom-info {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.75rem;
    line-height: 1.4;
}

.bottom-info strong {
    color: var(--text-white);
}

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

/* Responsive Design */
@media (max-width: 380px) {
    .container {
        padding: 48px 10px 6px;
    }

    .card {
        padding: 12px 14px 10px;
        border-radius: 16px;
    }

    .main-heading {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .services-list li {
        font-size: 0.72rem;
        padding: 3px 0;
    }

    .logo-container {
        width: 60px;
        height: 60px;
        margin-bottom: 8px;
    }

    .logo {
        width: 55px;
        height: 55px;
    }

    .services-intro,
    .join-text {
        font-size: 0.72rem;
    }

    .cta-button {
        padding: 10px 24px;
        max-width: 180px;
    }

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

    .disclaimer {
        font-size: 0.58rem;
    }

    .bottom-info {
        font-size: 0.68rem;
    }
}

@media (min-width: 768px) {
    .container {
        padding-top: 60px;
    }

    .card {
        padding: 24px 28px;
    }

    .main-heading {
        font-size: 1.5rem;
    }

    .logo-container {
        width: 90px;
        height: 90px;
    }

    .logo {
        width: 85px;
        height: 85px;
    }

    .services-list li {
        font-size: 0.9rem;
        padding: 6px 0;
    }
}

/* Premium Animations on Load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.8s ease-out;
}

.logo-container {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.main-heading {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.services-section {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.cta-button {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.disclaimer {
    animation: fadeInUp 0.8s ease-out 1s both;
}

.bottom-info {
    animation: fadeInUp 0.8s ease-out 1.2s both;
}

/* Selection Color */
::selection {
    background: var(--gold-primary);
    color: var(--bg-dark);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-primary);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}