/* ========================================
   DOLLARFORSALE – PROFESSIONAL EDITION
   ======================================== */

/* ---------- RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6C63FF;
    --primary-dark: #5A52D5;
    --primary-light: #8B83FF;
    --secondary: #FF6B6B;
    --gold: #FFD700;
    --gold-dark: #F4A900;
    --dark: #0A0E1A;
    --dark-card: #131B2E;
    --dark-hover: #1A243C;
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --border: rgba(255, 255, 255, 0.08);
    --success: #10B981;
    --whatsapp: #25D366;
    --shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 32px 64px rgba(0, 0, 0, 0.6);
    --radius: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--dark);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* ---------- HEADER ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(10, 14, 26, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.brand:hover {
    transform: scale(1.02);
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--dark);
    border-radius: 12px;
    font-weight: 900;
    font-size: 1.2rem;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.2);
}

.brand span {
    background: linear-gradient(135deg, #FFFFFF 30%, #94A3B8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

nav a {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
    padding: 4px 0;
}

nav a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transition: var(--transition);
    border-radius: 2px;
}

nav a:hover {
    color: var(--text-primary);
}

nav a:hover::before {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--whatsapp), #1EBE5D);
    color: #FFFFFF !important;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.2);
}

.nav-cta::before {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.35);
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 4px;
}

/* ---------- SEARCH FORM ---------- */
.search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 4px 4px 4px 16px;
    border: 1px solid var(--border);
    transition: var(--transition);
    flex: 1;
    max-width: 260px;
}

.search-form:focus-within {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.12);
}

.search-form input {
    background: transparent;
    border: none;
    padding: 8px 0;
    color: var(--text-primary);
    font-size: 0.9rem;
    width: 100%;
    outline: none;
}

.search-form input::placeholder {
    color: var(--text-secondary);
}

.search-form button {
    background: var(--primary);
    border: none;
    color: #fff;
    padding: 8px 14px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.search-form button:hover {
    background: var(--primary-dark);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    padding: 140px 0 80px;
    background: var(--dark);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-copy .eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    padding: 8px 18px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 30px;
    background: rgba(255, 215, 0, 0.05);
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.hero-copy h1 {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #FFFFFF 20%, #94A3B8 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-copy p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 32px 0 24px;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.btn:hover::after {
    left: 100%;
}

.btn:hover {
    transform: translateY(-4px);
}

.btn.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #FFFFFF;
    box-shadow: 0 12px 28px rgba(108, 99, 255, 0.35);
}

.btn.primary:hover {
    box-shadow: 0 16px 40px rgba(108, 99, 255, 0.45);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

.btn.whatsapp {
    background: linear-gradient(135deg, var(--whatsapp), #1EBE5D);
    color: #FFFFFF;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.25);
}

.btn.whatsapp:hover {
    box-shadow: 0 16px 40px rgba(37, 211, 102, 0.35);
}

.btn.small {
    padding: 10px 18px;
    font-size: 0.8rem;
    border-radius: 10px;
}

.btn.full {
    width: 100%;
}

.btn .icon {
    font-size: 1.1rem;
}

/* ---------- PHONE MOCKUP ---------- */
.hero-card {
    display: flex;
    justify-content: center;
}

.phone {
    width: 320px;
    padding: 14px;
    border-radius: 44px;
    background: linear-gradient(145deg, #1A1B2E, #0F1120);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
    transform: rotate(2deg);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.phone:hover {
    transform: rotate(0deg) scale(1.02);
}

.phone-top {
    width: 120px;
    height: 24px;
    margin: 0 auto -10px;
    background: #1A1B2E;
    border-radius: 0 0 16px 16px;
}

.screen {
    min-height: 560px;
    padding: 70px 20px 28px;
    border-radius: 32px;
    background: linear-gradient(180deg, #F8F9FF, #E8ECFF);
    color: var(--dark);
}

.screen .app-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #FFFFFF;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.3);
}

.screen h3 {
    font-size: 1.8rem;
    margin: 18px 0 24px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1A1B2E, #4A4B6E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mock-card {
    display: flex;
    justify-content: space-between;
    padding: 14px 18px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.mock-card:hover {
    transform: translateX(4px);
}

.mock-card strong {
    color: var(--success);
}

.screen button {
    width: 100%;
    padding: 16px;
    margin-top: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #FFFFFF;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(108, 99, 255, 0.3);
}

.screen button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(108, 99, 255, 0.4);
}

/* ---------- SECTION ---------- */
.section {
    padding: 80px 0;
    position: relative;
}

.section.alt {
    background: rgba(255, 255, 255, 0.02);
}

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px;
}

.section-heading .eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    padding: 6px 16px;
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 30px;
    background: rgba(255, 215, 0, 0.04);
    margin-bottom: 16px;
    backdrop-filter: blur(8px);
}

.section-heading h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #FFFFFF 20%, #94A3B8 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-heading p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* ---------- APP GRID ---------- */
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

/* ---------- APP CARD ---------- */
.app-card {
    background: var(--dark-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.app-card:hover {
    transform: translateY(-12px);
    border-color: rgba(108, 99, 255, 0.3);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5);
}

.app-card.ready-app {
    border-color: rgba(255, 215, 0, 0.15);
}

.app-card.ready-app:hover {
    border-color: rgba(255, 215, 0, 0.4);
}

.app-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #131B2E, #1A243C);
}

.app-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(transparent, rgba(10, 14, 26, 0.8));
    pointer-events: none;
}

.app-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.app-card:hover .app-card-image img {
    transform: scale(1.08);
}

/* Badges */
.badge-featured,
.badge-new,
.badge-discount,
.price-tag {
    position: absolute;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.7rem;
    padding: 5px 14px;
    backdrop-filter: blur(8px);
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.badge-featured {
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--dark);
}

.badge-new {
    top: 14px;
    right: 14px;
    background: rgba(16, 185, 129, 0.9);
    color: #FFFFFF;
}

.badge-discount {
    top: 54px;
    right: 14px;
    background: rgba(255, 107, 107, 0.9);
    color: #FFFFFF;
}

.price-tag {
    bottom: 14px;
    right: 14px;
    background: rgba(10, 14, 26, 0.85);
    color: var(--gold);
    font-size: 0.95rem;
    font-weight: 800;
    padding: 6px 18px;
    border: 1px solid rgba(255, 215, 0, 0.15);
    backdrop-filter: blur(8px);
}

.app-card-body {
    padding: 20px 20px 22px;
}

.app-card-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-card-body .app-type {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.app-card-body .app-type.rent {
    color: #60A5FA;
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.15);
}

.app-card-body .app-type.sale {
    color: #F472B6;
    background: rgba(244, 114, 182, 0.1);
    border: 1px solid rgba(244, 114, 182, 0.15);
}

.app-card-body .app-type.ready {
    color: var(--gold);
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.15);
}

.app-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.app-card-actions .btn {
    width: 100%;
    font-size: 0.75rem;
    padding: 10px 6px;
}

/* ---------- FOOTER ---------- */
footer {
    background: #060912;
    border-top: 1px solid var(--border);
    padding: 60px 0 20px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.footer-grid p,
.footer-grid a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-grid a {
    display: block;
    transition: var(--transition);
}

.footer-grid a:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

.footer-grid h4 {
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 20px;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.disclaimer {
    text-align: right;
}

/* ---------- APP DETAIL PAGE ---------- */
.app-detail {
    padding: 100px 0 40px;
}

.app-detail-header {
    margin-bottom: 32px;
}

.app-detail-header h1 {
    font-size: 2.8rem;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #FFFFFF 20%, #94A3B8 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.app-detail-header .app-type {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 20px;
}

.app-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    width: 100%;
}

/* ---------- IMAGE GALLERY ---------- */
.app-detail-image {
    width: 100%;
    padding: 10px;
    background: var(--dark-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.app-detail-image .main-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--dark-card);
    margin-bottom: 20px;
    cursor: pointer;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-detail-image .main-image img {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: contain;
    background: #0A0E1A;
    transition: opacity 0.3s ease;
}

.image-counter {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.image-nav-hint {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 14px;
    border-radius: 20px;
    z-index: 2;
}

/* Thumbnail Gallery */
.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 14px;
    padding: 0 10px 10px 10px;
}

.thumbnail-gallery .thumbnail {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
    background: var(--dark-card);
}

.thumbnail-gallery .thumbnail:hover {
    border-color: var(--primary);
    transform: scale(1.05);
}

.thumbnail-gallery .thumbnail.active {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.no-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #94a3b8;
    font-size: 5rem;
    border-radius: 12px;
}

.no-image-placeholder span {
    font-size: 1rem;
    margin-top: 12px;
}

/* ---------- LIGHTBOX OVERLAY ---------- */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    animation: fadeIn 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    font-weight: 300;
}

.lightbox-close:hover {
    transform: rotate(90deg);
    color: var(--gold);
}

.lightbox-counter {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 16px;
    border-radius: 20px;
    z-index: 10;
}

.lightbox-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 75vh;
}

.lightbox-loader {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.6);
    animation: spin 1s linear infinite;
}

.lightbox-overlay img {
    max-width: 85%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    z-index: 5;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    font-size: 2.5rem;
    padding: 20px 16px;
    cursor: pointer;
    z-index: 10;
    border-radius: 8px;
    transition: var(--transition);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.05);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.lightbox-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-dot.active {
    background: var(--gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    transform: scale(1.2);
}

.lightbox-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* ---------- APP DETAIL INFO ---------- */
.app-detail-info .price-box {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px 24px;
    background: var(--dark-card);
    border-radius: 14px;
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
}

.app-detail-info .price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gold);
}

.app-detail-info .original-price {
    font-size: 1.2rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.app-detail-info .discount {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary);
    background: rgba(255, 107, 107, 0.15);
    padding: 2px 14px;
    border-radius: 20px;
}

.app-detail-info .description {
    margin-bottom: 24px;
}

.app-detail-info .description h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.app-detail-info .description p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.app-detail-info .store-link {
    margin-bottom: 24px;
}

.app-detail-info .app-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-detail-info .app-actions .btn {
    justify-content: center;
}

/* ---------- CATEGORIES PAGE ---------- */
.categories-page {
    padding: 120px 0 60px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.category-card {
    background: var(--dark-card);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.category-card .category-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.category-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.category-card .category-count {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-copy p {
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .phone {
        width: 280px;
    }

    .app-detail-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }

    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 16px;
        right: 16px;
        background: rgba(10, 14, 26, 0.98);
        padding: 24px;
        border-radius: var(--radius-lg);
        border: 1px solid var(--border);
        gap: 12px;
        align-items: stretch;
        text-align: center;
        backdrop-filter: blur(20px);
    }

    nav.open {
        display: flex;
    }

    nav a::before {
        display: none;
    }

    .search-form {
        max-width: 100%;
        margin-bottom: 8px;
    }

    .app-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .disclaimer {
        text-align: center;
    }

    .section {
        padding: 50px 0;
    }

    .hero {
        padding: 110px 0 40px;
    }

    .app-detail-header h1 {
        font-size: 2rem;
    }

    .app-detail-image .main-image {
        min-height: 300px;
    }

    .app-detail-image .main-image img {
        max-height: 400px;
    }

    .thumbnail-gallery {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 10px;
    }

    .thumbnail-gallery .thumbnail {
        height: 80px;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }

    .lightbox-prev,
    .lightbox-next {
        padding: 12px 10px;
        font-size: 1.8rem;
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }

    .lightbox-close {
        top: 16px;
        right: 20px;
        font-size: 2.2rem;
    }

    .lightbox-counter {
        top: 16px;
        font-size: 0.75rem;
        padding: 4px 12px;
    }

    .lightbox-image-wrapper {
        height: 60vh;
    }

    .lightbox-overlay img {
        max-width: 92%;
        max-height: 60vh;
    }
}

@media (max-width: 480px) {
    .app-grid {
        grid-template-columns: 1fr;
    }

    .app-card-image {
        height: 200px;
    }

    .hero-copy h1 {
        font-size: 2.2rem;
    }

    .phone {
        width: 100%;
        max-width: 280px;
    }

    .app-detail-image .main-image {
        min-height: 200px;
    }

    .app-detail-image .main-image img {
        max-height: 300px;
    }

    .app-detail-info .price {
        font-size: 1.8rem;
    }

    .image-nav-hint {
        display: none;
    }

    .lightbox-dots {
        bottom: 20px;
        gap: 8px;
    }

    .lightbox-dot {
        width: 10px;
        height: 10px;
    }

    .thumbnail-gallery {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
        gap: 8px;
    }

    .thumbnail-gallery .thumbnail {
        height: 60px;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }

    .category-card {
        padding: 20px 16px;
    }

    .category-card .category-icon {
        font-size: 2.2rem;
    }

    .category-card h3 {
        font-size: 0.95rem;
    }
}