/* U7777 APK Platform - Modern App Store Design */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Primary Colors */
    --primary-color: #6C5CE7;
    --primary-color-light: #A29BFE;
    --primary-color-dark: #5A4BD1;
    --primary-color-darker: #4834B5;
    --primary-shadow: rgba(108, 92, 231, 0.3);

    /* Secondary Colors (CTA / Download) */
    --secondary-color: #00B894;
    --secondary-color-light: #55EFC4;
    --secondary-color-dark: #00A381;
    --secondary-shadow: rgba(0, 184, 148, 0.3);

    /* Accent Colors */
    --accent-color: #FD79A8;
    --accent-color-dark: #E84393;
    --warning-color: #FDCB6E;
    --danger-color: #FF7675;
    --info-color: #74B9FF;

    /* Neutrals */
    --bg-color: #F8F9FA;
    --bg-dark: #1A1A2E;
    --bg-darker: #16213E;
    --surface-color: #FFFFFF;
    --surface-dark: #0F3460;
    --text-color: #2D3436;
    --text-secondary: #636E72;
    --text-muted: #B2BEC3;
    --border-color: #E9ECEF;
    --border-color-light: #F1F3F5;
    --white: #FFFFFF;
    --rating-color: #F9CA24;

    /* Transparent overlays */
    --primary-bg-light: rgba(108, 92, 231, 0.08);
    --secondary-bg-light: rgba(0, 184, 148, 0.08);
    --accent-bg-light: rgba(253, 121, 168, 0.08);
}

/* Dark mode */
[data-theme="dark"] {
    --bg-color: #1A1A2E;
    --surface-color: #16213E;
    --text-color: #E8E8E8;
    --text-secondary: #B0B0B0;
    --text-muted: #777;
    --border-color: #2A2A4A;
    --border-color-light: #252545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    padding-top: 70px;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 80px;
}

/* ========== HEADER ========== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 0 24px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

[data-theme="dark"] header {
    background: var(--bg-darker);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.logo-container a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-color);
}

.logo {
    height: 42px;
    width: auto;
    border-radius: 10px;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
    background: var(--primary-bg-light);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--surface-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s ease;
}

.theme-toggle:hover {
    background: var(--primary-bg-light);
    border-color: var(--primary-color);
}

.auth-buttons {
    display: flex;
    gap: 8px;
}

.auth-btn {
    padding: 8px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.signin-btn {
    color: var(--primary-color);
    background: var(--primary-bg-light);
}

.signin-btn:hover {
    background: rgba(108, 92, 231, 0.15);
}

.signup-btn {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
    box-shadow: 0 4px 15px var(--primary-shadow);
}

.signup-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--primary-shadow);
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.burger-menu span {
    width: 24px;
    height: 2.5px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========== HERO SECTION ========== */
.hero-section {
    background: linear-gradient(135deg, #6C5CE7 0%, #A29BFE 50%, #74B9FF 100%);
    padding: 60px 24px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: hero-glow 8s ease-in-out infinite;
}

@keyframes hero-glow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5%, -5%); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-search {
    max-width: 500px;
    margin: 0 auto 32px;
    position: relative;
}

.hero-search input {
    width: 100%;
    padding: 16px 24px 16px 52px;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    outline: none;
    color: var(--text-color);
}

.hero-search .search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--text-muted);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
    color: white;
}

.hero-stat-value {
    font-size: 28px;
    font-weight: 800;
    display: block;
}

.hero-stat-label {
    font-size: 13px;
    opacity: 0.85;
    font-weight: 500;
}

/* ========== ACTION BUTTONS ========== */
.action-buttons-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    flex-wrap: wrap;
    margin-top: -40px;
    position: relative;
    z-index: 3;
}

.action-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.action-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.action-button.download {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-color-dark));
}

.action-button.play {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
}

.action-button.bonus {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color-dark));
}

/* ========== MAIN CONTAINER ========== */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== SECTION HEADERS ========== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 48px 0 24px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title .icon {
    font-size: 24px;
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.view-all-link:hover {
    background: var(--primary-bg-light);
}

/* ========== APP CARDS (Grid Layout) ========== */
.app-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.app-card {
    background: var(--surface-color);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
}

.app-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color-light);
}

.app-card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.app-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.app-info {
    flex: 1;
    min-width: 0;
}

.app-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-version {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.app-description {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 14px;
}

.app-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
}

.app-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--rating-color);
    font-weight: 600;
}

.app-rating .stars {
    letter-spacing: -1px;
}

.app-rating .rating-value {
    color: var(--text-secondary);
    font-weight: 500;
}

.app-size {
    color: var(--text-muted);
    font-weight: 500;
    background: var(--border-color-light);
    padding: 4px 10px;
    border-radius: 8px;
}

.app-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-badge.new {
    background: rgba(0, 184, 148, 0.1);
    color: var(--secondary-color);
}

.app-badge.hot {
    background: rgba(253, 121, 168, 0.1);
    color: var(--accent-color-dark);
}

.app-badge.top {
    background: rgba(108, 92, 231, 0.1);
    color: var(--primary-color);
}

/* ========== APP LIST (Horizontal Cards) ========== */
.app-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.app-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--surface-color);
    border-radius: 14px;
    padding: 16px 20px;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.app-list-item:hover {
    border-color: var(--primary-color-light);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.app-list-rank {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-muted);
    width: 30px;
    text-align: center;
    flex-shrink: 0;
}

.app-list-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
}

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

.app-list-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 2px;
}

.app-list-desc {
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-list-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.download-btn {
    padding: 8px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-color-dark));
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.download-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px var(--secondary-shadow);
}

/* ========== CATEGORY CHIPS ========== */
.category-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding: 0 24px;
}

.chip {
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--border-color);
    background: var(--surface-color);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.chip:hover,
.chip.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* ========== FEATURES SECTION ========== */
.features-section {
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-darker));
    padding: 60px 24px;
    margin: 40px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 32px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

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

.feature-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* ========== CONTENT SECTIONS (About, Services, FAQ, etc.) ========== */
.content-section {
    background: var(--surface-color);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

.content-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-color);
}

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

.content-section ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.content-section ul li {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.section-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
}

.section-btn.download {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-color-dark));
}

.section-btn.about,
.section-btn.play {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
}

.section-btn.service {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color-dark));
}

.section-btn.faq {
    background: linear-gradient(135deg, #74B9FF, #0984E3);
}

.section-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ========== FAQ ========== */
.faq-categories {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-category {
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
}

.faq-category-header {
    padding: 16px 24px;
    background: var(--border-color-light);
    font-weight: 700;
    font-size: 16px;
    color: var(--text-color);
    cursor: pointer;
}

.faq-list {
    padding: 0;
}

.faq-item {
    border-top: 1px solid var(--border-color);
}

.faq-question {
    padding: 16px 24px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s;
}

.faq-question:hover {
    background: var(--primary-bg-light);
}

.faq-question::after {
    content: '+';
    font-size: 20px;
    color: var(--primary-color);
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.faq-item.active .faq-answer {
    padding: 0 24px 16px;
    max-height: 500px;
}

/* ========== COMMENTS ========== */
.comments-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comment {
    background: var(--border-color-light);
    border-radius: 14px;
    padding: 20px;
    transition: all 0.2s;
}

.comment:hover {
    background: var(--primary-bg-light);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.comment-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reviewer-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-color);
}

.comment-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rating {
    color: var(--rating-color);
    font-size: 14px;
    letter-spacing: 1px;
}

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

.comment p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.comment-hidden {
    display: none;
}

.comment-form-container {
    background: var(--border-color-light);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 24px;
}

.comment-form-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-color);
}

.comment-form .form-group {
    margin-bottom: 16px;
}

.comment-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 14px;
    background: var(--surface-color);
    color: var(--text-color);
    font-family: inherit;
    transition: border-color 0.2s;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-shadow);
}

.comment-form textarea {
    min-height: 100px;
    resize: vertical;
}

.comment-submit-btn {
    padding: 12px 28px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
    cursor: pointer;
    transition: all 0.2s;
}

.comment-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--primary-shadow);
}

/* Toggle show more comments */
.show-more-btn {
    display: block;
    width: 100%;
    padding: 14px;
    border: 2px dashed var(--border-color);
    border-radius: 14px;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    margin-top: 12px;
    transition: all 0.2s;
}

.show-more-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-bg-light);
}

/* ========== GAME IMAGES GALLERY ========== */
.game-images-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.game-image-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.game-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.game-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
}

.game-image-overlay h3 {
    font-size: 15px;
    font-weight: 700;
}

/* ========== FOOTER ========== */
footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 24px 30px;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand-name {
    font-size: 24px;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--primary-color-light), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

.footer-section h4 {
    font-size: 14px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-color-light);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.2s;
}

.footer-social a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Disclaimer */
.footer-disclaimer {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.7;
    text-align: center;
}

/* ========== HERO IMAGES CAROUSEL ========== */
.hero-images-container {
    max-width: 1200px;
    margin: -40px auto 0;
    padding: 0 24px;
    position: relative;
    z-index: 3;
}

.hero-image-display {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.15);
}

.hero-images-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    flex-shrink: 0;
}

.hero-carousel-controls {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 5px;
}

/* ========== MOBILE STYLES ========== */
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    nav ul {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        background: var(--surface-color);
        padding: 24px;
        gap: 4px;
        display: none;
        z-index: 999;
        overflow-y: auto;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li a {
        padding: 14px 16px;
        font-size: 16px;
        border-radius: 12px;
    }

    .auth-buttons {
        display: none;
    }

    .mobile-signin,
    .mobile-signup {
        display: block !important;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat-value {
        font-size: 22px;
    }

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

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

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

    .content-section {
        padding: 24px 16px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

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

    .action-button {
        width: 100%;
        justify-content: center;
        max-width: 300px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .category-chips {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .category-chips::-webkit-scrollbar {
        display: none;
    }

    .hero-img {
        height: 220px;
    }

    .app-list-meta {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .app-grid {
        grid-template-columns: 1fr;
    }

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

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

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

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.5s ease forwards;
}

/* ========== UTILITY ========== */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
