/* ============================================
   美职篮：绝对巨星 - 响应式手游官网样式
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #e63946;
    --primary-light: #ff6b6b;
    --primary-dark: #c1121f;
    --accent: #f4a261;
    --accent-light: #ffb703;
    --bg-dark: #0d1117;
    --bg-card: #161b22;
    --bg-card-hover: #1c2333;
    --text-primary: #ffffff;
    --text-secondary: #c9d1d9;
    --text-muted: #8b949e;
    --border-color: #30363d;
    --gradient-hero: linear-gradient(135deg, #c1121f 0%, #e63946 50%, #f4a261 100%);
    --gradient-card: linear-gradient(145deg, #161b22 0%, #1c2333 100%);
    --gradient-button: linear-gradient(135deg, #e63946 0%, #f4a261 100%);
    --shadow-sm: 0 2px 8px rgba(230, 57, 70, 0.15);
    --shadow-md: 0 4px 20px rgba(230, 57, 70, 0.2);
    --shadow-lg: 0 8px 40px rgba(230, 57, 70, 0.3);
    --shadow-glow: 0 0 30px rgba(230, 57, 70, 0.4);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(230, 57, 70, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(244, 162, 97, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(255, 183, 3, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(230, 57, 70, 0.15);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(13, 17, 23, 0.95);
    box-shadow: var(--shadow-lg);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(230, 57, 70, 0.2);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 26px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

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

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(13, 17, 23, 0.4) 0%,
        rgba(13, 17, 23, 0.65) 50%,
        rgba(13, 17, 23, 0.95) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(230, 57, 70, 0.2);
    border: 1px solid rgba(230, 57, 70, 0.3);
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: var(--primary-light);
}

.hero-icon-gif {
    width: 24px;
    height: 24px;
    border-radius: 6px;
}

.hero-title {
    margin-bottom: 16px;
}

.title-main {
    display: block;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #c9d1d9 50%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.title-sub {
    display: block;
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: var(--accent-light);
    font-weight: 500;
    margin-top: 8px;
}

.hero-desc {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.hero-date {
    font-size: 1.05rem;
    color: var(--accent);
    margin-bottom: 36px;
    animation: pulse 2s infinite;
}

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

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 电脑端：下载按钮 hover 展示二维码 */
.btn-qr-wrapper {
    position: relative;
    display: inline-block;
}

.btn-qr-popup {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 100;
    box-shadow: var(--shadow-lg);
}

.btn-qr-popup::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--border-color);
}

.btn-qr-wrapper:hover .btn-qr-popup {
    opacity: 1;
    visibility: visible;
}

.btn-qr-inner {
    width: 140px;
    height: 140px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    margin: 0 auto;
}

.btn-qr-inner canvas,
.btn-qr-inner img {
    display: block;
}

.btn-qr-popup p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 8px;
    white-space: nowrap;
}

/* 移动端隐藏 hover 二维码 */
@media (max-width: 768px) {
    .btn-qr-popup {
        display: none;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-button);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(230, 57, 70, 0.6);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-light);
    box-shadow: 0 0 10px rgba(230, 57, 70, 0.6);
    width: 28px;
    border-radius: 5px;
}

/* ---------- Sections ---------- */
.section {
    padding: 100px 0;
    position: relative;
}

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

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff, #c9d1d9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--gradient-button);
    margin: 0 auto 16px;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ---------- About Section ---------- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-intro {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
}

.about-highlights {
    display: grid;
    gap: 20px;
}

.highlight-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.highlight-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.highlight-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 57, 70, 0.15);
    border-radius: var(--radius-sm);
}

.highlight-info h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.highlight-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(230, 57, 70, 0.2);
    border-radius: var(--radius-lg);
    pointer-events: none;
    z-index: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* ---------- Info Cards ---------- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.info-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.info-card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.info-card h3 {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.info-card p {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.card-badge {
    display: inline-block;
    background: rgba(230, 57, 70, 0.2);
    color: var(--primary-light);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    position: relative;
    z-index: 1;
}

/* ---------- Features Section ---------- */
.features {
    background: linear-gradient(180deg, transparent 0%, rgba(230, 57, 70, 0.03) 50%, transparent 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-image {
    height: 220px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.08);
}

.feature-body {
    padding: 24px;
}

.feature-body h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---------- Gallery Section ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 9 / 16;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 17, 23, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ---------- Welfare Section ---------- */
.welfare {
    background: linear-gradient(180deg, rgba(230, 57, 70, 0.03) 0%, transparent 50%, rgba(244, 162, 97, 0.03) 100%);
}

.welfare-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.welfare-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.welfare-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.welfare-card.highlight-card {
    background: linear-gradient(145deg, #1c1a18 0%, #2d1a1c 100%);
    border-color: rgba(230, 57, 70, 0.4);
}

.welfare-badge {
    position: absolute;
    top: 16px;
    right: -30px;
    background: var(--accent);
    color: #161b22;
    padding: 6px 40px;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(30deg);
    z-index: 1;
}

.welfare-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.welfare-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.welfare-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* ---------- Guide Section ---------- */
.guide {
    background: linear-gradient(180deg, transparent 0%, rgba(230, 57, 70, 0.03) 50%, transparent 100%);
}

.guide-content {
    max-width: 900px;
    margin: 0 auto;
}

.guide-block {
    margin-bottom: 48px;
}

.guide-block:last-of-type {
    margin-bottom: 32px;
}

.guide-block-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.guide-block-title small {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
}

.guide-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--gradient-button);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.guide-cards {
    display: grid;
    gap: 16px;
}

.guide-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition);
}

.guide-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.guide-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.guide-card-icon {
    font-size: 1.5rem;
}

.guide-card-header h4 {
    font-size: 1.05rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.guide-tag {
    font-size: 0.75rem;
    padding: 2px 10px;
    border-radius: 12px;
    font-weight: 500;
    background: rgba(230, 57, 70, 0.15);
    color: var(--primary-light);
}

.guide-tag.recommend {
    background: rgba(244, 162, 97, 0.15);
    color: var(--accent-light);
}

.guide-tag.hot {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.guide-card > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.guide-card > p:last-child {
    margin-bottom: 0;
}

.guide-sub-items {
    margin-top: 12px;
    display: grid;
    gap: 10px;
}

.guide-sub-item {
    background: rgba(230, 57, 70, 0.05);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    border-left: 3px solid rgba(230, 57, 70, 0.3);
}

.guide-sub-item strong {
    color: var(--primary-light);
}

/* Summary */
.guide-summary {
    display: grid;
    gap: 12px;
}

.summary-item {
    display: flex;
    gap: 16px;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    align-items: flex-start;
    transition: var(--transition);
}

.summary-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.summary-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-button);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.summary-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    flex: 1;
}

.summary-item strong {
    color: var(--text-primary);
}

/* Notice */
.guide-notice {
    display: flex;
    gap: 14px;
    background: rgba(244, 162, 97, 0.08);
    border: 1px solid rgba(244, 162, 97, 0.2);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    align-items: flex-start;
}

.notice-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.guide-notice p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    flex: 1;
}

/* ---------- Download Section ---------- */
.download-content {
    max-width: 800px;
    margin: 0 auto;
}

.download-card {
    display: flex;
    gap: 48px;
    align-items: center;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 48px;
    margin-bottom: 32px;
}

.download-qr {
    text-align: center;
    flex-shrink: 0;
}

.qr-placeholder {
    width: 160px;
    height: 160px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 12px;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.qr-placeholder canvas,
.qr-placeholder img {
    display: block;
}

.qr-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.download-qr p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.download-platforms h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.platform-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.platform-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.platform-icon {
    font-size: 1.4rem;
}

.ios-btn {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.ios-btn:hover {
    background: linear-gradient(135deg, #2a2a3e, #26315e);
    transform: translateX(5px);
}

.android-btn {
    background: linear-gradient(135deg, #1a2e1a, #0d3310);
    color: #fff;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.android-btn:hover {
    background: linear-gradient(135deg, #2a3e2a, #1d4320);
    transform: translateX(5px);
}

.apk-btn {
    background: linear-gradient(135deg, #2e1a1a, #4a1919);
    color: #fff;
    border: 1px solid rgba(230, 57, 70, 0.3);
}

.apk-btn:hover {
    background: linear-gradient(135deg, #3e2a2a, #5a2929);
    transform: translateX(5px);
}

.download-info {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.info-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    color: var(--text-primary);
}

/* ---------- Footer ---------- */
.footer {
    background: rgba(13, 17, 23, 0.8);
    border-top: 1px solid var(--border-color);
    padding: 48px 0 32px;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}

.footer-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.footer-logo span {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    background: rgba(230, 57, 70, 0.1);
}

.footer-friends {
    margin-bottom: 28px;
}

.footer-friends h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.friends-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.friends-links a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    transition: var(--transition);
}

.friends-links a:hover {
    color: var(--primary-light);
    background: rgba(230, 57, 70, 0.1);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.footer-copy p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.footer-tagline {
    color: var(--primary-light) !important;
    font-size: 0.9rem !important;
}

/* ---------- Modal ---------- */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius-md);
    object-fit: contain;
    box-shadow: 0 0 60px rgba(230, 57, 70, 0.3);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 36px;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2001;
}

.modal-close:hover {
    color: var(--primary-light);
    transform: scale(1.1);
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-button);
    color: #fff;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

/* ---------- Scroll Animations ---------- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet: 768px - 1024px */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

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

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

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

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

/* Mobile: < 768px */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: rgba(13, 17, 23, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 32px 32px;
        transition: right 0.4s ease;
        border-left: 1px solid var(--border-color);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 14px 16px;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        min-height: 600px;
    }

    .section {
        padding: 60px 0;
    }

    .cards-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .info-card {
        padding: 24px 16px;
    }

    .info-card p {
        font-size: 1.1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-image {
        height: 180px;
    }

    .welfare-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .download-card {
        flex-direction: column;
        padding: 32px 24px;
        gap: 32px;
    }

    .download-qr {
        display: none;
    }

    .platform-buttons {
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-qr-wrapper {
        width: 100%;
        max-width: 280px;
    }

    .btn-qr-wrapper .btn {
        width: 100%;
        max-width: 100%;
    }

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

/* Small Mobile: < 480px */
@media (max-width: 480px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .download-card {
        padding: 24px 16px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
    }

    .friends-links {
        flex-direction: column;
        align-items: center;
    }

    .friends-links a {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
}
