* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --tg-bg: #0a0a0a;
    --tg-secondary-bg: #121212;
    --tg-surface: #1a1a1a;
    --tg-accent: #00d4ff;
    --tg-accent-2: #7b2ff7;
    --tg-accent-3: #ff006e;
    --tg-text: #ffffff;
    --tg-text-secondary: #8e8e93;
    --tg-border: #2c2c2c;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    background: var(--tg-bg);
    color: var(--tg-text);
    min-height: 100vh;
    min-height: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Animated background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--tg-accent) 0%, transparent 70%);
    top: -150px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--tg-accent-2) 0%, transparent 70%);
    bottom: -200px;
    right: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--tg-accent-3) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(20px, 30px) scale(1.05);
    }
}

/* Running ticker */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--tg-border);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 10;
}

.ticker {
    display: flex;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}

.ticker-reverse {
    animation: ticker-reverse 35s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--tg-text-secondary);
    letter-spacing: 0.5px;
}

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

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

.bottom-ticker {
    border-top: 1px solid var(--tg-border);
    border-bottom: none;
}

.container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    position: relative;
    z-index: 1;
}

.hero {
    text-align: center;
    max-width: 480px;
    width: 100%;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    position: relative;
    backdrop-filter: blur(10px);
}

.badge-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(90deg, var(--tg-accent), var(--tg-accent-2), var(--tg-accent-3), var(--tg-accent));
    border-radius: 50px;
    opacity: 0.5;
    filter: blur(8px);
    z-index: -1;
    animation: glow-rotate 3s linear infinite;
    background-size: 200% 100%;
}

@keyframes glow-rotate {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

.title {
    font-size: clamp(36px, 10vw, 56px);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.gradient-text {
    display: inline-block;
    background: linear-gradient(135deg, #fff 0%, var(--tg-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-alt {
    display: inline-block;
    background: linear-gradient(135deg, var(--tg-accent-2) 0%, var(--tg-accent-3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: clamp(16px, 4vw, 19px);
    color: var(--tg-text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
    font-weight: 500;
}

/* Stats */
.stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 32px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.stat-item {
    flex: 1;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--tg-accent) 0%, var(--tg-accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--tg-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
}

/* Video section */
.video-container {
    margin: 0 auto 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.video-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle, var(--tg-accent) 0%, transparent 70%);
    opacity: 0.3;
    filter: blur(60px);
    z-index: -1;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

.video-circle {
    position: relative;
    width: clamp(280px, 70vw, 340px);
    height: clamp(280px, 70vw, 340px);
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(123, 47, 247, 0.1));
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.video-circle:active {
    transform: scale(0.95);
}

.video-circle video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rotating-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        var(--tg-accent) 90deg,
        var(--tg-accent-2) 180deg,
        var(--tg-accent-3) 270deg,
        transparent 360deg
    );
    animation: rotate 4s linear infinite;
    z-index: -1;
    opacity: 0.6;
}

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

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    z-index: 5;
}

.play-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.play-overlay:hover .play-icon {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--tg-accent);
    transform: scale(1.1);
}

.play-icon svg {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.play-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.unmute-button {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.unmute-button:hover {
    background: rgba(0, 0, 0, 0.85);
    border-color: var(--tg-accent);
    transform: scale(1.1);
}

.unmute-button .muted-icon,
.unmute-button .unmuted-icon {
    transition: all 0.3s ease;
}

.unmute-button .hidden {
    display: none;
}

/* CTA Button */
.cta-button {
    background: linear-gradient(135deg, var(--tg-accent) 0%, var(--tg-accent-2) 100%);
    color: var(--tg-text);
    border: none;
    padding: 20px 48px;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow:
        0 8px 32px rgba(0, 212, 255, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    margin-bottom: 32px;
    letter-spacing: 0.3px;
}

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

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

.cta-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 16px 48px rgba(0, 212, 255, 0.5),
        0 4px 16px rgba(0, 0, 0, 0.5);
}

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

.button-text,
.cta-button svg {
    position: relative;
    z-index: 1;
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(4px);
}

/* Features */
.features {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-width: 120px;
}

.feature:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 28px;
}

.feature-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--tg-text-secondary);
    text-align: center;
}

/* Footer */
.footer {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 32px 20px 24px;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-link {
    color: var(--tg-text-secondary);
    text-decoration: none;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-link:hover {
    color: var(--tg-accent);
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
}

.copyright {
    color: var(--tg-text-secondary);
    font-size: 12px;
    opacity: 0.6;
    text-align: center;
    letter-spacing: 0.3px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.fade-in-delay-1 {
    animation: fadeIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s forwards;
    opacity: 0;
}

.fade-in-delay-2 {
    animation: fadeIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards;
    opacity: 0;
}

.fade-in-delay-3 {
    animation: fadeIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
    opacity: 0;
}

.slide-up {
    animation: slideUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s forwards;
    opacity: 0;
}

/* Mobile optimizations */
@media (max-width: 480px) {
    .ticker-item {
        padding: 10px 20px;
        font-size: 13px;
    }

    .badge {
        font-size: 12px;
        padding: 6px 16px;
        margin-bottom: 20px;
    }

    .stats {
        gap: 16px;
        padding: 16px;
        margin-bottom: 28px;
    }

    .stat-value {
        font-size: 20px;
    }

    .stat-label {
        font-size: 11px;
    }

    .video-container {
        margin-bottom: 28px;
    }

    .play-icon {
        width: 70px;
        height: 70px;
    }

    .play-icon svg {
        width: 40px;
        height: 40px;
    }

    .cta-button {
        padding: 18px 40px;
        font-size: 16px;
        width: 100%;
        max-width: 100%;
        margin-bottom: 28px;
        justify-content: center;
    }

    .features {
        gap: 16px;
    }

    .feature {
        padding: 14px 16px;
        min-width: 100px;
    }

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

    .feature-text {
        font-size: 12px;
    }

    .footer {
        padding: 28px 16px 20px;
    }

    .footer-links {
        gap: 8px;
    }

    .footer-link {
        font-size: 12px;
        padding: 8px 12px;
    }
}

@media (max-width: 360px) {
    .stats {
        gap: 12px;
        padding: 14px;
    }

    .stat-value {
        font-size: 18px;
    }

    .stat-divider {
        height: 25px;
    }
}

/* Landscape mobile */
@media (max-height: 700px) and (orientation: landscape) {
    .badge {
        margin-bottom: 16px;
    }

    .title {
        margin-bottom: 12px;
    }

    .subtitle {
        margin-bottom: 16px;
    }

    .stats {
        margin-bottom: 20px;
        padding: 14px;
    }

    .video-circle {
        width: 220px;
        height: 220px;
    }

    .video-container {
        margin-bottom: 20px;
    }

    .cta-button {
        margin-bottom: 20px;
        padding: 16px 40px;
    }

    .features {
        gap: 16px;
    }

    .feature {
        padding: 12px 16px;
    }
}

/* Prevent horizontal scroll */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        position: relative;
    }
}
