/* 🌟 Background gradient */
body {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

/* 🎯 Hộp nhập link */
input[type="text"] {
    width: 80%;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #fff;
    font-size: 16px;
}

/* 🚀 Nút Download */
button {
    background: #ff7eb3;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
    border: none;
}

button:hover {
    background: #ff3f88;
    transform: scale(1.05);
}

/* 📌 Footer */
footer {
    background: #222;
    padding: 20px;
    margin-top: 30px;
}

footer p {
    color: #bbb;
}

footer a {
    color: #ff7eb3;
    text-decoration: none;
}

footer a:hover {
    color: #ff3f88;
}

/* 🌟 Quảng cáo */
.ad-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 10px;
    margin-top: 20px;
}
input {
    width: 80%; /* Trước đây 60%, giờ rộng hơn */
    padding: 12px;
    font-size: 16px;
}
/* 🎯 Footer */
footer {
    background: #222;
    padding: 20px;
    text-align: center;
    color: #bbb;
    position: relative;
}

/* 🎭 Icon mạng xã hội */
.social-icons {
    margin-bottom: 10px;
}

.social-icons a {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    margin: 0 5px;
    font-size: 18px;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #ff7eb3;
    transform: scale(1.1);
}

/* 📌 Nút cuộn lên đầu */
#scrollToTop {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #ff7eb3;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: 0.3s;
}

#scrollToTop:hover {
    background: #ff3f88;
    transform: scale(1.1);
}
/* 📌 Vùng thông tin */
.info-section {
    background: #222;
    padding: 20px;
    color: #ddd;
    text-align: center;
    border-radius: 8px;
    margin-top: 20px;
}

/* 📌 Tiêu đề */
.info-section h2 {
    color: #fff;
    margin-bottom: 15px;
}

/* 📌 Danh sách với số thứ tự và icon */
.info-section ul {
    list-style: none;
    padding: 0;
    text-align: left;
    display: inline-block;
}

.info-section ul li {
    font-size: 16px;
    margin: 10px 0;
    display: flex;
    align-items: center;
}

/* 📌 Icon trước mỗi dòng */
.info-section ul li i {
    color: #ff7eb3;
    margin-right: 10px;
    font-size: 18px;
}

/* 📌 Phần quảng cáo */
.ad-section {
    background: #ff7eb3;
    color: white;
    padding: 10px;
    margin-top: 15px;
    font-weight: bold;
    border-radius: 5px;
}
.download-note {
    background: #f8f9fa;
    color: #333;
    padding: 10px;
    border-radius: 5px;
    margin-top: 15px;
    font-size: 14px;
    text-align: center;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f4f4f4;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1e1e1e;
    padding: 15px 30px;
}

/* Logo */
.logo a {
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    font-weight: bold;
}

.logo span {
    color: #00ff99; /* Màu nổi bật */
}

/* Menu điều hướng */
nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    padding: 8px 12px;
    transition: 0.3s;
}

nav ul li a:hover {
    background: #00ff99;
    border-radius: 5px;
    color: #1e1e1e;
}
/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header tổng thể */
header {
    background: #1e1e1e;
    color: white;
    padding: 15px 20px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Logo */
.logo a {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.logo span {
    color: #00ff99;
}

/* Menu */
.menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
    padding: 6px 10px;
}

.menu ul li a:hover {
    background: #00ff99;
    border-radius: 5px;
    color: #1e1e1e;
}

/* Hamburger button */
.hamburger {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* Responsive cho điện thoại */
#menu-toggle {
    display: none;
}

@media screen and (max-width: 768px) {
    .menu {
        width: 100%;
        display: none;
        margin-top: 10px;
    }

    .menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    #menu-toggle:checked + .hamburger + .menu {
        display: block;
    }

    .hamburger {
        display: block;
        color: white;
    }
}
.guide {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    color: #333;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.guide h1 {
    color: #00b894;
    margin-bottom: 20px;
    text-align: center;
}

.guide h2 {
    color: #2d3436;
    margin-top: 30px;
}

.guide ol, .guide ul {
    padding-left: 25px;
    margin-top: 10px;
}

.guide li {
    margin-bottom: 10px;
}

.thank-you {
    margin-top: 30px;
    background: #dff9fb;
    padding: 10px;
    border-left: 5px solid #00b894;
    border-radius: 5px;
    font-weight: bold;
}
.guide {
    max-width: 700px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    color: #333;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
}

.guide input {
    width: 90%;
    padding: 12px;
    font-size: 16px;
    margin-top: 10px;
}

.guide button {
    background: #00b894;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}

.download-btn {
    display: inline-block;
    background: #0984e3;
    color: white;
    padding: 10px 20px;
    margin-top: 15px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.download-btn:hover {
    background: #74b9ff;
}
/* Box dán link */
.link-box {
    background: #f1f2f6;
    padding: 20px;
    border-radius: 8px;
    border: 2px dashed #00b894;
    margin-top: 20px;
}

.link-box input {
    width: 90%;
    padding: 12px;
    font-size: 16px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.link-box button {
    margin-top: 10px;
    padding: 10px 20px;
    background: #00b894;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.link-box button:hover {
    background: #019874;
}

/* Nút tải lại */
.other-btn {
    background: #636e72;
    color: white;
    padding: 8px 16px;
    border: none;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.other-btn:hover {
    background: #2d3436;
}
/* 🌗 Chế độ nền sáng (mặc định) */
:root {
  --bg-color: #ffffff;
  --text-color: #333333;
  --box-bg: #f1f2f6;
  --btn-bg: #00b894;
  --btn-text: #ffffff;
}

/* 🌑 Chế độ nền tối */
body.dark {
  --bg-color: #1e1e1e;
  --text-color: #f1f1f1;
  --box-bg: #2f2f2f;
  --btn-bg: #0984e3;
  --btn-text: #ffffff;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: 0.3s;
}

input, .link-box, .guide {
  background-color: var(--box-bg);
  color: var(--text-color);
}

button, .download-btn, .other-btn {
  background-color: var(--btn-bg);
  color: var(--btn-text);
}

/* 🌙 Nút chuyển chế độ */
.theme-toggle {
  position: absolute;
  right: 20px;
  top: 15px;
}

.theme-toggle button {
  background: transparent;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text-color);
}
.video-wrapper {
    margin: 40px auto;
    max-width: 800px;
    text-align: center;
}

.video-wrapper h2 {
    margin-bottom: 15px;
    color: var(--text-color);
}

.video-wrapper iframe {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}
.history-section {
  background: var(--box-bg);
  color: var(--text-color);
  padding: 15px;
  margin-top: 30px;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.history-section ul {
  list-style: none;
  padding-left: 0;
}

.history-section li {
  margin: 6px 0;
}

.history-section a {
  color: var(--btn-bg);
  text-decoration: none;
  word-break: break-all;
}

.history-section a:hover {
  text-decoration: underline;
}
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 30px;
}

.blog-item h2 a {
  color: var(--btn-bg);
  text-decoration: none;
}

.blog-item p {
  color: #555;
  margin: 10px 0;
}

.blog-item small {
  color: #888;
}
.history-section {
  background: var(--box-bg);
  color: var(--text-color);
  padding: 15px;
  margin-top: 30px;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.history-section ul {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.history-section li {
  margin-bottom: 8px;
  word-break: break-word;
}

.history-section a {
  color: var(--btn-bg);
  text-decoration: none;
}

.history-section a:hover {
  text-decoration: underline;
}
.social-share {
  margin-top: 40px;
  font-size: 16px;
}
.social-share a {
  color: #00c853;
  text-decoration: none;
  margin: 0 10px;
}
.social-share a:hover {
  text-decoration: underline;
}
section {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  background-color: var(--card, #fff);
  border-radius: 8px;
}
button:hover {
  background-color: #218838;
}
input:focus {
  border-color: #28a745;
  outline: none;
}
