@font-face {
    font-family: 'NVNValky';
    src: url('../fonts/NVNValky-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Color Palette */
    --color-green-300: #D2FFD2;
    --color-green-500: #84CD81;
    --color-green-900: #318226;
    --color-yellow-500: #FFC44D;
    --color-red-300: #F36A47;
    --color-red-900: #963F2E;

    --color-dark: #121212;
    --color-darker: #0A0A0A;
    --color-light: #FFFFFF;
    --color-gray: #E0E0E0;
    --color-gray-dark: #333333;
    --color-black: #000000;
    --color-orange-400: #FF6724;

    /* Gradients */
    --gradient-primary: linear-gradient(90deg, #FF6724 0%, #F5A126 50%, #FF6724 100%);
    --gradient-logo: linear-gradient(90deg, #8ABD50 0%, #198562 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(18, 18, 18, 0) 0%, rgba(18, 18, 18, 0.8) 100%);
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #FFDF73 50%, #AA7C11 100%);

    /* Fonts */
    --font-heading: 'NVNValky', serif;
    --font-text: 'Montserrat', sans-serif;

    /* Spacing */
    --sp-xs: 0.5rem;
    /* 8px */
    --sp-sm: 1rem;
    /* 16px */
    --sp-md: 2rem;
    /* 32px */
    --sp-lg: 4rem;
    /* 64px */
    --sp-xl: 8rem;
    /* 128px */

    /* Effects */
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --border-glass: 1px solid rgba(255, 255, 255, 0.1);
    --bg-glass: rgba(18, 18, 18, 0.6);
    --blur-glass: blur(16px);

    /* Transitions */
    --trans-fast: 0.2s ease;
    --trans-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --trans-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-text);
    color: var(--color-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: var(--sp-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.title-lg {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.title-md {
    font-size: clamp(2rem, 4vw, 3rem);
}

.title-sm {
    font-size: clamp(1.5rem, 3vw, 1.75rem);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-dark-green {
    color: var(--color-green-900);
}

.text-green {
    color: var(--color-green-500);
}

/* Layout Grid Utilities */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

@media (max-width: 991px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Base Animation Utilities */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.heading-md {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--color-light);
    margin-bottom: 20px;
}

.img-wrapper img {
    width: 100%;
    border-radius: 12px;
}


/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 var(--sp-sm);
}

.section-padding {
    padding: var(--sp-lg) 0;
    position: relative;
    overflow: hidden;
}

@media (min-width: 992px) {
    .section-padding {
        padding: var(--sp-xl) 0;
    }
}

.section-padding .container {
    position: relative;
    z-index: 1;
}

/* Branding Overlay */
.section-branding {
    position: absolute;
    z-index: 0;
    opacity: 0;
    pointer-events: none;
    max-width: 450px;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-branding.is-visible {
    opacity: 0.15;
}

@media (max-width: 991px) {
    .section-branding {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .section-branding {
        max-width: 200px;
    }
}

.branding-top-left {
    top: -5%;
    left: -5%;
    transform: translate(-30px, -30px);
}

.branding-top-right {
    top: -5%;
    right: -5%;
    transform: translate(30px, -30px);
}

.branding-bottom-left {
    bottom: -5%;
    left: -5%;
    transform: translate(-30px, 30px);
}

.branding-bottom-right {
    bottom: -5%;
    right: -5%;
    transform: translate(30px, 30px);
}

.section-branding.is-visible {
    transform: translate(0, 0);
}


/* UI Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-family: var(--font-text);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--trans-normal);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #F5A126 0%, #FF6724 50%, #F5A126 100%);
    opacity: 0;
    z-index: -1;
    transition: var(--trans-normal);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-yellow-500);
    color: var(--color-yellow-500);
}

.btn-outline:hover {
    background: rgba(255, 196, 77, 0.1);
}

/* Header */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: var(--trans-normal);
    background: transparent;
}

.header.scrolled {
    backdrop-filter: var(--blur-glass);
    border-bottom: var(--border-glass);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 48px;
    transition: var(--trans-fast);
}

.desktop-nav {
    display: none;
    gap: 32px;
}

@media (min-width: 992px) {
    .desktop-nav {
        display: flex;
    }
}

.nav-link {
    color: var(--color-orange-400);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--color-yellow-500);
    transition: var(--trans-normal);
}

.nav-link:hover::after {
    width: 100%;
}

.header-action {
    display: flex;
    align-items: center;
    gap: 20px;
}

@media (max-width: 991px) {
    .header-action .btn {
        display: none;
    }
}

/* Hamburger */
.menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 101;
}

@media (min-width: 992px) {
    .menu-toggle {
        display: none;
    }
}

.hamburger {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 2px;
    background-color: var(--color-orange-400);
    transition: var(--trans-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--color-orange-400);
    transition: var(--trans-fast);
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.hamburger.active {
    background-color: transparent;
}

.hamburger.active::before {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active::after {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-orange-400);
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-light);
    transition: var(--trans-fast);
}

.mobile-link:hover {
    color: var(--color-yellow-500);
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: var(--blur-glass);
    border: var(--border-glass);
    border-radius: 12px;
    padding: var(--sp-md);
    box-shadow: var(--shadow-glass);
}

/* Utility Classes */
.mt-sm {
    margin-top: var(--sp-sm);
}

.mt-md {
    margin-top: var(--sp-md);
}

.mt-lg {
    margin-top: var(--sp-lg);
}

.mb-sm {
    margin-bottom: var(--sp-sm);
}

.mb-md {
    margin-bottom: var(--sp-md);
}

.mb-lg {
    margin-bottom: var(--sp-lg);
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.max-w-800 {
    max-width: 800px;
}

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

.italic {
    font-style: italic;
}

.font-bold {
    font-weight: 700;
}

.text-light {
    color: var(--color-light);
}

.text-gray {
    color: var(--color-gray);
}

.text-sm {
    font-size: 0.9rem;
}

.text-primary {
    color: #FF6724;
}



.bg-darker {
    background-color: var(--color-darker);
}

.bg-cover {
    background-size: cover;
    background-position: center;
}

.rounded {
    border-radius: 8px;
}

.shadow-lg {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.border-gold {
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Hero Section */

.banner {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: right top;
    background-repeat: no-repeat;
}

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #000000 0%, #ffdf7300 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-branding {
    max-width: 300px;
    margin: 0 auto 30px;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    margin-top: 10px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 30px;
    margin-top: 40px;
}

.stat-item {
    flex: 1 1 180px;
    padding: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    line-height: 1.4;
    display: block;
}

@media (max-width: 768px) {
    .stat-item {
        flex: 1 1 45%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

#tong-quan {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right;
}

@media (max-width: 768px) {
    #tong-quan {
        background-position: center !important;
    }
}

/* Pattern BG */
.pattern-bg {
    position: relative;
}

.pattern-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.83-1.66 1.66-1.66-1.66.83-.83h1.66zM28.373 0l-.83.83 1.66 1.66 1.66-1.66-.83-.83h-1.66zm0 60l-.83-.83 1.66-1.66 1.66 1.66-.83.83h-1.66zm26.254 0l.83-.83-1.66-1.66-1.66 1.66.83.83h1.66z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: 0;
}

/* Intro */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 991px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }
}

.text-content {
    font-size: 1.1rem;
    color: var(--color-dark);
    line-height: 1.8;
}

.intro-image-wrapper {
    position: relative;
}


/* Overview Table */
.overview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.info-row {
    display: flex;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-label {
    flex: 0 0 150px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    font-weight: 600;
    color: var(--color-gray);
    display: flex;
    align-items: center;
}

.info-value {
    flex: 1;
    padding: 25px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .overview-grid {
        grid-template-columns: 1fr;
    }

    .info-label {
        flex: 0 0 120px;
        font-size: 0.9rem;
    }
}

/* Location Section */
.location-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
}

@media (max-width: 991px) {
    .location-grid {
        grid-template-columns: 1fr;
    }
}

.location-map img {
    width: 100%;
    object-fit: cover;
}

.distance-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.distance-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 20px;
}

.distance-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.distance-list .time {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    flex: 0 0 90px;
}

.distance-list .time span {
    font-size: 2rem;
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.distance-list .places {
    flex: 1;
    color: var(--color-gray);
    line-height: 1.6;
}

/* Amenities Section */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.amenity-item {
    text-align: center;
    transition: transform var(--trans-normal);
}

.amenity-item:hover {
    transform: translateY(-10px);
}

.amenity-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--trans-slow);
}

.gallery-img:hover {
    transform: scale(1.03);
}

/* CTA Banner */
.cta-banner {
    position: relative;
    overflow: hidden;
    padding: 60px 20px;
    text-align: center;
}

.cta-overlay {
    background: rgba(18, 18, 18, 0.8);
    margin: 0 auto;
    padding: 30px;
    border-radius: 12px;
}

.cta-form {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
}

.cta-form .form-input {
    flex: 1;
}

.cta-form .btn {
    flex: none;
}

@media (max-width: 768px) {
    .cta-form {
        flex-direction: column;
    }
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: var(--font-text);
    transition: var(--trans-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-yellow-500);
    background: rgba(255, 255, 255, 0.1);
}

/* Design Section */
.design-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 991px) {
    .design-grid {
        grid-template-columns: 1fr;
    }
}

.design-image-wrapper img {
    width: 100%;
}

.tower-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tower-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 20px;
}

.tower-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.tower-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* Panorama View */
.view-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.view-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    text-align: left;
}

/* Floorplan Section */
.floorplan-section .floorplan-image img {
    object-fit: contain;
}

.floor-layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.floor-level {
    text-align: center;
}

/* Values Section */
.position-relative {
    position: relative;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    padding-top: 30px;
}

.value-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    opacity: 0.3;
    position: absolute;
    top: 15px;
    right: 20px;
}

/* Footer / Agent info */
.border-top-glass {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.uppercase {
    text-transform: uppercase;
}

.letter-spacing {
    letter-spacing: 1px;
}

.footer-grid {
    display: grid;
    gap: 50px;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.agent-perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.agent-perks li {
    display: flex;
    gap: 10px;
    color: var(--color-gray);
}

.w-full {
    width: 100%;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form .form-input {
    padding: 12px 20px;
}

.contact-form .form-input::placeholder {
    color: var(--color-light);
}

.resize-none {
    resize: none;
}


.alpine-slider {
    position: relative;
    width: 100%;
    height: 800px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-glass);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-item {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

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

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    color: var(--color-black);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(5px);
    transition: background 0.3s, color 0.3s;
}

.slider-btn:hover {
    background: var(--color-orange-400);
    color: var(--color-white);
}

.slider-btn.prev-btn {
    left: 20px;
}

.slider-btn.next-btn {
    right: 20px;
}

.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator-dot.active {
    background: var(--color-orange-400);
    width: 30px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .alpine-slider {
        height: 350px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .slider-btn.prev-btn {
        left: 10px;
    }

    .slider-btn.next-btn {
        right: 10px;
    }
}

/* Unit Type Slider */
.unit-slider {
    position: relative;
    width: 100%;
    min-height: 500px;
    background: rgba(18, 18, 18, 0.4);
    border-radius: 16px;
    padding: 60px 60px;
    border: var(--border-glass);
    overflow: hidden;
    margin-top: 50px;
}

.unit-slides-wrapper {
    position: relative;
    width: 100%;
    min-height: 600px;
}

.unit-slide-content {
    display: grid;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.unit-info h4 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    color: var(--color-yellow-500);
}

.unit-info {
    padding-left: 50px;
}

.unit-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-light);
    opacity: 0.9;
}

.unit-features {
    list-style: none;
    margin: 30px 0;
}

.unit-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--color-light);
}

.unit-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

@media (max-width: 991px) {
    .unit-slide-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .unit-features li {
        justify-content: center;
    }

    .unit-slider {
        padding: 40px 20px;
    }

    .unit-info {
        padding-left: 0;
    }

    .unit-info h4 {
        font-size: 2rem;
    }
}

.fours-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.fours-popup.is-open {
    display: flex;
    pointer-events: all;
}

.fours-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.7);
    /* Tone màu overlay phù hợp với Dark Theme */
    backdrop-filter: blur(8px);
}

.fours-popup__content {
    background-image: url('../images/background.jpg');
    position: relative;
    backdrop-filter: var(--blur-glass);
    border: var(--border-glass);
    border-radius: 12px;
    width: 90%;
    max-width: 480px;
    box-shadow: var(--shadow-glass);
    overflow: hidden;
    color: var(--color-light);
    animation: popupSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.fours-popup__close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: rgba(255, 255, 255, 0.1);
    /* Dịu lại cho chuẩn dark mode */
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-light);
    font-size: 1.6rem;
    line-height: 1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--trans-fast);
    z-index: 10;
}

.fours-popup__close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-yellow-500);
    /* Hover nháy sang màu accent vàng của trang */
    transform: rotate(90deg);
}

.fours-popup__body {
    padding: 0;
}

.fours-popup__header {
    background: rgba(0, 0, 0, 0.3);
    /* Phân lớp header tách khỏi content body */
    border-bottom: var(--border-glass);
    padding: 30px 30px 24px;
    text-align: center;
}

.fours-popup__label {
    font-family: var(--font-heading);
    /* Đồng bộ font Heading của trang */
    color: var(--color-yellow-500);
    /* Thêm màu nhấn của theme */
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.fours-popup__header h3 {
    font-family: var(--font-heading);
    /* Đồng bộ font Heading */
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    /* Font to lên một xíu để nhìn bề thế hơn */
    color: var(--color-light);
    line-height: 1.3;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    /* Chữ Hoa giống Heading trên Site */
}

.fours-popup__header p {
    font-family: var(--font-text);
    color: var(--color-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.fours-popup__form {
    padding: 24px 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fours-popup__field .form-input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 4px;
    border: 1px solid var(--color-green-900);
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-red-900);
    font-family: var(--font-text);
    font-size: 1rem;
    transition: var(--trans-fast);
    outline: none;
}

.fours-popup__field .form-input::placeholder {
    color: var(--color-dark);
}

.fours-popup__field .form-input:focus {
    border-color: var(--color-green-300);
    /* Border sáng vàng đặc trưng của Form hiện tại */
    background: rgba(255, 255, 255, 0.1);
}

.fours-popup__submit {
    width: 100%;
    padding: 15px;
    margin-top: 5px;
}

/* Alpine.js transition classes */
.popup-enter {
    transition: opacity 0.3s ease;
}

.popup-enter-start {
    opacity: 0;
}

.popup-enter-end {
    opacity: 1;
}

.popup-leave {
    transition: opacity 0.25s ease;
}

.popup-leave-start {
    opacity: 1;
}

.popup-leave-end {
    opacity: 0;
}

@media (max-width: 480px) {
    .fours-popup__header {
        padding: 24px 20px 18px;
    }

    .fours-popup__form {
        padding: 20px;
        gap: 15px;
    }
}