:root {
    --primary-color: #f7a800;
    /* Amber Gold */
    --accent-color: #1a1a1a;
    --text-color: #111111;
    /* Dark text for light background */
    --card-text: #ffffff;
    --glass-background: rgba(0, 0, 0, 0.1);
    /* Giảm từ 0.2 xuống 0.1 để trong suốt hơn nữa */
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-color: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    background: radial-gradient(circle at center, #2c3e50 0%, #000000 100%);
    /* Nền tối sang trọng thay cho bg.png */
    height: 100vh;
    overflow: hidden;
    /* Ngăn cuộn trang tuyệt đối */
    display: flex;
    justify-content: center;
    align-items: center;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    /* Hiệu ứng lưới kỹ thuật nhẹ */
    z-index: -2;
    /* Đưa xuống sau cùng */
}

/* Parallax Style */
.parallax-scene {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
    /* Nằm trên box mờ (z-index 10) */
    pointer-events: none;
    /* Cho phép chuột đi xuyên qua các vùng trống */
    overflow: hidden;
}

.parallax-layer {
    position: absolute;
    bottom: -20px;
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: auto;
    /* Riêng chiếc xe thì nhận chuột để di chuyển */
    cursor: pointer;
}

.truck-left {
    left: -100px;
    max-width: 55%;
    /* Tăng nhẹ kích thước xe */
    max-height: 65vh;
    animation: slideInLeft 3.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    /* Chậm lại và mượt hơn */
    animation-delay: 0.3s;
    cursor: pointer;
}

.truck-right {
    right: -100px;
    max-width: 55%;
    max-height: 65vh;
    animation: slideInRight 3.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    animation-delay: 0.6s;
    cursor: pointer;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%) scale(0.9);
        opacity: 0;
    }

    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%) scale(0.9);
        opacity: 0;
    }

    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@media (max-width: 1024px) {
    .parallax-layer {
        display: none;
    }
}

.container {
    max-width: 900px;
    padding: 2.5rem;
    text-align: center;
    width: 100%;
    z-index: 30;
    /* Đưa nội dung chính lên cao nhất để bấm được nút/link */
    pointer-events: none;
}

.logo-container {
    margin-bottom: 1.5rem;
    /* Giảm khoảng cách để đẩy mọi thứ lên */
    pointer-events: auto;
    /* Cho phép hover vào logo */
}

.logo {
    max-height: 170px;
    width: auto;
    /* Hiệu ứng Logo siêu nét: Tăng sáng mạnh, bão hòa màu và hào quang trắng bạc */
    filter: brightness(2.5) contrast(1.2) saturate(1.5) drop-shadow(0 0 45px rgba(255, 255, 255, 0.7));
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover {
    transform: scale(1.15);
    filter: brightness(3) contrast(1.4) drop-shadow(0 0 60px rgba(255, 255, 255, 0.9));
}

.truck-left:hover,
.truck-right:hover {
    filter: brightness(1.4) contrast(1.1) drop-shadow(0 50px 80px rgba(0, 0, 0, 1));
}

.glass {
    background: var(--glass-background);
    backdrop-filter: blur(25px);
    /* Tăng độ nhòe để ra hiệu ứng gương mạnh */
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    box-shadow: 0 20px 50px var(--shadow-color);
    color: var(--card-text);
    /* Ensure text inside card is white */
}

.content-card {
    padding: 2rem;
    /* Giảm padding card */
    margin-top: 1rem;
}

.title {
    font-size: 2.2rem;
    /* Giảm kích thước font tiêu đề */
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    /* Khôi phục lại margin */
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.copyright-bottom {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1.5rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Đổi thành 4 cột ngang để tiết kiệm diện tích dọc */
    gap: 1rem;
    margin-bottom: 2rem;
}

.service-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 1.2rem 0.5rem;
    /* Thu nhỏ card lại */
    border-radius: 15px;
    font-size: 0.9rem;
    /* Chữ nhỏ lại cho vừa hàng */
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(247, 168, 0, 0.2);
}

.service-item .icon {
    font-size: 1.8rem;
    /* Icon nhỏ lại */
}

.service-item .text {
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    /* Giảm margin bottom */
}

.time-block {
    display: flex;
    flex-direction: column;
    min-width: 80px;
}

.time-block span {
    font-size: 2rem;
    /* Giảm font size của số đếm */
    font-weight: 800;
    color: var(--primary-color);
}

.time-block label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Form Styles */
.subscribe-form {
    display: flex;
    gap: 0.5rem;
    margin: 0 auto;
    max-width: 500px;
    border: 1px solid var(--glass-border);
    padding: 4px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
}

.subscribe-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.8rem 1.2rem;
    color: white;
    font-family: inherit;
    outline: none;
}

.subscribe-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.btn-primary {
    background: var(--primary-color);
    color: #000;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-primary:hover {
    background: #ffd000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 170, 0, 0.4);
}

.form-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    height: 1.2rem;
}

/* Social links and Footer */
.social-links {
    margin-top: 2rem;
    opacity: 0.6;
    font-size: 0.8rem;
}

/* Animations */
@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-slide-up {
    animation: slideUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.animate-fade-in {
    animation: fadeIn 1.5s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .title {
        font-size: 2rem;
    }

    .subscribe-form {
        flex-direction: column;
        background: transparent;
        border: none;
    }

    .subscribe-form input {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        margin-bottom: 0.5rem;
        width: 100%;
        border: 1px solid var(--glass-border);
    }

    .countdown {
        gap: 0.8rem;
    }

    .time-block {
        min-width: 60px;
    }

    .time-block span {
        font-size: 1.8rem;
    }

    .content-card {
        padding: 1.5rem;
    }
}