/* ==========================================================================
   ALL YONO APK - LUXURY GREEN & GOLD GLASSMORPHISM DESIGN SYSTEM (2026)
   Hostinger & Core Web Vitals Optimized
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-deep: #021812;
    --bg-dark: #04241B;
    --bg-card: rgba(6, 44, 34, 0.75);
    --bg-card-hover: rgba(9, 58, 45, 0.9);
    --primary-green: #064E3B;
    --primary-green-light: #047857;
    --emerald-bright: #10B981;
    --emerald-glow: rgba(16, 185, 129, 0.3);
    
    --gold-100: #FEF08A;
    --gold-300: #FDE047;
    --gold-400: #FACC15;
    --gold-500: #F59E0B;
    --gold-600: #D97706;
    --gold-700: #B45309;
    --gold-glow: rgba(245, 158, 11, 0.4);
    
    --text-light: #F9FAFB;
    --text-sub: #D1D5DB;
    --text-muted: #9CA3AF;
    
    --glass-surface: rgba(4, 36, 27, 0.65);
    --glass-border: rgba(245, 158, 11, 0.22);
    --glass-border-hover: rgba(250, 204, 21, 0.5);
    --glass-blur: blur(14px);
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 0 25px rgba(245, 158, 11, 0.25);
    --shadow-emerald: 0 0 25px rgba(16, 185, 129, 0.25);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --font-head: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-deep);
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(6, 78, 59, 0.35) 0%, transparent 45%),
        radial-gradient(circle at 85% 85%, rgba(217, 119, 6, 0.15) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(4, 36, 27, 0.9) 0%, var(--bg-deep) 100%);
    background-attachment: fixed;
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-light);
}

.text-gold {
    background: linear-gradient(135deg, var(--gold-300), var(--gold-500), var(--gold-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-emerald {
    color: var(--emerald-bright);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, #04241B, #064E3B, #B45309, #064E3B, #04241B);
    background-size: 300% 100%;
    animation: gradientShift 10s ease infinite;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.875rem;
    font-weight: 500;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
    flex-wrap: wrap;
}

.badge-gold {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    color: #000;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 0.15rem 0.6rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(250, 204, 21, 0.4);
}

.telegram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.2rem 0.75rem;
    border-radius: 50px;
    color: var(--gold-300);
    font-weight: 600;
    transition: var(--transition-fast);
}

.telegram-link:hover {
    background: var(--gold-500);
    color: #000;
}

/* Main Navigation Header */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(4, 36, 27, 0.85);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.logo-icon {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold);
    border: 2px solid var(--gold-300);
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 1.6rem;
    color: #04241B;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-head);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.brand-tagline {
    font-size: 0.65rem;
    color: var(--gold-400);
    letter-spacing: 1.5px;
    font-weight: 700;
}

/* Desktop Nav */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-sub);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
    transition: var(--transition-fast);
    border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
    color: var(--gold-300);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Action Buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-head);
    font-weight: 700;
    padding: 0.7rem 1.4rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition-fast);
    text-align: center;
    font-size: 0.95rem;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    color: #04241B;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(250, 204, 21, 0.5);
    background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: rotate(45deg);
    animation: shine 3.5s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

.btn-emerald {
    background: linear-gradient(135deg, #10B981, #047857);
    color: #FFF;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.btn-emerald:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.55);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
}

.btn-outline:hover {
    border-color: var(--gold-400);
    background: rgba(245, 158, 11, 0.15);
    color: var(--gold-300);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--gold-400);
    border-radius: 3px;
    transition: var(--transition-fast);
}

/* Mobile Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: rgba(3, 24, 18, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--glass-border);
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.mobile-nav-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.drawer-close {
    background: transparent;
    border: none;
    color: var(--gold-400);
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.mobile-link {
    font-size: 1.05rem;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-link:hover {
    background: rgba(245, 158, 11, 0.15);
    border-color: var(--gold-500);
    color: var(--gold-300);
}

.telegram-mobile {
    background: linear-gradient(135deg, #0088cc, #006699);
    color: #fff !important;
    text-align: center;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 4.5rem 0 3.5rem;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass-surface);
    border: 1px solid var(--glass-border);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold-300);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 900;
    margin-bottom: 1.25rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-sub);
    margin-bottom: 2.25rem;
    font-weight: 400;
}

/* Search Box Container */
.search-box-wrapper {
    max-width: 650px;
    margin: 0 auto 2.5rem;
    position: relative;
}

.search-input-group {
    display: flex;
    align-items: center;
    background: rgba(4, 36, 27, 0.9);
    border: 2px solid var(--glass-border);
    border-radius: 50px;
    padding: 0.4rem 0.5rem 0.4rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), var(--shadow-gold);
    transition: var(--transition-fast);
}

.search-input-group:focus-within {
    border-color: var(--gold-400);
    box-shadow: 0 10px 35px rgba(245, 158, 11, 0.4);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #FFF;
    font-size: 1.05rem;
    font-family: var(--font-body);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    border-radius: 50px;
    padding: 0.75rem 1.75rem;
}

/* Stats Counter Grid */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.stat-card {
    background: var(--glass-surface);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.stat-card:hover {
    border-color: var(--gold-400);
    transform: translateY(-3px);
}

.stat-number {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold-400);
    line-height: 1.1;
}

.stat-label {
    font-size: 0.825rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.25rem;
}

/* Category Filter Bar */
.filter-section {
    padding: 1.5rem 0 2.5rem;
}

.filter-tabs-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-tab {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-sub);
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-tab:hover {
    border-color: var(--gold-500);
    color: var(--gold-300);
}

.filter-tab.active {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    color: #04241B;
    border-color: var(--gold-300);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
    font-weight: 800;
}

/* App Grid Section */
.app-grid-section {
    padding: 2rem 0 4rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

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

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
}

/* Luxury Glassmorphic APK Card */
.apk-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
}

.apk-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--emerald-bright), var(--gold-400));
    opacity: 0.8;
}

.apk-card:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
    border-color: var(--glass-border-hover);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), var(--shadow-gold);
}

.card-top {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.apk-icon {
    width: 68px;
    height: 68px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 1.5rem;
    color: #FFF;
    box-shadow: var(--shadow-sm);
    border: 2px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.apk-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.apk-logo-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.apk-meta {
    flex: 1;
}

.apk-badge {
    display: inline-block;
    font-size: 0.725rem;
    font-weight: 700;
    color: var(--gold-300);
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.35rem;
}

.apk-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1.3;
}

.apk-rating-line {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--gold-400);
    margin-top: 0.25rem;
    font-weight: 700;
}

.apk-reviews {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.775rem;
}

.card-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    background: rgba(0, 0, 0, 0.25);
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.725rem;
    color: var(--text-muted);
    font-weight: 500;
}

.detail-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-light);
}

.card-actions {
    display: flex;
    gap: 0.75rem;
}

.card-actions .btn {
    flex: 1;
    padding: 0.65rem 0.5rem;
    font-size: 0.875rem;
}

/* App Detail Page Layout */
.app-detail-section {
    padding: 3.5rem 0 5rem;
}

.detail-header-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    backdrop-filter: var(--glass-blur);
    display: flex;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-gold);
}

.detail-icon-large {
    width: 130px;
    height: 130px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    font-weight: 900;
    color: #FFF;
    border: 3px solid var(--gold-400);
    box-shadow: var(--shadow-gold);
    flex-shrink: 0;
    overflow: hidden;
}

.detail-info {
    flex: 1;
}

.detail-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.detail-badges {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.detail-desc {
    font-size: 1.05rem;
    color: var(--text-sub);
    margin-bottom: 1.5rem;
}

.detail-download-box {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.safety-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--emerald-bright);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Content & Feature Columns */
.detail-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
}

.content-box {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
}

.content-box h2, .content-box h3 {
    margin-bottom: 1rem;
    color: var(--gold-300);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.feature-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.feature-icon {
    width: 32px;
    height: 32px;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-bright);
    flex-shrink: 0;
}

/* FAQ Accordion */
.faq-section {
    padding: 4rem 0;
}

.faq-accordion {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--gold-400);
    transition: var(--transition-fast);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.5rem;
    color: var(--text-sub);
    font-size: 0.975rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.25rem;
}

/* Legal Pages Styling */
.legal-page-header {
    padding: 4rem 0 2rem;
    text-align: center;
}

.legal-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 3rem;
    margin-bottom: 4rem;
    line-height: 1.8;
    color: var(--text-sub);
}

.legal-card h2 {
    color: var(--gold-300);
    margin: 2rem 0 1rem;
    font-size: 1.6rem;
}

.legal-card p {
    margin-bottom: 1.25rem;
}

.legal-card ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-card li {
    margin-bottom: 0.5rem;
}

/* Download Gateway Redirect Page */
.download-page-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
}

.download-box-card {
    background: var(--bg-card);
    border: 2px solid var(--gold-400);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    text-align: center;
    max-width: 550px;
    width: 100%;
    box-shadow: var(--shadow-gold);
}

.counter-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    color: #04241B;
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem auto;
    box-shadow: 0 0 30px rgba(250, 204, 21, 0.6);
}

/* Footer Styling */
.main-footer {
    background: #02120D;
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 1.25rem 0;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
}

.social-icon:hover {
    background: var(--gold-500);
    color: #000;
}

.footer-title {
    font-size: 1.1rem;
    color: var(--gold-300);
    margin-bottom: 1.25rem;
}

.footer-links-col ul li {
    margin-bottom: 0.65rem;
}

.footer-links-col a {
    color: var(--text-sub);
    font-size: 0.9rem;
}

.footer-links-col a:hover {
    color: var(--gold-300);
}

.footer-disclaimer-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px dashed rgba(245, 158, 11, 0.3);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.825rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.back-to-top {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--glass-surface);
    border: 1px solid var(--glass-border);
    color: var(--gold-400);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.back-to-top:hover {
    background: var(--gold-500);
    color: #000;
}

.floating-telegram {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    background: linear-gradient(135deg, #0088cc, #005580);
    color: #FFF;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0, 136, 204, 0.5);
    transition: var(--transition-fast);
}

.floating-telegram:hover {
    transform: scale(1.05);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-title { font-size: 2.5rem; }
    .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .detail-content-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .desktop-nav, .header-actions .btn { display: none; }
    .mobile-menu-toggle { display: flex; }
    .hero-title { font-size: 2rem; }
    .detail-header-card { flex-direction: column; text-align: center; padding: 1.5rem; }
    .detail-download-box { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
