/* 
    Pearl Property Developers - Nirai Layout
    Premium Mobile-First Styling
    Colors: Pearl White (#FFFFFF), Royal Gold (#D4AF37), Dark Navy Blue (#03045E), Soft Grey (#F8F9FA)
*/

:root {
    --pearl-white: #FFFFFF;
    --royal-gold: #D4AF37;
    --gold-hover: #B8962E;
    --navy-blue: #03045E;
    --navy-light: #0077B6;
    --soft-grey: #F8F9FA;
    --text-dark: #1A1A1A;
    --text-muted: #666666;
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #111;
    /* Dark background for desktop backdrop */
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
}

/* Mobile Wrapper for Desktop View */
#mobile-wrapper {
    width: 100%;
    max-width: 480px;
    /* Standard mobile width */
    background-color: var(--soft-grey);
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

@media (max-width: 600px) {
    #mobile-wrapper {
        max-width: 100%;
        box-shadow: none;
    }
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.container {
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

.section {
    padding: 60px 0;
}

.dark {
    background-color: var(--navy-blue);
    color: var(--pearl-white);
}

.text-center {
    text-align: center;
}

.highlight {
    color: var(--royal-gold);
}

/* Glassmorphism Utility */
.glass-box {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--navy-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loader-content {
    text-align: center;
}

.brand-name {
    color: var(--pearl-white);
    font-size: 2.5rem;
    letter-spacing: 15px;
    margin-bottom: 20px;
}

.progress-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--royal-gold);
    animation: loading 2s infinite;
}

@keyframes loading {
    to {
        left: 100%;
    }
}



/* Hero Section */
.hero-section {
    height: 100vh;
    height: 100dvh;
    background: url('../images/hero_bg.png') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    color: var(--pearl-white);
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(3, 4, 94, 0.7), rgba(3, 4, 94, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.logo-container {
    margin-bottom: 30px;
}

.logo {
    font-size: 1.2rem;
    letter-spacing: 8px;
    border: 1px solid var(--pearl-white);
    padding: 5px 15px;
    display: inline-block;
}

.premium-title {
    font-size: 4rem;
    letter-spacing: 12px;
    margin: 20px 0;
    line-height: 1;
}

.hero-content .company-sub {
    margin-bottom: 50px;
}

.layout-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--royal-gold);
    margin-bottom: 25px;
}

.subtitle {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.marketing-partner {
    margin-bottom: 60px;
}

.marketing-partner span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.partner-name {
    font-weight: 700;
    color: var(--royal-gold);
    font-size: 1rem !important;
}

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: var(--royal-gold);
    color: var(--navy-blue);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.quick-links {
    margin-top: 70px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.quick-links-row {
    display: flex;
    gap: 6px;
    justify-content: space-between;
}

.quick-links-row--center {
    justify-content: center;
}

.quick-links-row--center .quick-btn {
    flex: 0 1 calc(50% - 3px);
    max-width: 48%;
}

.quick-btn {
    flex: 1;
    text-align: center;
    font-size: 0.65rem;
    padding: 8px 2px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--pearl-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.quick-btn:hover,
.quick-btn:active {
    background: var(--royal-gold);
    color: var(--navy-blue);
    border-color: var(--royal-gold);
    transform: translateY(-2px);
}

/* Sections Styling */
.section-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--royal-gold);
    letter-spacing: 3px;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
    line-height: 1.2;
}

.intro-image img {
    width: 100%;
    border-radius: 15px;
    display: block;
}

.intro-text {
    margin-top: 25px;
}

.tagline-box {
    margin-top: 20px;
    padding: 15px;
    border-left: 3px solid var(--royal-gold);
    background: rgba(212, 175, 55, 0.05);
}

.tagline {
    font-style: italic;
    font-weight: 600;
    color: var(--navy-blue);
}

/* Video Section */
.video-container {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
    margin-top: 30px;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
}

.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--royal-gold);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    transition: 0.3s;
}

/* Location Advantages */
.advantages-grid {
    margin-top: 40px;
    display: grid;
    gap: 20px;
}

.adv-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.adv-item i {
    font-size: 1.8rem;
    color: var(--royal-gold);
    min-width: 40px;
}

.adv-item h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.adv-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.map-container {
    position: relative;
    border-radius: 15px;
    margin-bottom: 30px;
}

.map-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.btn {
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-block {
    display: flex;
    width: 100%;
}


.btn-primary {
    background: var(--navy-blue);
    color: white;
}

.btn-gold {
    background: var(--royal-gold);
    color: var(--navy-blue);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Swiper Pagination Customization */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.3) !important;
    opacity: 1 !important;
    width: 8px !important;
    height: 8px !important;
}

.swiper-pagination-bullet-active {
    background: var(--royal-gold) !important;
    width: 24px !important;
    border-radius: 5px !important;
}

/* Gallery Slider */
.gallery-slider {
    padding-bottom: 40px;
}

.gallery-slider .swiper-slide {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.gallery-slider img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    font-weight: 600;
}

/* Amenities Line Art Grid */
.amenities-grid-lineart {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.amenity-item-la {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 20px 10px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 120px;
}

.amenity-item-la:active {
    transform: scale(0.95);
    background: rgba(212, 175, 55, 0.1);
}

.amenity-item-la:hover {
    transform: translateY(-5px);
    border-color: var(--royal-gold);
    background: rgba(212, 175, 55, 0.05);
}

.la-icon {
    font-size: 2.2rem;
    color: var(--royal-gold);
    margin-bottom: 12px;
    transition: transform 0.3s;
    animation: icon-pulse 3s infinite ease-in-out;
}

.amenity-item-la:nth-child(even) .la-icon {
    animation-delay: 1.5s;
}

.amenity-item-la:nth-child(3n) .la-icon {
    animation-delay: 1s;
}

@keyframes icon-pulse {
    0% {
        transform: scale(1) translateY(0);
    }

    50% {
        transform: scale(1.15) translateY(-5px);
        filter: drop-shadow(0 5px 10px rgba(212, 175, 55, 0.4));
    }

    100% {
        transform: scale(1) translateY(0);
    }
}

.amenity-item-la p {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--navy-blue);
    line-height: 1.2;
    letter-spacing: 0.5px;
}

/* For dark sections if any */
.dark .amenity-item-la p {
    color: var(--pearl-white);
}

.dark .amenity-item-la {
    background: rgba(255, 255, 255, 0.05);
}

/* Pricing Section */
.pricing-card {
    padding: 40px 25px;
    text-align: center;
    position: relative;
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--royal-gold);
    color: var(--navy-blue);
    padding: 5px 20px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
}

.price-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.price-value {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.price-value span {
    display: block;
    font-size: 2rem;
    color: var(--royal-gold);
    font-weight: 800;
}

.benefits {
    list-style: none;
    text-align: left;
    margin-bottom: 35px;
}

.benefits li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefits li i {
    color: var(--royal-gold);
}

.inventory-status {
    margin-bottom: 30px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--royal-gold);
}

/* Testimonials */
.testimonial-card {
    padding: 25px;
    margin: 10px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.user-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.stars {
    color: var(--royal-gold);
    font-size: 0.8rem;
}

/* Footer */


.btn-outline {
    border: 1px solid var(--pearl-white);
    color: white;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

/* Animations Triggered by Classes */
.animate-ready [data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

.animate-ready .aos-animate {
    opacity: 1;
}

/* Custom Swiper Pagination Styling */
.swiper-pagination-bullet-active {
    background: var(--royal-gold) !important;
}

/* Performance optimizations for mobile */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Invitation Overlay Styles */
.invite-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--navy-blue);
    z-index: 5000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    padding-top: max(20px, env(safe-area-inset-top));
    padding-bottom: max(20px, env(safe-area-inset-bottom));
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-y: auto;
}

.invite-container {
    width: 100%;
    max-width: 480px;
    text-align: center;
    color: white;
}

.logo-box {
    margin-bottom: 30px;
}

.brand {
    font-size: 1.5rem;
    letter-spacing: 10px;
    border: 1px solid var(--royal-gold);
    padding: 10px 20px;
}

.invite-title {
    font-size: 1.8rem;
    color: var(--royal-gold);
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.invite-video-frame {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
    background: rgba(3, 4, 94, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    /* Hardware acceleration — promote to its own compositing layer */
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    contain: layout;
}

.invite-video-frame video {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 20px;
    /* Force GPU-accelerated decoding path */
    will-change: auto;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    /* Smooth rendering on mobile */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.video-overlay-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--navy-blue);
    cursor: pointer;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
    transition: 0.3s;
}

.invite-text {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 30px;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.pulse-gold {
    animation: pulse-gold-animation 2s infinite;
}

@keyframes pulse-gold-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

#mobile-wrapper.active {
    display: block !important;
    opacity: 1 !important;
    transition: opacity 0.5s ease-in;
}

.invite-overlay.hidden {
    transform: translateY(-100%);
    pointer-events: none;
}

/* Ensure invite container doesn't overflow on any screen size */
.invite-container {
    max-height: 100%;
    overflow-y: auto;
}

/* Very small phones (iPhone SE, 375px wide) */
@media (max-width: 380px) {
    .invite-title {
        font-size: 1.4rem;
    }

    .brand {
        font-size: 1.1rem;
        letter-spacing: 6px;
        padding: 8px 14px;
    }

    .invite-video-frame video {
        max-height: 45vh;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    .invite-text {
        font-size: 0.8rem;
        margin-bottom: 18px;
    }

    .logo-box {
        margin-bottom: 18px;
    }
}

/* Landscape mode on phones */
@media (max-height: 500px) and (orientation: landscape) {
    .invite-video-frame video {
        max-height: 55vh;
    }

    .invite-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .logo-box {
        margin-bottom: 10px;
    }

    .invite-text {
        margin-bottom: 12px;
    }
}

/* Full-width for all phones including larger ones (up to 600px) */
@media (max-width: 600px) {
    .invite-container {
        max-width: 100%;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .premium-title {
        font-size: 3rem;
    }

    .amenities-grid-lineart {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .la-icon {
        font-size: 1.8rem;
    }
}

/* ═══════════════════════════════════════════════════════════
   GRAND PRE-LAUNCH FUNCTION SECTION
═══════════════════════════════════════════════════════════ */
.prelaunch-section {
    text-align: center;
    background: linear-gradient(160deg, var(--navy-blue) 0%, #060640 60%, #020318 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle star dots on background */
.prelaunch-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1.5px 1.5px at 10% 20%, rgba(212, 175, 55, 0.35) 0%, transparent 100%),
        radial-gradient(1px 1px at 35% 55%, rgba(255, 255, 255, 0.2) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 60% 15%, rgba(212, 175, 55, 0.25) 0%, transparent 100%),
        radial-gradient(1px 1px at 80% 70%, rgba(255, 255, 255, 0.15) 0%, transparent 100%),
        radial-gradient(2px 2px at 90% 40%, rgba(212, 175, 55, 0.2) 0%, transparent 100%),
        radial-gradient(1px 1px at 50% 80%, rgba(212, 175, 55, 0.3) 0%, transparent 100%);
    pointer-events: none;
}

/* Eyebrow label */
.pl-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(212, 175, 55, 0.7);
    font-weight: 600;
    margin-bottom: 14px;
}

/* Main title */
.pl-main-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(135deg, #fff 20%, #F0D060 55%, var(--royal-gold) 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: plGoldShine 4s ease-in-out infinite;
    margin-bottom: 6px;
}

@keyframes plGoldShine {
    0% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }

    100% {
        background-position: 0% center;
    }
}

.pl-function-sub {
    font-size: 1rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 20px;
}

/* Divider */
.pl-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 auto 20px;
    max-width: 260px;
}

.pl-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--royal-gold), transparent);
}

.pl-gem {
    color: var(--royal-gold);
    font-size: 0.9rem;
}

/* Project badge */
.pl-project-badge {
    display: inline-block;
    padding: 8px 22px;
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 50px;
    background: rgba(212, 175, 55, 0.08);
    margin-bottom: 28px;
}

.pl-project-badge span {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-style: italic;
    color: var(--royal-gold);
    letter-spacing: 2px;
}

/* Event card */
.pl-event-card {
    padding: 24px 20px;
    margin-bottom: 28px;
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(212, 175, 55, 0.2) !important;
    text-align: left;
}

.pl-card-tag {
    font-size: 0.62rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--royal-gold);
    font-weight: 700;
    margin-bottom: 18px;
    text-align: center;
}

.pl-card-tag i {
    margin-right: 6px;
}

.pl-detail-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 10px;
}

.pl-detail-row:last-child {
    margin-bottom: 0;
}

.pl-detail-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--navy-blue), #0a0a7a);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pl-detail-icon i {
    color: var(--royal-gold);
    font-size: 1rem;
}

.pl-detail-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pl-detail-label {
    font-size: 0.58rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

.pl-detail-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--pearl-white);
}

.pl-detail-value.gold {
    color: var(--royal-gold);
}

/* Countdown */
.pl-countdown-wrap {
    margin-bottom: 24px;
}

.pl-countdown-label {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    font-size: 0.6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--royal-gold);
    font-weight: 700;
    margin-bottom: 16px;
}

.pl-countdown-split-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.45));
}

.pl-countdown-label span:last-of-type~.pl-countdown-split-line {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.45), transparent);
}

.pl-countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.pl-countdown-box {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(3, 4, 94, 0.3));
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 16px;
    padding: 14px 6px 10px;
    position: relative;
    overflow: hidden;
}

.pl-countdown-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--royal-gold), transparent);
    opacity: 0.6;
}

.pl-cd-num {
    display: block;
    font-size: clamp(1.8rem, 7vw, 2.4rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(180deg, #fff 0%, var(--royal-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pl-cd-num.flip {
    animation: plFlip 0.35s ease;
}

@keyframes plFlip {
    0% {
        transform: translateY(-6px) scaleY(0.8);
        opacity: 0.4;
    }

    60% {
        transform: translateY(3px) scaleY(1.05);
        opacity: 0.9;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.pl-cd-unit {
    display: block;
    font-size: 0.52rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    margin-top: 5px;
}

/* Live pill */
.pl-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 50px;
    padding: 5px 14px;
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--royal-gold);
    font-weight: 600;
}

.pl-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00e676;
    box-shadow: 0 0 8px #00e676;
    animation: plLivePulse 1s infinite;
}

@keyframes plLivePulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.6;
    }
}

/* Event started message */
.pl-event-started {
    display: none;
    margin-top: 14px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--royal-gold);
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

/* Invite message */
.pl-invite-msg {
    padding: 18px 20px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 24px;
}

.pl-invite-msg p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.pl-invite-msg p strong {
    color: var(--royal-gold);
    font-style: normal;
}

/* CTA group inside pre-launch */
.pl-cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#whatsappCTA {
    background: linear-gradient(135deg, #128C7E, #25D366, #128C7E);
    background-size: 200% auto;
    color: white !important;
    border: none !important;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    animation: whatsappShimmer 3s linear infinite;
}

@keyframes whatsappShimmer {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

#whatsappCTA:target {
    animation: whatsappShimmer 3s linear infinite, whatsappPulse 1s ease-in-out infinite;
    z-index: 10;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0px rgba(37, 211, 102, 0);
    }

    50% {
        transform: scale(1.08);
        box-shadow: 0 0 25px rgba(37, 211, 102, 0.8);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0px rgba(37, 211, 102, 0);
    }
}

.quick-btn.highlight-btn {
    border: 1px solid var(--royal-gold) !important;
    color: var(--royal-gold) !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}