/* 
   BETIO V10 - CENTRAL UI KIT 
   Glassmorphism & Modern Soft Design
*/

:root {
    --primary-color: #4e342e;
    --primary-rgb: 78, 52, 46;
    --secondary-color: #a1887f;
    --accent-color: #d4a373;
    --bg-gradient: linear-gradient(135deg, #fdf0d5, #f5d6a8 55%, #eebf8a);
    --warm-bg: #fffdf8;
    --warm-card: #fff8ec;
    --warm-border: #ead9c2;
    --glass-border: rgba(78, 52, 46, 0.14);
    --glass-blur: blur(14px);
    --glass-shadow: 8px 8px 22px rgba(78, 52, 46, 0.10);
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg-gradient);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--primary-color);
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative;
}

.main-content-wrapper { 
    position: relative; 
    max-width: 100%;
    overflow: hidden !important;
}

.container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    box-shadow: var(--glass-shadow);
    padding: 25px;
    margin: 15px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* --- BUTTONS --- */
.glass-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--primary-color);
    padding: 12px 24px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.05), -3px -3px 10px rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-3px);
    color: var(--primary-color);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
}

.glass-btn.active {
    background: var(--primary-color);
    color: #fff !important;
}

/* --- HEADER & NAVIGATION (REFACTORED) --- */
.desktop-header-main {
    background: rgba(255, 253, 248, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.08);
    position: sticky;
    top: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    width: 100%;
}

.desktop-header {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas: 
        "logo nav-top"
        "divider divider"
        "nav-bottom nav-bottom";
    gap: 0 clamp(6px, 0.7vw, 12px);
    row-gap: clamp(7px, 0.55vw + 3px, 12px);
    padding: clamp(8px, 0.5vw + 4px, 14px) clamp(10px, 1.2vw + 4px, 22px);
    align-items: center;
    min-width: 0;
}

/* Separator line between header rows */
.nav-row-divider {
    grid-area: divider;
    height: 1px;
    min-height: 1px;
    background: linear-gradient(to right, transparent, rgba(160, 120, 80, 0.35) 18%, rgba(160, 120, 80, 0.35) 82%, transparent);
    margin: 0 clamp(4px, 1vw, 18px);
}

.logo-section {
    grid-area: logo;
    grid-row: 1 / 3;
    align-self: center;
    display: flex;
    align-items: center;
    padding-right: clamp(4px, 0.5vw, 10px);
}

.nav-links {
    display: contents;
}

.nav-left-top {
    grid-area: nav-top;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(3px, 0.35vw, 6px);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    min-width: 0;
}
.nav-left-top::-webkit-scrollbar { display: none; }
.nav-right-top {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(3px, 0.35vw, 6px);
    justify-content: flex-start;
    flex-shrink: 0;
    min-width: 0;
}
.nav-left-bottom {
    grid-area: nav-bottom;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(3px, 0.35vw, 6px);
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    min-width: 0;
}
.nav-left-bottom::-webkit-scrollbar { display: none; }

/* While a dropdown is hovered, let the row overflow visibly
   (otherwise overflow-x:auto clips the absolutely-positioned menu) */
.nav-left-top:has(.hover-dropdown:hover),
.nav-left-bottom:has(.hover-dropdown:hover) {
    overflow: visible;
}

.nav-divider {
    display: none; /* Grid layout'a gerek kalmadı, satırlar zaten ayrık */
}

.logo-section .logo-text {
    font-size: clamp(1rem, 0.55vw + 0.72rem, 1.3rem);
    font-weight: 800;
    color: var(--primary-color);
    white-space: nowrap;
}

.logo-section .logo-img {
    width: clamp(26px, 1.6vw + 15px, 35px);
    height: auto;
    flex-shrink: 0;
}

.logo-section .flag-img,
.mobile-header-main .flag-img {
    width: clamp(21px, 1.2vw + 12px, 28px);
    height: auto;
    flex-shrink: 0;
}

.header-row-top,
.nav-row-first,
.nav-row-second,
.nav-hr {
    /* not used in single-row layout */
}

.nav-item-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
    gap: 2px; /* Spacing between text and icon */
    flex: none; /* never shrink: items keep shape, row scrolls instead */
    min-width: max-content; /* never pile up / overlap */
}

/* Dot separator between header items — same rhythm as row gaps */
.nav-dot {
    flex: none;
    color: #c9a87f;
    font-weight: 900;
    font-size: clamp(0.7rem, 0.3vw + 0.55rem, 0.9rem);
    line-height: 1;
    user-select: none;
    pointer-events: none;
    margin: 0;
    align-self: center;
}

.nav-item-short {
    text-decoration: none !important;
    color: #6d5959 !important;
    font-size: clamp(0.66rem, 0.32vw + 0.5rem, 0.8rem);
    font-weight: 700;
    padding: clamp(5px, 0.3vw + 3px, 8px) clamp(7px, 0.5vw + 4px, 12px);
    border-radius: 14px;
    background: rgba(255,255,255,0.6);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    letter-spacing: 0.15px;
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.08);
    flex-shrink: 0;
}

.nav-item-short:hover {
    background: rgba(var(--primary-rgb), 0.12);
    color: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.15);
}

.nav-item-short.active {
    background: linear-gradient(135deg, var(--primary-color), #7a5a46);
    color: #fff8eb !important;
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.3);
    transform: translateY(-1px);
}

.dropdown-toggle-icon {
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8d6e63;
    transition: all 0.3s ease;
    font-size: clamp(0.55rem, 0.25vw + 0.42rem, 0.68rem);
    margin-left: 0px; /* No overlap */
    flex-shrink: 0;
}

.hover-dropdown:hover .dropdown-toggle-icon {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.dropdown-menu-dynamic {
    display: block;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100% !important;
    margin-top: 10px !important;
    background: #fffcf5 !important;
    border: 1px solid rgba(var(--primary-rgb), 0.1) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(90, 62, 43, 0.1) !important;
    transition: all 0.15s ease-out;
    transform: translateY(-5px);
    z-index: 9998;
    min-width: 240px;
    max-width: min(270px, 86vw);
    padding: 5px 0;
    list-style: none;
    overflow-x: hidden;
}

/* Right-edge dropdowns open inward so they never overflow the viewport */
.nav-left-top .nav-item-wrapper:last-of-type .dropdown-menu-dynamic,
.nav-left-bottom .nav-item-wrapper:last-of-type .dropdown-menu-dynamic,
.nav-left-top .nav-item-wrapper:nth-last-of-type(-n+2) .dropdown-menu-dynamic,
.nav-left-bottom .nav-item-wrapper:nth-last-of-type(-n+2) .dropdown-menu-dynamic {
    left: auto;
    right: 0;
}

.hover-dropdown:hover .dropdown-menu-dynamic {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.2s;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.dropdown-item:last-child { border-bottom: none; }
.dropdown-item:hover { background: rgba(var(--primary-rgb), 0.05); }

.header-actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: fit-content;
}

.btn-auth-minimal {
    padding: 8px 16px;
    font-size: 0.8rem;
    white-space: nowrap;
    background: #e5e0d8;
    color: #5a3e2b;
    border: 1px solid rgba(90, 62, 43, 0.1);
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-auth-minimal:hover {
    background: #d8d2c9;
    transform: translateY(-1px);
}

/* Fluid clamp() scaling above replaces fixed breakpoints (1600px/1400px).
   Header contents grow/shrink smoothly with viewport width — no jumps. */

/* Compact mode: below 1500px tighten rows so all items fit without crowding */
@media (max-width: 1500px) {
    .nav-left-top, .nav-left-bottom { gap: clamp(1px, 0.2vw, 4px); }
    .nav-item-short {
        padding: clamp(4px, 0.3vw + 2px, 7px) clamp(6px, 0.45vw + 3px, 10px);
        letter-spacing: 0;
    }
}

/* Icon-only utility links below 1350px to guarantee fit */
@media (max-width: 1350px) {
    .nav-right-top .nav-item-short { font-size: 0; padding: 6px 9px; }
    .nav-right-top .nav-item-short i { font-size: 0.85rem; margin-right: 0 !important; }
    .nav-right-top .nav-dot { margin: 0; }
}

@media (max-width: 1199px) {
    .desktop-header-main { display: none !important; }
}

/* --- MODERN HERO AESTHETIC --- */
.hero-aesthetic-wrapper {
    padding: 60px 20px;
    background: radial-gradient(circle at 50% 50%, rgba(var(--primary-rgb), 0.03) 0%, transparent 70%);
    position: relative;
    z-index: 100;
}

.hero-aesthetic-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    padding: 60px 40px;
    box-shadow: 0 30px 60px rgba(90, 62, 43, 0.05), inset 0 0 20px rgba(255, 255, 255, 0.3);
    overflow: visible;
    position: relative;
    z-index: 10;
}

.hero-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
}

.pulse-icon {
    width: 8px;
    height: 8px;
    background: #2ecc71;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 rgba(46, 204, 113, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 35px;
}

.search-curved-container {
    max-width: 650px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 9999;
}

.search-curved-group {
    position: relative;
    display: flex;
    align-items: center;
}

.search-curved-input {
    width: 100%;
    background: white !important;
    border: 2px solid transparent !important;
    padding: 18px 24px 18px 56px !important;
    border-radius: 100px !important;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(90, 62, 43, 0.08) !important;
    transition: all 0.3s ease;
}

.search-curved-input:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 15px 40px rgba(90, 62, 43, 0.12) !important;
    outline: none;
}

/* Hero'da buton varsa sağ padding artır */
.search-curved-group .search-curved-btn ~ .search-curved-input,
.search-curved-group:has(.search-curved-btn) .search-curved-input {
    padding-right: 70px !important;
}

.search-icon-main {
    position: absolute;
    left: 25px;
    font-size: 1.3rem;
    color: #bbb;
    z-index: 5;
}

.search-curved-btn {
    position: absolute;
    right: 10px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.search-curved-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.search-results-curved {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 20px;
    z-index: 9999;
    display: none;
    max-height: 360px;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.search-results-curved.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: background 0.15s ease;
    gap: 8px;
}

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

.search-result-item:hover {
    background: rgba(90,62,43,0.05);
    color: var(--primary-color);
}

.hero-stats-row {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.5);
    padding: 12px 30px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-stat-item {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-stat-item i {
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.hero-stat-divider {
    width: 1px;
    height: 20px;
    background: rgba(var(--primary-rgb), 0.1);
}

/* --- STICKY BOTTOM AD REFACTOR --- */
.sticky-ad-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.sticky-ad-wrapper.collapsed {
    transform: translateY(calc(100% - 30px));
}

.sticky-ad-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.15);
    overflow: hidden;
    pointer-events: auto;
    position: relative;
    border: 1px solid rgba(var(--primary-rgb), 0.05);
}

.sticky-ad-toggle {
    position: absolute;
    top: 0;
    right: 20px;
    width: 40px;
    height: 30px;
    background: white;
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(-100%);
    box-shadow: 0 -5px 15px rgba(0,0,0,0.05);
    z-index: 10;
}

.sticky-ad-toggle i {
    transition: transform 0.3s;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.collapsed .sticky-ad-toggle i {
    transform: rotate(180deg);
}

.sticky-ad-content {
    padding: 10px;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sticky-ad-label {
    font-size: 9px;
    font-weight: 800;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.sticky-ad-placeholder {
    width: 100%;
    min-height: 50px;
    display: flex;
    justify-content: center;
    background: #fafafa;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .hero-aesthetic-wrapper { padding: 0; }
    .hero-aesthetic-box { padding: 28px 16px; border-radius: 30px; margin: 12px; }
    .hero-title { font-size: 1.6rem; margin-bottom: 20px; letter-spacing: -0.5px; }
    .hero-badge-top { font-size: 0.7rem; padding: 5px 14px; margin-bottom: 16px; }
    .search-curved-input { padding: 12px 50px 12px 40px !important; font-size: 0.85rem; }
    .search-icon-main { left: 16px; font-size: 0.95rem; }
    .search-curved-btn { width: 34px; height: 34px; font-size: 0.85rem; }
    .search-curved-container { margin-bottom: 16px; }
    .hero-stats-row { padding: 8px 14px; gap: 10px; }
    .hero-stat-item { font-size: 0.75rem; gap: 4px; }
    .hero-stat-item i { font-size: 0.85rem; }
    .hero-stat-divider { height: 14px; }

    .mobile-nav { bottom: 15px; left: 12px; right: 12px; height: 60px; border-radius: 28px; padding: 0 6px; }
    .mobile-nav i { font-size: 1.3rem !important; margin-bottom: 2px; }
    .mobile-nav span { font-size: 0.5rem !important; }

    .mobile-header-main { height: 54px; }
    .mobile-header-main .h5 { font-size: 1rem !important; }

    .minimal-card { height: auto; min-height: 88px; padding: 14px 10px 10px; }
    .minimal-card h3 { font-size: 0.6rem; }
    .minimal-card i { font-size: 1.2rem; }
    .minimal-card .stats span { font-size: 0.6rem; }

    .guncel-badge { font-size: 8px; padding: 4px 10px; top: -10px; right: 8px; }

    .grid-ad-card { min-height: 200px !important; }

    .sticky-ad-container { max-width: 95%; margin: 0 auto; }
}

@media (max-width: 480px) {
    .hero-aesthetic-box { padding: 20px 12px; border-radius: 24px; margin: 8px; }
    .hero-title { font-size: 1.3rem; }

    .mobile-nav { height: 52px; border-radius: 24px; bottom: 10px; left: 10px; right: 10px; }
    .mobile-nav i { font-size: 1.1rem !important; }
    .mobile-nav span { font-size: 0.45rem !important; }

    .minimal-card { height: auto; min-height: 74px; padding: 10px 8px 8px; border-radius: 12px; }
    .minimal-card h3 { font-size: 0.55rem; }
    .minimal-card i { font-size: 1rem; }
    .minimal-card .stats span { font-size: 0.5rem; }

    #categoryGrid .col { padding-left: 4px; padding-right: 4px; }
    #categoryGrid .row { margin-left: -4px; margin-right: -4px; }
}

.category-grid-minimal { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 15px; margin-top: 15px; }
.minimal-card {
    background: var(--warm-card);
    border: 1px solid var(--warm-border);
    border-radius: 16px;
    padding: 24px 16px 16px;
    height: auto;
    min-height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.grid-ad-card {
    background: var(--warm-card) !important;
    border: 1px solid var(--warm-border) !important;
    border-radius: 20px !important;
    padding: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    height: auto !important;
    min-height: 250px !important;
    position: relative;
}

.grid-ad-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(var(--primary-rgb), 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.grid-ad-card ins.adsbygoogle {
    min-height: 100px !important;
    width: 100% !important;
    position: relative;
    z-index: 1;
}

.ad-content-box {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
}
.minimal-card:hover { transform: translateY(-2px); border-color: var(--primary-color); box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.06); }
.minimal-card h3 { font-size: 0.7rem; font-weight: 700; color: var(--primary-color); margin: 0; line-height: 1.1; }

.guncel-badge {
    position: absolute; top: -12px; right: 12px;
    background: #2ecc71; color: white; padding: 6px 16px; border-radius: 10px;
    font-size: 11px; font-weight: 800; text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.4); z-index: 10; border: 2px solid white;
}

/* --- MOBILE NAV --- */
.mobile-nav {
    position: fixed; bottom: 25px; left: 20px; right: 20px; height: 75px;
    background: rgba(255, 248, 235, 0.95); backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px); border: 1px solid rgba(var(--primary-rgb), 0.1);
    border-radius: 35px; display: flex; justify-content: space-around; align-items: center;
    z-index: 10000; padding: 0 10px; box-shadow: 0 25px 50px rgba(90, 62, 43, 0.2);
}
.mobile-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; color: #a08a7e; flex: 1 1 0; min-width: 0; transition: all 0.4s; height: 100%; }
.mobile-nav a.active { color: var(--primary-color); }
.mobile-nav a.active i { transform: translateY(-8px) scale(1.25); }
.mobile-nav i { font-size: clamp(1.05rem, 3.4vw + 0.55rem, 1.6rem) !important; margin-bottom: 4px; }
.mobile-nav span { font-size: clamp(0.42rem, 1.1vw + 0.32rem, 0.6rem) !important; font-weight: 800; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

.mobile-header-main {
    background: rgba(255, 248, 235, 0.98); backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.1); position: sticky; top: 0; z-index: 9999; height: clamp(50px, 12vw + 26px, 65px); display: flex; align-items: center;
}
.mobile-header-main .container { height: 100%; display: flex; justify-content: center; align-items: center; min-width: 0; padding-left: clamp(8px, 2vw, 16px); padding-right: clamp(8px, 2vw, 16px); }
.mobile-header-main .h5 { font-size: clamp(0.9rem, 3.4vw + 0.35rem, 1.25rem) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mobile-header-main .logo-img { width: clamp(26px, 7vw + 8px, 35px); height: auto; flex-shrink: 0; }

/* --- VERIFY SLIDER (SLIDE TO VERIFY) --- */
.verify-slider-container {
    position: relative;
    width: 100%;
    height: 54px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    overflow: hidden;
    user-select: none;
    box-shadow: inset 2px 2px 10px rgba(0,0,0,0.02);
}

.verify-slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 50px;
    transition: width 0.1s linear, background 0.3s;
    z-index: 1;
}

.verify-slider-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    z-index: 2;
    pointer-events: none;
    letter-spacing: 0.2px;
    opacity: 0.7;
}

.verify-slider-handle {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    color: var(--primary-color);
    transition: box-shadow 0.2s, transform 0.2s;
}

.verify-slider-handle:active {
    cursor: grabbing;
    transform: scale(0.95);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.verify-slider-handle i {
    font-size: 1.2rem;
}

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

.verify-slider-text::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: slideShimmer 2s infinite linear;
}

/* --- FOOTER (Extended) --- */
footer { background: linear-gradient(180deg, #fffdf8 0%, #fdf0d5 100%); border-top: 1px solid rgba(78, 52, 46, 0.08); padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.footer-section h5 { font-size: 0.95rem; font-weight: 700; margin-bottom: 25px; color: var(--primary-color) !important; text-transform: uppercase; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { text-decoration: none; color: #8d6e63; font-size: 0.85rem; transition: 0.2s; }
.footer-links a:hover { color: var(--primary-color); padding-left: 5px; }

@media (max-width: 992px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }

/* --- SEARCH --- */
.search-results-dropdown {
    position: absolute; top: 100%; left: 0; right: 0; background: #fffcf5 !important;
    border: 1px solid rgba(var(--primary-rgb), 0.2) !important; border-radius: 18px;
    box-shadow: 0 25px 60px rgba(90, 62, 43, 0.25); z-index: 10001; margin-top: 15px;
    max-height: 450px; overflow-y: auto; display: none; padding: 10px 0;
}
.search-results-dropdown.active { display: block; }
.search-result-item { display: flex; align-items: center; padding: 15px 25px; text-decoration: none !important; color: #5a3e2b !important; border-bottom: 1px solid rgba(0, 0, 0, 0.08); transition: 0.2s; gap: 10px; }
.search-result-item:hover { background: rgba(var(--primary-rgb), 0.05); }
.search-result-item span:first-of-type { flex: 1; font-size: 0.88rem; line-height: 1.4; }
.search-result-item .result-type { font-size: 0.65rem; font-weight: 800; text-transform: uppercase; color: #8d6e63; background: rgba(var(--primary-rgb), 0.05); padding: 2px 8px; border-radius: 4px; margin-left: auto; white-space: nowrap; }
