:root {
    --primary-color: #2e7d32;
    /* Yono Green */
    --secondary-color: #1b5e20;
    --text-color: #333;
    --white: #fff;
    --bg-light: #f0f2f5;
    --btn-blue: #4285f4;
    --btn-hover: #3367d6;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
}

html,
body {
    touch-action: pan-x pan-y;
}

body {
    background-color: var(--bg-light);
    color: var(--text-color);
    padding-bottom: 20px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input,
textarea,
select {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* --- Header & Nav --- */
header {
    background-color: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 800;
    color: #002f5b;
    text-decoration: none;
    gap: 8px;
    line-height: 1.1;
    max-width: 80%;
}

.logo img {
    height: 34px;
    width: auto;
    border-radius: 6px;
    flex-shrink: 0;
}

/* Desktop Menu */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

/* Hamburger Menu Icon */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #4285f4;
    transition: 0.3s;
}

/* --- Mobile Responsive Nav --- */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
        padding: 12px;
        box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
        border-bottom-left-radius: 14px;
        border-bottom-right-radius: 14px;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li+li {
        margin-top: 8px;
    }

    .nav-links li a {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 8px 10px;
        border-radius: 10px;
        background: #ffffff;
        border: 1px solid #e5e7eb;
        box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
        font-weight: 800;
        position: relative;
        padding-left: 14px;
    }

    .nav-links li a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 8px;
        bottom: 8px;
        width: 4px;
        border-radius: 999px;
        background: linear-gradient(180deg, #60a5fa 0%, #2563eb 100%);
        opacity: 0.95;
    }

    .nav-links li a::after {
        content: '›';
        margin-left: auto;
        color: #94a3b8;
        font-size: 20px;
        font-weight: 1000;
        line-height: 1;
    }

    .nav-links li a:hover {
        background: #f8fafc;
        border-color: #93c5fd;
        transform: translateX(2px);
    }

    .nav-links.active {
        display: flex;
    }

    .navbar {
        padding: 8px 12px;
        min-height: 58px;
    }

    .logo {
        font-size: 16px;
        max-width: 75%;
    }

    .logo img {
        height: 28px;
    }
}

/* --- Promo Container (Elementor Style Gradient) --- */
.promo-container {
    background-color: var(--promo-strip-bg, #0b2f4d);
    background-image: none;
    padding: 10px;
    border-bottom: 1px solid #08263d;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.promo-text {
    color: #FFFFFF;
    font-family: "Roboto", sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.5em;
    margin: 0;
    padding: 0 10px;
    text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
}

.home-search {
    background: transparent;
    border-bottom: 0;
    margin-bottom: 10px;
}

.home-search-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px 0;
    position: relative;
}

.home-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.home-search-inputwrap {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    flex: 1;
    padding: 10px 12px;
    border-radius: 8px;
    border: 2px solid #24c4a8;
    background: #ffffff;
    box-shadow:
        0 10px 18px rgba(15, 23, 42, 0.10),
        0 2px 0 rgba(255, 255, 255, 0.95) inset,
        0 -2px 0 rgba(15, 23, 42, 0.08) inset;
}

.home-search-inputwrap i {
    color: #0f172a;
}

.home-search-inputwrap:focus-within {
    border-color: #19b99d;
    box-shadow:
        0 12px 22px rgba(15, 23, 42, 0.14),
        0 0 0 3px rgba(36, 196, 168, 0.22),
        0 2px 0 rgba(255, 255, 255, 0.95) inset,
        0 -2px 0 rgba(15, 23, 42, 0.08) inset;
}

.home-search-inputwrap input {
    border: 0;
    outline: 0;
    background: transparent;
    width: 100%;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    padding-right: 34px;
}

.home-search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 0;
    background: rgba(15, 23, 42, 0.08);
    color: #0f172a;
    font-size: 18px;
    font-weight: 900;
    line-height: 24px;
    cursor: pointer;
}

.home-search-clear:hover {
    background: rgba(15, 23, 42, 0.14);
}

.home-search-btn {
    flex: 0 0 auto;
    height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(180deg, #22c55e 0%, #16a34a 55%, #15803d 100%);
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
    box-shadow:
        0 10px 18px rgba(22, 163, 74, 0.26),
        0 2px 0 rgba(255, 255, 255, 0.35) inset,
        0 -2px 0 rgba(0, 0, 0, 0.20) inset;
}

.home-search-btn:hover {
    background: linear-gradient(180deg, #16a34a 0%, #15803d 60%, #11632f 100%);
}

.home-search-btn:active {
    transform: translateY(1px);
    box-shadow:
        0 6px 12px rgba(22, 163, 74, 0.22),
        0 2px 0 rgba(255, 255, 255, 0.25) inset,
        0 -2px 0 rgba(0, 0, 0, 0.25) inset;
}

.home-search-suggestions {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 52px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
    overflow: hidden;
    z-index: 999;
}

.home-suggest-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    text-decoration: none;
    color: #0f172a;
    font-weight: 800;
    border-bottom: 1px solid #eef2f7;
}

.home-suggest-icon {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    object-fit: cover;
    flex: 0 0 auto;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.14);
    background: #f1f5f9;
}

.home-suggest-icon-fallback {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    flex: 0 0 auto;
    background: linear-gradient(135deg, #0ea5e9 0%, #a855f7 60%, #f97316 100%);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.14);
}

.home-suggest-title {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-suggest-item:last-child {
    border-bottom: 0;
}

.home-suggest-item:hover {
    background: rgba(14, 165, 233, 0.08);
    color: #0284c7;
}

@media (max-width: 768px) {
    .promo-container {
        padding: 8px 5px;
    }

    .promo-text {
        font-size: 8px !important;
        line-height: 1.3em;
        font-weight: 500;
        letter-spacing: 0.3px;
    }

    .home-search-inner {
        padding: 10px 12px 0;
    }

    .home-search-suggestions {
        left: 12px;
        right: 12px;
    }

    .home-search-btn {
        height: 40px;
        padding: 0 12px;
    }

    .home-search {
        margin-bottom: 8px;
    }
}

/* --- Main Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* --- Blog Listing UI --- */
.blog-page .blog-title-card {
    border: 0;
    box-shadow: 0 10px 18px rgba(2, 132, 199, 0.12);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 14px;
    margin-bottom: 14px;
}

.blog-page .blog-title-card::after {
    display: none;
}

.blog-page .blog-title-card h1 {
    font-size: 20px;
    font-weight: 1000;
    color: #0f172a;
}

.blog-page .blog-list-box {
    margin-top: 0;
    padding: 6px 18px;
}

.blog-page .blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 6px 0 10px;
}

.blog-page .blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(180deg, #0b1220 0%, #070d18 100%);
    color: #e2e8f0;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.22);
    transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.blog-page .blog-card:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 18px 38px rgba(2, 6, 23, 0.28);
}

.blog-page .blog-card-media {
    position: relative;
    background: #020617;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.blog-page .blog-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.blog-page .blog-card-body {
    padding: 14px 14px 16px;
}

.blog-page .blog-card-title {
    font-weight: 1000;
    font-size: 16px;
    line-height: 1.35;
    letter-spacing: 0.1px;
    color: #ffffff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-page .blog-card-date {
    margin-top: 8px;
    color: rgba(226, 232, 240, 0.75);
    font-size: 12px;
    font-weight: 800;
}

.blog-page .blog-card-desc {
    margin-top: 10px;
    color: rgba(226, 232, 240, 0.88);
    font-size: 13px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-page .blog-post-thumb-img {
    width: 84px;
    height: 84px;
    object-fit: cover;
    display: block;
}

.blog-page .blog-post-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid #eef2f7;
    text-decoration: none;
    color: inherit;
}

.blog-page .blog-post-thumb {
    display: block;
    flex: 0 0 auto;
}

.blog-page .blog-post-body {
    flex: 1;
    min-width: 0;
}

.blog-page .blog-post-title {
    color: #0f172a;
    font-weight: 1000;
    font-size: 18px;
    line-height: 1.2;
    text-decoration: none;
}

.blog-page .blog-post-date {
    margin-top: 6px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.blog-page .blog-post-desc {
    margin-top: 8px;
    color: #334155;
    font-size: 14px;
    line-height: 1.5;
}

.blog-page .blog-post-item:hover {
    background: rgba(14, 165, 233, 0.04);
    border-radius: 12px;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: -10px;
    margin-right: -10px;
}

.blog-page .blog-post-item:hover .blog-post-title {
    color: #0284c7;
    text-decoration: underline;
}

.blog-page .blog-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
}

.blog-page .blog-page-btn {
    text-decoration: none;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-weight: 900;
    color: #0f172a;
    background: #fff;
}

.blog-page .blog-page-btn:hover {
    border-color: #0ea5e9;
    box-shadow: 0 10px 18px rgba(14, 165, 233, 0.18);
}

.blog-page .blog-page-current {
    padding: 10px 12px;
    border: 1px solid #0ea5e9;
    border-radius: 12px;
    font-weight: 1000;
    color: #062235;
    background: #e0f2fe;
}

.blog-page .blog-page-ellipsis {
    padding: 10px 6px;
    color: #64748b;
    font-weight: 900;
}

@media (max-width: 520px) {
    .blog-page .blog-post-thumb-img {
        width: 72px;
        height: 72px;
    }

    .blog-page .blog-post-title {
        font-size: 16px;
    }

    .blog-page .blog-post-desc {
        font-size: 13px;
    }

    .blog-page .blog-list-box {
        padding: 6px 12px;
    }

    .blog-page .blog-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .blog-page .blog-card-title {
        font-size: 16px;
    }

    .blog-page .blog-card-desc {
        font-size: 13px;
    }

    .blog-page .blog-card {
        box-shadow: 0 12px 26px rgba(2, 6, 23, 0.18);
    }
}

.home-telegram-cta {
    margin: 18px 0 6px;
    display: flex;
    justify-content: center;
}

.telegram-pill {
    width: 100%;
    max-width: 920px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    background: #ffffff;
    border: 3px solid #0ea5e9;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.18);
    text-decoration: none;
    color: #0284c7;
    font-weight: 900;
    animation: telegram-border-blink 0.9s ease-in-out infinite;
}

.telegram-pill .tg-icon {
    width: 18px;
    height: 18px;
    fill: #0284c7;
}

.telegram-pill i {
    font-size: 18px;
}

@media (max-width: 480px) {
    .telegram-pill {
        padding: 11px 14px;
    }
}

/* --- Game List (Horizontal Layout) --- */
.game-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.game-card {
    background: var(--white);
    padding: 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    position: relative;
    gap: 12px;
}

/* 1. Image Section */
.game-img-box {
    position: relative;
    width: 65px;
    height: 65px;
    flex-shrink: 0;
}

.game-icon {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid #eee;
}

.rank-badge {
    position: absolute;
    top: -5px;
    left: -5px;
    background-color: #ff3d00;
    color: white;
    font-size: 10px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px 0 5px 0;
    z-index: 2;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* 2. Text Info Section */
.game-info-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
}

.game-info-text h3 a {
    font-size: 16px;
    font-weight: 800;
    color: #000;
    text-decoration: none;
    display: block;
}

.info-line {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.bonus {
    color: #d32f2f;
}

.withdraw {
    color: #2e7d32;
}

.info-line i {
    font-size: 12px;
}

/* 3. Button Section */
.game-action {
    flex-shrink: 0;
}

.download-btn {
    background-color: var(--btn-blue);
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 4px rgba(66, 133, 244, 0.3);
}

.download-btn:hover {
    background-color: var(--btn-hover);
}

.upcoming-btn {
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
    color: #1f2937;
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 900;
    box-shadow: 0 8px 14px rgba(245, 158, 11, 0.22);
}

.upcoming-btn:hover {
    background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
}

.big-download-btn.upcoming-big-btn {
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%) !important;
    color: #111827;
}

.upcoming-timer {
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.9);
    border: 1px dashed rgba(245, 158, 11, 0.55);
}

.upcoming-big-timer {
    margin-top: 10px;
    font-weight: 1000;
    color: #0f172a;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.35);
}

/* --- Mobile Specific (Game List) --- */
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .game-card {
        padding: 10px;
        gap: 10px;
    }

    .game-img-box {
        width: 60px;
        height: 60px;
    }

    .game-info-text h3 a {
        font-size: 15px;
    }

    .info-line {
        font-size: 11px;
    }

    .download-btn {
        padding: 6px 10px;
        font-size: 12px;
    }

    .btn-text {
        display: block;
    }
}

/* --- Footer Warning Box (Pink) --- */
.notice-section {
    margin-top: 30px;
    margin-bottom: 20px;
}

.notice-box {
    background-color: #ffebee;
    border: 1px solid #ef5350;
    border-radius: 8px;
    padding: 20px;
    color: #000;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.notice-title {
    text-align: center;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 800;
    color: #000;
}

.notice-title i {
    font-size: 24px;
    margin-right: 5px;
}

.notice-box p {
    margin-bottom: 10px;
}

.notice-box strong {
    font-weight: 700;
}

.notice-section {
    margin-top: 30px;
}

.notice-box {
    background: #fff5f5;
    border: 1px solid #feb2b2;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.notice-box p {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

.thanks-text {
    text-align: center;
    color: #2e7d32;
    font-size: 18px;
    margin-top: 25px;
    font-weight: 700;
}

.bottom-tags-ticker {
    background: #10b981;
    border: 2px solid #059669;
    color: #ffffff;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
    margin: 15px 0;
    border-radius: 8px;
    height: 44px;
    /* Fixed height to prevent jumping */
    display: flex;
    align-items: center;
}

.bottom-tags-content {
    display: inline-block;
    padding-left: 100%;
    animation: bottom-tags-scroll 18s linear infinite;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
}

@keyframes bottom-tags-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.bottom-cta-stack {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bottom-cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.bottom-cta-row .cta-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: #0f172a;
    min-width: 0;
}

.bottom-cta-row .cta-left span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bottom-cta-row .cta-left i {
    font-size: 18px;
}

.bottom-cta-row .cta-right {
    background: #0ea5e9;
    color: #ffffff;
    border: none;
    text-decoration: none;
    padding: 9px 12px;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.bottom-cta-row.share {
    background: #ecfdf5;
    border-color: #86efac;
}

.bottom-cta-row.share .cta-right {
    background: #16a34a;
}

.bottom-cta-row.telegram {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.bottom-cta-row.telegram .cta-right {
    background: #1d4ed8;
}

@media (max-width: 520px) {
    .bottom-cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .bottom-cta-row .cta-left span {
        white-space: normal;
    }

    .bottom-cta-row .cta-right {
        width: 100%;
        justify-content: center;
    }
}

@keyframes cta-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.02);
        opacity: 0.85;
    }
}

.bottom-cta-row.telegram,
.bottom-cta-row.share {
    animation: cta-pulse 1.2s ease-in-out infinite;
}

.bottom-cta-row.telegram .cta-right,
.bottom-cta-row.share .cta-right {
    animation: cta-pulse 1s ease-in-out infinite;
}

@media (max-width: 480px) {
    .bottom-tags-content {
        font-size: 12px;
    }

    .bottom-cta-row {
        padding: 10px;
    }

    .bottom-cta-row .cta-right {
        padding: 8px 10px;
        font-size: 13px;
    }

    .seo-tags-marquee marquee {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .notice-box {
        padding: 15px;
        font-size: 13px;
    }

    .notice-title {
        font-size: 18px;
    }
}

/* --- Blue Scrolling Ticker --- */
.scrolling-ticker {
    background-color: #0056b3;
    color: #ffffff;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
    margin-top: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border: 2px solid #004494;
}

.scrolling-content {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left var(--running-ticker-speed, 20s) linear infinite;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    font-family: 'Verdana', sans-serif;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

@media (max-width: 768px) {
    .scrolling-ticker {
        padding: 8px 0;
    }

    .scrolling-content {
        font-size: 12px;
    }
}

/* --- SEO Content Box (Clean White Design) --- */
.seo-content-box {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    margin-top: 25px;
    margin-bottom: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.seo-item {
    margin-bottom: 30px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 15px;
}

.seo-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.seo-item h2 {
    color: #0d47a1;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: 'Segoe UI', sans-serif;
}

.seo-item ul {
    list-style-type: none;
    padding-left: 5px;
}

.seo-item ul li {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 5px;
    position: relative;
    padding-left: 15px;
}

.seo-item ul li::before {
    content: "•";
    color: #2e7d32;
    font-weight: bold;
    display: inline-block;
    width: 15px;
    margin-left: -15px;
}

@media (max-width: 768px) {
    .seo-content-box {
        padding: 15px;
    }

    .seo-item h2 {
        font-size: 17px;
    }

    .seo-item ul li {
        font-size: 13px;
    }
}

/* --- Details Page Styling --- */

/* 1. Page Title Card */
.page-title-card {
    background: #ffffff;
    padding: 12px 15px;
    border-radius: 12px;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.25);
    border: 2px solid #000;
    margin-bottom: 25px;
    text-align: left;
    position: relative;
}

.page-title-card::after {
    content: "";
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-top: 18px solid #f4f4f4;
}

.page-title-card h1 {
    font-size: 18px;
    font-weight: 800;
    color: #000;
    margin: 0;
    line-height: 1.4;
    font-family: 'Segoe UI', sans-serif;
}

/* 2. Top Header Section (Updated: Row Layout & Left Align) */
.app-header-section {
    display: flex;
    flex-direction: row;
    /* Force Row Desktop */
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
    margin-bottom: 30px;
    text-align: left;
    width: 100%;
}

.app-logo-box {
    width: 100px;
    height: 100px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
    padding: 0;
    overflow: hidden;
    flex-shrink: 0;
}

.app-logo-box img {
    width: 100%;
    height: 100%;
    border-radius: 22px;
    object-fit: cover;
    display: block;
}

.app-title-box {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 4px;
    flex: 1;
}

/* 3. Big App Name & APK Tag */
.main-app-name {
    font-size: 28px;
    font-weight: 900;
    color: #000;
    margin-bottom: 5px;
    line-height: 1;
    font-family: sans-serif;
    letter-spacing: -0.5px;
}

.apk-tag {
    color: #007bff;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    background: transparent;
    padding: 0;
    margin-top: 5px;
    display: inline-block;
}

.apk-tag:hover {
    text-decoration: underline;
}

/* 4. Stats Grid */
.app-stats-grid {
    display: flex;
    justify-content: space-between;
    background: #fff;
    border-radius: 15px;
    padding: 15px 5px;
    margin-bottom: 25px;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-right: 1px solid #eee;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item i {
    font-size: 20px;
    margin-bottom: 5px;
    color: #000;
}

.stat-item strong {
    display: block;
    font-size: 16px;
    color: #000;
}

.stat-item span {
    font-size: 12px;
    color: #777;
}

.stat-item .rating-stars {
    display: inline-flex;
    gap: 2px;
    margin-bottom: 6px;
}

.stat-item .rating-stars i {
    margin-bottom: 0;
    color: #22c55e;
    font-size: 16px;
}

.stat-item .rating-stars i.fa-regular {
    color: #cbd5e1;
    font-size: 16px;
}

/* Make the last label (Upto Bonus) a bit more readable */
.app-stats-grid .stat-item:last-child span {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

@media (max-width: 480px) {}

/* 5. Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.big-download-btn {
    background: linear-gradient(180deg, #ec407a 0%, #c2185b 100%);
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 8px;
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border: 1px solid #e91e63;
    display: block;
    width: 100%;
}

.big-download-btn:hover {
    background: linear-gradient(180deg, #c2185b 0%, #880e4f 100%);
}

.download-desc {
    margin: 15px auto 0;
    max-width: 900px;
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    text-align: center;
    padding: 0 10px;
    font-weight: 500;
}

/* --- App Description Section (Premium Design) --- */
.app-description-container,
.app-description {
    margin-top: 30px;
    padding: 22px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.app-description-container h2,
.app-description h2 {
    font-size: 20px;
    font-weight: 900;
    color: #4a148c;
    margin-bottom: 12px;
    margin-top: 28px;
    border-left: 5px solid #4a148c;
    padding-left: 12px;
    line-height: 1.3;
}

.app-description-container h2:first-child,
.app-description h2:first-child {
    margin-top: 0;
}

.app-description-container h3,
.app-description h3 {
    font-size: 17px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 8px;
    margin-top: 20px;
}

.app-description-container p,
.app-description p {
    font-size: 15px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 15px;
}

.app-description-container strong,
.app-description strong {
    color: #0f172a;
    font-weight: 700;
}

.app-description-container em,
.app-description em {
    color: #4a148c;
    font-style: italic;
}

/* Unordered Lists */
.app-description-container ul,
.app-description ul {
    margin-bottom: 15px;
    padding-left: 0;
    list-style: none;
}

.app-description-container ul li,
.app-description ul li {
    font-size: 14px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 8px;
    font-weight: 600;
    padding: 8px 12px 8px 32px;
    position: relative;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid #22c55e;
}

.app-description-container ul li::before,
.app-description ul li::before {
    content: "✓";
    position: absolute;
    left: 10px;
    color: #22c55e;
    font-weight: 900;
    font-size: 14px;
}

/* Ordered Lists (Steps) */
.app-description-container ol,
.app-description ol {
    margin-bottom: 15px;
    padding-left: 0;
    list-style: none;
    counter-reset: step-counter;
}

.app-description-container ol li,
.app-description ol li {
    font-size: 14px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 10px;
    font-weight: 600;
    padding: 10px 12px 10px 42px;
    position: relative;
    background: #f0f9ff;
    border-radius: 10px;
    border: 1px solid #bae6fd;
    counter-increment: step-counter;
}

.app-description-container ol li::before,
.app-description ol li::before {
    content: counter(step-counter);
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}

/* Info Tables */
.app-description-container table,
.app-description table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 18px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.app-description-container table th,
.app-description table th {
    background: linear-gradient(135deg, #4a148c, #6a1b9a);
    color: #fff;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
    width: 40%;
}

.app-description-container table td,
.app-description table td {
    padding: 10px 14px;
    font-size: 14px;
    color: #1e293b;
    font-weight: 600;
    background: #fff;
}

.app-description-container table tr:nth-child(even) td,
.app-description table tr:nth-child(even) td {
    background: #f8fafc;
}

.app-description-container table tr:not(:last-child) th,
.app-description-container table tr:not(:last-child) td,
.app-description table tr:not(:last-child) th,
.app-description table tr:not(:last-child) td {
    border-bottom: 1px solid #e2e8f0;
}

/* Links inside description */
.app-description-container a,
.app-description a {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px dashed #0ea5e9;
}

.app-description-container a:hover,
.app-description a:hover {
    color: #4a148c;
    border-bottom-color: #4a148c;
}

@media (max-width: 480px) {
    .app-description-container,
    .app-description {
        padding: 15px;
    }
    .app-description-container h2,
    .app-description h2 {
        font-size: 17px;
    }
    .app-description-container table th,
    .app-description table th {
        font-size: 12px;
        padding: 8px 10px;
    }
    .app-description-container table td,
    .app-description table td {
        font-size: 13px;
        padding: 8px 10px;
    }
}

.telegram-btn {
    background: #fff;
    color: #29b6f6;
    border: 4px solid #29b6f6;
    text-align: center;
    padding: 12px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 30px;
    display: block;
    width: 100%;
    animation: telegram-border-blink 0.9s ease-in-out infinite;
}

.telegram-btn i {
    margin-right: 5px;
}

.telegram-pill .tg-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    display: inline-block;
}

@keyframes telegram-border-blink {

    0%,
    100% {
        border-color: #29b6f6;
        box-shadow: 0 0 0 rgba(41, 182, 246, 0);
    }

    50% {
        border-color: #0ea5e9;
        box-shadow: 0 0 0 6px rgba(41, 182, 246, 0.35);
    }
}

/* 6. Related Apps Header */
.related-header {
    background: linear-gradient(to right, #00c853, #009688);
    color: white;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Mobile Adjustments for Details Page */
@media (max-width: 480px) {
    .page-title-card h1 {
        font-size: 15px;
    }

    /* Force Row on Mobile (Icon Left, Text Right) */
    .app-header-section {
        flex-direction: row !important;
        gap: 15px;
        text-align: left !important;
    }

    .app-logo-box {
        width: 95px;
        height: 95px;
    }

    .main-app-name {
        font-size: 22px;
    }

    .app-title-box {
        text-align: center !important;
        align-items: center;
    }

    .stat-item strong {
        font-size: 14px;
    }

    .stat-item span {
        font-size: 10px;
    }

    .app-stats-grid .stat-item:last-child span {
        font-size: 12px;
    }

    .big-download-btn {
        font-size: 16px;
        padding: 12px;
    }

    .stat-item .rating-stars i {
        font-size: 14px;
    }
}

/* --- FAQ Section Styling --- */
.faq-container {
    margin-top: 40px;
    margin-bottom: 30px;
}

.faq-header-styled {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.faq-text {
    font-size: 30px;
    font-weight: 900;
    color: #4a148c;
    font-style: italic;
    font-family: serif;
}

.triangle-left {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 20px solid #4a148c;
}

.triangle-right {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 20px solid #4a148c;
}

.faq-item {
    background: #fff;
    border: 3px solid #000;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 5px 6px 0px #1a1a1a;
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    color: #000;
    background: #fff;
}

.faq-question i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f9f9f9;
    padding: 0 20px;
}

.faq-answer p {
    padding: 15px 0;
    color: #333;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-item.active {
    box-shadow: 2px 3px 0px #1a1a1a;
    transform: translateY(2px);
}

@media (max-width: 480px) {
    .faq-text {
        font-size: 24px;
    }

    .faq-question {
        font-size: 14px;
        padding: 12px 15px;
    }
}