/* ==========================================================
   SAFEAPK V2 - RED APK DIRECTORY THEME
   ========================================================== */

:root {

    --primary: #D50000;
    --primary-dark: #B00000;
    --secondary: #ffffff;
    --background: #f2f3f5;
    --card: #ffffff;
    --border: #ececec;
    --text: #222;
    --muted: #777;
    --green: #17a34a;
    --radius: 16px;
    --transition: .25s;

}

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

html {
    scroll-behavior: smooth;
}

body {

    background: #ececec;

    font-family:
        Inter,
        Poppins,
        Arial,
        sans-serif;

    color: var(--text);

    line-height: 1.5;

}

a {

    text-decoration: none;

    color: inherit;

}

img {

    max-width: 100%;

    display: block;

}

/* ==========================================================
    DESKTOP MOBILE VIEW
    ========================================================== */

.app-wrapper {

    max-width: 480px;

    margin: auto;

    background: #fff;

    min-height: 100vh;

    position: relative;

    box-shadow: 0 0 30px rgba(0, 0, 0, .12);

    overflow: hidden;

    display: flex;

    flex-direction: column;

}

/* ==========================================================
    HEADER
    ========================================================== */

.app-header {

    position: sticky;

    top: 0;

    z-index: 999;

    height: 58px;

    background: #D50000;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 15px;

    color: #fff;

    box-shadow: 0 2px 12px rgba(0, 0, 0, .15);

}

.app-main {

    padding: 0;

    flex: 1;

}

.app-main:has(.static-page) {

    padding: 20px 15px;

}

.static-page {
    padding: 0 5px;
}

.header-left,
.header-right {

    display: flex;

    align-items: center;

}

.header-center {

    flex: 1;

    text-align: center;

}

.logo {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    font-size: 18px;

    font-weight: 700;

    color: #fff;

}

.logo img {

    width: 34px;

    height: 34px;

    border-radius: 50%;

}

.logo span {

    color: #fff;

}

.hamburger,
.search-toggle {

    background: none;

    border: none;

    color: #fff;

    font-size: 20px;

    cursor: pointer;

    padding: 8px;

    transition: .2s;

}

.hamburger:hover,
.search-toggle:hover {

    opacity: .8;

}

/* ==========================================================
    SIDEBAR
    ========================================================== */

.sidebar {

    position: fixed;

    top: 0;

    left: -280px;

    width: 280px;

    height: 100%;

    background: #fff;

    z-index: 2000;

    transition: .3s;

    overflow-y: auto;

    box-shadow: 5px 0 25px rgba(0, 0, 0, .2);

}

.sidebar.active {

    left: 0;

}

.sidebar-overlay {

    position: fixed;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: rgba(0, 0, 0, .45);

    display: none;

    z-index: 1990;

}

.sidebar-overlay.active {

    display: block;

}

.sidebar-header {

    background: #D50000;

    padding: 30px 20px;

    text-align: center;

    color: #fff;

}

.sidebar-header img {

    width: 70px;

    height: 70px;

    border-radius: 50%;

    margin: auto;

    margin-bottom: 10px;

}

.sidebar-header h3 {

    font-size: 18px;

    margin-bottom: 5px;

}

.sidebar-header p {

    font-size: 13px;

    opacity: .9;

}

.sidebar-menu {

    list-style: none;

}

.sidebar-menu li {

    border-bottom: 1px solid #eee;

}

.sidebar-menu a {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 14px 20px;

    font-size: 14px;

    transition: .25s;

}

.sidebar-menu a:hover {

    background: #fff3f3;

    color: #D50000;

}

.sidebar-menu i {

    width: 22px;

    text-align: center;

    color: #D50000;

}

/* ==========================================================
    SEARCH
    ========================================================== */

.search-overlay {

    position: fixed;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: rgba(0, 0, 0, .45);

    display: none;

    justify-content: center;

    padding-top: 60px;

    z-index: 3000;

}

.search-overlay.active {

    display: flex;

}

.search-container {

    width: 100%;

    max-width: 480px;

    background: #fff;

    padding: 15px;

    border-radius: 0 0 18px 18px;

}

.search-input {

    width: 100%;

    padding: 12px 18px;

    border-radius: 40px;

    border: 2px solid #eee;

    font-size: 15px;

    outline: none;

}

.search-input:focus {

    border-color: #D50000;

}

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-input-wrapper .search-input {
    flex: 1;
}

.search-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color .2s, background .2s;
}

.search-close:hover {
    color: #D50000;
    background: rgba(213,0,0,0.08);
}

.search-results {
    max-height: 60vh;
    overflow-y: auto;
    margin-top: 12px;
}

.search-results .search-result-item,
.search-results .result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 8px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: var(--text);
    border-radius: 10px;
    transition: background .15s;
}

.search-results .search-result-item:last-child,
.search-results .result-item:last-child {
    border-bottom: none;
}

.search-results .search-result-item:hover,
.search-results .result-item:hover {
    background: #f5f5f5;
}

.search-results .search-result-item img,
.search-results .result-item img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.search-results .search-result-name,
.search-results .result-name {
    font-weight: 600;
    font-size: 14px;
}

.search-results .search-result-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.search-results .search-result-category,
.search-results .result-cat {
    font-size: 12px;
    color: var(--muted);
}

.search-results .no-results {
    text-align: center;
    padding: 30px 10px;
    color: var(--muted);
    font-size: 14px;
}

/* ==========================================================
    COMMON BUTTONS
    ========================================================== */

.btn {

    border: none;

    border-radius: 30px;

    padding: 10px 18px;

    cursor: pointer;

    font-weight: 600;

    transition: .25s;

}

.btn-primary {

    background: #D50000;

    color: #fff;

}

.btn-success {

    background: var(--primary);

    color: #fff;

}

.btn-success:hover {

    background: var(--primary-dark);

    transform: translateY(-2px);

}

/* ==========================================================
    SECTION TITLE
    ========================================================== */

.section-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 15px;

}

.section-title {

    font-size: 16px;

    font-weight: 700;

}

.section-link {

    color: #D50000;

    font-size: 13px;

    font-weight: 600;

}

/* ==========================================================
HERO BANNER
========================================================== */

.hero-banner {
    margin: 15px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    display: block;
}

.hero-banner img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 25px 18px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .75));
    color: #fff;
}

.hero-overlay h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.hero-overlay p {
    font-size: 13px;
    opacity: .95;
}

/* ==========================================================
    FEATURED PODIUM
    ========================================================== */

.featured-podium {

    display: flex;

    justify-content: center;

    align-items: flex-end;

    gap: 12px;

    padding: 15px;

}

.podium-card {

    background: #fff;

    border-radius: 18px;

    padding: 15px;

    text-align: center;

    box-shadow: 0 5px 18px rgba(0, 0, 0, .08);

    position: relative;

    transition: .3s;

}

.podium-card:hover {

    transform: translateY(-5px);

}

.podium-card.center {

    transform: translateY(-18px);

    border: 2px solid #D50000;

}

.podium-rank {

    position: absolute;

    top: -12px;

    left: 50%;

    transform: translateX(-50%);

    background: #D50000;

    color: #fff;

    padding: 5px 14px;

    font-size: 12px;

    font-weight: 700;

    border-radius: 30px;

}

.podium-card.center .podium-rank {

    background: #f4b400;

}

.podium-icon {

    width: 72px;

    height: 72px;

    margin: auto;

    border-radius: 50%;

    object-fit: cover;

    margin-bottom: 10px;

}

.podium-card.center .podium-icon {

    width: 85px;

    height: 85px;

}

.podium-name {

    font-size: 14px;

    font-weight: 700;

    margin-bottom: 8px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}

.podium-download {

    display: inline-block;

    padding: 8px 18px;

    background: var(--primary);

    color: #fff;

    border-radius: 30px;

    font-size: 13px;

    font-weight: 700;

    margin-top: 10px;

}

/* ==========================================================
    TELEGRAM
    ========================================================== */

.telegram-banner {

    margin: 15px;

    padding: 18px;

    border-radius: 18px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: linear-gradient(135deg, #0088cc, #006699);

    color: #fff;

}

.telegram-banner-left {

    display: flex;

    align-items: center;

    gap: 15px;

}

.telegram-banner i {

    font-size: 36px;

}

.telegram-banner h3 {

    font-size: 16px;

    margin-bottom: 4px;

}

.telegram-banner p {

    font-size: 12px;

    opacity: .9;

}

.telegram-btn {

    background: #fff;

    color: #0088cc;

    padding: 10px 20px;

    border-radius: 30px;

    font-weight: 700;

}

/* ==========================================================
    TABS
    ========================================================== */

.home-tabs {

    display: flex;

    margin: 0 15px;

    border-bottom: 2px solid #eee;

}

.home-tab {

    flex: 1;

    padding: 14px;

    background: none;

    border: none;

    font-weight: 700;

    font-size: 14px;

    cursor: pointer;

    position: relative;

}

.home-tab.active {

    color: #D50000;

}

.home-tab.active::after {

    content: "";

    position: absolute;

    left: 15%;

    bottom: -2px;

    width: 70%;

    height: 3px;

    background: #D50000;

    border-radius: 10px;

}

/* ==========================================================
    APK CARD
    ========================================================== */

.apk-card {

    position: relative;

    display: flex;

    align-items: center;

    padding: 10px;

    margin: 8px 10px;

    background: #fff;

    border-radius: 14px;

    box-shadow: 0 4px 14px rgba(0, 0, 0, .07);

    transition: .3s;

}

.apk-card:hover {

    transform: translateY(-3px);

}

.apk-rank {

    position: absolute;

    top: -10px;

    left: -8px;

    background: #D50000;

    color: #fff;

    padding: 6px 12px;

    border-radius: 15px;

    font-size: 12px;

    font-weight: 700;

}

.apk-icon {

    width: 58px;

    height: 58px;

    border-radius: 14px;

    object-fit: cover;

    margin-right: 10px;

    border: 1px solid #eee;

}

.apk-content {

    flex: 1;

    min-width: 0;

}

.apk-title {

    font-size: 14px;

    font-weight: 700;

    margin-bottom: 4px;

    display: flex;

    align-items: center;

    gap: 5px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}

.apk-title .verified {

    color: #2196f3;

}

.apk-title .apk-pegi-badge,
.apk-pegi-badge {
    background: #D50000;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    line-height: 1.4;
    flex-shrink: 0;
}

.apk-meta {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    font-size: 12px;

    color: #BEBEBE;

    margin-bottom: 8px;

}

.apk-meta span {

    display: flex;

    align-items: center;

    gap: 4px;

}

.apk-bonus {

    display: block;

    padding: 3px 8px;

    background: #fff7d9;

    border-radius: 6px;

    font-size: 11px;

    margin-bottom: 3px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    max-width: 100%;

}

.apk-withdraw {

    display: block;

    padding: 3px 8px;

    background: #eaf9ee;

    border-radius: 6px;

    font-size: 11px;

    margin-bottom: 3px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    max-width: 100%;

}

.apk-desc {

    font-size: 12px;

    color: #777;

    line-height: 1.5;

    margin-top: 4px;

}

.apk-download {

    margin-left: 12px;

}

.apk-download a {

    display: inline-flex;

    align-items: center;

    gap: 5px;

    background: var(--primary);

    color: #fff;

    padding: 10px 18px;

    border-radius: 30px;

    font-weight: 700;

    font-size: 13px;

    transition: .25s;

}

.apk-download a:hover {

    background: var(--primary-dark);

}

/* ==========================================================
    DOWNLOAD BUTTON
    ========================================================== */

.download-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 4px;

    background: var(--primary);

    color: #fff;

    padding: 7px 14px;

    border-radius: 20px;

    font-size: 11px;

    font-weight: 700;

    white-space: nowrap;

}

.download-btn:hover {

    background: var(--primary-dark);

}

/* ==========================================================
HOME PAGE WRAPPER
========================================================== */

.home-page {

    padding-bottom: 10px;

}

.section-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 14px 15px 8px;

}

.section-header h2 {

    font-size: 17px;

    font-weight: 800;

    white-space: nowrap;

}

.section-header a {

    font-size: 13px;

    color: var(--primary);

    font-weight: 600;

}

/* ==========================================================
APP CARD LAYOUT (apk-link, apk-left, apk-middle, apk-right)
========================================================== */

.apk-link {

    display: flex;

    align-items: center;

    width: 100%;

    text-decoration: none;

    color: inherit;

}

.apk-left {

    flex-shrink: 0;

    position: relative;

    margin-right: 0;

}

.apk-rank-badge {

    position: absolute;

    top: -4px;

    left: -4px;

    background: var(--primary);

    color: #fff;

    font-size: 10px;

    font-weight: 800;

    width: 22px;

    height: 22px;

    display: flex;

    align-items: center;

    justify-content: center;

    transform: rotate(45deg);

    z-index: 1;

    box-shadow: 0 2px 6px rgba(213, 0, 0, .4);

}

.apk-rank-badge span {

    transform: rotate(-45deg);

    line-height: 1;

}

.apk-middle {

    flex: 1;

    min-width: 0;

    padding: 0 6px;

}

.apk-right {

    flex-shrink: 0;

    margin-left: 6px;

}

.apk-category {

    font-size: 11px;

    color: var(--muted);

    margin-bottom: 4px;

    display: flex;

    align-items: center;

    gap: 4px;

}

.apk-rating {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    font-size: 12px;

    color: #BEBEBE;

    margin-bottom: 8px;

}

.apk-rating span {

    display: flex;

    align-items: center;

    gap: 4px;

}

.apk-meta {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    font-size: 12px;

    color: #BEBEBE;

    margin-bottom: 8px;

}

.apk-meta span {

    display: flex;

    align-items: center;

    gap: 4px;

}

.apk-content {

    flex: 1;

    min-width: 0;

}

.apk-download .download-btn {

    padding: 8px 14px;

    font-size: 11px;

}

/* ==========================================================
HERO BANNER
========================================================== */

.hero-section {
    margin-bottom: 0;
}

.hero-banner {
    margin: 10px 15px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    display: block;
}

.hero-banner img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 25px 18px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .75));
    color: #fff;
}

.hero-overlay h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.hero-overlay p {
    font-size: 13px;
    opacity: .95;
}

/* ==========================================================
PREMIUM PODIUM SECTION
========================================================== */

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

@keyframes crownFloat {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

@keyframes crownFloatBig {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-14px) rotate(5deg); }
}

@keyframes iconGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(255, 215, 0, .4), 0 8px 25px rgba(0,0,0,.2); }
    50% { box-shadow: 0 0 30px rgba(255, 215, 0, .7), 0 8px 25px rgba(0,0,0,.2); }
}

.podium-section {
    padding: 20px 0 10px;
    animation: podiumSlideUp .8s ease-out;
}

.podium-stage {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    padding: 0 8px;
    max-width: 480px;
    margin: 0 auto;
}

/* ---- PODIUM SLOT ---- */
.podium-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 140px;
}

.podium-slot--1 { order: 2; }
.podium-slot--2 { order: 1; }
.podium-slot--3 { order: 3; }

/* ---- PODIUM CARD (COLORED BLOCK WITH ALL CONTENT INSIDE) ---- */
.podium-card {
    width: 100%;
    border-radius: 16px 16px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 8px 14px;
    position: relative;
    transition: transform .3s ease, box-shadow .3s ease;
    overflow: visible;
}

.podium-card:hover {
    transform: translateY(-6px);
}

.podium-card--gold {
    background: linear-gradient(180deg, #FF4B5C 0%, #C1121F 100%);
    box-shadow: 0 -4px 25px rgba(193, 18, 31, .4), 0 10px 40px rgba(193, 18, 31, .2);
}

.podium-card--gold:hover {
    box-shadow: 0 -4px 35px rgba(193, 18, 31, .5), 0 14px 50px rgba(193, 18, 31, .3);
}

.podium-card--blue {
    background: linear-gradient(180deg, #2196F3 0%, #0D47A1 100%);
    box-shadow: 0 -4px 20px rgba(33, 150, 243, .3), 0 8px 30px rgba(33, 150, 243, .15);
}

.podium-card--blue:hover {
    box-shadow: 0 -4px 30px rgba(33, 150, 243, .4), 0 12px 40px rgba(33, 150, 243, .25);
}

.podium-card--yellow {
    background: linear-gradient(180deg, #FFC107 0%, #FF8F00 100%);
    box-shadow: 0 -4px 20px rgba(255, 193, 7, .3), 0 8px 30px rgba(255, 193, 7, .15);
}

.podium-card--yellow:hover {
    box-shadow: 0 -4px 30px rgba(255, 193, 7, .4), 0 12px 40px rgba(255, 193, 7, .25);
}

/* ---- CROWN ---- */
.podium-crown {
    position: relative;
    z-index: 5;
    margin-top: -20px;
    margin-bottom: -12px;
}

.podium-crown img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(255, 215, 0, .5));
}

.podium-crown--big img {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 4px 18px rgba(255, 215, 0, .6));
}

/* ---- ICON FRAME ---- */
.podium-icon-frame {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 3px;
    position: relative;
    z-index: 3;
    margin-bottom: 4px;
    transition: transform .3s ease;
}

.podium-slot--1 .podium-icon-frame {
    width: 72px;
    height: 72px;
}

.podium-icon-frame img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #1a1a2e;
}

.podium-icon-frame--gold {
    background: linear-gradient(135deg, #FFD700, #FFA000, #FFD700);
    box-shadow: 0 0 20px rgba(255, 215, 0, .5), 0 6px 20px rgba(0,0,0,.15);
    animation: iconGlow 3s ease-in-out infinite;
}

.podium-icon-frame--silver {
    background: linear-gradient(135deg, #E8E8E8, #A0A0A0, #E8E8E8);
    box-shadow: 0 0 15px rgba(192, 192, 192, .4), 0 6px 20px rgba(0,0,0,.1);
}

.podium-icon-frame--bronze {
    background: linear-gradient(135deg, #DEB887, #CD7F32, #DEB887);
    box-shadow: 0 0 15px rgba(205, 127, 50, .4), 0 6px 20px rgba(0,0,0,.1);
}

.podium-card:hover .podium-icon-frame {
    transform: scale(1.08);
}

/* ---- RIBBON ---- */
.podium-ribbon {
    position: relative;
    z-index: 6;
    padding: 2px 12px;
    border-radius: 16px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
    white-space: nowrap;
    box-shadow: 0 3px 12px rgba(0,0,0,.25);
    margin-bottom: 6px;
}

.podium-ribbon--gold {
    background: linear-gradient(135deg, #FFD700, #FF8F00);
}

.podium-ribbon--silver {
    background: linear-gradient(135deg, #C0C0C0, #808080);
}

.podium-ribbon--bronze {
    background: linear-gradient(135deg, #CD7F32, #8B4513);
}

/* ---- APP NAME ---- */
.podium-app-name {
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0,0,0,.2);
}

.podium-slot--1 .podium-app-name {
    font-size: 14px;
    max-width: 120px;
}

/* ---- DOWNLOAD BUTTON (RED GLOSSY) ---- */
.podium-btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    border-radius: 20px;
    text-align: center;
    transition: all .25s ease;
    position: relative;
    overflow: hidden;
    width: 85%;
    background: linear-gradient(180deg, #ff5a5f, #ff2d3f 50%, #b3001b);
    color: #fff;
    padding: 7px 0;
    font-size: 11px;
    box-shadow: 0 4px 15px rgba(179, 0, 27, .4), inset 0 1px 0 rgba(255,255,255,.3);
    text-shadow: 0 1px 2px rgba(0,0,0,.2);
    margin-bottom: 4px;
}

.podium-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,.2), transparent);
    border-radius: 25px 25px 0 0;
    pointer-events: none;
}

.podium-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 25px rgba(179, 0, 27, .6), inset 0 1px 0 rgba(255,255,255,.3);
    background: linear-gradient(180deg, #ff7a7f, #ff4d5f 50%, #d4002a);
}

.podium-btn:active {
    transform: translateY(1px) scale(.98);
    box-shadow: 0 2px 10px rgba(179, 0, 27, .3);
}

/* ---- TRUSTED BADGE ---- */
.podium-trusted {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
    padding: 3px 10px;
    background: linear-gradient(135deg, #00C853, #00E676);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    border-radius: 16px;
    border: 1.5px solid #00E676;
    box-shadow: 0 3px 10px rgba(0, 200, 83, .35);
    letter-spacing: .3px;
}


/* ==========================================================
TELEGRAM
========================================================== */

.telegram-section {

    margin-bottom: 0;

}

.telegram-banner {

    margin: 8px 10px;

    padding: 10px 12px;

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: linear-gradient(135deg, #0088cc, #006699);

    color: #fff;

    border: 2px solid #4dc3ff;

    animation: blinkBorder 0.9s ease-in-out infinite;

}

@keyframes blinkBorder {

    0%, 100% { border-color: #4dc3ff; box-shadow: 0 0 12px #4dc3ff; }

    50% { border-color: transparent; box-shadow: none; }

}

.telegram-banner-left {

    display: flex;

    align-items: center;

    gap: 10px;

}

.telegram-banner i {

    font-size: 24px;

}

.telegram-banner h3 {

    font-size: 13px;

    font-weight: 700;

    margin-bottom: 1px;

}

.telegram-banner p {

    font-size: 10px;

    opacity: .9;

}

.telegram-btn {

    background: #fff;

    color: #0088cc;

    padding: 6px 14px;

    border-radius: 30px;

    font-weight: 700;

    font-size: 11px;

    white-space: nowrap;

}

/* ==========================================================
TABS
========================================================== */

.home-tabs {

    display: flex;

    margin: 10px 15px 0;

    border-bottom: 2px solid #eee;

}

.home-tab {

    flex: 1;

    padding: 12px;

    background: none;

    border: none;

    font-weight: 700;

    font-size: 14px;

    cursor: pointer;

    position: relative;

    color: var(--muted);

    transition: color .2s;

}

.home-tab.active {

    color: var(--primary);

}

.home-tab.active::after {

    content: "";

    position: absolute;

    left: 15%;

    bottom: -2px;

    width: 70%;

    height: 3px;

    background: var(--primary);

    border-radius: 10px;

}

/* ==========================================================
APP LIST & EMPTY STATE
========================================================== */

.app-list {

    padding-top: 6px;

}

.empty-state {

    text-align: center;

    padding: 40px 20px;

    color: var(--muted);

}

.empty-state i {

    font-size: 40px;

    margin-bottom: 12px;

    display: block;

    opacity: .4;

}

.empty-state h3 {

    font-size: 16px;

    margin-bottom: 6px;

}

.empty-state p {

    font-size: 13px;

}

/* ==========================================================
404 PAGE
========================================================== */
.page-404 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 40px 20px;
    text-align: center;
}
.p404-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffeaea, #fff0f0);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.p404-icon i {
    font-size: 36px;
    color: #D50000;
    opacity: .85;
}
.p404-code {
    font-size: 72px;
    font-weight: 900;
    color: #eee;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -4px;
    user-select: none;
}
.p404-zero {
    color: #D50000;
}
.p404-title {
    font-size: 20px;
    font-weight: 800;
    color: #222;
    margin-bottom: 8px;
}
.p404-text {
    font-size: 13px;
    color: #888;
    margin-bottom: 24px;
    max-width: 260px;
    line-height: 1.5;
}
.p404-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: #fff;
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: .25s;
    box-shadow: 0 4px 16px rgba(213, 0, 0, .3);
}
.p404-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(213, 0, 0, .4);
}

/* ==========================================================
CATEGORIES
========================================================== */

.categories-section {

    padding: 10px 0;

}

.categories-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 10px;

    padding: 0 15px 10px;

}

.category-card {

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    padding: 14px 6px;

    background: var(--card);

    border-radius: 14px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);

    transition: .2s;

}

.category-card:hover {

    transform: translateY(-2px);

    box-shadow: 0 6px 16px rgba(0, 0, 0, .1);

}

.category-icon {

    width: 42px;

    height: 42px;

    border-radius: 12px;

    background: #fee2e2;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 8px;

    color: var(--primary);

    font-size: 18px;

    overflow: hidden;

}

.category-icon img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}

.category-name {

    font-size: 11px;

    font-weight: 700;

    margin-bottom: 2px;

    display: block;

    color: var(--text);

}

.category-count {

    font-size: 10px;

    color: var(--muted);

}

/* ==========================================================
TRENDING
========================================================== */

.trending-section {

    padding: 10px 0;

}

.trending-slider {

    display: flex;

    overflow-x: auto;

    gap: 12px;

    padding: 6px 15px 10px;

    scrollbar-width: none;

}

.trending-slider::-webkit-scrollbar {

    display: none;

}

.trending-card {

    flex-shrink: 0;

    width: 110px;

    text-align: center;

    padding: 12px 8px;

    background: var(--card);

    border-radius: 14px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);

    transition: .2s;

}

.trending-card:hover {

    transform: translateY(-2px);

    box-shadow: 0 6px 16px rgba(0, 0, 0, .1);

}

.trending-card img {

    width: 56px;

    height: 56px;

    border-radius: 14px;

    object-fit: cover;

    margin: 0 auto 8px;

}

.trending-card h4 {

    font-size: 12px;

    font-weight: 700;

    margin-bottom: 4px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}

.trending-card .rating {

    font-size: 11px;

    color: #f4b400;

    font-weight: 600;

    margin-bottom: 2px;

}

.trending-card .bonus {

    font-size: 10px;

    color: var(--muted);

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}

/* ==========================================================
RECENTLY ADDED
========================================================== */

.recent-section {

    padding: 10px 0;

}

/* ==========================================================
POPULAR APPS
========================================================== */

.popular-section {

    padding: 10px 0;

}

.popular-item {

    display: flex;

    align-items: center;

    padding: 12px 15px;

    gap: 12px;

    border-bottom: 1px solid #f0f0f0;

}

.popular-item:last-child {

    border-bottom: none;

}

.popular-rank {

    width: 28px;

    height: 28px;

    border-radius: 8px;

    background: #fee2e2;

    color: var(--primary);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 12px;

    font-weight: 800;

    flex-shrink: 0;

}

.popular-item img {

    width: 46px;

    height: 46px;

    border-radius: 12px;

    object-fit: cover;

    flex-shrink: 0;

}

.popular-info {

    flex: 1;

    min-width: 0;

}

.popular-info h4 {

    font-size: 14px;

    font-weight: 700;

    margin-bottom: 2px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}

.popular-info span {

    font-size: 11px;

    color: var(--muted);

}

.popular-item .download-btn {

    padding: 7px 14px;

    font-size: 11px;

    flex-shrink: 0;

}

/* ==========================================================
EDITOR'S CHOICE
========================================================== */

.editor-section {

    padding: 10px 0 20px;

}

/* ==========================================================
APP DETAILS PAGE
========================================================== */

.app-detail {

    padding: 16px;

    background: #fff;

}

.app-top {

    display: flex;

    gap: 16px;

    margin-bottom: 20px;

}

.app-top img {

    width: 90px;

    height: 90px;

    border-radius: 22px;

    object-fit: cover;

    box-shadow: 0 8px 18px rgba(0, 0, 0, .1);

}

.app-info {

    flex: 1;

}

.app-info h1 {

    font-size: 22px;

    font-weight: 700;

    margin-bottom: 8px;

}

.app-info .developer {

    font-size: 13px;

    color: #BEBEBE;

    margin-bottom: 10px;

}

.app-stats {

    display: flex;

    flex-wrap: wrap;

    gap: 15px;

    font-size: 13px;

    color: #BEBEBE;

    margin-bottom: 15px;

}

.app-download {

    display: flex;

    gap: 10px;

    margin-top: 15px;

}

.btn-download-lg {

    flex: 1;

    padding: 14px;

    background: var(--primary);

    color: #fff;

    border-radius: 35px;

    font-weight: 700;

    text-align: center;

    font-size: 15px;

}

.btn-share {

    width: 55px;

    height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #f3f3f3;

    border-radius: 50%;

    font-size: 20px;

}

/* ==========================================================
    SCREENSHOTS
    ========================================================== */

.screenshot-slider {

    display: flex;

    overflow-x: auto;

    gap: 14px;

    padding: 20px 16px;

    scrollbar-width: none;

}

.screenshot-slider::-webkit-scrollbar {

    display: none;

}

.screenshot-slider img {

    width: 170px;

    border-radius: 20px;

    box-shadow: 0 6px 20px rgba(0, 0, 0, .12);

}

/* ==========================================================
    DESCRIPTION
    ========================================================== */

.description {

    padding: 16px;

    line-height: 1.8;

    font-size: 14px;

    color: #444;

}

.description h2 {

    margin-bottom: 12px;

    font-size: 18px;

}

/* ==========================================================
    APP INFO TABLE
    ========================================================== */

.info-table {

    padding: 16px;

}

.info-row {

    display: flex;

    justify-content: space-between;

    padding: 12px 0;

    border-bottom: 1px solid #eee;

    font-size: 14px;

}

.info-row span:first-child {

    color: #BEBEBE;

}

.info-row span:last-child {

    font-weight: 600;

}

/* ==========================================================
    FAQ
    ========================================================== */

.faq {

    padding: 16px;

}

.faq-item {

    border: 1px solid #eee;

    border-radius: 16px;

    margin-bottom: 12px;

    overflow: hidden;

}

.faq-question {

    padding: 16px;

    cursor: pointer;

    font-weight: 600;

    display: flex;

    justify-content: space-between;

    align-items: center;

    background: #fff;

}

.faq-answer {

    display: none;

    padding: 16px;

    font-size: 14px;

    line-height: 1.8;

    background: #fafafa;

}

/* ==========================================================
    COMMENTS
    ========================================================== */

.comments {

    padding: 16px;

}

.comment {

    padding: 14px;

    background: #fff;

    border-radius: 16px;

    margin-bottom: 12px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);

}

.comment-user {

    font-weight: 700;

    margin-bottom: 5px;

}

.comment-date {

    font-size: 11px;

    color: #BEBEBE;

    margin-bottom: 8px;

}

.comment-text {

    font-size: 14px;

    line-height: 1.6;

    color: #444;

}

/* ==========================================================
    SEARCH PAGE
    ========================================================== */

.search-page {

    padding: 16px;

}

.search-box {

    display: flex;

    gap: 10px;

    margin-bottom: 20px;

}

.search-box input {

    flex: 1;

    padding: 14px 18px;

    border-radius: 35px;

    border: 2px solid #eee;

    outline: none;

}

.search-box button {

    padding: 14px 22px;

    border-radius: 35px;

    background: #D50000;

    color: #fff;

    border: none;

    font-weight: 700;

}

/* ==========================================================
    PAGINATION
    ========================================================== */

.pagination {

    display: flex;

    justify-content: center;

    gap: 8px;

    padding: 30px 0;

}

.pagination a {

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #fff;

    border-radius: 12px;

    box-shadow: 0 4px 10px rgba(0, 0, 0, .08);

    font-weight: 700;

}

.pagination .active {

    background: #D50000;

    color: #fff;

}

/* ==========================================================
    BADGES
    ========================================================== */

.badge {

    display: inline-flex;

    align-items: center;

    padding: 6px 12px;

    border-radius: 20px;

    font-size: 11px;

    font-weight: 700;

}

.badge-success {

    background: #e7f8ea;

    color: #0b8b36;

}

.badge-warning {

    background: #fff3d9;

    color: #d68a00;

}

.badge-danger {

    background: #ffe5e5;

    color: #d50000;

}

.badge-primary {

    background: #ffe8e8;

    color: #D50000;

}

/* ==========================================================
    SECTION SPACING
    ========================================================== */

.section {

    padding: 20px 15px;

}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.p-10 {
    padding: 10px;
}

.p-15 {
    padding: 15px;
}

.p-20 {
    padding: 20px;
}

.text-center {

    text-align: center;

}

.text-right {

    text-align: right;

}

.w-100 {

    width: 100%;

}

.rounded {

    border-radius: 18px;

}

.shadow {

    box-shadow: 0 6px 20px rgba(0, 0, 0, .08);

}

.bg-white {

    background: #fff;

}

/* ==========================================================
    ANIMATIONS
    ========================================================== */

.hover-lift {

    transition: .3s;

}

.hover-lift:hover {

    transform: translateY(-4px);

}

.scale:hover {

    transform: scale(1.03);

}

.rotate:hover {

    transform: rotate(2deg);

}

.fade {

    animation: fade .4s;

}

@keyframes fade {

    from {

        opacity: 0;

    }

    to {

        opacity: 1;

    }

}

.slide-up {

    animation: slideUp .5s;

}

@keyframes slideUp {

    from {

        transform: translateY(30px);

        opacity: 0;

    }

    to {

        transform: translateY(0);

        opacity: 1;

    }

}

/* ==========================================================
   FOOTER — CLEAN DARK
   ========================================================== */

@keyframes ftMarquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---- BASE ---- */
.app-footer {
    background: #111111;
    color: #444;
    font-size: 14px;
    line-height: 1.7;
    border-top: 1px solid #222;
    contain: paint;
}

/* ---- MARQUEE ---- */
.ft-marquee {
    background: #0a0a0a;
    border-bottom: 1px solid #222;
    padding: 12px 0;
    margin-bottom: 10px;
    overflow: hidden;
}

.ft-marquee-track {
    display: flex;
    width: max-content;
    animation: ftMarquee 40s linear infinite;
    will-change: transform;
}

.ft-marquee-track span {
    white-space: nowrap;
    font-weight: 600;
    font-size: 13px;
    color: #BEBEBE;
    letter-spacing: .5px;
    flex-shrink: 0;
    padding-right: 0;
}

/* ---- INNER CONTAINER ---- */
.ft-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 36px 20px 0;
    text-align: center;
}

/* ---- CONNECT TEXT ---- */
.ft-connect-text {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
}

/* ---- SOCIAL ROW ---- */
.ft-social-row {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 28px;
}

.ft-social-row a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #BEBEBE;
    font-size: 17px;
    text-decoration: none;
    transition: all .25s;
}

.ft-social-row a:hover {
    background: #D50000;
    border-color: #D50000;
    color: #fff;
}

/* ---- BUTTON GROUPS ---- */
.ft-btn-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.ft-btn-group a {
    display: inline-block;
    padding: 7px 18px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 20px;
    color: #444;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all .25s;
    white-space: nowrap;
}

.ft-btn-group a:hover {
    background: #D50000;
    border-color: #D50000;
    color: #fff;
}

/* ---- BOTTOM BAR ---- */
.ft-bottom-bar {
    padding: 20px 0;
    text-align: center;
}

.ft-bottom-bar p {
    font-size: 13px;
    color: #444;
    margin: 0;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 700px) {
    .ft-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .ft-btn-row {
        justify-content: flex-start;
    }
}

/* ---- SCROLL TO TOP ---- */
#scrollTop {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #D50000;
    color: #fff;
    border: none;
    font-size: 18px;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,.3);
    opacity: 0;
    transition: opacity .3s ease, transform .3s ease;
}

#scrollTop.visible {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

#scrollTop:hover {
    transform: translateY(-3px);
}

.static-page h2 {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #D50000;
}

.static-page img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
}

/* ---- SCROLL TO TOP ---- */
#scrollTop {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #D50000;
    color: #fff;
    border: none;
    font-size: 18px;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,.3);
    opacity: 0;
    transition: opacity .3s ease, transform .3s ease;
}

#scrollTop.visible {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

#scrollTop:hover {
    transform: translateY(-3px);
}


/* ==================== APP DETAIL PAGE ==================== */

.dt-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.dt-app-header { padding: 24px 20px; }

.dt-app-top {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
}

.dt-app-icon-wrap { flex-shrink: 0; }

.dt-app-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    object-fit: cover;
    border: 2px solid rgba(229,9,20,0.2);
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

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

.dt-app-name {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin: 0 0 4px;
    line-height: 1.3;
}

.dt-app-developer {
    font-size: 13px;
    color: #777;
    margin: 0 0 10px;
}

.dt-app-tags { display: flex; gap: 8px; flex-wrap: wrap; }

.dt-stats-inline {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.dt-stats-inline span {
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 4px;
}

.dt-stats-inline i {
    color: #E50914;
    font-size: 11px;
}

.dt-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.dt-tag-verified {
    background: rgba(76,175,80,0.1);
    color: #388E3C;
    border: 1px solid rgba(76,175,80,0.25);
}

.dt-tag-cat {
    background: rgba(229,9,20,0.06);
    color: #D50000;
    border: 1px solid rgba(229,9,20,0.15);
}

.dt-tag-pegi {
    background: #D50000;
    color: #fff;
    border: 1px solid #D50000;
    font-weight: 700;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 6px;
}

.dt-share-btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    color: #E50914;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.dt-share-btn:hover {
    background: #E50914;
    color: #fff;
}

.dt-stats-card { padding: 16px 12px; }

.dt-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.dt-stat {
    text-align: center;
    flex: 1;
    position: relative;
}

.dt-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 36px;
    background: #e0e0e0;
}

.dt-stat-icon {
    font-size: 16px;
    color: #E50914;
    margin-bottom: 6px;
}

.dt-stat-value {
    font-size: 17px;
    font-weight: 700;
    color: #222;
    line-height: 1.2;
}

.dt-stat-label {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}

.dt-rating-card { padding: 16px 20px; }

.dt-rating-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.dt-rating-stars {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #FFC107;
    font-size: 16px;
}

.dt-rating-num {
    margin-left: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #222;
}

.dt-rating-meta {
    display: flex;
    gap: 10px;
    align-items: center;
}

.dt-age-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(198,40,40,0.08);
    color: #C62828;
    border: 1px solid rgba(198,40,40,0.2);
}

.dt-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(76,175,80,0.08);
    color: #388E3C;
    border: 1px solid rgba(76,175,80,0.2);
}

.dt-bonus-card { padding: 16px 20px; }

.dt-bonus-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.dt-bonus-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 140px;
    padding: 12px 16px;
    background: #f9f9f9;
    border-radius: 12px;
    border: 1px solid #eee;
}

.dt-bonus-item > i {
    font-size: 22px;
    color: #FFC107;
}

.dt-bonus-label {
    display: block;
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dt-bonus-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-top: 2px;
}

.dt-download-card {
    padding: 20px;
    text-align: center;
}

.dt-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #E50914, #B00020);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(229,9,20,0.35);
    transition: all 0.3s ease;
}

.dt-download-btn:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 10px 32px rgba(229,9,20,0.5);
    color: #fff;
}

.dt-download-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.dt-download-meta span {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
}

.dt-download-meta i { color: #E50914; }

.dt-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(229,9,20,0.15);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dt-section-title i {
    color: #E50914;
    font-size: 16px;
}

.dt-content-text {
    color: #555;
    font-size: 15px;
    line-height: 1.8;
}

.dt-content-text p {
    margin-bottom: 12px;
}

.dt-content-text img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
}

.dt-content-text h2,
.dt-content-text h3 {
    color: #222;
    margin: 20px 0 10px;
}

.dt-content-text p { margin-bottom: 12px; }

.dt-content-text ul,
.dt-content-text ol {
    padding-left: 20px;
    margin-bottom: 12px;
}

.dt-content-text li { margin-bottom: 6px; }

.dt-content-text a {
    color: #E50914;
    text-decoration: none;
}

.dt-content-text a:hover { text-decoration: underline; }

.dt-screenshot-slider {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.dt-screenshot-slider::-webkit-scrollbar { height: 4px; }

.dt-screenshot-slider::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.dt-screenshot-slider::-webkit-scrollbar-thumb {
    background: rgba(229,9,20,0.4);
    border-radius: 4px;
}

.dt-screenshot-item {
    flex-shrink: 0;
    scroll-snap-align: start;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    transition: transform 0.3s ease;
}

.dt-screenshot-item:hover { transform: scale(1.03); }

.dt-screenshot-item img {
    width: 160px;
    height: 280px;
    object-fit: cover;
    display: block;
}

.dt-faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dt-faq-item {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.dt-faq-item.active { border-color: rgba(229,9,20,0.4); }

.dt-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    cursor: pointer;
    color: #222;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.dt-faq-question:hover { background: rgba(229,9,20,0.03); }

.dt-faq-question i {
    font-size: 14px;
    color: #E50914;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

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

.dt-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.dt-faq-item.active .dt-faq-answer {
    max-height: 300px;
    padding: 0 16px 14px;
}

.dt-faq-answer p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.dt-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.dt-info-item {
    padding: 12px;
    background: #f9f9f9;
    border-radius: 10px;
    border: 1px solid #eee;
}

.dt-info-label {
    display: block;
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.dt-info-val {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

.dt-alt-download {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(229,9,20,0.04);
    border: 1px solid rgba(229,9,20,0.15);
    border-radius: 12px;
    color: #E50914;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.dt-alt-download:last-child { margin-bottom: 0; }

.dt-alt-download:hover {
    background: rgba(229,9,20,0.1);
    border-color: rgba(229,9,20,0.3);
}

.dt-related-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dt-related-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dt-related-card:hover {
    background: #fff;
    border-color: rgba(229,9,20,0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.dt-related-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid #e5e5e5;
    flex-shrink: 0;
}

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

.dt-related-name {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    margin: 0 0 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dt-related-dev {
    font-size: 12px;
    color: #999;
    margin: 0 0 6px;
}

.dt-related-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.dt-related-meta span {
    font-size: 11px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 3px;
}

.dt-related-download {
    flex-shrink: 0;
    padding: 8px 18px;
    background: linear-gradient(135deg, #E50914, #B00020);
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: transform 0.3s ease;
}

.dt-related-card:hover .dt-related-download { transform: scale(1.05); }

.dt-comment {
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}

.dt-comment:last-child { border-bottom: none; }

.dt-comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.dt-comment-name {
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

.dt-comment-stars {
    color: #FFC107;
    font-size: 11px;
}

.dt-comment-date {
    font-size: 12px;
    color: #aaa;
    margin-left: auto;
}

.dt-comment-text {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.dt-empty {
    text-align: center;
    padding: 30px;
    color: #aaa;
}

.dt-empty i {
    font-size: 36px;
    margin-bottom: 10px;
    display: block;
    color: #ddd;
}

.dt-empty p {
    font-size: 14px;
    margin: 0;
}

.dt-card .comment-form input,
.dt-card .comment-form textarea {
    width: 100%;
    padding: 12px 14px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    color: #222;
    font-size: 14px;
    margin-bottom: 10px;
    outline: none;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.dt-card .comment-form input:focus,
.dt-card .comment-form textarea:focus {
    border-color: rgba(229,9,20,0.5);
}

.dt-card .comment-form textarea {
    min-height: 80px;
    resize: vertical;
}

.dt-card .comment-form input::placeholder,
.dt-card .comment-form textarea::placeholder {
    color: #aaa;
}

.banner-slot {
    display: block;
    margin-bottom: 16px;
    border-radius: 14px;
    overflow: hidden;
}

.banner-slot img {
    width: 100%;
    height: auto;
    display: block;
}
