:root {
    --bg-dark: #0a0e17;
    --bg-darker: #05070b;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-hover: rgba(255, 255, 255, 0.08);
    --border-color: rgba(255, 255, 255, 0.08);
    --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --accent-color: #3b82f6;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: 1px solid rgba(255, 255, 255, 0.05);
    --container-width: 1200px;
}

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

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Effects */
.background-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 15% 15%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 85%, rgba(139, 92, 246, 0.08) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    background: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: var(--glass-border);
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 900;
    color: #fff;
}

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

.main-nav {
    display: none;
}

/* Hidden on mobile */

.header-actions {
    display: flex;
    gap: 10px;
}

.btn-login,
.btn-register {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-login {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-register {
    background: var(--accent-color);
    color: #fff;
    border: none;
}

.btn-login:hover {
    border-color: #fff;
}

.btn-register:hover {
    background: #2563eb;
}

/* Hero Section */
.hero-section {
    padding-top: 100px;
    padding-bottom: 40px;
    position: relative;
}

.hero-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero-content h1 {
    font-size: 36px;
    line-height: 1.2;
    font-weight: 900;
    margin-bottom: 16px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
}

.feature-list li {
    font-size: 14px;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.check {
    color: #10b981;
    font-weight: bold;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

.btn-lg {
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--accent-color);
    color: #fff;
    border: none;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-image-wrapper {
    position: relative;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.model-img {
    height: 100%;
    object-fit: contain;
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.floating-card {
    position: absolute;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(8px);
    padding: 10px 16px;
    border-radius: 12px;
    border: var(--glass-border);
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 40%;
    right: 10%;
    animation-delay: 1.5s;
}

@keyframes float {

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

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

/* Channels Section */
.channels-section {
    padding: 40px 0;
}

.section-title {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    margin: 8px auto 0;
    border-radius: 2px;
}

.channel-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.channel-card {
    background: var(--card-bg);
    border: var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.channel-card:hover {
    background: var(--card-hover);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.card-icon {
    width: 150px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 16px;
}

.mk-icon {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
}

.ky-icon {
    color: #34d399;
    background: rgba(52, 211, 153, 0.1);
}

.hth-icon {
    color: #a78bfa;
    background: rgba(167, 139, 250, 0.1);
}

.ob-icon {
    color: #f472b6;
    background: rgba(244, 114, 182, 0.1);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}

.card-body h3 {
    font-size: 20px;
    margin-bottom: 6px;
}

.card-body .highlight {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tags span {
    font-size: 12px;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    color: var(--text-muted);
}

.card-footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 600;
}

/* Advantages Section */
.advantages-section {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.02);
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.adv-item {
    background: var(--card-bg);
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    border: var(--glass-border);
}

.adv-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.adv-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.adv-item p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Partners Section */
.partners-section {
    padding: 60px 0;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    opacity: 0.6;
}

.partner-logo {
    font-size: 18px;
    font-weight: 900;
    color: var(--text-muted);
    border: 2px solid var(--text-muted);
    padding: 10px 20px;
    border-radius: 8px;
    text-transform: uppercase;
}

/* Footer */
.main-footer {
    background: var(--bg-darker);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-col p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 12px;
    color: var(--text-muted);
}

/* FAB */
.fab-service {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: var(--accent-color);
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    cursor: pointer;
    z-index: 90;
    transition: transform 0.2s;
}

.fab-service:hover {
    transform: translateY(-2px);
}

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

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

.modal-content {
    background: #1e293b;
    width: 90%;
    max-width: 400px;
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: var(--text-secondary);
    cursor: pointer;
}

.modal h2 {
    margin-bottom: 10px;
    font-size: 20px;
}

.modal p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
}

/* Slider Verify */
.verify-box {
    background: #0f172a;
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 16px;
}

#sliderContainer {
    position: relative;
    width: 100%;
    height: 48px;
    background: #334155;
    border-radius: 6px;
    overflow: hidden;
    user-select: none;
}

#slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 48px;
    background: var(--accent-color);
    border-radius: 6px;
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 3;
}

#slider::after {
    content: "→";
    color: white;
    font-weight: bold;
    font-size: 18px;
}

#slider.success {
    background: #10b981;
}

#slider.success::after {
    content: "✓";
}

#sliderText {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 1;
}

.verify-status {
    height: 20px;
    font-size: 12px;
    color: #10b981;
}

/* PC Responsive Styles */
@media (min-width: 768px) {
    .main-nav {
        display: block;
    }

    .main-nav ul {
        display: flex;
        list-style: none;
        gap: 30px;
    }

    .main-nav a {
        color: var(--text-secondary);
        text-decoration: none;
        font-size: 15px;
        font-weight: 500;
        transition: color 0.2s;
    }

    .main-nav a:hover,
    .main-nav a.active {
        color: #fff;
    }

    .hero-section {
        padding-top: 140px;
        padding-bottom: 80px;
    }

    .hero-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .hero-content {
        max-width: 50%;
    }

    .hero-content h1 {
        font-size: 56px;
    }

    .hero-content .subtitle {
        font-size: 18px;
    }

    .hero-image-wrapper {
        height: 500px;
        width: 45%;
    }

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

    .advantages-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .channel-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}