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

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a24;
    --bg-elevated: #22222e;
    --text-primary: #ffffff;
    --text-secondary: #b4b4c0;
    --text-muted: #6b6b7b;
    --accent-red: #ff2d55;
    --accent-orange: #ff6b35;
    --accent-gradient: linear-gradient(135deg, #ff2d55 0%, #ff6b35 100%);
    --accent-gradient-hover: linear-gradient(135deg, #ff1a47 0%, #ff5722 100%);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --shadow-glow: 0 0 40px rgba(255, 45, 85, 0.3);
    --max-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 45, 85, 0.35);
}

.btn-primary:hover {
    background: var(--accent-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 45, 85, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* ========== Navigation ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.9);
    border-bottom-color: var(--border-color);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
}

.logo-mark {
    width: 36px;
    height: 36px;
    background: var(--accent-gradient);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    color: white;
    letter-spacing: -0.5px;
    box-shadow: 0 4px 15px rgba(255, 45, 85, 0.3);
}

.logo-text {
    background: linear-gradient(135deg, #fff 0%, #b4b4c0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all 0.2s;
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-red);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

/* ========== Hero Section ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-grid {
    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: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 45, 85, 0.15) 0%, transparent 60%);
    filter: blur(80px);
    animation: glow-pulse 6s ease-in-out infinite;
}

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

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
    animation: fadeUp 1s ease-out;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-red);
    box-shadow: 0 0 10px var(--accent-red);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: clamp(40px, 7vw, 80px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
}

.title-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-subtitle {
    font-size: clamp(15px, 2vw, 18px);
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle strong {
    color: var(--text-primary);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 40px;
    padding: 24px 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.stat-num {
    font-size: 32px;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
    animation: fadeUp 1s 0.5s ease-out backwards;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--text-muted));
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, transparent, white);
    animation: scroll-down 2s infinite;
}

@keyframes scroll-down {
    to { top: 100%; }
}

/* ========== Sections ========== */
section {
    position: relative;
    padding: 120px 24px;
}

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--accent-red);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== About Section ========== */
.about {
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-heading {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.8;
}

.about-text strong {
    color: var(--accent-orange);
    font-weight: 600;
}

.about-features {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 45, 85, 0.1);
    color: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 45, 85, 0.2);
}

.feature h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    position: relative;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 3/4;
    border-radius: 24px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.visual-card:hover {
    transform: translateY(-8px);
}

.visual-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at top right, rgba(255, 45, 85, 0.3), transparent 60%),
        radial-gradient(ellipse at bottom left, rgba(255, 107, 53, 0.2), transparent 60%);
}

.visual-content {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
}

.visual-logo {
    width: 100px;
    height: 100px;
    background: var(--accent-gradient);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 800;
    color: white;
    box-shadow: 0 20px 50px rgba(255, 45, 85, 0.4);
    margin-bottom: 8px;
}

.visual-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    padding: 4px;
    background: var(--accent-gradient);
    box-shadow: 0 20px 50px rgba(255, 45, 85, 0.4);
    margin-bottom: 8px;
}

.visual-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-card);
}

.visual-name {
    font-size: 28px;
    font-weight: 700;
}

.visual-tag {
    font-size: 13px;
    color: var(--accent-orange);
    font-weight: 500;
}

.visual-id {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    margin-top: 4px;
}

.visual-platform {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 12px;
}

/* ========== Videos Section ========== */
.channel-panel {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 32px;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.channel-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 40%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255, 45, 85, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.channel-avatar {
    width: 88px;
    height: 88px;
    flex-shrink: 0;
    border-radius: 50%;
    padding: 3px;
    background: var(--accent-gradient);
    position: relative;
    z-index: 1;
}

.channel-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-card);
}

.channel-meta {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.channel-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.channel-verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: white;
}

.channel-id {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.channel-stats {
    display: flex;
    gap: 28px;
}

.cs-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cs-item strong {
    font-size: 20px;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.cs-item span {
    font-size: 12px;
    color: var(--text-muted);
}

.channel-follow {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.video-avatar {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.video-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    line-height: 1.4;
}

.video-tag-normal {
    background: rgba(0, 0, 0, 0.6) !important;
    color: white !important;
    box-shadow: none !important;
}

.video-card {
    position: relative;
    aspect-ratio: 9/16;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 45, 85, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.video-thumb {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-thumb-bg {
    position: absolute;
    inset: 0;
    opacity: 0.6;
}

.video-thumb-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, var(--thumb-color-1, #ff2d55) 0%, transparent 60%),
                radial-gradient(circle at 70% 70%, var(--thumb-color-2, #ff6b35) 0%, transparent 60%);
}

.video-thumb-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.85);
}

.video-card:hover .video-thumb-img {
    transform: scale(1.05);
    filter: brightness(0.95);
}

.v-views {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: rgba(255, 45, 85, 0.9);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    color: white;
}

.v-tag {
    display: inline-block;
    margin-right: 4px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    z-index: 2;
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s;
}

.video-card:hover .video-play {
    background: var(--accent-gradient);
    border-color: transparent;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.video-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--text-secondary);
}

.video-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.video-index {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
}

.video-cta {
    text-align: center;
    margin-top: 48px;
}

.video-cta-hint {
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.video-featured {
    border: 1px solid rgba(255, 45, 85, 0.4);
    box-shadow: 0 0 0 1px rgba(255, 45, 85, 0.1), 0 20px 50px rgba(255, 45, 85, 0.15);
}

.video-tag-featured {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    background: var(--accent-gradient);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 2;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 45, 85, 0.4);
}

/* ========== Downloads Section ========== */
.downloads {
    background: var(--bg-secondary);
}

.download-featured {
    position: relative;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 64px;
    overflow: hidden;
}

.download-featured::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255, 45, 85, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 45, 85, 0.15);
    border: 1px solid rgba(255, 45, 85, 0.3);
    color: var(--accent-red);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.badge-pulse {
    width: 6px;
    height: 6px;
    background: var(--accent-red);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
    box-shadow: 0 0 10px var(--accent-red);
}

.featured-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 32px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.featured-icon {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    background: var(--accent-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(255, 45, 85, 0.3);
}

.featured-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.featured-info p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 16px;
}

.featured-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.featured-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.action-hint {
    font-size: 12px;
    color: var(--text-muted);
}

.list-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-secondary);
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.resource-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s;
}

.resource-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-elevated);
    transform: translateY(-2px);
}

.resource-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-content {
    flex: 1;
    min-width: 0;
}

.resource-content h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.resource-content p {
    font-size: 13px;
    color: var(--text-muted);
}

.resource-btn {
    flex-shrink: 0;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    font-size: 12px;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.resource-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

/* ========== Contact Section ========== */
.contact-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 64px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 60%;
    height: 160%;
    background: radial-gradient(ellipse, rgba(255, 45, 85, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.contact-info {
    position: relative;
    z-index: 1;
}

.contact-info .section-header {
    text-align: left;
    margin-bottom: 32px;
}

.contact-info .section-desc {
    margin-left: 0;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-value {
    font-size: 15px;
    font-weight: 500;
}

.contact-qr {
    position: relative;
    z-index: 1;
    text-align: center;
}

.qr-image {
    width: 220px;
    height: 220px;
    margin: 0 auto 16px;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    padding: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.qr-image:hover {
    transform: scale(1.03);
}

.qr-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.qr-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.qr-label strong {
    color: var(--text-primary);
    font-weight: 600;
}

.qr-sub {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* ========== Footer ========== */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 64px 24px 32px;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 64px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 16px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    padding: 4px 0;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

/* ========== Reveal Animations ========== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
    .nav-menu {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 16px;
        border-top: 1px solid var(--border-color);
        transform: translateY(-120%);
        transition: transform 0.3s;
    }

    .nav-menu.open {
        transform: translateY(0);
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 14px 16px;
        border-radius: 8px;
    }

    .nav-toggle {
        display: flex;
    }

    .about-grid,
    .contact-card {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-card {
        padding: 40px 24px;
    }

    .contact-info .section-header {
        text-align: center;
    }

    .featured-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .featured-info {
        text-align: center;
    }

    .featured-meta {
        justify-content: center;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .hero-stats {
        gap: 20px;
        padding: 20px 24px;
    }

    .stat-num {
        font-size: 24px;
    }

    section {
        padding: 80px 20px;
    }

    .channel-panel {
        flex-wrap: wrap;
        padding: 24px;
        gap: 16px;
        text-align: center;
        justify-content: center;
    }

    .channel-avatar {
        width: 72px;
        height: 72px;
    }

    .channel-meta {
        flex: 1 1 100%;
    }

    .channel-stats {
        justify-content: center;
        gap: 24px;
    }

    .channel-follow {
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .hero {
        padding-top: 100px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 60%;
        height: 1px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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

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

    .featured-icon {
        width: 72px;
        height: 72px;
    }

    .contact-card {
        padding: 32px 20px;
    }
}
