:root {
    --primary: #6C5CE7;
    --secondary: #A29BFE;
    --dark: #2D3436;
    --light: #F9F9F9;
    --text: #636E72;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80vh;
    gap: 50px;
}

.hero-content {
    flex: 1;
    max-width: 500px;
    animation: fadeIn 1s ease-out;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--dark);
}

.highlight {
    color: var(--primary);
    display: inline-block;
}

.description {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 40px;
}

.cta {
    display: flex;
    gap: 15px;
}

.download-btn {
    display: inline-block;
}

.download-btn img {
    height: 55px; /* Chiều cao chuẩn cho Apple App Store badge */
    transition: transform 0.2s ease, filter 0.2s ease;
}

.download-btn:hover img {
    transform: scale(1.03);
    filter: brightness(1.1);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    animation: slideIn 1s ease-out;
}

/* Vẽ một chiếc iPhone đơn giản bằng CSS */
.phone-mockup {
    width: 320px;
    height: 640px;
    background: var(--dark);
    border-radius: 45px;
    padding: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15), inset 0 0 0 2px #444;
    position: relative;
    border: 4px solid #DFDFDF;
}

/* Rãnh tai thỏ (Notch) */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: var(--dark);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    z-index: 10;
}

.game-screen {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    width: 100%;
    height: 100%;
    border-radius: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    place-items: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.arrow-icon {
    font-size: 3.5rem;
    filter: drop-shadow(0 8px 12px rgba(0,0,0,0.25));
    animation: float 3s ease-in-out infinite alternate;
}

/* Làm cho các mũi tên float với độ trễ khác nhau */
.arrow-icon:nth-child(1) { animation-delay: 0s; }
.arrow-icon:nth-child(2) { animation-delay: 0.5s; }
.arrow-icon:nth-child(3) { animation-delay: 1s; }
.arrow-icon:nth-child(4) { animation-delay: 1.5s; }

@keyframes float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-15px); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Reponsive cho điện thoại */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
        gap: 60px;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    .cta {
        justify-content: center;
    }
    
    .phone-mockup {
        width: 280px;
        height: 560px;
    }
}
