body{
  font-family: Inter, Arial, sans-serif;
  margin:0;
  background:#ec3838;
  color:#222;
}
.container{
  max-width:900px;
  margin:auto;
  padding:20px;
}
.card{
  background:#fff;
  padding:20px;
  border-radius:14px;
  box-shadow:0 5px 16px rgba(0,0,0,.05);
  margin-bottom:16px;
}

/* Header + nút download */
.header-download .title-wrapper{
  display:flex;
  align-items:center;
  gap:12px;
}

.header-download h1{
  margin:0 0 12px 0; /* cách nút download 12px */
  font-size:24px;
}

.header-download .btn-download{
  padding:16px 20px;
  font-size:18px;
}
.title-wrapper {
  display:flex;
  align-items:center;
}
.game-icon {
  width:150px;
  height:150px;
  margin-right:12px;
  border-radius:12px;
  object-fit:cover;
}


/* Nút download */
.button-group {
  display: flex;
  flex-direction: column; /* Đặt các nút theo chiều dọc */
  gap: 10px;              /* Khoảng cách giữa các nút */
  align-items: center;     /* Căn giữa các nút */
  margin: 20px 0;
}

.btn-download,
.btn-play {
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 10;
  text-decoration: none;
  color: #fff;
  width: 75px;           /* Chiều rộng đồng đều nếu muốn */
  text-align: center;
  transition: 0.3s;
}

.btn-download {
  background: #ff6b6b;
}

.btn-download:hover {
  background: #ff4b4b;
}

.btn-play {
  background: #0987e0;
}

.btn-play:hover {
  background: #00e0e0;
}

/* Banner */
.banner{
  border-radius:14px;
  overflow:hidden;
  margin-bottom:16px;
}
.banner img{
  width:100%;
  display:block;
  height:100%;
  object-fit:cover;
}

/* Slide ảnh kiểu CH Play */
.carousel{
  position:relative;
  overflow:hidden;
  border-radius:14px;
  margin-top:12px;
}
.slides{
  display:flex;
  gap:12px;
  overflow-x:scroll;
  scroll-behavior:smooth;
  padding-bottom:12px;
  scroll-snap-type: x mandatory;
}
.slides::-webkit-scrollbar{display:none;}

.screen-item{
  flex:0 0 calc((100% - 24px)/3);
  border-radius:12px;
  overflow:hidden;
  background:#ddd;
  scroll-snap-align:start;
  transition: transform .3s;
}
.screen-item img{
  width:100%;
  height:auto;
  display:block;
  transition: transform .3s;
}
.screen-item img:hover{
  transform: scale(1.05);
}

/* Responsive */
@media (max-width:720px){.screen-item{flex:0 0 calc((100% - 12px)/2);}}
@media (max-width:480px){.screen-item{flex:0 0 100%;}}

/* Mũi tên */
.arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:40px;
  height:40px;
  background:rgba(255,255,255,0.9);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:10;
  box-shadow:0 4px 12px rgba(0,0,0,.2);
}
.arrow.left{left:10px;}
.arrow.right{right:10px;}
.arrow svg{width:20px;height:20px;fill:#333}

/* Hướng dẫn cài đặt */
ol{padding-left:20px;margin:0;}
details summary{cursor:pointer;font-weight:600;padding:6px 0;}
details p{margin:4px 0;color:#555;}

/* Nút quay lại trang chủ */
.back-home{
  font-size:18px;
  background:#ccc;
  color:#222;
  padding:12px 24px;
  text-decoration:none;
  display:inline-block;
  border-radius:12px;
  margin-top:10px;
}
.list{
  text-align:center;
  margin:20px 0;
}
/* Thiết lập cơ bản (Giả định: đã có) */
:root {
    --primary-color: #007bff; /* Ví dụ màu chủ đạo */
    --muted-color: #6c757d;   /* Màu chữ phụ */
    --background-color: #ec3838; /* Màu nền */
    --card-background: #ffffff; /* Màu nền card */
    --border-color: #dee2e6;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--background-color);
    margin: 0;
    padding: 20px; /* Thêm padding cho body */
    box-sizing: border-box;
}

/* Container chính */
.contact-container {
    max-width: 600px; /* Giới hạn chiều rộng tối đa cho màn hình lớn hơn */
    margin: 0 auto;
    padding: 0;
}

/* Thẻ (Card) */
.contact-form-card {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
    width: 100%; /* Đảm bảo card chiếm toàn bộ chiều rộng trên mobile */
    box-sizing: border-box;
}

/* Tiêu đề phụ */
.subtitle {
    color: var(--muted-color);
    font-size: 14px;
    margin-top: -10px; /* Giảm khoảng cách với tiêu đề chính */
    margin-bottom: 20px;
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Khoảng cách giữa các phần tử form */
}

/* Input và Textarea */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-sizing: border-box; /* Quan trọng để padding không làm tràn chiều rộng */
    font-size: 16px;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.contact-form textarea {
    resize: vertical; /* Chỉ cho phép thay đổi chiều cao */
}

/* Nút Submit */
.primary-button {
    background-color: var(--primary-color);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.primary-button:hover {
    background-color: #0056b3; /* Màu tối hơn khi hover */
}

/* Đường phân cách */
.contact-info-divider {
    margin: 20px 0;
    border: none;
    border-top: 1px solid var(--border-color);
}

/* Thông tin liên hệ */
.contact-details h3 {
    margin-top: 0;
    font-size: 16px;
    color: #333;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: var(--muted-color);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-list li strong {
    color: #333;
    margin-right: 5px;
}

.info-list a {
    color: var(--muted-color);
    text-decoration: none;
    transition: color 0.3s;
}

.info-list a:hover {
    color: var(--primary-color);
}

/* Media Query cho màn hình nhỏ hơn (Dù đã tối ưu cho mobile, nhưng để đảm bảo) */
@media (max-width: 576px) {
    body {
        padding: 10px;
    }
    .contact-form-card {
        border-radius: 0; /* Bo góc 0 trên màn hình rất nhỏ để tràn màn hình */
        box-shadow: none; /* Bỏ box-shadow */
    }
}