/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', 'Montserrat', sans-serif;
    background-color: #050508;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Background image & overlays */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('01.png');
    background-size: 100% 100%;       /* Khóa chặt ảnh đúng bằng kích thước màn hình */
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 5, 8, 0.9) 0%, rgba(5, 5, 8, 0.65) 50%, rgba(5, 5, 8, 0.9) 100%);
    z-index: -1;
}

body::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* Main Container */
.container {
    max-width: 800px;
    width: 90%;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
}

/* Pulsing Logo */
.logo-wrapper {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 220px;
    width: 100%;
}

.pulsing-logo {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    animation: pulse 4s ease-in-out infinite;
    user-select: none;
    pointer-events: none;
}

@keyframes pulse {
    0% {
        transform: scale(0.97);
        filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.35)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 35px rgba(212, 175, 55, 0.65)) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.8));
    }
    100% {
        transform: scale(0.97);
        filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.35)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
    }
}

/* Intro Text */
.intro-text {
    margin-bottom: 45px;
	transform: translateY(-200px); /* Dịch lên 10px */

}

.intro-text h1 {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff 30%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.intro-text p {
    font-size: 1.1rem;
    color: #fffffff;
    font-weight: 400;
    max-width: 500px;
    margin: 0 auto;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    line-height: 1.6;

}

/* Download Container */
.download-container {
    display: flex;
    flex-direction: row;
    gap: 25px;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 620px;
    margin-bottom: 40px;
		transform: translateY(340px); /* Dịch lên 10px */

}




/* Base style - Nút to, dày dặn hơn */
.download-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 24px; /* TĂNG PADDING CHO NÚT DÀY LÊN */
    border-radius: 12px;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

/* Vệt sáng trắng cực mạnh lướt qua */
.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: btnShine 2.5s infinite;
}

.download-btn:hover {
    transform: scale(1.05) translateY(-3px);
    filter: brightness(1.2);
}

/* Icon & Chữ - Phóng to toàn bộ */
.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    font-size: 28px; /* TĂNG KÍCH THƯỚC ICON */
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.btn-icon svg {
    width: 38px;  /* TĂNG SVG ICON */
    height: 38px;
}

.btn-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin-left: 16px;
}

.btn-subtitle {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.btn-title {
    font-size: 17px; /* TĂNG CHỮ TIÊU ĐỀ LỚN RÕ */
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Mũi tên to & giật nhịp thu hút */
.btn-arrow {
    font-size: 20px; /* TĂNG ICON MŨI TÊN */
    color: #ffffff;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
    animation: arrowBounce 1.2s infinite;
}

/* ==========================================
   HIỆU ỨNG TỎA SÁNG RIÊNG CHO TỪNG NÚT
   ========================================= */

/* 1. NÚT GOOGLE DRIVE (Xanh Lá) */
.btn-gdrive {
    border-color: rgba(15, 157, 88, 0.6);
    animation: gdrivePulse 2.5s infinite;
}
.btn-gdrive .btn-title, .btn-gdrive .btn-arrow { color: #0f9d58; }
.btn-gdrive:hover {
    border-color: #0f9d58;
    background: rgba(15, 157, 88, 0.25);
}

/* 2. NÚT MEGA.NZ (Đỏ) */
.btn-mega {
    border-color: rgba(217, 39, 46, 0.6);
    animation: megaPulse 2.5s infinite 0.8s; /* Trễ nhịp tạo hiệu ứng sóng */
}
.btn-mega .btn-title, .btn-mega .btn-arrow { color: #d9272e; }
.btn-mega:hover {
    border-color: #d9272e;
    background: rgba(217, 39, 46, 0.25);
}

/* 3. NÚT ZALO (Xanh Dương) */
.btn-zalo {
    border-color: rgba(41, 121, 255, 0.6);
    animation: zaloPulse 2.5s infinite 1.6s;
}
.btn-zalo .btn-title, .btn-zalo .btn-arrow { color: #2979ff; }
.btn-zalo:hover {
    border-color: #2979ff;
    background: rgba(41, 121, 255, 0.25);
}

/* ==========================================
   KEYFRAMES ANIMATIONS
   ========================================== */
/* Vệt sáng lướt qua */
@keyframes btnShine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* Mũi tên nhấp nháy sang phải */
@keyframes arrowBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

/* Nhịp đập phát sáng từng màu */
@keyframes gdrivePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(15, 157, 88, 0); }
    50% { box-shadow: 0 0 10px 2px rgba(15, 157, 88, 0.5); }
}

@keyframes megaPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(217, 39, 46, 0); }
    50% { box-shadow: 0 0 10px 2px rgba(217, 39, 46, 0.5); }
}

@keyframes zaloPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(41, 121, 255, 0); }
    50% { box-shadow: 0 0 10px 2px rgba(41, 121, 255, 0.5); }
}
/* Responsive adjustments */
@media (max-width: 640px) {
    .download-container {
        flex-direction: column;
        gap: 15px;
        padding: 0 10px;
    }
    
    .download-btn {
        width: 100%;
    }
    
    .intro-text h1 {
        font-size: 1.8rem;
        letter-spacing: 1.5px;
    }
    
    .intro-text p {
        font-size: 0.95rem;
    }
    
    .logo-wrapper {
        min-height: 160px;
    }
    
    .pulsing-logo {
        max-height: 150px;
    }
}
