/* ==========================================================================
   NETHINAT SERVICE — PEARL CITY THEME OVERRIDE FOR STICKER STORE
   Matches https://www.nethinatservice.com/ (Navy / Ocean Blue / Pearl City)
   ========================================================================== */

:root {
    --night: #061129;
    --night2: #0a1b3e;
    --blue: #356ff4;
    --sky: #77bfff;
    --ink: #13203b;
    --muted: #62718c;
    --subtle: #f4f7fd;
    --line: #e6ebf5;

    /* Override legacy pink tokens with Nethinat Pearl City Ocean Blue */
    --pink-primary: #2557e8;
    --pink-hover: #1b46c7;
    --pink-bright: #3e86ff;
    --pink-soft: #e6f0ff;
    --pink-pastel: #f0f6ff;
    --pink-border: #c5dcff;
    --bg-main: #f8faff;
    --bg-card: #ffffff;
    --text-main: #13203b;
    --text-muted: #62718c;
    --shadow-soft: 0 12px 32px -10px rgba(37, 105, 255, 0.16);
    --shadow-card: 0 6px 20px rgba(19, 32, 59, 0.06);
}

html,
body {
    font-family: "Noto Sans Thai", -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

/* ==================== TOP ANNOUNCEMENT BAR ==================== */
.pearl-announcement {
    min-height: 34px;
    background: #041029;
    color: #b1c8e9;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    border-bottom: 1px solid rgba(160, 193, 244, 0.08);
}

.pearl-announcement-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pearl-announcement-left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pearl-tiny-orb {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #75daff;
    box-shadow: 0 0 12px #55c8ff;
    flex-shrink: 0;
}

.pearl-announcement-link {
    color: #85d9ff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.pearl-announcement-link:hover {
    color: #ffffff;
}

/* ==================== SITE HEADER (NAVY PEARL CITY) ==================== */
.site-header {
    background: rgba(8, 22, 51, 0.96);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(160, 193, 244, 0.14);
    box-shadow: 0 8px 28px rgba(4, 14, 36, 0.28);
    color: #ffffff;
}

.site-header .search-input {
    background: rgba(255, 255, 255, 0.09);
    border: 1.5px solid rgba(142, 197, 255, 0.22);
    color: #ffffff;
}

.site-header .search-input::placeholder {
    color: #9bb3d8;
}

.site-header .search-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #77bfff;
    box-shadow: 0 0 0 4px rgba(119, 191, 255, 0.18);
}

.site-header .search-icon {
    color: #9bb3d8;
}

.site-header .search-clear-btn {
    background: rgba(119, 191, 255, 0.18);
    color: #85d9ff;
}

.site-header .btn-outline-pink {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(142, 197, 255, 0.32);
    color: #e9f4ff;
}

.site-header .btn-outline-pink i {
    color: #77bfff !important;
}

.site-header .btn-outline-pink:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: #77bfff;
}

.btn-outline-pink {
    border-color: #c5dcff;
    background: #ffffff;
    color: var(--text-main);
}

.btn-outline-pink:hover {
    background: #f0f6ff;
    border-color: #3e86ff;
}

.btn-primary-pink {
    background: linear-gradient(135deg, #3e86ff 0%, #2557e8 100%);
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(37, 105, 255, 0.3);
}

.btn-primary-pink:hover {
    background: linear-gradient(135deg, #4b8fff 0%, #1d4ed8 100%);
    box-shadow: 0 12px 28px rgba(37, 105, 255, 0.4);
}

/* Sub-Navigation Bar */
.header-nav-bar {
    border-top: 1px solid rgba(160, 193, 244, 0.12);
}

.nav-link {
    color: #b8c8e4;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.nav-link.active::after {
    background: linear-gradient(90deg, #77bfff, #3e86ff);
}

.live-status-pill {
    color: #b8c8e4;
}

.live-dot {
    background: #75daff;
    box-shadow: 0 0 0 3px rgba(117, 218, 255, 0.24);
}

/* ==================== HERO SECTION (PEARL CITY OCEAN) ==================== */
.hero-banner {
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 74% 38%, #143d84 0%, #0a214b 34%, #06142f 68%, #040e24 100%) !important;
    border: 1px solid rgba(128, 195, 255, 0.24) !important;
    box-shadow: 0 20px 44px -12px rgba(6, 17, 41, 0.42) !important;
    color: #ffffff !important;
}

.hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image:
        linear-gradient(rgba(127, 164, 230, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(127, 164, 230, 0.08) 1px, transparent 1px);
    background-size: 46px 46px;
    pointer-events: none;
}

.hero-banner .hero-content,
.hero-banner .hero-art {
    position: relative;
    z-index: 1;
}

.hero-banner .hero-title {
    color: #ffffff !important;
    letter-spacing: -0.5px;
}

.hero-banner .hero-title i {
    color: #77bfff !important;
}

.hero-banner .hero-subtitle {
    color: #c3d6f2 !important;
}

.hero-banner .hero-art img {
    filter: drop-shadow(0 12px 24px rgba(56, 138, 255, 0.36)) !important;
}

.hero-how-card {
    background: linear-gradient(148deg, #ffffff 22%, #f4f9ff 68%, #edf4ff 100%) !important;
    border: 1px solid #d5e5fb !important;
    box-shadow: 0 12px 30px -12px rgba(19, 32, 59, 0.14) !important;
}

.hero-how-card .how-title {
    color: #102f46 !important;
}

.hero-how-card .how-step-icon {
    background: #e8f1ff !important;
    color: #2557e8 !important;
    border: 1px solid #c5dcff;
}

.hero-how-card .how-step-item span {
    color: #13203b;
}

/* ==================== CATALOG, CARDS & BADGES ==================== */
.product-card,
.sticker-card,
.category-pill,
.section-card {
    border-color: #e1ebfa;
}

.product-card:hover,
.sticker-card:hover {
    border-color: #77bfff;
    box-shadow: 0 14px 30px -10px rgba(37, 105, 255, 0.22);
}

.category-pill.active,
.filter-tab.active,
.tab-btn.active {
    background: linear-gradient(135deg, #3e86ff 0%, #2557e8 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

/* ==================== MODALS (PEARL LIQUID GLASS) ==================== */
.liquid-overlay {
    background: rgba(6, 17, 41, 0.52);
}

.liquid-modal {
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(244, 249, 255, 0.96) 52%,
        rgba(255, 255, 255, 0.99) 100%
    );
    box-shadow:
        0 24px 56px -12px rgba(6, 17, 41, 0.34),
        0 0 0 1px rgba(197, 220, 255, 0.75),
        inset 0 2px 4px rgba(255, 255, 255, 0.95);
}

/* ==================== FOOTER (NAVY PEARL CITY) ==================== */
.site-footer {
    background: #061129 !important;
    border-top: 1px solid rgba(160, 193, 244, 0.14) !important;
    color: #b8c8e4 !important;
}

.site-footer .footer-about-title {
    color: #ffffff !important;
}

.site-footer .footer-about-desc,
.site-footer .footer-bottom-meta {
    color: #9eb4d6 !important;
}

.site-footer .footer-bottom-meta {
    border-top-color: rgba(160, 193, 244, 0.16) !important;
}

/* ==================== MOBILE BOTTOM NAV ==================== */
.mobile-bottom-nav {
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid #dce8fa;
    box-shadow: 0 -6px 24px rgba(6, 17, 41, 0.08);
}

.mob-nav-item.active {
    color: #2557e8;
}

/* ==================== RESPONSIVE TWEAKS ==================== */
@media (max-width: 768px) {
    .pearl-announcement-right {
        display: none;
    }
    .pearl-announcement-inner {
        justify-content: center;
    }
}

/* ==================== PEARL CITY BUBBLES & SWIMMING FISH ==================== */
main.container,
.site-footer {
    position: relative;
    z-index: 1;
}

.sea-bubbles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.sea-bubbles i {
    position: absolute;
    left: var(--x, 50%);
    bottom: -48px;
    width: var(--size, 20px);
    height: var(--size, 20px);
    border-radius: 50%;
    border: 1px solid rgba(119, 191, 255, 0.55);
    background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.85), rgba(145, 206, 255, 0.25) 68%, rgba(62, 134, 255, 0.08));
    box-shadow: 0 0 14px rgba(117, 218, 255, 0.24);
    animation: seaBubbleRise var(--speed, 26s) linear infinite;
    animation-delay: var(--delay, 0s);
    opacity: 0.65;
}

.sea-bubbles i:nth-child(1) { --x: 3%; --size: 26px; --speed: 24s; --delay: -4s; }
.sea-bubbles i:nth-child(2) { --x: 11%; --size: 14px; --speed: 31s; --delay: -17s; }
.sea-bubbles i:nth-child(3) { --x: 21%; --size: 22px; --speed: 26s; --delay: -8s; }
.sea-bubbles i:nth-child(4) { --x: 36%; --size: 15px; --speed: 35s; --delay: -20s; }
.sea-bubbles i:nth-child(5) { --x: 52%; --size: 20px; --speed: 28s; --delay: -14s; }
.sea-bubbles i:nth-child(6) { --x: 68%; --size: 13px; --speed: 33s; --delay: -11s; }
.sea-bubbles i:nth-child(7) { --x: 81%; --size: 24px; --speed: 29s; --delay: -19s; }
.sea-bubbles i:nth-child(8) { --x: 91%; --size: 32px; --speed: 27s; --delay: -6s; }
.sea-bubbles i:nth-child(9) { --x: 96%; --size: 17px; --speed: 30s; --delay: -15s; }

@keyframes seaBubbleRise {
    0% {
        transform: translate3d(0, 0, 0) scale(0.9);
        opacity: 0;
    }
    10% {
        opacity: 0.65;
    }
    50% {
        transform: translate3d(16px, -55vh, 0) scale(1);
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translate3d(-12px, -112vh, 0) scale(1.08);
        opacity: 0;
    }
}

.pearl-current {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.pearl-current i {
    position: absolute;
    left: 8%;
    top: 19%;
    width: 18px;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, #ffffff, rgba(185, 221, 234, 0.56) 68%);
    animation: pearlRise 9s ease-in-out infinite;
}

.pearl-current i:nth-child(2) { left: 34%; top: 74%; width: 11px; animation-delay: -4s; }
.pearl-current i:nth-child(3) { left: 57%; top: 12%; width: 22px; }
.pearl-current i:nth-child(4) { left: 84%; top: 58%; width: 13px; animation-delay: -4s; }
.pearl-current i:nth-child(5) { left: 93%; top: 28%; width: 28px; }

@keyframes pearlRise {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.72; }
    50% { transform: translateY(-16px) scale(1.08); opacity: 0.95; }
}

.pearl-fish-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.pearl-fish {
    position: absolute;
    width: 48px;
    height: auto;
    color: rgba(62, 134, 255, 0.24);
    filter: drop-shadow(0 4px 10px rgba(37, 105, 255, 0.12));
}

.pearl-fish.fish-1 {
    top: 28%;
    width: 54px;
    color: rgba(62, 134, 255, 0.26);
    animation: fishSwimLeft 28s linear infinite;
}

.pearl-fish.fish-2 {
    top: 62%;
    width: 40px;
    color: rgba(119, 191, 255, 0.34);
    animation: fishSwimRight 34s linear infinite;
    animation-delay: -12s;
}

.pearl-fish.fish-3 {
    top: 82%;
    width: 44px;
    color: rgba(37, 87, 232, 0.22);
    animation: fishSwimLeft 38s linear infinite;
    animation-delay: -22s;
}

.hero-fish {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    color: rgba(119, 191, 255, 0.42);
    filter: drop-shadow(0 0 10px rgba(117, 218, 255, 0.35));
}

.hero-fish-a {
    width: 46px;
    top: 18%;
    right: 18%;
    animation: heroFishGlideA 14s ease-in-out infinite;
}

.hero-fish-b {
    width: 32px;
    bottom: 16%;
    left: 42%;
    color: rgba(160, 216, 255, 0.35);
    animation: heroFishGlideB 18s ease-in-out infinite;
}

@keyframes fishSwimLeft {
    0% { transform: translateX(106vw) translateY(0); }
    25% { transform: translateX(75vw) translateY(-14px); }
    50% { transform: translateX(48vw) translateY(10px); }
    75% { transform: translateX(20vw) translateY(-10px); }
    100% { transform: translateX(-12vw) translateY(0); }
}

@keyframes fishSwimRight {
    0% { transform: translateX(-12vw) scaleX(-1) translateY(0); }
    25% { transform: translateX(22vw) scaleX(-1) translateY(-12px); }
    50% { transform: translateX(52vw) scaleX(-1) translateY(12px); }
    75% { transform: translateX(80vw) scaleX(-1) translateY(-8px); }
    100% { transform: translateX(108vw) scaleX(-1) translateY(0); }
}

@keyframes heroFishGlideA {
    0%, 100% { transform: translate(0, 0) rotate(-3deg); }
    50% { transform: translate(-26px, -10px) rotate(4deg); }
}

@keyframes heroFishGlideB {
    0%, 100% { transform: scaleX(-1) translate(0, 0) rotate(-2deg); }
    50% { transform: scaleX(-1) translate(-24px, 8px) rotate(4deg); }
}

@media (prefers-reduced-motion: reduce) {
    .sea-bubbles i,
    .pearl-current i,
    .pearl-fish,
    .hero-fish {
        animation: none !important;
    }
}

/* ==================== NETHINAT SERVICE LAYOUT & SHAPE ==================== */
.pearl-hero-section {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    margin-top: 22px !important;
}

.pearl-hero-banner {
    border-radius: 26px !important;
    padding: 42px 38px !important;
    min-height: 410px;
}

.pearl-hero-grid-bg {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-image:
        linear-gradient(rgba(127, 164, 230, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(127, 164, 230, 0.08) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
    pointer-events: none;
}

.pearl-hero-halo {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    pointer-events: none;
}

.pearl-halo-a {
    width: 320px;
    height: 320px;
    background: rgba(62, 134, 255, 0.28);
    top: -90px;
    right: 6%;
}

.pearl-halo-b {
    width: 240px;
    height: 240px;
    background: rgba(117, 218, 255, 0.16);
    bottom: -80px;
    left: 12%;
}

.pearl-hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 32px;
    align-items: center;
}

.pearl-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(119, 191, 255, 0.28);
    color: #b9dcff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    margin-bottom: 16px;
}

.pearl-hero-copy .hero-title {
    font-size: clamp(2rem, 3.6vw, 3.1rem) !important;
    font-weight: 900 !important;
    line-height: 1.18 !important;
    letter-spacing: -1px !important;
    margin-bottom: 14px !important;
}

.pearl-hero-copy .hero-title span {
    color: #77bfff;
}

.pearl-hero-copy .hero-title i {
    font-size: 0.7em;
    vertical-align: middle;
}

.pearl-hero-copy .hero-subtitle {
    font-size: 1rem !important;
    line-height: 1.7 !important;
    max-width: 540px;
    margin-bottom: 24px !important;
}

.pearl-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.pearl-cta-btn {
    border-radius: 13px !important;
    padding: 13px 26px !important;
    font-size: 0.98rem !important;
    gap: 14px !important;
}

.pearl-arrow {
    font-family: Arial, sans-serif;
    font-size: 1.15rem;
    line-height: 1;
}

.pearl-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 22px;
    border-radius: 13px;
    border: 1px solid rgba(218, 233, 255, 0.35);
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    font-family: inherit;
    font-size: 0.94rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.pearl-btn-outline:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: #77bfff;
    transform: translateY(-2px);
}

.pearl-hero-proof {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(160, 193, 244, 0.16);
}

.pearl-hero-proof > div strong {
    display: block;
    font-size: 1.45rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
}

.pearl-hero-proof > div span {
    display: block;
    font-size: 0.78rem;
    color: #9eb9df;
    margin-top: 3px;
}

.pearl-hero-proof > i {
    width: 1px;
    height: 34px;
    background: rgba(160, 193, 244, 0.2);
}

/* Right Layered Poster Art */
.pearl-hero-art {
    position: relative;
    height: 310px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pearl-poster {
    position: absolute;
    border-radius: 22px;
    border: 3px solid rgba(197, 220, 255, 0.35);
}

.pearl-poster-back {
    width: 220px;
    height: 220px;
    top: 18px;
    right: 22%;
    background: linear-gradient(145deg, rgba(62, 134, 255, 0.26), rgba(10, 33, 75, 0.72));
    transform: rotate(-7deg);
    box-shadow: 0 20px 44px rgba(4, 14, 36, 0.45);
}

.pearl-poster-front {
    width: 235px;
    height: 235px;
    bottom: 14px;
    right: 8%;
    background: radial-gradient(circle at 35% 30%, #1c4d9e 0%, #0b2350 75%);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(3deg);
    box-shadow: 0 24px 52px rgba(4, 14, 36, 0.58);
}

.pearl-poster-front img {
    height: 165px !important;
    width: auto;
    object-fit: contain;
    transform: rotate(-3deg);
}

.pearl-float-badge {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(8, 22, 51, 0.88);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(119, 191, 255, 0.38);
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(4, 14, 36, 0.42);
}

.pearl-float-badge.badge-top {
    top: 18px;
    right: 2%;
}

.pearl-float-badge.badge-top small {
    display: block;
    font-size: 9px;
    letter-spacing: 1.2px;
    color: #85d9ff;
    font-weight: 800;
}

.pearl-float-badge.badge-top strong {
    font-size: 0.88rem;
    font-weight: 800;
}

.badge-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #75daff;
    box-shadow: 0 0 12px #55c8ff;
}

.pearl-float-badge.badge-bottom {
    bottom: 10px;
    left: 2%;
    font-size: 0.82rem;
    font-weight: 700;
}

.pearl-float-badge.badge-bottom i {
    color: #77bfff;
    font-size: 1rem;
}

/* Trust Strip (3 Steps Horizontal Bar) */
.pearl-trust-strip {
    border-radius: 23px !important;
    padding: 20px 26px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    flex-wrap: wrap;
}

.pearl-trust-eyebrow {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
    color: #2557e8;
    margin-bottom: 4px;
}

.pearl-trust-title .how-title {
    margin: 0 !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
}

.pearl-trust-steps {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 22px !important;
    flex: 1;
    justify-content: flex-end;
}

.pearl-trust-steps .how-step-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pearl-trust-steps .how-step-item strong {
    display: block;
    font-size: 0.92rem;
    color: #13203b;
}

.pearl-trust-steps .how-step-item small {
    display: block;
    font-size: 0.78rem;
    color: #62718c;
}

/* Unify Nethinat Card Radius & Section Look */
.product-card,
.sticker-card,
.section-card {
    border-radius: 23px !important;
}

@media (max-width: 920px) {
    .pearl-hero-banner {
        padding: 30px 22px !important;
    }
    .pearl-hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .pearl-hero-copy .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .pearl-hero-actions,
    .pearl-hero-proof {
        justify-content: center;
    }
    .pearl-hero-art {
        height: 260px;
        max-width: 360px;
        margin: 8px auto 0;
        width: 100%;
    }
    .pearl-poster-back {
        width: 180px;
        height: 180px;
        right: 26%;
    }
    .pearl-poster-front {
        width: 195px;
        height: 195px;
        right: 12%;
    }
    .pearl-poster-front img {
        height: 135px !important;
    }
    .pearl-trust-strip {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .pearl-trust-steps {
        justify-content: flex-start;
        width: 100%;
    }
}

/* ==================== SUNLIT PEARL CITY + SCROLL OCEAN DEPTH ==================== */
body {
    background: linear-gradient(
        180deg,
        #f4fbfe 0%,
        #e2f4fb 18%,
        #c9ebf7 38%,
        #9ad5ec 60%,
        #52a4cd 80%,
        #1f6493 93%,
        #0d355a 100%
    ) !important;
    background-attachment: scroll !important;
    color: #102f46;
}

/* Frosted Pearl White Announcement & Header (Matches Reference Screenshot) */
.pearl-announcement {
    background: #eaf6fb;
    color: #1c4b66;
    border-bottom: 1px solid #cce6f0;
}

.pearl-announcement-link {
    color: #0b6285;
}

.pearl-announcement-link:hover {
    color: #102f46;
}

.site-header {
    background: rgba(255, 255, 255, 0.86) !important;
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid #cce6f0 !important;
    box-shadow: 0 6px 24px rgba(16, 47, 70, 0.06) !important;
    color: #102f46 !important;
}

.site-header .search-input {
    background: #f2f9fc !important;
    border: 1.5px solid #c5e1ed !important;
    color: #102f46 !important;
}

.site-header .search-input::placeholder {
    color: #5c7c91 !important;
}

.site-header .search-input:focus {
    background: #ffffff !important;
    border-color: #3e86ff !important;
}

.site-header .search-icon {
    color: #5c7c91 !important;
}

.site-header .btn-outline-pink {
    background: #f0f8fc !important;
    border-color: #bddce9 !important;
    color: #102f46 !important;
}

.site-header .btn-outline-pink i {
    color: #0b6285 !important;
}

.site-header .btn-outline-pink:hover {
    background: #ffffff !important;
    border-color: #77bfff !important;
}

.header-nav-bar {
    border-top: 1px solid #e1f0f6 !important;
}

.nav-link {
    color: #2f556e !important;
}

.nav-link:hover,
.nav-link.active {
    color: #0b6285 !important;
}

.live-status-pill {
    color: #2f556e !important;
}

/* Sunlit Shallow Ocean Hero + Diagonal Sunbeams + Curved Wave */
.pearl-hero-banner {
    background: linear-gradient(155deg, #f5fcff 0%, #daf2fa 48%, #bde6f5 100%) !important;
    border: 1px solid #bfe2ef !important;
    box-shadow: 0 20px 44px -14px rgba(16, 47, 70, 0.14) !important;
    color: #102f46 !important;
    padding-bottom: 72px !important;
}

.pearl-sunbeams {
    position: absolute;
    inset: -20% -10% 0 -10%;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.55) 32%, rgba(255, 255, 255, 0) 44%),
        linear-gradient(115deg, rgba(255, 255, 255, 0) 48%, rgba(255, 255, 255, 0.42) 58%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.pearl-hero-grid-bg {
    opacity: 0.25 !important;
}

.pearl-eyebrow {
    background: rgba(255, 255, 255, 0.78) !important;
    border: 1px solid #b8dce9 !important;
    color: #0b6285 !important;
}

.pearl-hero-copy .hero-title {
    font-family: "Kodchasan", "Noto Sans Thai", sans-serif !important;
    color: #102f46 !important;
}

.pearl-hero-copy .hero-title span {
    color: #0b6285 !important;
}

.pearl-hero-copy .hero-title i {
    color: #2557e8 !important;
}

.pearl-hero-copy .hero-subtitle {
    color: #2c556e !important;
}

.pearl-btn-outline {
    background: rgba(255, 255, 255, 0.82) !important;
    border: 1px solid #b5d9e8 !important;
    color: #102f46 !important;
}

.pearl-btn-outline:hover {
    background: #ffffff !important;
    border-color: #3e86ff !important;
}

.pearl-hero-proof {
    border-top-color: rgba(16, 47, 70, 0.14) !important;
}

.pearl-hero-proof > div strong {
    color: #102f46 !important;
}

.pearl-hero-proof > div span {
    color: #3d647d !important;
}

.pearl-hero-proof > i {
    background: rgba(16, 47, 70, 0.16) !important;
}

/* Oval Pearl Mascot Frame */
.pearl-oval-frame {
    width: 270px;
    height: 230px;
    border-radius: 50% / 46%;
    border: 5px solid rgba(255, 255, 255, 0.94);
    background: radial-gradient(circle at 35% 30%, #ffffff 0%, #d5eff9 65%, #a7d9ee 100%);
    box-shadow: 0 22px 48px rgba(16, 47, 70, 0.18), 0 0 0 1px rgba(168, 212, 230, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.pearl-oval-frame img {
    height: 185px !important;
    width: auto;
    object-fit: contain;
}

.pearl-float-badge {
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid #bce0ee !important;
    color: #102f46 !important;
    box-shadow: 0 10px 26px rgba(16, 47, 70, 0.12) !important;
}

.pearl-float-badge.badge-top small {
    color: #0b6285 !important;
}

.pearl-float-badge.badge-bottom i {
    color: #2557e8 !important;
}

/* Curved Ocean Wave Dividers */
.pearl-wave-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 62px;
    pointer-events: none;
    z-index: 1;
}

.pearl-wave-footer {
    position: absolute;
    left: 0;
    right: 0;
    top: -54px;
    width: 100%;
    height: 56px;
    pointer-events: none;
}

.site-footer {
    background: linear-gradient(180deg, #092847 0%, #05162b 100%) !important;
    border-top: 0 !important;
}

/* Frosted Pearl Cards over Deepening Ocean */
.pearl-trust-strip,
.product-card,
.sticker-card,
.section-card {
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-color: rgba(183, 216, 229, 0.85) !important;
}

@media (max-width: 920px) {
    .pearl-oval-frame {
        width: 220px;
        height: 190px;
    }
    .pearl-oval-frame img {
        height: 150px !important;
    }
}

/* ==================== ENHANCED OCEAN SCROLL DEPTH (SURFACE TO ABYSS) ==================== */
body {
    background: linear-gradient(
        180deg,
        #f8fdff 0%,
        #e5f6fc 12%,
        #bce7f7 26%,
        #7ec4e3 44%,
        #3b8ab8 62%,
        #195686 78%,
        #0b3157 90%,
        #041529 100%
    ) !important;
}

.section-title {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 20px rgba(6, 17, 41, 0.1);
    color: #102f46;
}

/* High-Contrast Abyssal Footer & Crisp Wave Separator */
.pearl-wave-footer {
    top: -72px !important;
    height: 74px !important;
}

.site-footer {
    background: linear-gradient(180deg, #020c1b 0%, #01060f 100%) !important;
    box-shadow: 0 -10px 30px rgba(2, 12, 27, 0.45);
}

body {
    background: linear-gradient(
        180deg,
        #f8fdff 0%,
        #e5f6fc 12%,
        #bce7f7 26%,
        #7ec4e3 46%,
        #3b8ab8 66%,
        #1e5f8f 84%,
        #144872 100%
    ) !important;
}

/* Compact Dark Theme Toggle Button */
.pearl-theme-toggle {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(59, 130, 246, 0.25);
    background: rgba(255, 255, 255, 0.85);
    color: #1e40af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.pearl-theme-toggle:hover {
    transform: translateY(-1px);
    background: #eff6ff;
}

/* ==================== PEARL CITY DARK THEME ==================== */
html[data-theme="dark"] {
    --text-main: #e6f1ff;
    --text-muted: #93b4d8;
    --card-bg: rgba(13, 28, 52, 0.88);
    --pink-border: rgba(96, 165, 250, 0.25);
    --pink-pastel: rgba(30, 64, 175, 0.28);
}

html[data-theme="dark"] body {
    background: linear-gradient(180deg, #050d1a 0%, #08152b 35%, #0c2142 75%, #050d1a 100%) !important;
    color: #e6f1ff !important;
}

html[data-theme="dark"] .pearl-announcement {
    background: rgba(7, 17, 34, 0.96) !important;
    border-bottom: 1px solid rgba(96, 165, 250, 0.18);
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .site-header {
    background: rgba(8, 20, 40, 0.86) !important;
    border-bottom: 1px solid rgba(96, 165, 250, 0.2) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45) !important;
}

html[data-theme="dark"] .search-input,
html[data-theme="dark"] .form-input,
html[data-theme="dark"] .form-select {
    background: rgba(15, 34, 64, 0.9) !important;
    color: #e6f1ff !important;
    border-color: rgba(96, 165, 250, 0.3) !important;
}

html[data-theme="dark"] .search-input::placeholder {
    color: #7ea0c6 !important;
}

html[data-theme="dark"] .btn-outline-pink,
html[data-theme="dark"] .live-status-pill,
html[data-theme="dark"] .pearl-theme-toggle {
    background: rgba(15, 34, 64, 0.88) !important;
    color: #dbeafe !important;
    border-color: rgba(96, 165, 250, 0.32) !important;
}

html[data-theme="dark"] .pearl-theme-toggle {
    color: #fbbf24 !important;
}

html[data-theme="dark"] .nav-link {
    color: #cbd5e1 !important;
}
html[data-theme="dark"] .nav-link.active,
html[data-theme="dark"] .nav-link:hover {
    color: #60a5fa !important;
}

html[data-theme="dark"] .pearl-steps-card,
html[data-theme="dark"] .sticker-card,
html[data-theme="dark"] .section-box,
html[data-theme="dark"] .modal-card,
html[data-theme="dark"] .glass-card,
html[data-theme="dark"] .profile-card,
html[data-theme="dark"] .profile-stat-card {
    background: rgba(11, 25, 48, 0.9) !important;
    border-color: rgba(96, 165, 250, 0.22) !important;
    color: #e6f1ff !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38) !important;
}

html[data-theme="dark"] .sticker-card .sticker-title,
html[data-theme="dark"] .section-title,
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3 {
    color: #f0f7ff !important;
}

html[data-theme="dark"] .sticker-card .sticker-author,
html[data-theme="dark"] .sticker-card .sticker-coin {
    color: #93b4d8 !important;
}

html[data-theme="dark"] .sticker-card .sticker-price {
    color: #60a5fa !important;
}

html[data-theme="dark"] .filter-pill:not(.active) {
    background: rgba(15, 34, 64, 0.85) !important;
    color: #cbd5e1 !important;
    border-color: rgba(96, 165, 250, 0.25) !important;
}

html[data-theme="dark"] .mobile-bottom-nav {
    background: rgba(8, 20, 40, 0.95) !important;
    border-top-color: rgba(96, 165, 250, 0.22) !important;
}
