body { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; margin: 0; background: #f8f9fa; }
.navbar { padding: 30px 50px; background: #ffffff; border-bottom: 2px solid #eee; text-align: left; font-weight: bold; font-size: 24px; }

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding: 50px;
}

.game-card {
    background: #fff;
    padding: 15px;
    text-align: center;
    border-radius: 15px;
    transition: all 0.3s ease; /* Hiệu ứng chuyển động */
    border: 1px solid #eee;
}

.game-card:hover {
    transform: translateY(-10px); /* Nổi lên khi hover */
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.game-card img {
    width: 100%;
    height: 280px;
    object-fit: cover; /* Giữ tỷ lệ ảnh chuẩn */
    border-radius: 10px;
    margin-bottom: 15px;
}

.btn {
    display: block;
    margin-top: 10px;
    padding: 12px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
}

.btn:hover { background: #333; }

/* Slider Styling */
.slider {
    width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}
.slider img {
    width: 100%;
    height: 400px; /* Chiều cao cố định cho slide */
    object-fit: cover;
    display: block;
}
.slider {
    position: relative;
    height: 400px;
    background-attachment: fixed; /* Hiệu ứng Parallax */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url('https://picsum.photos/1200/600?random=5');
}

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

.game-card {
    animation: float 4s ease-in-out infinite;
}

.game-card { position: relative; }
.badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background: #ffcc00;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 12px;
}
.btn {
    box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 71, 87, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0); }
}

.download-btns {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

.btn-store {
    padding: 8px 12px;
    font-size: 12px;
    text-decoration: none;
    color: #fff;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.2s;
}

.btn-store:hover { transform: scale(1.05); }

/* Nút Apple màu đen, Google màu xanh lá */
.apple { background-color: #000; }
.google { background-color: #34a853; }

/* Thêm vào đầu file style.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

body {
    font-family: 'Poppins', sans-serif; /* Font chuẩn cho web game tiếng Anh */
    margin: 0;
    background: #f8f9fa;
}

.footer {
    background-color: #1a1a1a;
    color: #888;
    padding: 50px 20px;
    text-align: center;
    margin-top: 50px;
    border-top: 5px solid #ff4757; /* Đường line nổi bật màu đỏ */
}

.footer h3 { color: #fff; margin-bottom: 15px; }

.contact-email a {
    color: #ff4757;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
}

.social-links { margin: 20px 0; }
.social-links a { color: #fff; text-decoration: none; margin: 0 10px; }

.copyright { font-size: 0.8em; margin-top: 20px; color: #555; }
.founders { padding: 60px 20px; background: #fff; text-align: center; }
.section-title { margin-bottom: 40px; font-size: 2em; }
.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}
.founder-card {
    padding: 20px;
    border-radius: 15px;
    background: #f9f9f9;
    border: 1px solid #eee;
}
.founder-card h3 { color: #ff4757; margin-bottom: 5px; }
.founder-card p:first-of-type { font-weight: bold; font-size: 0.9em; color: #555; }
.slider img {
    width: 100%;
    height: 400px; /* Hoặc chiều cao bạn chọn */
    object-fit: cover; /* Quan trọng: giúp ảnh không bị méo khi co giãn */
}

.founder-avatar {
    width: 120px;       /* Kích thước ảnh */
    height: 120px;      /* Cố định chiều cao để tạo hình tròn */
    border-radius: 50%; /* Cắt ảnh thành hình tròn hoàn hảo */
    object-fit: cover;  /* Đảm bảo ảnh không bị méo */
    border: 4px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.founder-card:hover .founder-avatar {
    transform: scale(1.1); /* Ảnh hơi phóng to khi di chuột vào card */
}

.game-card img {
    width: 100%;       /* Ảnh luôn rộng bằng khung card */
    height: 250px;     /* Chiều cao cố định để các card đều tăm tắp */
    object-fit: cover; /* Tự động cắt ảnh để lấp đầy khung mà không làm biến dạng hình */
    border-radius: 12px;
}
