/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    min-height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: linear-gradient(135deg, #0a0a1a 0%, #121230 50%, #0d0d24 100%);
    color: #fff;
    overflow-x: hidden;
    position: relative;
}

/* Background effects */
.bg-effects {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

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

.orb-1 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, #00d4ff 0%, transparent 70%);
    top: -80px;
    left: -80px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #ff2d78 0%, transparent 70%);
    bottom: -120px;
    right: -100px;
    animation-delay: -4s;
}

.orb-3 {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, #7b2dff 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -8s;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
    -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Main container */
.container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    max-width: 720px;
    margin: 0 auto;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 48px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

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

.logo-text {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 3px;
    background: linear-gradient(90deg, #00d4ff, #7b2dff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.title-main {
    font-size: 42px;
    font-weight: 900;
    background: linear-gradient(180deg, #ffffff 0%, #a8d8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(0, 212, 255, 0.35);
}

.title-sub {
    font-size: 18px;
    font-weight: 600;
    color: #00d4ff;
    letter-spacing: 6px;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.intro {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
    margin: 0 auto;
}

/* Buttons */
.buttons {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 40px;
}

.live-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 28px;
    border-radius: 18px;
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.live-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.live-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.35),
        0 0 30px var(--glow-color, rgba(0, 212, 255, 0.3));
}

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

.live-btn > span {
    position: relative;
    z-index: 1;
}

.btn-icon {
    font-size: 26px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.btn-text {
    flex: 1;
}

.btn-arrow {
    font-size: 20px;
    opacity: 0.7;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.live-btn:hover .btn-arrow {
    transform: translateX(6px);
    opacity: 1;
}

/* Button variants */
.btn-hd {
    --glow-color: rgba(0, 212, 255, 0.4);
}

.btn-hd::before {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(0, 212, 255, 0.05) 100%);
}

.btn-hd .btn-icon {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.25);
}

.btn-free {
    --glow-color: rgba(0, 255, 136, 0.4);
}

.btn-free::before {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2) 0%, rgba(0, 255, 136, 0.05) 100%);
}

.btn-free .btn-icon {
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.25);
}

.btn-spider {
    --glow-color: rgba(123, 45, 255, 0.4);
}

.btn-spider::before {
    background: linear-gradient(135deg, rgba(123, 45, 255, 0.2) 0%, rgba(123, 45, 255, 0.05) 100%);
}

.btn-spider .btn-icon {
    box-shadow: 0 0 20px rgba(123, 45, 255, 0.25);
}

.btn-phoenix {
    --glow-color: rgba(255, 45, 120, 0.4);
}

.btn-phoenix::before {
    background: linear-gradient(135deg, rgba(255, 45, 120, 0.2) 0%, rgba(255, 45, 120, 0.05) 100%);
}

.btn-phoenix .btn-icon {
    box-shadow: 0 0 20px rgba(255, 45, 120, 0.25);
}

/* Footer */
.footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 480px) {
    .title-main {
        font-size: 32px;
    }

    .title-sub {
        font-size: 14px;
        letter-spacing: 4px;
    }

    .intro {
        font-size: 14px;
    }

    .live-btn {
        padding: 18px 22px;
        font-size: 16px;
    }

    .btn-icon {
        width: 38px;
        height: 38px;
        font-size: 22px;
    }
}

/* Loading pulse */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
