/* Esports Template – Retro Gaming Console Theme */
:root {
    --primary: #00BCD4;
    --secondary: #FF8F00;
    --accent: #FFEB3B;
    --neutral: #A7BED3;
    --bg: #0D1B2A;
    --text: #E0FBFC;
    --surface: #1A2B3C;
    --surface2: #142434;
    --border: #2C4054;
    --glow: var(--accent);
    --btn-red: #EF5350;
    --btn-blue: #2196F3;
    --btn-green: #4CAF50;
    --btn-yellow: #FFC107;
    --font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-family);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header / Nav – dark console shell */
.site-header {
    background: linear-gradient(180deg, var(--surface2), var(--bg));
    border-bottom: 3px solid var(--btn-red);
    position: sticky; top: 0; z-index: 100;
    box-shadow: 0 2px 12px rgba(230,0,18,.15);
}
.main-nav .container { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.logo {
    color: #fff; text-decoration: none; font-size: 1.5rem; font-weight: 900;
    letter-spacing: 2px; text-transform: uppercase;
    display: flex; align-items: center; gap: 10px;
    text-shadow: 0 0 6px rgba(230,0,18,.4);
}
.logo-img { height: 40px; width: 40px; object-fit: contain; border-radius: 8px; border: 2px solid var(--btn-red); box-shadow: 0 0 8px rgba(230,0,18,.3); }
.logo-placeholder {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 8px;
    background: var(--surface2); border: 2px solid var(--border);
    font-size: 1.1rem; font-weight: 900; color: var(--accent);
}
.nav-links { list-style: none; display: flex; gap: 22px; }
.nav-links a {
    color: rgba(232,232,232,.65); text-decoration: none; font-size: .9rem;
    font-weight: 600; text-transform: uppercase; letter-spacing: .5px;
    padding: 4px 0; border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--btn-yellow); border-bottom-color: var(--btn-yellow); }

/* Nav auth buttons */
.nav-auth { display: flex; gap: 10px; align-items: center; }
.btn-auth {
    text-decoration: none; font-size: .85rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .5px;
    padding: 6px 16px; border-radius: 6px; transition: all .2s;
}
.btn-login {
    color: var(--btn-yellow); border: 2px solid var(--btn-yellow);
    background: transparent;
}
.btn-login:hover, .btn-login.active { background: var(--btn-yellow); color: var(--bg); }
.btn-register {
    color: #fff; background: var(--btn-red); border: 2px solid var(--btn-red);
}
.btn-register:hover, .btn-register.active { background: var(--primary); border-color: var(--primary); }

/* Hero Carousel */
.hero-carousel {
    position: relative; width: 100%; height: 480px; overflow: hidden;
}
.carousel-track { position: relative; width: 100%; height: 100%; }
.carousel-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity .8s ease;
}
.carousel-slide.active { opacity: 1; z-index: 1; }
.hero-overlay {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.3) 50%, rgba(0,0,0,.5) 100%);
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 14px;
}
.hero-overlay h1 {
    color: #fff; font-size: 3.2rem; text-align: center;
    text-transform: uppercase; letter-spacing: 4px; font-weight: 900;
    text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
.hero-tagline {
    color: var(--accent); font-size: 1rem; text-transform: uppercase;
    letter-spacing: 5px; font-weight: 700;
}
.carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 2; background: rgba(0,0,0,.4); color: #fff;
    border: none; font-size: 1.8rem; padding: 12px 16px;
    cursor: pointer; border-radius: 4px; transition: background .2s;
}
.carousel-btn:hover { background: rgba(0,0,0,.7); }
.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }
.carousel-dots {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    z-index: 2; display: flex; gap: 10px;
}
.carousel-dot {
    width: 12px; height: 12px; border-radius: 50%;
    background: rgba(255,255,255,.35); cursor: pointer;
    transition: background .2s;
}
.carousel-dot.active { background: var(--accent); }

/* Placeholder for missing images */
.img-placeholder {
    background: linear-gradient(135deg, var(--surface2), var(--border));
    display: flex; align-items: center; justify-content: center;
    color: var(--neutral); font-size: .85rem; letter-spacing: 1px;
    text-transform: uppercase; position: relative; overflow: hidden;
}
.img-placeholder::after {
    content: '📷'; font-size: 2rem; opacity: .3;
}

/* Ad banners */
.ad-banner {
    width: 100%; overflow: hidden;
    background: var(--surface2);
}
.ad-banner a { display: block; }
.ad-banner img {
    width: 100%; height: auto; display: block;
    transition: opacity .2s;
}
.ad-banner img:hover { opacity: .9; }

/* Content blocks */
.content-block { padding: 60px 0; }
.content-block:nth-child(even) { background: var(--surface2); }
.content-block h2 {
    font-size: 1.8rem; margin-bottom: 24px; color: #fff;
    text-transform: uppercase; letter-spacing: 1px; font-weight: 800;
    position: relative; padding-bottom: 14px;
}
.content-block h2::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 50px; height: 4px; background: var(--btn-red); border-radius: 2px;
}
.content-body { font-size: 1rem; line-height: 1.8; color: rgba(232,232,232,.8); }

/* Introduction + Recent Updates layout */
.intro-layout { display: grid; grid-template-columns: 1fr 300px; gap: 30px; align-items: start; }
.intro-main { min-width: 0; }
.recent-updates {
    background: var(--surface2); border: 1px solid var(--border);
    border-radius: 10px; padding: 20px; position: sticky; top: 80px;
}
.recent-updates h3 {
    font-size: 1rem; color: var(--btn-yellow); text-transform: uppercase;
    letter-spacing: 1px; font-weight: 700; margin-bottom: 14px;
    padding-bottom: 10px; border-bottom: 2px solid var(--btn-red);
}
.recent-updates ul { list-style: none; }
.recent-updates li {
    padding: 8px 0; border-bottom: 1px solid rgba(42,42,74,.5);
    display: flex; flex-direction: column; gap: 2px;
}
.recent-updates li:last-child { border-bottom: none; }
.recent-updates li a { color: rgba(232,232,232,.75); text-decoration: none; font-size: .88rem; line-height: 1.4; }
.recent-updates li a:hover { color: var(--btn-yellow); }
.recent-updates li time { font-size: .75rem; color: var(--neutral); }

@media (max-width: 768px) {
    .intro-layout { grid-template-columns: 1fr; }
    .recent-updates { position: static; }
}

/* Feature cards – console button colors */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
    background: var(--surface2); border: 1px solid var(--border);
    border-radius: 10px; padding: 28px; text-align: center;
    transition: transform .2s, box-shadow .2s;
    position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--btn-red); opacity: 0; transition: opacity .2s;
}
.feature-card:nth-child(2)::before { background: var(--btn-blue); }
.feature-card:nth-child(3)::before { background: var(--btn-green); }
.feature-card:nth-child(4)::before { background: var(--btn-yellow); }
.feature-card:nth-child(5)::before { background: var(--btn-red); }
.feature-card:nth-child(6)::before { background: var(--btn-blue); }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
    font-size: 2.2rem; margin-bottom: 14px; width: 56px; height: 56px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--border);
    color: var(--accent);
}
.feature-card:nth-child(1) .feature-icon { color: var(--btn-red); }
.feature-card:nth-child(2) .feature-icon { color: var(--btn-blue); }
.feature-card:nth-child(3) .feature-icon { color: var(--btn-green); }
.feature-card:nth-child(4) .feature-icon { color: var(--btn-yellow); }
.feature-card:nth-child(5) .feature-icon { color: var(--primary); }
.feature-card:nth-child(6) .feature-icon { color: var(--secondary); }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--btn-yellow); text-transform: uppercase; font-weight: 700; }
.feature-card p { font-size: .9rem; color: rgba(232,232,232,.65); line-height: 1.6; margin: 0; }

/* User reviews */
.reviews-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.review-item {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 10px; padding: 22px;
    border-left: 4px solid var(--btn-blue);
}
.review-item:nth-child(even) { border-left-color: var(--btn-red); }
.review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.review-author { font-weight: 700; color: var(--btn-blue); font-size: .95rem; }
.review-item:nth-child(even) .review-author { color: var(--btn-red); }
.review-stars { color: var(--btn-yellow); font-size: 1rem; letter-spacing: 1px; }
.review-text { font-size: .92rem; line-height: 1.7; color: rgba(232,232,232,.75); margin: 0; }

/* Section grid */
.sections-overview { padding: 60px 0; background: var(--surface); }
.sections-overview h2 {
    font-size: 1.8rem; margin-bottom: 30px; color: #fff;
    text-align: center; text-transform: uppercase; letter-spacing: 2px; font-weight: 800;
}
.section-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.section-card {
    background: var(--surface2); border: 1px solid var(--border);
    border-radius: 10px; padding: 24px;
    transition: transform .2s, border-color .2s;
}
.section-card:hover { transform: translateY(-3px); border-color: var(--btn-red); }
.section-card h3 { margin-bottom: 14px; font-size: 1.1rem; text-transform: uppercase; }
.section-card h3 a { color: var(--btn-yellow); text-decoration: none; font-weight: 700; }
.section-card h3 a:hover { text-shadow: 0 0 6px rgba(255,215,0,.3); }
.section-card ul { list-style: none; }
.section-card li { padding: 5px 0; border-bottom: 1px solid rgba(42,42,74,.6); }
.section-card li:last-child { border-bottom: none; }
.section-card li a { color: rgba(232,232,232,.65); text-decoration: none; font-size: .9rem; }
.section-card li a:hover { color: var(--btn-blue); }

/* Section banner */
.section-banner-img {
    width: 100%; height: 300px;
    background-size: cover; background-position: center;
    position: relative;
}
.section-banner-overlay {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,.6), rgba(0,0,0,.3));
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.section-banner-overlay h1 {
    color: #fff; font-size: 2.4rem; text-transform: uppercase;
    letter-spacing: 3px; font-weight: 900;
}
.section-banner-count { color: var(--accent); font-size: .95rem; letter-spacing: 2px; }
.section-page-header { padding: 40px 0 0; }
.section-page-header h1 { font-size: 2rem; color: #fff; text-transform: uppercase; }

/* Article grid (section page) */
.section-page { padding: 40px 0; }
.article-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.article-grid-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 12px; overflow: hidden; text-decoration: none;
    transition: transform .2s, border-color .2s, box-shadow .2s;
    display: flex; flex-direction: column;
}
.article-grid-card:hover { transform: translateY(-4px); border-color: var(--btn-yellow); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.article-grid-img {
    width: 100%; height: 120px;
    background-size: cover; background-position: center;
    background-color: var(--surface2);
}
.article-grid-placeholder { background: linear-gradient(135deg, var(--surface2), var(--border)); }
.article-grid-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.article-grid-body h2 { font-size: 1.05rem; color: var(--text); margin-bottom: 8px; line-height: 1.4; }
.article-grid-body .summary { font-size: .85rem; color: var(--neutral); line-height: 1.5; flex: 1; margin-bottom: 8px; }
.article-grid-body time { font-size: .78rem; color: var(--neutral); }

/* Article page – two column layout */
.article-layout {
    display: grid; grid-template-columns: 1fr 280px; gap: 30px;
    padding-top: 30px; padding-bottom: 40px; align-items: start;
}
.article-main { min-width: 0; }
.breadcrumb { margin-bottom: 16px; font-size: .88rem; color: var(--neutral); }
.breadcrumb a { color: var(--secondary); text-decoration: none; }
.article-main h1 { font-size: 1.8rem; margin-bottom: 12px; color: #fff; line-height: 1.3; }
.article-meta-bar {
    display: flex; gap: 16px; margin-bottom: 20px; font-size: .85rem; color: var(--neutral);
}
.meta-section {
    background: var(--surface2); padding: 2px 10px; border-radius: 4px;
    font-size: .8rem; color: var(--accent);
}
.article-cover { margin-bottom: 24px; max-width: 480px; }
.article-cover img { width: 100%; height: auto; border-radius: 10px; display: block; border: 1px solid var(--border); }
.article-summary-box {
    background: var(--surface); border-left: 3px solid var(--accent);
    padding: 14px 18px; margin-bottom: 24px; border-radius: 0 8px 8px 0;
    font-size: .92rem; color: var(--text); line-height: 1.6;
}
.article-content { line-height: 1.8; color: rgba(232,232,232,.8); }
.article-content h2, .article-content h3 { margin: 24px 0 12px; color: var(--accent); }
.article-content p { margin-bottom: 16px; }

/* Article comments */
.article-comments {
    margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border);
}
.article-comments h3 {
    font-size: 1.1rem; color: #fff; margin-bottom: 20px;
    text-transform: uppercase; letter-spacing: .5px;
}
.comment-list { display: flex; flex-direction: column; gap: 16px; }
.comment-item {
    display: flex; gap: 12px; padding: 14px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 10px;
}
.comment-avatar {
    width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
    background: var(--surface2); display: flex; align-items: center;
    justify-content: center; font-weight: 700; color: var(--accent);
    font-size: .9rem; border: 1px solid var(--border);
}
.comment-body { flex: 1; }
.comment-author { font-size: .85rem; font-weight: 600; color: var(--secondary); display: block; margin-bottom: 4px; }
.comment-text { font-size: .88rem; color: rgba(232,232,232,.75); line-height: 1.5; margin: 0; }

/* Article sidebar */
.article-sidebar { position: sticky; top: 70px; }
.sidebar-section {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 10px; padding: 18px; margin-bottom: 20px;
}
.sidebar-section h4 {
    font-size: .95rem; color: var(--accent); text-transform: uppercase;
    letter-spacing: .5px; margin-bottom: 12px; padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
}
.sidebar-section ul { list-style: none; }
.sidebar-section li { padding: 6px 0; border-bottom: 1px solid var(--border); }
.sidebar-section li:last-child { border-bottom: none; }
.sidebar-section li a {
    color: rgba(232,232,232,.7); text-decoration: none; font-size: .85rem;
    line-height: 1.4; display: block;
}
.sidebar-section li a:hover { color: var(--accent); }
.sidebar-section li a.current { color: var(--accent); font-weight: 600; }

/* Footer page */
.footer-page-content { padding: 40px 0; }
.footer-page-content h1 { font-size: 2rem; margin-bottom: 20px; color: #fff; text-transform: uppercase; }
.page-cover { margin-bottom: 24px; }
.page-cover img { width: 100%; height: auto; border-radius: 10px; display: block; border: 2px solid var(--border); }

/* Site footer – redesigned unified footer */
.site-footer {
    background: var(--surface2);
    color: rgba(232,232,232,.6);
    border-top: 3px solid var(--btn-red);
}

/* Subscribe Banner */
.footer-subscribe-banner {
    background: linear-gradient(135deg, var(--surface), var(--bg));
    border-bottom: 1px solid var(--border);
    padding: 36px 0;
}
.subscribe-banner-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; flex-wrap: wrap;
}
.subscribe-info h3 {
    color: var(--text); font-size: 1.2rem; margin-bottom: 4px; font-weight: 700;
}
.subscribe-info p { color: rgba(232,232,232,.5); font-size: .9rem; margin: 0; }
.subscribe-form { display: flex; gap: 0; min-width: 320px; }
.subscribe-input {
    flex: 1; padding: 10px 14px; border: 1px solid var(--border); border-right: none;
    border-radius: 6px 0 0 6px; background: var(--bg); color: var(--text);
    font-size: .9rem; outline: none; transition: border-color .2s;
}
.subscribe-input:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(230,0,18,.15); }
.subscribe-input::placeholder { color: rgba(232,232,232,.3); }
.subscribe-btn {
    padding: 10px 20px; border: none; border-radius: 0 6px 6px 0;
    background: var(--primary); color: #fff; font-size: .9rem; font-weight: 600;
    cursor: pointer; transition: background .2s, transform .1s;
}
.subscribe-btn:hover { background: var(--btn-blue); transform: translateY(-1px); }
.subscribe-msg { font-size: .82rem; margin-top: 8px; }

/* Main Footer Grid */
.footer-main { padding: 40px 0; }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 32px;
}
.footer-col h4 {
    color: var(--btn-yellow); margin-bottom: 14px; font-size: .9rem;
    text-transform: uppercase; letter-spacing: 1px; font-weight: 700;
    position: relative; padding-bottom: 10px;
}
.footer-col h4::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 24px; height: 2px; background: var(--primary); border-radius: 2px;
}
.footer-about-text { font-size: .85rem; line-height: 1.6; margin-bottom: 10px; color: rgba(232,232,232,.5); }
.footer-link { color: var(--btn-blue); text-decoration: none; font-size: .85rem; font-weight: 500; }
.footer-link:hover { color: var(--btn-yellow); }
.footer-links { list-style: none; }
.footer-links li { padding: 5px 0; }
.footer-links a {
    color: rgba(232,232,232,.5); text-decoration: none; font-size: .85rem;
    transition: color .2s, padding-left .2s;
}
.footer-links a:hover { color: var(--btn-blue); padding-left: 4px; }
.footer-contact { list-style: none; }
.footer-contact li {
    padding: 6px 0; font-size: .85rem; display: flex; align-items: center; gap: 8px;
}
.footer-contact li i { color: var(--primary); font-size: .95rem; }
.footer-qr { margin-top: 8px; text-align: center; }
.footer-qr img { width: 100px; height: 100px; border-radius: 8px; border: 2px solid var(--border); }
.footer-qr span { display: block; font-size: .78rem; margin-top: 6px; color: rgba(232,232,232,.4); }
.qr-placeholder { width: 100px; height: 100px; border-radius: 8px; border: 2px dashed var(--border); margin: 0 auto; }
.footer-col-qr { text-align: center; }
.footer-col-qr h4::after { left: 50%; transform: translateX(-50%); }

/* Bottom Bar */
.footer-bottom {
    background: var(--bg); padding: 16px 0;
    border-top: 1px solid var(--border);
}
.footer-bottom-inner {
    display: flex; align-items: center; justify-content: space-between;
    font-size: .82rem; flex-wrap: wrap; gap: 8px;
}
.footer-bottom p { margin: 0; }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { color: rgba(232,232,232,.4); text-decoration: none; font-size: .82rem; }
.footer-bottom-links a:hover { color: var(--btn-blue); }

/* Auth pages */
.auth-page {
    min-height: 60vh; display: flex; align-items: center; justify-content: center;
    padding: 60px 20px;
}
.auth-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 12px; padding: 40px; width: 100%; max-width: 420px;
    box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
.auth-card h1 {
    font-size: 1.8rem; color: #fff; text-transform: uppercase;
    letter-spacing: 2px; text-align: center; margin-bottom: 4px;
}
.auth-subtitle {
    text-align: center; color: var(--btn-yellow); font-size: .9rem;
    margin-bottom: 28px; letter-spacing: 1px;
}
.auth-form { display: flex; flex-direction: column; gap: 18px; }
.form-field label {
    display: block; font-size: .85rem; color: var(--neutral);
    text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px;
}
.form-field input {
    width: 100%; padding: 10px 14px; border-radius: 8px;
    border: 2px solid var(--border); background: var(--bg); color: #fff;
    font-size: .95rem; transition: border-color .2s;
}
.form-field input:focus { outline: none; border-color: var(--btn-yellow); }
.btn-submit {
    width: 100%; padding: 12px; border: none; border-radius: 8px;
    background: var(--btn-red); color: #fff; font-size: 1rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    cursor: pointer; transition: background .2s;
    margin-top: 6px;
}
.btn-submit:hover { background: var(--primary); }
.auth-switch {
    text-align: center; margin-top: 20px; font-size: .88rem; color: var(--neutral);
}
.auth-switch a { color: var(--btn-yellow); text-decoration: none; font-weight: 600; }

/* Redesigned section list */
.section-list { display: flex; flex-direction: column; gap: 0; }
.section-row {
    border-bottom: 1px solid var(--border); padding: 20px 0;
}
.section-row:last-child { border-bottom: none; }
.section-header {
    display: flex; align-items: center; gap: 16px; margin-bottom: 12px;
}
.section-index {
    font-size: 1.6rem; font-weight: 900; color: rgba(232,232,232,.15);
    min-width: 40px; font-variant-numeric: tabular-nums;
}
.section-header h3 { flex: 1; margin: 0; font-size: 1.15rem; text-transform: uppercase; }
.section-header h3 a { color: var(--btn-yellow); text-decoration: none; font-weight: 700; }
.section-header h3 a:hover { text-shadow: 0 0 8px rgba(255,215,0,.3); }
.section-count {
    font-size: .8rem; color: var(--neutral); background: var(--border);
    padding: 2px 10px; border-radius: 10px; font-weight: 600;
}
.section-articles { display: flex; flex-wrap: wrap; gap: 10px; padding-left: 56px; }
.article-chip {
    display: flex; flex-direction: column; gap: 2px;
    background: var(--surface2); border: 1px solid var(--border);
    border-radius: 8px; padding: 10px 14px;
    text-decoration: none; transition: border-color .2s, transform .15s;
    min-width: 200px; flex: 1; max-width: 300px;
}
.article-chip:hover { border-color: var(--btn-blue); transform: translateY(-2px); }
.chip-title { color: rgba(232,232,232,.85); font-size: .88rem; line-height: 1.3; }
.article-chip time { font-size: .75rem; color: var(--neutral); }

/* Download page – Google Play style */
.download-page { padding: 32px 0; }

/* Header: icon + title */
.gp-header {
    display: flex; gap: 24px; align-items: flex-start; margin-bottom: 20px;
}
.gp-icon-wrap { flex-shrink: 0; }
.gp-icon-img {
    width: 72px; height: 72px; border-radius: 16px;
    border: 1px solid var(--border); object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.gp-icon-placeholder {
    width: 72px; height: 72px; border-radius: 16px;
    background: linear-gradient(135deg, var(--btn-red), var(--btn-blue));
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; font-weight: 900; color: #fff;
}
.gp-title-area { flex: 1; }
.gp-title { font-size: 1.6rem; color: var(--text); margin: 0 0 2px; font-weight: 700; }
.gp-developer {
    color: var(--btn-blue); font-size: .88rem; text-decoration: none;
    display: inline-block; margin-bottom: 10px;
}
.gp-developer:hover { text-decoration: underline; }
.gp-badges { display: flex; gap: 16px; flex-wrap: wrap; }
.gp-badge {
    font-size: .8rem; color: var(--neutral); display: flex; align-items: center; gap: 4px;
}
.gp-badge i { font-size: .85rem; }

/* Install row */
.gp-install-row {
    display: flex; align-items: center; gap: 16px; margin-bottom: 28px;
    padding-bottom: 24px; border-bottom: 1px solid var(--border);
}
.gp-install-btn {
    flex: 1; display: block; text-align: center; padding: 12px 0;
    border-radius: 8px; background: var(--btn-blue); color: #fff;
    text-decoration: none; font-weight: 600; font-size: .95rem;
    transition: background .2s, box-shadow .2s;
}
.gp-install-btn:hover { background: var(--primary); box-shadow: 0 2px 12px rgba(30,144,255,.3); }
.gp-share-actions { display: flex; gap: 8px; }
.gp-action-btn {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
    background: transparent; color: var(--neutral); font-size: 1.1rem;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: color .2s, border-color .2s;
}
.gp-action-btn:hover { color: var(--btn-blue); border-color: var(--btn-blue); }

/* Screenshots */
.gp-screenshots-section { margin-bottom: 28px; }
.gp-screenshots {
    display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px;
    scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.gp-screenshot {
    flex-shrink: 0; width: 160px; height: auto; border-radius: 10px;
    border: 1px solid var(--border); object-fit: cover;
}
.gp-screenshot-ph {
    flex-shrink: 0; width: 160px; height: 284px; border-radius: 10px;
    background: var(--surface); border: 1px dashed var(--border);
}

/* Section blocks */
.gp-section {
    padding: 24px 0; border-bottom: 1px solid var(--border);
}
.gp-section:last-child { border-bottom: none; }
.gp-section-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 14px;
}
.gp-section-header h2 { font-size: 1.1rem; color: var(--text); font-weight: 600; margin: 0; }
.gp-arrow { color: var(--neutral); font-size: 1.1rem; }
.gp-about-text { font-size: .9rem; color: rgba(232,232,232,.7); line-height: 1.7; margin-bottom: 14px; }
.gp-about-text p { margin-bottom: 8px; }
.gp-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.gp-tag {
    padding: 4px 14px; border-radius: 16px; border: 1px solid var(--border);
    font-size: .8rem; color: var(--btn-blue); text-decoration: none;
    transition: background .2s;
}
.gp-tag:hover { background: var(--surface); }

/* Rating overview */
.gp-rating-overview {
    display: flex; gap: 32px; align-items: center; margin-bottom: 20px;
}
.gp-rating-big { text-align: center; flex-shrink: 0; min-width: 100px; }
.gp-rating-number { font-size: 3rem; font-weight: 700; color: var(--text); line-height: 1; }
.gp-rating-stars { color: var(--btn-yellow); font-size: .9rem; margin: 4px 0; }
.gp-rating-count { font-size: .78rem; color: var(--neutral); }
.gp-rating-bars { flex: 1; }
.gp-bar-row { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.gp-bar-row span { font-size: .75rem; color: var(--neutral); width: 12px; text-align: right; }
.gp-bar { flex: 1; height: 10px; background: var(--surface); border-radius: 5px; overflow: hidden; }
.gp-bar-fill { height: 100%; background: var(--btn-blue); border-radius: 5px; }

/* Review cards */
.gp-reviews { display: flex; flex-direction: column; gap: 16px; }
.gp-review-card {
    padding: 16px; background: var(--surface); border-radius: 10px;
    border: 1px solid var(--border);
}
.gp-review-top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.gp-review-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--surface2); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: .8rem; font-weight: 600; color: var(--neutral);
}
.gp-review-author { font-size: .88rem; color: var(--text); font-weight: 500; }
.gp-review-stars { color: var(--btn-yellow); font-size: .75rem; margin-bottom: 6px; }
.gp-review-text { font-size: .85rem; color: rgba(232,232,232,.6); line-height: 1.6; margin: 0; }

/* QR section */
.gp-qr-section { text-align: center; padding: 32px 0; }
.gp-qr-section h2 { font-size: 1rem; color: var(--text); margin-bottom: 14px; }
.gp-qr-wrap { display: inline-block; }
.gp-qr-img {
    width: 140px; height: 140px; border-radius: 12px;
    border: 2px solid var(--border); box-shadow: 0 2px 12px rgba(0,0,0,.2);
}

/* Responsive */
@media (max-width: 768px) {
    .gp-header { gap: 16px; }
    .gp-title { font-size: 1.3rem; }
    .gp-install-btn { font-size: .9rem; }
    .gp-rating-overview { flex-direction: column; gap: 16px; align-items: flex-start; }
    .gp-rating-big { text-align: left; }
}

/* Footer QR code */
.footer-qr { text-align: center; }
.footer-qr img {
    width: 120px; height: 120px; border-radius: 8px;
    border: 2px solid var(--border);
}
.footer-qr p { font-size: .8rem; color: var(--neutral); margin-top: 8px; }

/* Responsive */
@media (max-width: 768px) {
    .main-nav .container { flex-direction: column; gap: 10px; }
    .nav-links { flex-wrap: wrap; justify-content: center; gap: 12px; }
    .nav-auth { justify-content: center; }
    .hero-carousel { height: 300px; }
    .hero-overlay h1 { font-size: 2rem; letter-spacing: 1px; }
    .carousel-btn { font-size: 1.2rem; padding: 8px 12px; }
    .section-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-col-qr h4::after { left: 0; transform: none; }
    .footer-col-qr { text-align: left; }
    .subscribe-banner-inner { flex-direction: column; align-items: stretch; text-align: center; }
    .subscribe-form { min-width: unset; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .intro-layout { grid-template-columns: 1fr; }
    .recent-updates { position: static; }
    .section-articles { padding-left: 0; }
    .article-chip { max-width: 100%; }
    .auth-card { padding: 28px 20px; }
    .app-hero { flex-direction: column; align-items: center; text-align: center; }
    .app-meta-row { justify-content: center; }
    .section-banner-img { height: 200px; }
    .section-banner-overlay h1 { font-size: 1.6rem; }
    .article-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
}

@media (max-width: 480px) {
    .container { padding: 0 12px; }
    .content-block { padding: 30px 0; }
    .hero-carousel { height: 220px; }
    .hero-overlay h1 { font-size: 1.5rem; }
}