.hero-section {
    background-color: #e63946;
    /* Professional Red */
    height: 100vh;
    width: 100%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

#weather-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    /* Above base background, below content */
    opacity: 0.6;
    /* Subtle effect */
}

/* Base background fix to ensure red is always there */
body {
    background-color: #e63946 !important;
}

/* Ensure all inputs and buttons inherit the correct premium font families on all platforms (including mobile) */
button, input, select, textarea, .btn, .btn-hero-oval {
    font-family: 'Montserrat', 'Vazirmatn', sans-serif !important;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 8vw, 6rem);
    font-weight: 900;
    text-transform: none;
    letter-spacing: -1px;
    line-height: 1.5;
    /* Increased for spread clearance */
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    display: inline-block;
    white-space: nowrap;
    max-width: 95vw;
    padding: 40px 0;
    /* Add room for vertical spread */
}

.letter {
    display: inline-block;
    opacity: 1;
    /* Ensure full visibility by default */
    will-change: transform, opacity;
    -webkit-text-stroke: 1.5px #800000;
    /* Deep Crimson Stroke */
    paint-order: stroke fill;
}

/* Disable interactions when letters are spread */
.hero-title.is-spread .letter-link {
    pointer-events: none;
}

.floating-oval-nav {
    position: fixed;
    top: 25px;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
}

.container-oval {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 60px;
    padding: 12px 40px;
    max-width: 850px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.floating-oval-nav .nav-link {
    color: #1a1a1a !important;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 700;
    padding: 10px 18px !important;
    font-size: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.floating-oval-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #e63946;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.floating-oval-nav .nav-link:hover::after,
.floating-oval-nav .nav-link.active::after {
    width: 20px;
}

.custom-nav-dropdown .dropdown-toggle::after {
    display: none;
    /* Hide default arrow for cleaner look */
}

/* Open dropdown on hover for desktop */
@media (min-width: 992px) {
    .custom-nav-dropdown:hover .glass-dropdown-menu {
        display: block;
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }
}

.glass-dropdown-menu {
    display: block;
    /* Controlled by opacity/visibility for animation */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);

    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 18px;
    padding: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: right;
    margin-top: 8px;
    /* Closer */
    min-width: 140px;
    /* Slimmer */
}

.glass-dropdown-menu .dropdown-item {
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 700;
    color: #1a1a1a;
    border-radius: 12px;
    padding: 6px 15px;
    /* Smaller */
    font-size: 0.85rem;
    /* Smaller */
    transition: all 0.3s ease;
}

.glass-dropdown-menu .dropdown-item:hover {
    background: #e63946;
    color: white !important;
    transform: scale(1.05);
}

.glass-dropdown-menu .dropdown-divider {
    border-color: rgba(0, 0, 0, 0.05);
    margin: 8px 0;
}

.nav-brand-persian {
    font-family: 'Vazirmatn', sans-serif;
    font-size: 1.4rem !important;
    color: #e63946 !important;
    font-weight: 900 !important;
}

.hero-love-phrase {
    font-size: calc(0.8rem + 1vw);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 2px;
    overflow: hidden;
    white-space: nowrap;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-top: 10px;
}

.love-letter {
    display: inline-block;
    will-change: transform, opacity, filter;
}

/* Branch Cards */
.branch-card {
    perspective: 1000px;
}

.card-inner {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
}

.card-inner:hover {
    transform: translateY(-10px) rotateX(5deg);
    background: rgba(255, 255, 255, 0.1);
    border-color: #e63946;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-inner.featured {
    border: 2px solid #e63946;
    background: rgba(230, 57, 70, 0.1);
}

.branch-icon {
    font-size: 3rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.fw-900 {
    font-weight: 900;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    font-family: "Vazirmatn", sans-serif;
    position: relative;
    z-index: 10;
    margin-top: 80px;
    /* Lowered as requested */
}

.sticky-side-cta {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2000;
}

.btn-side-floating,
.btn-hero-oval {
    padding: 14px 35px;
    font-size: 1.1rem;
    font-weight: 900;
    color: white !important;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: normal;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(230, 57, 70, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.4);
    /* animation: pulseSide 3s infinite; Removed global pulse */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-hero-oval.highlight {
    animation: pulseSide 3s infinite;
}

.btn-side-kinetic {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: white !important;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 40px 0 0 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    transform: translateX(calc(100% - 55px));
    /* Show only icon */
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
}

.btn-side-kinetic:hover {
    transform: translateX(0);
    /* Reveal all */
    background: #e63946;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: -15px 0 45px rgba(230, 57, 70, 0.4);
}

.btn-side-kinetic .cta-text {
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    opacity: 0;
    margin-right: -15px;
    /* Pull towards icon */
    transition: all 0.4s ease;
    white-space: nowrap;
    visibility: hidden;
}

.btn-side-kinetic:hover .cta-text {
    opacity: 1;
    margin-right: 15px;
    visibility: visible;
}

.btn-side-kinetic .cta-icon {
    font-size: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

@keyframes pulseSide {

    0%,
    100% {
        box-shadow: 0 10px 30px rgba(230, 57, 70, 0.4);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 15px 45px rgba(230, 57, 70, 0.6);
        transform: scale(1.05);
    }
}

.btn-side-floating:hover,
.btn-hero-oval:hover {
    background: white;
    color: #e63946 !important;
    border-color: #ffffff;
    transform: translateY(-5px) scale(1.02);
}

.btn-side-floating:hover {
    transform: translateX(-10px) scale(1.05);
}

.btn-hero-oval.highlight {
    background: #ffffff;
    color: #e63946 !important;
    border-color: #ffffff;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-hero-oval.highlight:hover {
    background: #000000;
    color: #ffffff !important;
    border-color: #000000;
}

/* 3D Crystalline Glass Modal - World-Class Refresh */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.crystalline-background {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.2) 0%, transparent 70%);
    filter: blur(80px);
    border-radius: 50%;
    animation: blobMove 20s infinite alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

@keyframes blobMove {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 100px) scale(1.2);
    }
}

.modal-content-3d {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(80px) saturate(180%);
    -webkit-backdrop-filter: blur(80px) saturate(180%);
    border-radius: 50px;
    border: none;
    /* Removed border */
    width: 95%;
    max-width: 580px;
    position: relative;
    box-shadow: 0 100px 200px rgba(0, 0, 0, 0.7);
    transform-style: preserve-3d;
    perspective: 1000px;
    color: white;
    font-family: "Vazirmatn", sans-serif;
    overflow: hidden;
}

.glass-inner-border {
    display: none;
    /* Entirely hidden for seamless look */
}

.modal-header-accent-flow {
    height: 6px;
    background: linear-gradient(90deg, #e63946, #ffffff, #e63946);
    background-size: 200% auto;
    animation: flowGradient 3s linear infinite;
}

@keyframes flowGradient {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

.loading-bar-container-top {
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
}

.loading-bar-neon {
    height: 100%;
    background: #e63946;
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.8);
    width: 0%;
}

.modal-main-icon-3d {
    font-size: 5rem;
    display: inline-block;
    filter: drop-shadow(0 20px 40px rgba(230, 57, 70, 0.4));
    animation: float3D 4s ease-in-out infinite;
}

@keyframes float3D {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

.modal-title-3d {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #ffffff 0%, #e63946 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerTitle 5s linear infinite;
    display: flex;
    justify-content: center;
    gap: 0px;
}

.modal-title-3d span.l {
    display: inline-block;
    will-change: transform, opacity;
}

@keyframes shimmerTitle {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.premium-msg-1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #e63946;
}

.btn-3d-register {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 18px 45px;
    color: white;
    font-size: 1.25rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.btn-3d-register:hover {
    background: #e63946;
    border-color: #e63946;
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 30px 60px rgba(230, 57, 70, 0.4);
    color: white;
}

/* Timer Ring */
.timer-ring-container {
    position: relative;
    width: 50px;
    height: 50px;
}

.timer-svg {
    width: 100%;
    height: 100%;
}

.timer-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 3;
}

.timer-fg {
    fill: none;
    stroke: #e63946;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 113.1;
    /* 2 * PI * 18 */
    stroke-dashoffset: 0;
    transform: rotate(-90deg);
    transform-origin: center;
    transition: stroke-dashoffset 1s linear;
}

.timer-count {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.1rem;
    font-weight: 900;
}

.timer-tagline {
    font-size: 0.9rem;
    opacity: 0.5;
}


.letter-link {
    text-decoration: none !important;
    display: inline-block;
    color: #ffffff !important;
    /* Force white, ignore default link blue */
}

.letter-link:hover .letter {
    color: #ffff00 !important;
    /* Beautiful Neon Yellow */
    transform: scale(1.2) translateY(-20px) !important;
    text-shadow: 0 0 40px rgba(255, 255, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
    -webkit-text-stroke: 1.5px #800000;
    /* Keep crimson stroke for contrast */
}

/* Lucky Draw Page Specifics */
.lucky-draw-page {
    background: #ffffff;
    color: #e63946;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: "Vazirmatn", sans-serif;
}

/* 2-Step Graphic Membership Card - Ultra Premium */
.registration-section-final {
    position: relative;
    padding: 50px 0;
    background: #0a0a0a;
    /* Dark sleek background */
    overflow: hidden;
    z-index: 10;
}

/* Background Mesh Gradient (Graphic Only) */
.registration-section-final::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(230, 57, 70, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 20% 30%, rgba(214, 40, 40, 0.2) 0%, transparent 50%);
    animation: meshRotate 15s linear infinite;
    z-index: -1;
}

@keyframes meshRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.step-card-container {
    perspective: 1500px;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Dark Glass Premium Registration Card */
.graphic-reg-card {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 35px 30px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    font-family: 'Vazirmatn', sans-serif;
}

.card-glow-edge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(circle at top right, rgba(230, 57, 70, 0.15), transparent 40%);
    opacity: 0.8;
}

/* Steps Transition Logic */
.form-step {
    transition: all 0.5s ease;
    width: 100%;
}

.step-hidden {
    display: none;
    opacity: 0;
    transform: translateX(-30px);
}

.step-active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.step-title {
    font-weight: 800;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 25px;
    text-align: center;
    letter-spacing: -0.5px;
}

.step-input-box {
    position: relative;
    margin-bottom: 20px;
}

.step-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 14px 20px;
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    font-family: 'Vazirmatn', sans-serif;
}

.step-input:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(230, 57, 70, 0.5);
    outline: none;
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.15);
}

.step-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
    font-weight: 400;
}

.btn-step-next,
.btn-step-submit {
    width: 100%;
    background: linear-gradient(135deg, #e63946 0%, #c1121f 100%);
    color: white;
    border: none;
    border-radius: 16px;
    padding: 14px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(230, 57, 70, 0.25);
    transition: all 0.3s ease;
    font-family: 'Vazirmatn', sans-serif;
}

.btn-step-next:hover,
.btn-step-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(230, 57, 70, 0.35);
}

.progress-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.dot.active {
    background: #e63946;
    transform: scale(1.2);
}

/* Success State Minimal */
.success-content {
    text-align: center;
}

.success-icon-minimal {
    width: 60px;
    height: 60px;
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    border: 1px solid rgba(46, 204, 113, 0.2);
    box-shadow: 0 0 30px rgba(46, 204, 113, 0.1);
    animation: bouncePop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes bouncePop {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

.reward-code {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    letter-spacing: 2px;
    font-size: 1.5rem;
    color: #e63946;
    background: rgba(230, 57, 70, 0.1);
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px dashed rgba(230, 57, 70, 0.3);
    margin: 10px 0;
    display: block;
}



.reward-box {
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed #e63946;
    border-radius: 20px;
    padding: 25px;
    margin-top: 25px;
    position: relative;
    overflow: hidden;
}

.reward-code {
    font-family: 'Vazirmatn', sans-serif;
    font-size: 1.8rem;
    color: #e63946;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 5px;
}

.reward-label {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    opacity: 0.8;
}

.progress-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.dot.active {
    background: #e63946;
    width: 25px;
    border-radius: 10px;
    box-shadow: 0 0 10px #e63946;
}

/* Metric Badge Floating */
.metric-badge-floating {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    min-width: 160px;
    text-align: center;
    z-index: 5;
    animation: floatMetric 4s infinite ease-in-out;
}

@keyframes floatMetric {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.metric-val {
    display: block;
    color: #e63946;
    font-weight: 900;
    font-size: 1.8rem;
    margin-bottom: 2px;
}

.metric-text {
    color: #444;
    font-size: 0.75rem;
    margin-bottom: 12px;
}

.metric-btn {
    background: #000;
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
    transition: 0.3s;
}

.metric-btn:hover {
    background: #e63946;
    color: white;
}

/* Left Form Styles */
.reg-brand-dot {
    width: 35px;
    height: 35px;
    background: #e63946;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 15px rgba(230, 57, 70, 0.4);
}

.reg-brand-dot::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1.5px solid #e63946;
    border-radius: 50%;
    opacity: 0.5;
}

.reg-title-modern {
    font-weight: 900;
    font-size: 2.4rem;
    color: #1a1a1a;
    letter-spacing: -1px;
}

.reg-subtitle-modern {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.modern-label {
    display: block;
    color: #333;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.modern-input {
    width: 100%;
    padding: 16px 20px;
    border: 1.5px solid #eee;
    border-radius: 16px;
    background: #fdfdfd;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.modern-input:focus {
    border-color: #e63946;
    background: #fff;
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.08);
    outline: none;
}

.btn-modern-start {
    background: #000;
    color: white;
    border: none;
    border-radius: 16px;
    padding: 18px;
    font-weight: 900;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-modern-start:hover {
    background: #e63946;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.3);
}

.reg-footer-link {
    color: #888;
    font-size: 0.9rem;
}

.reg-footer-link a {
    color: #e63946;
    font-weight: 700;
    text-decoration: none;
}

/* Integrated Signature Sidepanel - World-Class UI */
.full-screen-map {
    width: 100%;
    height: 100vh;
    background: #eef2f5;
}

.map-floating-panel {
    position: fixed;
    top: 20px;
    right: 20px;
    bottom: 20px;
    width: 450px;
    z-index: 1001;
    pointer-events: none;
}

.glass-control-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(40px) saturate(200%) contrast(90%);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 50px 40px;
    height: 100%;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.1), inset 0 0 80px rgba(255, 255, 255, 0.3);
    color: #1a1a1a;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 3D Kinetic Marker */
.kinetic-marker-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
}

.kinetic-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: rgba(230, 57, 70, 0.3);
    border-radius: 50%;
    animation: kineticPulse 2.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes kineticPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(5);
        opacity: 0;
    }
}

.kinetic-pin {
    position: absolute;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #ff4d5a, #e63946);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    top: 4px;
    left: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid white;
    box-shadow: 0 15px 35px rgba(230, 57, 70, 0.4);
    z-index: 2;
}

.pin-inner-glow {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    transform: rotate(45deg);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.marker-shadow {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 6px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    filter: blur(2px);
    z-index: 1;
}

/* Elegant Signature Form */
.elegant-map-input {
    background: rgba(0, 0, 0, 0.03) !important;
    border: 2px solid rgba(0, 0, 0, 0.05) !important;
    color: #1a1a1a !important;
    border-radius: 20px !important;
    padding: 20px !important;
    font-size: 1.2rem !important;
    text-align: center;
    transition: all 0.3s ease !important;
}

.elegant-map-input:focus {
    background: white !important;
    border-color: #e63946 !important;
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.15) !important;
}

.btn-premium-map-submit {
    background: #e63946;
    color: white !important;
    font-weight: 700;
    border-radius: 50px;
    padding: 16px 30px;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    border: none;
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.2);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.btn-premium-map-submit:hover {
    background: #c32f3a;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.3);
}

.btn-premium-map-submit::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-premium-map-submit:hover::after {
    left: 100%;
}

.sticker-right {
    --rot: 15deg;
}

.sticker-left {
    --rot: -12deg;
}

/* Map Registration Page Styles */
.map-registration-section {
    background-color: #1a1a1a;
    min-height: 100vh;
}

.map-registration-container {
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    border-radius: 30px;
    overflow: hidden;
}

.map-overlay-hint {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

/* World-Class Immersive Map Interface */
.immersive-map-wrapper {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

.full-screen-map {
    width: 100%;
    height: 100%;
    filter: saturate(1.2) contrast(1.1);
    background-color: #1a1a1a;
    z-index: 1;
}

.footer-minimal {
    padding: 15px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-copyright {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: rgba(0, 0, 0, 0.4);
    margin: 0;
    text-transform: uppercase;
}

/* Floating Glass Control Card */
.map-floating-panel {
    position: absolute;
    top: 100px;
    right: 50px;
    z-index: 1001;
    width: 420px;
    pointer-events: auto;
}

.glass-control-card {
    background: rgba(18, 18, 18, 0.7);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 40px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8),
        inset 0 0 40px rgba(255, 255, 255, 0.02);
    color: white;
    font-family: 'Vazirmatn', sans-serif;
    letter-spacing: -0.5px;
}

.glass-control-card h2 {
    font-weight: 900;
    font-size: 2.2rem;
    background: linear-gradient(135deg, #fff 0%, #e63946 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 10px !important;
}

.instruction-box h4 {
    font-weight: 800;
    font-size: 1.5rem;
    color: #e63946;
    margin-bottom: 12px;
}

.instruction-box p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.drag-handle {
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin: 0 auto;
}

.header-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e63946, transparent);
    width: 100%;
}

.instruction-box h4 {
    letter-spacing: -0.5px;
    color: #e63946;
}

.pulse-icon-map {
    font-size: 3rem;
    animation: iconPulse 2s infinite;
}

@keyframes iconPulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(230, 57, 70, 0));
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 20px rgba(230, 57, 70, 0.4));
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(230, 57, 70, 0));
    }
}

/* Elegant Map Inputs */
.glass-input-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.elegant-map-input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    padding: 20px 25px !important;
    color: white !important;
    font-size: 1.2rem !important;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1) !important;
}

.elegant-map-input:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #e63946 !important;
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.2) !important;
    padding-right: 35px !important;
}

.btn-premium-map-submit {
    background: linear-gradient(135deg, #e63946 0%, #b91d1d 100%);
    border: none;
    border-radius: 20px;
    padding: 20px;
    font-weight: 900;
    font-size: 1.3rem;
    color: white;
    box-shadow: 0 20px 40px rgba(230, 57, 70, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-premium-map-submit:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(230, 57, 70, 0.5);
    color: white;
}

/* Custom Marker */
.marker-pin {
    width: 30px;
    height: 30px;
    border-radius: 50% 50% 50% 0;
    background: #e63946;
    position: absolute;
    transform: rotate(-45deg);
    left: 50%;
    top: 50%;
    margin: -15px 0 0 -15px;
    animation: markerDrop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border: 3px solid white;
}

.marker-pin::after {
    content: "";
    width: 14px;
    height: 14px;
    margin: 8px 0 0 8px;
    background: #000;
    position: absolute;
    border-radius: 50%;
}

@keyframes markerDrop {
    0% {
        transform: translateY(-40px) rotate(-45deg);
        opacity: 0;
    }

    100% {
        transform: translateY(0) rotate(-45deg);
        opacity: 1;
    }
}

/* Status Badge */
.map-status-badge {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 12px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.9rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #27ae60;
    border-radius: 50%;
    box-shadow: 0 0 10px #2ecc71;
}

.success-check-mark {
    font-size: 5rem;
    color: #27ae60;
    text-shadow: 0 0 30px rgba(46, 204, 113, 0.4);
}

@media (max-width: 768px) {
    .map-floating-panel {
        top: auto;
        bottom: 0;
        right: 0;
        width: 100%;
    }

    .glass-control-card {
        border-radius: 40px 40px 0 0;
        padding: 30px 20px;
    }
}

/* =========================================
   RESPONSIVE DESIGN SYSTEM (ADDITIVE ONLY)
   ========================================= */

/* Tablet & Smaller Laptops (Max Width: 991px) */
@media (max-width: 991px) {
    .container-oval {
        width: 90%;
        padding: 10px 20px;
        flex-wrap: wrap;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-love-phrase {
        font-size: 1.2rem;
    }

    .graphic-reg-card {
        max-width: 80%;
    }
}

/* Mobile & Tablet Devices (Max Width: 991px) */
@media (max-width: 991px) {

    /* Force the floating oval bar to be horizontal with brand on right and hamburger on left */
    .container-oval {
        max-width: 95% !important;
        width: 95% !important;
        height: 55px !important;
        padding: 0 20px !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        position: relative !important;
        border-radius: 60px !important;
    }

    /* Custom Premium Hamburger Toggler */
    .custom-toggler {
        border: none !important;
        background: transparent !important;
        outline: none !important;
        box-shadow: none !important;
        padding: 5px !important;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger-icon {
        width: 24px;
        height: 18px;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .hamburger-icon span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #1a1a1a;
        border-radius: 2px;
        transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    }

    /* Toggler animations when expanded */
    .custom-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .custom-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
        opacity: 0;
    }

    .custom-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Floating dropdown drawer menu */
    .floating-oval-nav .navbar-collapse {
        position: absolute !important;
        top: 65px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(25px) !important;
        -webkit-backdrop-filter: blur(25px) !important;
        border-radius: 25px !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        padding: 20px 25px !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3) !important;
        z-index: 9999 !important;
    }

    /* Adjust list items inside collapsed menu */
    .floating-oval-nav .navbar-nav {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .floating-oval-nav .nav-item {
        width: 100% !important;
        text-align: right !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    }

    .floating-oval-nav .nav-item:last-child {
        border-bottom: none !important;
    }

    .floating-oval-nav .nav-link {
        padding: 12px 15px !important;
        border-radius: 12px !important;
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        display: block !important;
        color: #1a1a1a !important;
        transition: all 0.3s ease !important;
    }

    .floating-oval-nav .nav-link:hover {
        background: rgba(230, 57, 70, 0.08) !important;
        color: var(--primary-red) !important;
    }

    /* Disable underline indicators on mobile */
    .floating-oval-nav .nav-link::after {
        display: none !important;
    }

    /* Hide collapsed dropdown menus on mobile flow to prevent large empty spacing gaps */
    .glass-dropdown-menu {
        display: none !important;
    }

    /* Statically stack the sub-menus (dropdowns) inside the collapsed menu */
    .glass-dropdown-menu.show {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        position: static !important;
        float: none !important;
        width: 100% !important;
        background: rgba(0, 0, 0, 0.03) !important;
        border: none !important;
        border-right: 2px solid rgba(230, 57, 70, 0.4) !important;
        box-shadow: none !important;
        margin-top: 5px !important;
        padding: 5px 15px 5px 0 !important;
        border-radius: 12px !important;
    }

    .glass-dropdown-menu .dropdown-item {
        font-size: 0.9rem !important;
        padding: 8px 12px !important;
        color: #333 !important;
    }

    /* Tap support for weather HUD on mobile */
    .weather-standalone-hud.show-discount .hud-tomorrow-tab {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
    }
}

/* Mobile Devices Specific (Max Width: 767px) */
@media (max-width: 767px) {

    /* Keep top offset synchronized with weather HUD */
    .floating-oval-nav {
        top: 25px;
    }

    /* Hero Section */
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
        white-space: normal;
        /* Allow text wrapping on mobile */
    }

    .hero-love-phrase {
        font-size: 1rem;
        white-space: normal;
    }

    .hero-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .btn-hero-oval,
    .btn-side-floating {
        width: 85% !important;
        max-width: 320px !important;
        margin: 0 auto 12px auto !important;
        font-size: 0.95rem !important;
        padding: 12px 20px !important;
        letter-spacing: normal !important;
    }

    /* Registration Card */
    .registration-section-final {
        padding: 30px 0;
    }

    .graphic-reg-card {
        max-width: 92%;
        padding: 25px 20px;
    }

    .step-title {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .step-input {
        padding: 12px;
        font-size: 0.95rem;
    }

    .btn-step-next,
    .btn-step-submit {
        padding: 12px;
        font-size: 1rem;
    }

    /* Reward Box */
    .reward-code {
        font-size: 1.5rem;
    }

    /* Hide non-critical elements if needed */
    .sticky-side-cta {
        display: none !important;
    }

    /* Modal Adjustments */
    .modal-content-3d {
        width: 95%;
        margin: 10px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-title-3d {
        font-size: 2.5rem;
    }
}