/* ==========================================================================
   Homepage — Mobile-First Casino App UI
   (Centered Mobile Frame even on Laptops)
   With Dark & Light Theme Support
   ========================================================================== */

/* ── Hero Banner ── */
.hero-banner {
    position: relative;
    padding: 76px 0 28px;
    background: radial-gradient(ellipse 90% 60% at 50% -10%, rgba(99, 102, 241, 0.16) 0%, rgba(236, 72, 153, 0.08) 45%, rgba(248, 250, 252, 0) 100%),
                linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] .hero-banner {
    background: radial-gradient(ellipse 90% 60% at 50% -10%, rgba(99, 102, 241, 0.25) 0%, rgba(236, 72, 153, 0.12) 45%, rgba(11, 15, 25, 0) 100%),
                linear-gradient(180deg, #131B2E 0%, #0B0F19 100%);
}

.hero-bg-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(6, 182, 212, 0.1) 40%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.hero-particles {
    display: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.hero-content {
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-white);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: var(--radius-full);
    padding: 5px 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: var(--accent-emerald);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.badge-text {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.01em;
}

.hero-content h1 {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    color: var(--text-main);
}

.hero-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
}

.hero-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 18px;
}

.hero-btns .btn {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.82rem;
}

.hero-trust-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--text-muted);
}

.hero-trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-emerald-subtle);
    color: var(--accent-emerald);
    font-size: 0.68rem;
    font-weight: 800;
}

/* Hero Visual with Floating Chips */
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    background: var(--bg-white);
    padding: 8px;
    box-shadow: 0 12px 30px -6px rgba(79, 70, 229, 0.15), 0 0 0 1px rgba(99, 102, 241, 0.12);
    transition: background 0.3s ease;
}

.hero-image {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: var(--radius);
}

.hero-float-card {
    position: absolute;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 7px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 16px -2px rgba(15, 23, 42, 0.12);
    z-index: 2;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.float-card-1 {
    top: -10px;
    right: -6px;
}

.float-card-2 {
    bottom: -10px;
    left: -6px;
}

.float-card-3 {
    display: none;
}

.float-avatar {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--primary-subtle);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.float-info {
    display: flex;
    flex-direction: column;
}

.float-title {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
}

.float-amount {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.15;
}

.float-badge-winner {
    background: #FEF3C7;
    color: #D97706;
    padding: 2px 6px;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 700;
}

[data-theme="dark"] .float-badge-winner {
    background: rgba(245, 158, 11, 0.2);
    color: #FBBF24;
}

.float-badge-online {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--accent-emerald);
}

.hero-scroll-hint {
    display: none;
}

/* ── Promo Cards Section (Compact 2x2 Grid) ── */
.promo-section {
    padding: 24px 0 28px 0;
    background: var(--bg-body);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.promo-section .compact-head {
    margin-bottom: 14px;
}

.promo-section .compact-head .section-title {
    margin-bottom: 0;
}

.promo-grid-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.promo-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 12px 10px 10px 10px;
    position: relative;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.promo-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Card Themes */
.promo-card-gold {
    border-color: rgba(245, 158, 11, 0.35);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.05) 0%, var(--bg-white) 75%);
}

.promo-card-cyan {
    border-color: rgba(6, 182, 212, 0.35);
    background: linear-gradient(180deg, rgba(6, 182, 212, 0.05) 0%, var(--bg-white) 75%);
}

.promo-card-emerald {
    border-color: rgba(16, 185, 129, 0.35);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, var(--bg-white) 75%);
}

.promo-card-purple {
    border-color: rgba(124, 58, 237, 0.35);
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.05) 0%, var(--bg-white) 75%);
}

/* Dark Mode Tint Adjustments */
[data-theme="dark"] .promo-card-gold {
    border-color: rgba(245, 158, 11, 0.3);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, var(--bg-card) 75%);
}

[data-theme="dark"] .promo-card-cyan {
    border-color: rgba(6, 182, 212, 0.3);
    background: linear-gradient(180deg, rgba(6, 182, 212, 0.08) 0%, var(--bg-card) 75%);
}

[data-theme="dark"] .promo-card-emerald {
    border-color: rgba(16, 185, 129, 0.3);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, var(--bg-card) 75%);
}

[data-theme="dark"] .promo-card-purple {
    border-color: rgba(139, 92, 246, 0.3);
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.08) 0%, var(--bg-card) 75%);
}

/* Badges */
.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.67rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}

.promo-badge-gold {
    background: rgba(245, 158, 11, 0.12);
    color: #D97706;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.promo-badge-cyan {
    background: rgba(6, 182, 212, 0.12);
    color: #0284C7;
    border: 1px solid rgba(6, 182, 212, 0.25);
}

.promo-badge-emerald {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.promo-badge-purple {
    background: rgba(124, 58, 237, 0.12);
    color: #7C3AED;
    border: 1px solid rgba(124, 58, 237, 0.25);
}

[data-theme="dark"] .promo-badge-gold {
    color: #FBBF24;
}

[data-theme="dark"] .promo-badge-cyan {
    color: #38BDF8;
}

[data-theme="dark"] .promo-badge-emerald {
    color: #34D399;
}

[data-theme="dark"] .promo-badge-purple {
    color: #C084FC;
}

/* Stat Box Hero */
.promo-stat-box {
    width: 100%;
    border-radius: 10px;
    padding: 8px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    color: #FFFFFF;
}

.promo-stat-gold {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}

.promo-stat-cyan {
    background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.25);
}

.promo-stat-emerald {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.promo-stat-purple {
    background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}

.promo-stat-num {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

.promo-stat-label {
    font-size: 0.63rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 3px;
    opacity: 0.95;
}

/* Card Titles */
.promo-card-title {
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.25;
    margin: 0 0 2px 0;
}

.promo-card-sub {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
    margin: 0 0 10px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Compact Buttons */
.btn-promo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    padding: 7px 8px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    color: #FFFFFF;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-promo svg {
    transition: transform 0.2s ease;
}

.btn-promo:hover svg {
    transform: translateX(2px);
}

.btn-promo:active {
    transform: scale(0.97);
}

.btn-promo-gold {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}

.btn-promo-cyan {
    background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.25);
}

.btn-promo-emerald {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.btn-promo-purple {
    background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}

/* ── Services / Games Grid (2-Column Mobile Game Lobby) ── */
.services-section {
    padding: 36px 0;
    background: var(--bg-body);
    transition: background 0.3s ease;
}

.category-filter-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.category-filter-pills::-webkit-scrollbar {
    display: none;
}

.filter-pill {
    flex-shrink: 0;
    padding: 7px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-pill.active {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}

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

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    display: flex;
    flex-direction: column;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.service-img {
    position: relative;
    width: 100%;
    height: 110px;
    overflow: hidden;
    background: var(--bg-subtle);
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-body {
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-body h3 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-main);
}

.service-body p {
    font-size: 0.74rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #FFFFFF;
    background: var(--gradient-primary);
    padding: 6px 10px;
    border-radius: var(--radius-full);
    text-align: center;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
}

/* ── About Split (Mengapa Memilih Kami) ── */
.about-split {
    padding: 36px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.about-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-text .section-title {
    margin-bottom: 10px;
}

.about-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

.about-text .btn {
    width: 100%;
    margin-top: 6px;
    margin-bottom: 16px;
}

.about-features-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px 14px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.about-feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.feature-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.icon-box-pink {
    background: var(--accent-pink-subtle);
    color: var(--accent-pink);
    border: 1px solid rgba(236, 72, 153, 0.2);
}

.icon-box-emerald {
    background: var(--accent-emerald-subtle);
    color: var(--accent-emerald);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.icon-box-cyan {
    background: var(--secondary-subtle);
    color: var(--secondary);
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.feature-info h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--text-main);
}

.feature-info p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.about-bottom-perks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.about-perk-item {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.about-perk-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--primary-subtle);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.about-perk-text h5 {
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--text-main);
}

.about-perk-text p {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

.about-thumb {
    display: none;
}

.about-visual {
    display: none;
}

/* ── How to Start - Steps Timeline ── */
.steps-section {
    padding: 36px 0;
    background: var(--bg-body);
    transition: background 0.3s ease;
}

.steps-timeline {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.step-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 14px;
    box-shadow: var(--shadow-xs);
    display: flex;
    flex-direction: column;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.step-icon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.step-icon-bg {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--primary-subtle);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.step-number {
    font-size: 1.1rem;
    font-weight: 800;
    color: #CBD5E1;
}

[data-theme="dark"] .step-number {
    color: #475569;
}

.step-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-main);
}

.step-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 8px;
}

.step-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-subtle);
    padding: 3px 8px;
    border-radius: var(--radius-full);
}

.step-connector {
    display: none;
}

.steps-cta .btn {
    width: 100%;
}

/* ── Featured Games Gallery (2-Column Mobile Grid) ── */
.gallery-section {
    padding: 36px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    transition: background 0.3s ease, border-color 0.3s ease;
}

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

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 150px;
    background: var(--bg-subtle);
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--border);
    display: block;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.85) 100%);
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #FFFFFF;
}

.gallery-cat {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #67E8F9;
    margin-bottom: 2px;
}

.gallery-overlay strong {
    font-size: 0.82rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 6px;
    line-height: 1.25;
}

.gallery-play {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #FFFFFF;
    background: var(--gradient-primary);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    align-self: flex-start;
}

/* ── Payment Methods (3x2 Compact Mobile Grid) ── */
.payments-section {
    padding: 32px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.payments-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.payments-text .section-title {
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.payments-text p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 8px;
}

.payments-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.pay-item {
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.pay-icon {
    font-size: 1.2rem;
}

.pay-item strong {
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    color: var(--text-main);
}

.pay-item span:last-child {
    font-size: 0.68rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* ── Tabbed Games Showcase (Mobile Horizontal Tabs) ── */
.tabs-section {
    padding: 36px 0;
    background: var(--bg-body);
    transition: background 0.3s ease;
}

.tabs-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
    margin-bottom: 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.tabs-nav::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: var(--font-sans);
    color: var(--text-muted);
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn.active {
    color: #FFFFFF;
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.tabs-panel {
    display: none;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    flex-direction: column;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.tabs-panel.active {
    display: flex;
}

.tab-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--bg-subtle);
}

.tab-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tab-info {
    padding: 18px 14px;
}

.tab-info h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-main);
}

.tab-info p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 16px;
}

.tab-info .btn {
    width: 100%;
}

/* ── Image Gallery Section ── */
.image-gallery-section {
    padding: 36px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    transition: background 0.3s ease, border-color 0.3s ease;
}

/* ── Deep Navy Testimonials Section (Mobile Card Stack) ── */
.testimonials-navy-section {
    padding: 40px 0;
    background: var(--bg-navy);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.testimonials-navy-section .section-title {
    color: #FFFFFF;
}

.testimonials-navy-section .section-desc {
    color: #94A3B8;
}

.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 16px 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.testimonial-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary-subtle);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.82rem;
    flex-shrink: 0;
}

.testimonial-meta h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1px;
    color: var(--text-main);
}

.testimonial-meta span {
    font-size: 0.7rem;
    color: var(--accent-emerald);
    font-weight: 600;
}

.testimonial-stars {
    color: #F59E0B;
    font-size: 0.8rem;
    margin-bottom: 6px;
}

.testimonial-card p {
    font-size: 0.78rem;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

[data-theme="dark"] .testimonial-card p {
    color: var(--text-muted);
}

/* ── Ad Banner Block ── */
.ad-block-section {
    padding: 24px 0;
    background: var(--bg-body);
    transition: background 0.3s ease;
}

.ad-block {
    text-align: center;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px;
    box-shadow: var(--shadow-xs);
    overflow: hidden;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.ad-block img {
    max-width: 100%;
    margin: 0 auto;
    border-radius: 8px;
}

/* ── CTA Banner ── */
.cta-banner {
    padding: 40px 0;
    background: radial-gradient(ellipse 90% 70% at 50% 50%, rgba(99, 102, 241, 0.12) 0%, rgba(236, 72, 153, 0.05) 50%, transparent 100%),
                var(--bg-white);
    border-top: 1px solid var(--border);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.cta-inner {
    text-align: center;
}

.cta-inner h2 {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-main);
}

.cta-inner p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.cta-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cta-btns .btn {
    width: 100%;
}
