/*
Theme Name: CapCut Theme
Theme URI: https://example.com/capcut
Author: CapCut
Author URI: https://example.com
Description: A beautiful, fully responsive APK download WordPress theme built with Tailwind CSS. Fully reusable for any APK website - all content, colors, and sections are configurable through the admin settings page.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: capcut
Tags: one-column, custom-colors, custom-logo, custom-menu, featured-images, theme-options, translation-ready
*/

:root {
    --brand-color: #4cb050;
    --brand-rgb: 76, 176, 80;
    --brand-dark: #3a8a3e;
    --brand-light: #6ec472;
    --brand-hero-shape: #00b80c;
}

html { scroll-behavior: smooth; }

.hero-bg-shape {
    display: block;
    width: 1014px;
    height: 1014px;
    transform: rotate(120deg);
    background: var(--brand-hero-shape-bg, var(--brand-hero-shape));
    border-radius: 110px;
    opacity: 0.8;
    position: absolute;
    z-index: 0;
    top: -576px;
    right: 0;
    left: auto;
    overflow: hidden;
}

html[dir="rtl"] .hero-bg-shape {
    right: auto;
    left: 0;
    transform: rotate(-120deg);
}

@media (max-width: 1120px) {
    .hero-bg-shape { width: 760px; height: 760px; top: -432px; border-radius: 82px; }
}

@media (max-width: 680px) {
    .hero-bg-shape { display: none; }
}

html[dir="rtl"] .flex-row-reverse-rtl { flex-direction: row-reverse; }
html[dir="rtl"] .lg\:text-left { text-align: right; }
html[dir="rtl"] .lg\:justify-start { justify-content: flex-end; }
html[dir="rtl"] .lg\:mx-0 { margin-left: auto; margin-right: 0; }

.benefit-card { position: relative; overflow: hidden; }
.benefit-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(var(--brand-rgb),0.03), rgba(var(--brand-rgb),0.08));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.benefit-card:hover::before { opacity: 1; }

.faq-num {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--brand-color); color: white;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px; flex-shrink: 0;
}

.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

.card-lift { transition: transform 0.35s ease, box-shadow 0.35s ease; }
.card-lift:hover { transform: translateY(-8px); box-shadow: 0 25px 50px rgba(0,0,0,0.12); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--brand-color); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-dark); }
.dark ::-webkit-scrollbar-track { background: #1a1a2e; }
.dark ::-webkit-scrollbar-thumb { background: var(--brand-color); }
.dark ::-webkit-scrollbar-thumb:hover { background: var(--brand-light); }
html { scrollbar-color: var(--brand-color) #f1f1f1; scrollbar-width: thin; }
html.dark { scrollbar-color: var(--brand-color) #1a1a2e; }

.transposh-nav-wrap { position: relative; z-index: 100; }
.transposh-nav-wrap .transposh-nav-widget { position: relative; }
.transposh-nav-wrap .transposh-nav-widget > span.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.transposh-nav-wrap select,
.transposh-nav-wrap .wgt_block select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--brand-color);
    color: #fff;
    padding: 6px 30px 6px 14px;
    border-radius: 4px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    transition: background-color 0.2s;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
    min-width: 100px;
}
.transposh-nav-wrap select:hover,
.transposh-nav-wrap .wgt_block select:hover {
    background-color: var(--brand-dark);
}
.transposh-nav-wrap select option {
    background: #fff;
    color: #333;
    padding: 8px 14px;
}
.dark .transposh-nav-wrap select option {
    background: #1f2937;
    color: #e5e7eb;
}

.transposh-nav-wrap .wgt_block {
    display: inline-flex;
    align-items: center;
    gap: 0;
}
.transposh-nav-wrap .wgt_block img.flagimg {
    display: none;
}

.transposh-nav-wrap a.l_transposh,
.transposh-nav-wrap .transposh_flags a {
    display: inline-block;
    background-color: var(--brand-color);
    color: #fff !important;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s;
    margin-left: 2px;
}
.transposh-nav-wrap a.l_transposh:hover,
.transposh-nav-wrap .transposh_flags a:hover {
    background-color: var(--brand-dark);
}
.transposh-nav-wrap a.l_transposh.cur_transposh {
    background-color: var(--brand-dark);
    box-shadow: 0 0 0 2px rgba(255,255,255,0.4);
}

.transposh-mobile-wrap { width: 100%; }
.transposh-mobile-wrap .transposh-mobile-widget { width: 100%; }
.transposh-mobile-wrap select,
.transposh-mobile-wrap .wgt_block select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    background-color: var(--brand-color);
    color: #fff;
    padding: 10px 36px 10px 16px;
    border-radius: 8px;
    border: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
}
.transposh-mobile-wrap select option {
    background: #fff;
    color: #333;
}
.dark .transposh-mobile-wrap select option {
    background: #1f2937;
    color: #e5e7eb;
}
.transposh-mobile-wrap .wgt_block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.transposh-mobile-wrap .wgt_block img.flagimg {
    display: none;
}
.transposh-mobile-wrap a.l_transposh,
.transposh-mobile-wrap .transposh_flags a {
    display: block;
    background-color: var(--brand-color);
    color: #fff !important;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s;
}
.transposh-mobile-wrap a.l_transposh:hover,
.transposh-mobile-wrap .transposh_flags a:hover {
    background-color: var(--brand-dark);
}
.transposh-mobile-wrap a.l_transposh.cur_transposh {
    background-color: var(--brand-dark);
}

.apk-screenshots-scroll {
    scrollbar-width: thin;
    scrollbar-color: var(--brand-color, #4cb050) transparent;
}
.apk-screenshots-scroll::-webkit-scrollbar {
    height: 6px;
}
.apk-screenshots-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.apk-screenshots-scroll::-webkit-scrollbar-thumb {
    background-color: var(--brand-color, #4cb050);
    border-radius: 3px;
}
