/* Reset & Base */
html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #2c3e50;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Background với lớp phủ */
#snow {
  background: 
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.95)),
    url("../images/cosy.jpg") no-repeat center/cover;
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  backdrop-filter: blur(2px);
}

/* Container chính */
.container {
  width: calc(100% - 40px);
  max-width: 900px;
  height: 100%;
  margin: 20px auto;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 24px;
  padding: 25px;
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.08),
    0 5px 15px rgba(0, 0, 0, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
}

/* Header */
header {
  width: 100%;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  padding: 25px 30px;
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.group__header {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

/* Player */
.player {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 25px 0 15px;
}

.player__image {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.player__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid white;
}

.player__name {
  font-size: 18px;
  font-weight: 600;
  color: #2d3748;
  letter-spacing: -0.2px;
}

.player__money {
  font-size: 15px;
  color: #4a5568;
  background: rgba(237, 242, 247, 0.8);
  padding: 6px 15px;
  border-radius: 20px;
  font-weight: 500;
}

/* Buttons */
.btn__header {
  color: #fff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  cursor: pointer;
  border-radius: 14px;
  padding: 12px 28px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border: none;
  box-shadow: 
    0 6px 20px rgba(102, 126, 234, 0.25),
    0 2px 0 rgba(102, 126, 234, 0.2);
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.btn__header:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 10px 25px rgba(102, 126, 234, 0.35),
    0 2px 0 rgba(102, 126, 234, 0.2);
}

/* Navigation */
nav {
  margin: 25px 0 15px;
}

.group_nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn__nav {
  width: 130px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease;
}

.btn__nav:hover {
  transform: translateY(-3px);
}

/* Main Content */
main {
  width: 100%;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 22px;
  padding: 30px 20px;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Leaderboard Button */
.btn__leaderboard {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: #fff;
  border-radius: 14px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  box-shadow: 
    0 8px 25px rgba(245, 87, 108, 0.25),
    0 2px 0 rgba(245, 87, 108, 0.2);
  transition: all 0.3s ease;
}

/* Posts */
.posts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 25px;
}

.post {
  display: flex;
  gap: 20px;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 20px 25px;
  box-shadow: 
    0 5px 20px rgba(0, 0, 0, 0.04),
    0 0 0 1px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.post:hover {
  transform: translateX(5px);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(102, 126, 234, 0.1);
}

.post__image {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 4px 15px rgba(168, 237, 234, 0.3);
}

.post__title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2d3748;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

/* Forms */
.form__login,
.form__register,
.form__change-password,
.form__recharge {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  text-align: center;
}

.form__input {
  font-size: 15px;
  padding: 14px 24px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  outline: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  color: #2d3748;
}

.form__input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn__login,
.btn__register,
.btn__change-password,
.btn__recharge {
  padding: 14px 28px;
  border-radius: 14px;
  border: none;
  outline: none;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 
    0 8px 25px rgba(102, 126, 234, 0.25),
    0 2px 0 rgba(102, 126, 234, 0.2);
  transition: all 0.3s ease;
}

/* Tabs */
.recharge__tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.recharge__tab {
  padding: 12px 24px;
  border-radius: 14px;
  background: rgba(237, 242, 247, 0.8);
  color: #4a5568;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease;
}

.recharge__tab--active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25);
}

/* Table */
.table__container {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 25px;
  margin: 30px 0;
  box-shadow: 
    0 8px 30px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.table {
  width: 100%;
  min-width: 720px;
  text-align: left;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px;
  overflow: hidden;
  background: white;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.table thead th {
  padding: 18px 20px;
  font-weight: 600;
  font-size: 14px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
  color: #2d3748;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.table tbody td {
  padding: 16px 20px;
  font-size: 14px;
  color: #4a5568;
  border-bottom: 1px solid rgba(237, 242, 247, 0.8);
}

/* Footer */
footer {
  width: 100%;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  padding: 25px 30px;
  text-align: center;
  margin-top: 25px;
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn__community {
  display: block;
  margin: 20px auto 0;
  width: 160px;
  height: 55px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.btn__community:hover {
  transform: translateY(-3px);
}

/* Utility */
.recommend__header,
.recommend__nav,
.recommend__footer {
  color: #718096;
  font-size: 13px;
  font-weight: 500;
}

.about__title,
.tutorial__title,
.dowload__title {
  font-size: 17px;
  padding: 15px 0;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  color: #667eea;
  font-weight: 600;
  margin: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    width: calc(100% - 20px);
    margin: 10px auto;
    padding: 15px;
  }
  
  header, main, footer {
    padding: 20px;
  }
  
  .player__image {
    width: 65px;
    height: 65px;
  }
}

/* ===== LOGO STYLING - FIXED VERSION ===== */

/* Tăng độ ưu tiên bằng cách thêm selector cha */
body .logo__header,
.container .logo__header,
header .logo__header {
    flex-shrink: 0 !important;
    width: 180px !important;
    height: 80px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Đè lên CSS cũ của logo-link */
body .logo-link,
header .logo-link,
.logo__header .logo-link {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 8px !important;
}

/* Hiệu ứng hover */
body .logo-link:hover,
header .logo-link:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(64, 156, 255, 0.4) !important;
}

/* Hiệu ứng phát sáng khi hover */
body .logo-link::after,
header .logo-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.8s ease;
    z-index: 1;
}

body .logo-link:hover::after,
header .logo-link:hover::after {
    left: 100%;
}

/* Đè lên CSS cũ của logo-image */
body .logo-image,
header .logo-image,
.logo-link .logo-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    filter: 
        drop-shadow(0 4px 12px rgba(64, 156, 255, 0.4)) 
        drop-shadow(0 0 20px rgba(64, 156, 255, 0.3)) 
        drop-shadow(0 0 0px rgba(64, 156, 255, 0.2)) !important;
    transition: all 0.3s ease !important;
    position: relative;
    z-index: 2;
}

/* Hiệu ứng cho logo-image khi hover */
body .logo-link:hover .logo-image,
header .logo-link:hover .logo-image {
    filter: 
        drop-shadow(0 6px 18px rgba(64, 156, 255, 0.6))
        drop-shadow(0 0 30px rgba(64, 156, 255, 0.4))
        drop-shadow(0 0 0px rgba(64, 156, 255, 0.3)) !important;
    transform: translateZ(0) !important;
}

/* Animation nhẹ cho logo */
@keyframes logoGlow {
    0%, 100% {
        filter: 
            drop-shadow(0 4px 12px rgba(64, 156, 255, 0.4)) 
            drop-shadow(0 0 20px rgba(64, 156, 255, 0.3));
    }
    50% {
        filter: 
            drop-shadow(0 4px 12px rgba(64, 156, 255, 0.5)) 
            drop-shadow(0 0 25px rgba(64, 156, 255, 0.4));
    }
}

/* Áp dụng animation (tùy chọn) */
.logo-image {
    animation: logoGlow 3s ease-in-out infinite;
}

/* Responsive cho logo */
@media (max-width: 1200px) {
    body .logo__header,
    header .logo__header {
        width: 160px !important;
        height: 70px !important;
    }
}

@media (max-width: 768px) {
    body .logo__header,
    header .logo__header {
        width: 140px !important;
        height: 60px !important;
    }
    
    body .logo-link:hover,
    header .logo-link:hover {
        transform: scale(1.03) !important;
    }
}

@media (max-width: 480px) {
    body .logo__header,
    header .logo__header {
        width: 120px !important;
        height: 50px !important;
    }
}

/* Player status */
.online-status {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(76, 175, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

/* Button variations */
.recharge-btn {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
}

.admin-btn {
    background: linear-gradient(135deg, #9C27B0, #673AB7);
}

.security-btn {
    background: linear-gradient(135deg, #2196F3, #21CBF3);
}

.logout-btn {
    background: linear-gradient(135deg, #757575, #9E9E9E);
}

.login-btn {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
}

.register-btn {
    background: linear-gradient(135deg, #FF9800, #FF5722);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.btn__header:hover .btn-glow {
    opacity: 1;
    animation: shine 1.5s ease-in-out infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Age warning */
.age-warning {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.2);
    border-radius: 12px;
    padding: 12px 20px;
    margin-top: 20px;
}

.warning-icon {
    color: #FF9800;
    font-size: 18px;
}

.recommend__header {
    color: #FF9800;
    font-size: 13px;
    font-weight: 500;
    margin: 0;
}

/* Download section */
.download-section {
    text-align: center;
}

.section-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #2d3748;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.section-title i {
    color: #667eea;
}

/* Platform buttons */
.platform-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 15px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.platform-icon {
    font-size: 32px;
    margin-bottom: 5px;
    transition: transform 0.3s ease;
}

.platform-name {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
}

.download-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.platform-btn:hover .download-badge {
    opacity: 1;
    transform: scale(1);
}

.platform-btn:hover .platform-icon {
    transform: translateY(-5px);
}

/* Platform-specific colors */
[data-platform="windows"] .platform-icon {
    color: #0078D7;
}

[data-platform="android"] .platform-icon {
    color: #3DDC84;
}

[data-platform="ios"] .platform-icon {
    color: #000000;
}

[data-platform="java"] .platform-icon {
    color: #007396;
}

.recommend__nav {
    margin-top: 20px;
    color: #718096;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.recommend__nav i {
    color: #667eea;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .player-actions,
    .auth-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .platform-btn {
        padding: 15px 10px;
    }
    
    .platform-icon {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 18px;
        padding: 8px 20px;
    }
}
/* Main container */
.content-sections {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 30px;
}

.section {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 22px;
  padding: 30px;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.section-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
}

.about__title,
.tutorial__title,
.dowload__title {
  color: #2d3748;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Leaderboard button */
.btn__leaderboard {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  padding: 16px 35px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 
    0 8px 25px rgba(245, 87, 108, 0.25),
    0 2px 0 rgba(245, 87, 108, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.leaderboard-icon {
  font-size: 20px;
}

.leaderboard-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  animation: pulse 2s infinite;
}

.btn__leaderboard:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 15px 35px rgba(245, 87, 108, 0.35),
    0 2px 0 rgba(245, 87, 108, 0.2);
}

/* Posts section */
.posts-section {
  margin-top: 30px;
}

.posts-title {
  margin-bottom: 25px;
}

.posts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.post {
  display: flex;
  gap: 25px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 
    0 5px 20px rgba(0, 0, 0, 0.04),
    0 0 0 1px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

.post::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.post:hover {
  transform: translateX(5px);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(102, 126, 234, 0.1);
}

.post__image {
  flex-shrink: 0;
}

.image-frame {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.post-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-badge,
.mod-badge {
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: white;
  border: 2px solid white;
}

.admin-badge {
  background: linear-gradient(135deg, #FFD700, #FFA500);
}

.mod-badge {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.post__content {
  flex: 1;
}

.post__title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #2d3748;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.post__title:hover {
  color: #667eea;
}

.title-icon {
  color: #667eea;
  font-size: 20px;
}

.title-arrow {
  margin-left: auto;
  color: #a0aec0;
  transition: transform 0.3s ease;
}

.post__title:hover .title-arrow {
  transform: translateX(5px);
  color: #667eea;
}

.post__author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.author-label {
  color: #718096;
  font-weight: 400;
}

.author-name {
  color: #2d3748;
  font-weight: 600;
}

.admin-name {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.post-time {
  color: #a0aec0;
  font-size: 13px;
}

.post__desc {
  color: #4a5568;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.post-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.post-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.recharge-tag {
  background: rgba(255, 107, 107, 0.1);
  color: #FF6B6B;
}

.important-tag {
  background: rgba(255, 152, 0, 0.1);
  color: #FF9800;
}

.tutorial-tag {
  background: rgba(33, 150, 243, 0.1);
  color: #2196F3;
}

.ios-tag {
  background: rgba(0, 0, 0, 0.1);
  color: #000000;
}

.community-tag {
  background: rgba(156, 39, 176, 0.1);
  color: #9C27B0;
}

.event-tag {
  background: rgba(76, 175, 80, 0.1);
  color: #4CAF50;
}

/* About section */
.about__desc {
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: 25px;
  font-size: 15px;
}

.highlight {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
  color: #667eea;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.feature-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  margin-bottom: 15px;
}

.feature-card h4 {
  color: #2d3748;
  margin-bottom: 15px;
  font-size: 16px;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: #4a5568;
  font-size: 14px;
}

.feature-list i {
  color: #4CAF50;
}

.compatibility {
  background: rgba(237, 242, 247, 0.8);
  border-radius: 16px;
  padding: 20px;
  margin: 25px 0;
}

.compatibility h4 {
  color: #2d3748;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.compatibility i {
  color: #667eea;
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

.pc-badge {
  background: rgba(0, 120, 215, 0.1);
  color: #0078D7;
}

.android-badge {
  background: rgba(61, 220, 132, 0.1);
  color: #3DDC84;
}

.ios-badge {
  background: rgba(0, 0, 0, 0.1);
  color: #000000;
}

.java-badge {
  background: rgba(0, 115, 150, 0.1);
  color: #007396;
}

/* Skills showcase */
.skills-showcase {
  margin-top: 30px;
}

.skills-category {
  margin-bottom: 30px;
}

.skill__title {
  color: #2d3748;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.skill__title i {
  color: #FFD700;
}

.skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.skill {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.skill-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.skill-gif {
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.skill:hover .skill-gif {
  transform: scale(1.1);
}

.skill-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}

/* Tutorial section */
.tutorial-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.tutorial-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.step-content {
  flex: 1;
}

.tutorial__subtitle {
  color: #2d3748;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.tutorial__desc {
  color: #4a5568;
  line-height: 1.8;
  font-size: 15px;
}

.note-list {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.note-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: #4a5568;
}

.note-list li::before {
  content: '✓';
  color: #4CAF50;
  font-weight: bold;
}

.controls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.control-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: transform 0.3s ease;
}

.control-card:hover {
  transform: translateY(-5px);
}

.control-icon {
  font-size: 30px;
  color: #667eea;
  margin-bottom: 10px;
}

.control-card h5 {
  color: #2d3748;
  margin-bottom: 8px;
  font-size: 16px;
}

.control-card p {
  color: #718096;
  font-size: 13px;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.tip-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.tip-icon {
  color: #4CAF50;
  font-size: 20px;
}

.tip-card p {
  color: #4a5568;
  font-size: 14px;
  margin: 0;
}

/* Download guide */
.download-guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.version-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.version-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.version-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
}

.java-icon {
  background: linear-gradient(135deg, #007396, #00A5CF);
}

.android-icon {
  background: linear-gradient(135deg, #3DDC84, #34A853);
}

.ios-icon {
  background: linear-gradient(135deg, #000000, #333333);
}

.pc-icon {
  background: linear-gradient(135deg, #0078D7, #00BCF2);
}

.version-info {
  flex: 1;
}

.version-info h5 {
  color: #2d3748;
  font-size: 16px;
  margin-bottom: 8px;
}

.version-info p {
  color: #718096;
  font-size: 14px;
  margin-bottom: 12px;
}

.device-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.device-list li {
  display: inline-block;
  background: rgba(237, 242, 247, 0.8);
  padding: 4px 10px;
  margin: 4px;
  border-radius: 12px;
  font-size: 12px;
  color: #4a5568;
}

/* Responsive */
@media (max-width: 768px) {
  .section {
    padding: 20px;
  }
  
  .post {
    flex-direction: column;
    gap: 15px;
  }
  
  .image-frame {
    width: 60px;
    height: 60px;
  }
  
  .feature-grid,
  .controls-grid,
  .tips-grid,
  .download-guide {
    grid-template-columns: 1fr;
  }
  
  .tutorial-step {
    flex-direction: column;
  }
  
  .skills {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Custom styles for ranking table */
.ranking-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.ranking-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.ranking-title h4 {
    color: #2d3748;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
}

.badge-premium {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.ranking-description p {
    color: #4a5568;
    font-size: 14px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.th-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.th-content i {
    color: #667eea;
}

/* Table row styles */
.top-1 {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(255, 165, 0, 0.05));
}

.top-2 {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.05), rgba(169, 169, 169, 0.05));
}

.top-3 {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.05), rgba(184, 115, 51, 0.05));
}

.rank-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.top-1 .rank-number {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.top-2 .rank-number {
    color: #C0C0C0;
    text-shadow: 0 0 10px rgba(192, 192, 192, 0.3);
}

.top-3 .rank-number {
    color: #CD7F32;
    text-shadow: 0 0 10px rgba(205, 127, 50, 0.3);
}

.player-cell {
    display: flex;
    align-items: center;
    gap: 15px;
}

.player-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.player-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.player-name {
    font-weight: 600;
    color: #2d3748;
    font-size: 15px;
}

.badge-top {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    width: fit-content;
}

.money-cell {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.money-amount {
    color: #2d3748;
    font-size: 16px;
    margin-right: 5px;
}

.money-unit {
    color: #4CAF50;
    font-size: 14px;
    font-weight: 500;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 40px 20px;
}

/* Footer */
.ranking-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.update-time {
    display: flex;
    align-items: center;
    gap: 10px;
}

.update-time small {
    color: #718096;
    font-size: 13px;
}

.btn-refresh {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-refresh:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
    .ranking-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .player-cell {
        gap: 10px;
    }
    
    .ranking-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}


/* Custom styles for power ranking table */
.ranking-header {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(255, 142, 83, 0.1));
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.badge-power {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
}

/* Table row styles */
.top_1 {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 165, 0, 0.05)) !important;
}

.top_2 {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.08), rgba(169, 169, 169, 0.05)) !important;
}

.top_3 {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.08), rgba(184, 115, 51, 0.05)) !important;
}

.top_1:hover, .top_2:hover, .top_3:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

/* Rank cell */
.rank-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    min-height: 40px;
}

.top_1 .rank-number {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    font-size: 18px;
}

.top_2 .rank-number {
    color: #C0C0C0;
    text-shadow: 0 0 10px rgba(192, 192, 192, 0.3);
    font-size: 17px;
}

.top_3 .rank-number {
    color: #CD7F32;
    text-shadow: 0 0 10px rgba(205, 127, 50, 0.3);
    font-size: 16px;
}

/* Player cell */
.player-cell {
    display: flex;
    align-items: center;
    gap: 15px;
}

.power-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.2);
}

.player-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.player-name {
    font-weight: 600;
    color: #2d3748;
    font-size: 15px;
}

/* Power cells */
.power-cell {
    display: flex;
    align-items: center;
    font-weight: 600;
    padding: 8px 0;
}

.main-power {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), transparent);
    padding: 10px 15px;
    border-radius: 12px;
}

.pet-power {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.1), transparent);
    padding: 10px 15px;
    border-radius: 12px;
}

.total-power {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), transparent);
    padding: 10px 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.power-value {
    color: #2d3748;
    font-size: 15px;
    font-weight: 600;
}

.total-value {
    color: #FF6B6B;
    font-size: 16px;
    font-weight: 700;
}

.no-pet-cell {
    display: flex;
    align-items: center;
    color: #718096;
    font-size: 14px;
}

.no-pet {
    font-style: italic;
    color: #a0aec0;
}

/* Planet cell */
.planet-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(237, 242, 247, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.planet-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.planet-name {
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
}

/* Badge top */
.badge-top {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    width: fit-content;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.2);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 40px 20px;
}

.empty-state i {
    font-size: 48px;
    color: #e2e8f0;
    margin-bottom: 15px;
}

.empty-state p {
    color: #a0aec0;
    margin-bottom: 10px;
}

.empty-state small {
    color: #718096;
    font-size: 13px;
}

/* Footer */
.ranking-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.update-time {
    display: flex;
    align-items: center;
    gap: 10px;
}

.update-time small {
    color: #718096;
    font-size: 13px;
}

.btn-refresh {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-refresh:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.25);
}

/* Hover effects */
tr {
    transition: all 0.3s ease;
}

tr:hover {
    background: rgba(102, 126, 234, 0.03);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .ranking-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .player-cell {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .power-cell {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .planet-cell {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .ranking-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .table__scroll {
        overflow-x: auto;
    }
    
    .main-power,
    .pet-power,
    .total-power {
        padding: 8px 10px;
    }
}

/* Custom styles for task ranking table */
.ranking-header {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(33, 150, 243, 0.1));
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.badge-task {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

/* Table row styles */
.top_1 {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 165, 0, 0.05)) !important;
}

.top_2 {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.08), rgba(169, 169, 169, 0.05)) !important;
}

.top_3 {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.08), rgba(184, 115, 51, 0.05)) !important;
}

/* Rank cell */
.rank-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    min-height: 40px;
}

.top_1 .rank-number {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    font-size: 18px;
}

.top_2 .rank-number {
    color: #C0C0C0;
    text-shadow: 0 0 10px rgba(192, 192, 192, 0.3);
    font-size: 17px;
}

.top_3 .rank-number {
    color: #CD7F32;
    text-shadow: 0 0 10px rgba(205, 127, 50, 0.3);
    font-size: 16px;
}

/* Player cell */
.player-cell {
    display: flex;
    align-items: center;
    gap: 15px;
}

.task-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
}

.player-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.player-name {
    font-weight: 600;
    color: #2d3748;
    font-size: 15px;
}

.badge-top {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    width: fit-content;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
}

/* Task cell */
.task-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.task-cell.hard {
    border-left: 4px solid #FF9800;
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.05), transparent);
}

.task-cell.medium {
    border-left: 4px solid #2196F3;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.05), transparent);
}

.task-cell.normal {
    border-left: 4px solid #4CAF50;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05), transparent);
}

.task-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.task-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.task-name {
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.task-difficulty {
    font-size: 11px;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Branch cell */
.branch-cell {
    display: flex;
    justify-content: center;
}

.branch-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.branch-0 {
    background: linear-gradient(135deg, #9E9E9E, #757575);
}

.branch-1 {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
}

.branch-2 {
    background: linear-gradient(135deg, #2196F3, #0D47A1);
}

.branch-3 {
    background: linear-gradient(135deg, #FF9800, #EF6C00);
}

.branch-4 {
    background: linear-gradient(135deg, #9C27B0, #6A1B9A);
}

.branch-badge i {
    font-size: 12px;
}

/* Progress container */
.progress-container {
    padding: 5px 0;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.progress-text {
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
}

.progress-percent {
    font-weight: 700;
    color: #4CAF50;
    font-size: 15px;
}

.progress-bar {
    height: 8px;
    background-color: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease;
}

.progress-stages {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}

.stage-done,
.stage-pending {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
}

.stage-done {
    color: #4CAF50;
}

.stage-pending {
    color: #a0aec0;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 40px 20px;
}

.empty-state i {
    font-size: 48px;
    color: #e2e8f0;
    margin-bottom: 15px;
}

.empty-state p {
    color: #a0aec0;
    margin-bottom: 10px;
}

.empty-state small {
    color: #718096;
    font-size: 13px;
}

/* Footer */
.ranking-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.update-time {
    display: flex;
    align-items: center;
    gap: 10px;
}

.update-time small {
    color: #718096;
    font-size: 13px;
}

.ranking-actions {
    display: flex;
    gap: 10px;
}

.btn-refresh {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-guide {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #2196F3, #0D47A1);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-refresh:hover,
.btn-guide:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-refresh:hover {
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.25);
}

.btn-guide:hover {
    box-shadow: 0 8px 20px rgba(33, 150, 243, 0.25);
}

/* Hover effects */
tr {
    transition: all 0.3s ease;
}

tr:hover {
    background: rgba(76, 175, 80, 0.03);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .ranking-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .player-cell {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .task-cell {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .task-name {
        max-width: 100%;
    }
    
    .progress-stages {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    
    .ranking-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .ranking-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-refresh,
    .btn-guide {
        width: 100%;
        justify-content: center;
    }
    
    .table__scroll {
        overflow-x: auto;
    }
}

/* Animation for progress fill */
@keyframes fillAnimation {
    from {
        width: 0;
    }
    to {
        width: var(--progress-width);
    }
}

.progress-fill {
    animation: fillAnimation 1s ease-out;
}


/* Footer styles */
footer {
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    margin-top: 25px;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Community section */
.community__footer {
    margin-bottom: 30px;
}

.community-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.community-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25);
}

.community-title h3 {
    color: #2d3748;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.desc__footer {
    color: #4a5568;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Social platforms */
.social-platforms {
    margin-top: 20px;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    text-decoration: none;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    transition: width 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Zalo button */
.zalo-btn {
    border-left: 5px solid #0068FF;
}

.zalo-btn:hover {
    background: linear-gradient(135deg, rgba(0, 104, 255, 0.05), rgba(255, 255, 255, 0.9));
}

.zalo-btn .social-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0068FF, #004FCC);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.zalo-btn .social-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

/* Facebook button */
.facebook-btn {
    border-left: 5px solid #1877F2;
}

.facebook-btn:hover {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.05), rgba(255, 255, 255, 0.9));
}

.facebook-btn .social-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1877F2, #0D5FDB);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
}

/* Discord button */
.discord-btn {
    border-left: 5px solid #5865F2;
}

.discord-btn:hover {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.05), rgba(255, 255, 255, 0.9));
}

.discord-btn .social-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #5865F2, #4752C4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
}

.social-info {
    flex: 1;
    text-align: left;
}

.social-name {
    display: block;
    color: #2d3748;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 3px;
}

.social-desc {
    display: block;
    color: #718096;
    font-size: 13px;
}

.social-badge {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.2);
}

.social-arrow {
    color: #a0aec0;
    font-size: 14px;
    transition: color 0.3s ease;
}

.social-btn:hover .social-arrow {
    color: #667eea;
    transform: translateX(3px);
}

/* Health warning */
.health-warning {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.1), rgba(255, 87, 34, 0.05));
    border-radius: 16px;
    padding: 25px;
    margin: 25px 0;
    border: 1px solid rgba(255, 152, 0, 0.2);
}

.warning-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.warning-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FF9800, #FF5722);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.2);
}

.warning-header h4 {
    color: #2d3748;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.recommend__footer {
    color: #4a5568;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: center;
}

.warning-time {
    color: #FF9800;
    margin-right: 8px;
}

.warning-progress {
    max-width: 600px;
    margin: 0 auto;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: #718096;
    font-size: 13px;
    font-weight: 500;
}

.health-bar {
    height: 10px;
    background: #e2e8f0;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
}

.progress-fill {
    position: absolute;
    height: 100%;
    transition: width 1s ease;
}

.safe-zone {
    width: 50%;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    z-index: 1;
}

.warning-zone {
    width: 30%;
    background: linear-gradient(135deg, #FF9800, #FF5722);
    left: 50%;
    z-index: 2;
}

.danger-zone {
    width: 20%;
    background: linear-gradient(135deg, #F44336, #D32F2F);
    left: 80%;
    z-index: 3;
}

.health-bar.animated .progress-fill {
    animation: fillProgress 2s ease-out;
}

@keyframes fillProgress {
    from { width: 0; }
    to { width: var(--target-width); }
}

.progress-markers {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #4a5568;
}

.marker i {
    font-size: 16px;
}

.marker.safe i {
    color: #4CAF50;
}

.marker.warning i {
    color: #FF9800;
}

.marker.danger i {
    color: #F44336;
}

/* Footer bottom */
.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-link {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 8px;
}

.footer-link:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #5a67d8;
}

.separator {
    color: #cbd5e0;
    font-size: 12px;
}

.copyright {
    color: #718096;
    font-size: 13px;
    margin-top: 10px;
}

/* Tooltip */
.social-btn[data-tooltip] {
    position: relative;
}

.social-btn[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
    margin-bottom: 10px;
}

.social-btn[data-tooltip]:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    footer {
        padding: 20px;
    }
    
    .community-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .platform-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .separator {
        display: none;
    }
    
    .progress-markers {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .marker {
        flex-direction: row;
        gap: 8px;
    }
    
    .social-btn {
        padding: 15px;
    }
}


/* Login container */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}

/* Login header */
.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25);
}

.title__login {
    color: #2d3748;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-subtitle {
    color: #718096;
    font-size: 14px;
    margin: 0;
}

/* Form groups */
.form-group {
    margin-bottom: 20px;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i:first-child {
    position: absolute;
    left: 18px;
    color: #667eea;
    font-size: 16px;
    z-index: 1;
}

.form__input {
    width: 100%;
    font-size: 15px;
    padding: 16px 20px 16px 48px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    outline: none;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
    color: #2d3748;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.form__input:focus {
    border-color: #667eea;
    box-shadow: 
        0 0 0 3px rgba(102, 126, 234, 0.1),
        0 8px 25px rgba(102, 126, 234, 0.15);
    background: white;
}

.toggle-password {
    position: absolute;
    right: 18px;
    background: none;
    border: none;
    color: #a0aec0;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #667eea;
}

.input-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #718096;
    font-size: 12px;
    margin-top: 6px;
    padding-left: 5px;
}

.input-hint i {
    color: #667eea;
}

/* Captcha */
.captcha-container {
    margin: 25px 0;
    text-align: center;
}

.cf-turnstile {
    margin-bottom: 10px;
}

.captcha-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #718096;
    font-size: 12px;
}

.captcha-hint i {
    color: #4CAF50;
}

/* Form options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.checkbox-input {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e0;
    border-radius: 5px;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-input:checked + .checkbox-custom {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: #667eea;
}

.checkbox-input:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-text {
    color: #4a5568;
    font-size: 14px;
    font-weight: 500;
}

.forgot-link {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.forgot-link:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* Login button */
.btn__login {
    width: 100%;
    padding: 16px 28px;
    border-radius: 14px;
    border: none;
    outline: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 
        0 8px 25px rgba(102, 126, 234, 0.25),
        0 2px 0 rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn__login:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 15px 35px rgba(102, 126, 234, 0.35),
        0 2px 0 rgba(102, 126, 234, 0.2);
}

.btn__login:active {
    transform: translateY(0);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.btn__login:hover .btn-glow {
    opacity: 1;
    animation: shine 1.5s ease-in-out infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Divider */
.login-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: #a0aec0;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(226, 232, 240, 0.8);
}

.login-divider span {
    padding: 0 15px;
    font-size: 13px;
    font-weight: 500;
}

/* Social login */
.social-login {
    text-align: center;
    margin-bottom: 25px;
}

.social-login-text {
    color: #718096;
    font-size: 14px;
    margin-bottom: 15px;
}

.social-buttons {
    display: flex;
    gap: 12px;
}

.social-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.social-btn.facebook {
    background: #1877F2;
    color: white;
}

.social-btn.google {
    background: white;
    color: #2d3748;
    border: 1px solid #e2e8f0;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.social-btn.facebook:hover {
    background: #0D5FDB;
}

.social-btn.google:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
}

/* Register link */
.register-link {
    text-align: center;
    padding: 20px;
    margin: 20px -35px -35px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border-radius: 0 0 20px 20px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.register-link p {
    color: #4a5568;
    font-size: 14px;
    margin: 0;
}

.register-btn {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    margin-left: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.register-btn:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* Login footer */
.login-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.security-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4CAF50;
    font-size: 13px;
}

.help-link a {
    color: #667eea;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.help-link a:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .login-card {
        padding: 25px 20px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .social-buttons {
        flex-direction: column;
    }
    
    .login-footer {
        flex-direction: column;
        text-align: center;
    }
    
    .title__login {
        font-size: 22px;
    }
    
    .login-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 10px;
    }
    
    .login-card {
        padding: 20px 15px;
    }
    
    .register-link {
        margin: 20px -15px -15px;
        padding: 15px;
    }
    
    .form__input {
        padding: 14px 18px 14px 44px;
    }
}

        /* Hiệu ứng Particles cho nền */
        #snow {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            z-index: -1;
            background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.95));
            backdrop-filter: blur(2px);
        }
        
        /* Animation cho các element */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .animate-fade-in {
            animation: fadeInUp 0.6s ease-out forwards;
        }
        
        /* Custom scrollbar đẹp */
        ::-webkit-scrollbar {
            width: 8px;
        }
        
        ::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
        }
        
        ::-webkit-scrollbar-thumb {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 10px;
        }
        
        ::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
        }
        
        /* Player section alignment */
        .player {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            width: 100%;
            margin: 20px auto;
        }
        
        .player__image {
            position: relative;
            margin-bottom: 10px;
        }
        
        /* Button groups alignment */
        .player-actions,
        .auth-actions {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 20px;
            width: 100%;
        }
        
        .group__header {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
        }
        
        /* Age warning alignment */
        .age-warning {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 12px;
            width: 100%;
            max-width: 600px;
            margin: 20px auto 0;
            text-align: center;
        }
        
        /* Download buttons alignment */
        .group_nav {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 15px;
            margin: 20px 0;
        }
        
        .section-title {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            text-align: center;
            margin: 0 auto 20px;
        }
        
        .recommend__nav {
            text-align: center;
            margin-top: 15px;
        }
        
        /* Header overall alignment */
        header {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }
        
        /* Additional alignment for better visual */
        .download-section {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
        }
        
        nav {
            width: 100%;
        }
        
        /* Center alignment for all content */
        .container {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        /* Smooth hover effects */
        .btn__nav:hover .platform-icon {
            animation: bounce 0.5s ease;
        }
        
        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-5px); }
        }

        
/* Register container */
.register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 20px;
}

.register-card {
    width: 100%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}

/* Register header */
.register-header {
    text-align: center;
    margin-bottom: 25px;
}

.register-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #FF9800 0%, #FF5722 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 28px;
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.25);
}

.title__register {
    color: #2d3748;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #FF9800 0%, #FF5722 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.register-subtitle {
    color: #718096;
    font-size: 14px;
    margin: 0;
}

/* Form groups */
.form-group {
    margin-bottom: 20px;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i:first-child {
    position: absolute;
    left: 18px;
    color: #FF9800;
    font-size: 16px;
    z-index: 1;
}

.form__input {
    width: 100%;
    font-size: 15px;
    padding: 16px 20px 16px 48px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    outline: none;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
    color: #2d3748;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.form__input:focus {
    border-color: #FF9800;
    box-shadow: 
        0 0 0 3px rgba(255, 152, 0, 0.1),
        0 8px 25px rgba(255, 152, 0, 0.15);
    background: white;
}

.toggle-password {
    position: absolute;
    right: 18px;
    background: none;
    border: none;
    color: #a0aec0;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #FF9800;
}

.input-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #718096;
    font-size: 12px;
    margin-top: 6px;
    padding-left: 5px;
}

.input-hint i {
    color: #FF9800;
}

/* Captcha */
.captcha-container {
    margin: 20px 0;
    text-align: center;
}

.cf-turnstile {
    margin-bottom: 8px;
}

.captcha-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #718096;
    font-size: 12px;
}

.captcha-hint i {
    color: #4CAF50;
}

/* Register button */
.btn__register {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    border: none;
    outline: none;
    background: linear-gradient(135deg, #FF9800 0%, #FF5722 100%);
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 
        0 8px 25px rgba(255, 152, 0, 0.25),
        0 2px 0 rgba(255, 152, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.btn__register:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 15px 35px rgba(255, 152, 0, 0.35),
        0 2px 0 rgba(255, 152, 0, 0.2);
}

.btn__register:active {
    transform: translateY(0);
}

.btn__register .btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.btn__register:hover .btn-glow {
    opacity: 1;
    animation: shine 1.5s ease-in-out infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Divider */
.register-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 25px 0;
    color: #a0aec0;
    font-size: 14px;
}

/* Login link */
.login-link {
    text-align: center;
    margin-bottom: 20px;
}

.login-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25);
}

/* Register footer */
.register-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    text-align: center;
}

.security-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #4CAF50;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
    .register-card {
        padding: 25px 20px;
    }
    
    .title__register {
        font-size: 22px;
    }
    
    .register-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .register-container {
        padding: 10px;
    }
    
    .register-card {
        padding: 20px 15px;
    }
    
    .form__input {
        padding: 14px 18px 14px 44px;
    }
    
    .btn__register {
        padding: 14px;
    }
}


/* Recharge section */
.recharge-section {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 22px;
    padding: 30px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.recharge-header {
    text-align: center;
    margin-bottom: 30px;
}

.recharge-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.25);
}

.recharge-title {
    color: #2d3748;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.recharge-subtitle {
    color: #718096;
    font-size: 15px;
    margin: 0;
}

/* Player balance */
.player-balance {
    margin-bottom: 30px;
}

.balance-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    max-width: 400px;
    margin: 0 auto;
}

.balance-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25);
}

.balance-info {
    flex: 1;
}

.balance-info h4 {
    color: #4a5568;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.balance-amount {
    display: flex;
    align-items: center;
    gap: 10px;
}

.balance-amount i {
    color: #FFD700;
    font-size: 20px;
}

.balance-amount span {
    color: #2d3748;
    font-size: 24px;
    font-weight: 700;
}

/* Tabs wrapper */
.recharge-tabs-wrapper {
    margin-bottom: 30px;
}

.recharge__tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.recharge__tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 14px;
    background: rgba(237, 242, 247, 0.8);
    color: #4a5568;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

.recharge__tab:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: white;
}

.recharge__tab--active {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.25);
    border-color: transparent;
}

.recharge__tab--active:hover {
    background: linear-gradient(135deg, #FF8E53 0%, #FF6B6B 100%);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.35);
}

/* Recharge content */
.recharge-content {
    margin-bottom: 30px;
}

/* Recharge info */
.recharge-info {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05), rgba(255, 142, 83, 0.05));
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(255, 107, 107, 0.1);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF6B6B;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.info-content h5 {
    color: #2d3748;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.info-content p {
    color: #718096;
    font-size: 13px;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .recharge-section {
        padding: 20px;
    }
    
    .recharge-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    
    .recharge-title {
        font-size: 24px;
    }
    
    .balance-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }
    
    .recharge__tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .recharge__tab {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .recharge-section {
        padding: 15px;
    }
    
    .recharge-title {
        font-size: 22px;
    }
    
    .recharge-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .balance-amount span {
        font-size: 20px;
    }
}


/* Card recharge section */
.card-recharge-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.recharge-form-container {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25);
}

.recharge__title {
    color: #2d3748;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-subtitle {
    color: #718096;
    font-size: 14px;
    margin: 0;
}

/* Form groups */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4a5568;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-label i {
    color: #667eea;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i:first-child {
    position: absolute;
    left: 18px;
    color: #667eea;
    font-size: 16px;
    z-index: 1;
}

.form__input {
    width: 100%;
    font-size: 15px;
    padding: 16px 20px 16px 48px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    outline: none;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
    color: #2d3748;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.form__input:focus {
    border-color: #667eea;
    box-shadow: 
        0 0 0 3px rgba(102, 126, 234, 0.1),
        0 8px 25px rgba(102, 126, 234, 0.15);
    background: white;
}

.toggle-input {
    position: absolute;
    right: 18px;
    background: none;
    border: none;
    color: #a0aec0;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    transition: color 0.3s ease;
}

.toggle-input:hover {
    color: #667eea;
}

/* Form row */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Select styling */
.select-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.select-with-icon i:first-child {
    position: absolute;
    left: 18px;
    color: #667eea;
    font-size: 16px;
    z-index: 1;
}

.select-input {
    appearance: none;
    cursor: pointer;
    padding-right: 50px;
}

.select-arrow {
    position: absolute;
    right: 18px;
    color: #a0aec0;
    font-size: 14px;
    pointer-events: none;
}

.option-text {
    color: #2d3748;
}

.option-discount {
    color: #FF6B6B;
    font-size: 12px;
    font-weight: 600;
    float: right;
}

/* Amount preview */
.amount-preview {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border-radius: 16px;
    padding: 20px;
    margin: 25px 0;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.preview-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.preview-item:last-child {
    margin-bottom: 0;
}

.preview-item.total {
    padding-top: 15px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    margin-top: 15px;
}

.preview-label {
    color: #4a5568;
    font-size: 14px;
    font-weight: 500;
}

.preview-value {
    color: #2d3748;
    font-size: 16px;
    font-weight: 600;
}

.preview-value.discount {
    color: #FF6B6B;
}

.preview-item.total .preview-value {
    color: #4CAF50;
    font-size: 18px;
    font-weight: 700;
}

/* Recharge button */
.btn__recharge {
    width: 100%;
    padding: 18px 28px;
    border-radius: 14px;
    border: none;
    outline: none;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 
        0 8px 25px rgba(255, 107, 107, 0.25),
        0 2px 0 rgba(255, 107, 107, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn__recharge:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 15px 35px rgba(255, 107, 107, 0.35),
        0 2px 0 rgba(255, 107, 107, 0.2);
}

.btn__recharge:active {
    transform: translateY(0);
}

.btn__recharge .btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.btn__recharge:hover .btn-glow {
    opacity: 1;
    animation: shine 1.5s ease-in-out infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Recharge note */
.recharge-note {
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.05), rgba(255, 87, 34, 0.05));
    border-radius: 16px;
    border: 1px solid rgba(255, 152, 0, 0.1);
}

.note-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.note-header i {
    color: #FF9800;
    font-size: 20px;
}

.note-header h5 {
    color: #2d3748;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.note-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.note-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #4a5568;
    font-size: 14px;
}

.note-list li:last-child {
    margin-bottom: 0;
}

.note-list li i {
    color: #4CAF50;
    font-size: 14px;
}

/* History section */
.history-container {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.history-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.history-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.25);
}

.history-title h4 {
    color: #2d3748;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.history-subtitle {
    color: #718096;
    font-size: 14px;
    margin: 0;
}

/* Table cells */
.index-cell {
    font-weight: 600;
    color: #667eea;
    text-align: center;
}

.telco-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.telco-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.telco-cell.viettel .telco-icon {
    background: linear-gradient(135deg, #0066CC, #0099FF);
}

.telco-cell.mobifone .telco-icon {
    background: linear-gradient(135deg, #FF6600, #FF9900);
}

.telco-cell.vinaphone .telco-icon {
    background: linear-gradient(135deg, #CC0000, #FF3333);
}

.telco-name {
    font-weight: 600;
    color: #2d3748;
}

.amount-cell,
.received-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.amount-cell i {
    color: #FF9800;
}

.received-cell i {
    color: #4CAF50;
}

.amount-value,
.received-value {
    font-weight: 600;
    color: #2d3748;
}

.code-cell,
.serial-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.code-text,
.serial-text {
    font-family: 'Courier New', monospace;
    color: #4a5568;
    font-size: 13px;
    flex: 1;
}

.copy-btn {
    background: none;
    border: none;
    color: #a0aec0;
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    color: #667eea;
}

.status-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    width: fit-content;
}

.status-success {
    background: rgba(76, 175, 80, 0.1);
    color: #2E7D32;
}

.status-error {
    background: rgba(244, 67, 54, 0.1);
    color: #D32F2F;
}

.status-pending {
    background: rgba(255, 152, 0, 0.1);
    color: #EF6C00;
}

.status-default {
    background: rgba(158, 158, 158, 0.1);
    color: #616161;
}

.time-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #718096;
    font-size: 13px;
}

.time-cell i {
    color: #667eea;
}

/* Empty history */
.empty-history {
    text-align: center;
    padding: 40px 20px;
}

.empty-history i {
    font-size: 48px;
    color: #e2e8f0;
    margin-bottom: 15px;
}

.empty-history p {
    color: #a0aec0;
    margin-bottom: 10px;
}

.empty-history small {
    color: #718096;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
    .recharge-form-container,
    .history-container {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .recharge__title {
        font-size: 20px;
    }
    
    .history-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .table__scroll {
        overflow-x: auto;
    }
    
    .code-cell,
    .serial-cell {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .telco-cell {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .recharge-form-container,
    .history-container {
        padding: 15px;
    }
    
    .form__input {
        padding: 14px 18px 14px 44px;
    }
    
    .amount-preview {
        padding: 15px;
    }
    
    .btn__recharge {
        padding: 16px;
    }
}


/* Bank transfer section */
.bank-transfer-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.transfer-container {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.transfer-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.transfer-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.25);
}

.transfer-title h3 {
    color: #2d3748;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.transfer-subtitle {
    color: #718096;
    font-size: 14px;
    margin: 0;
}

/* Bank info grid */
.bank-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

@media (max-width: 992px) {
    .bank-info-grid {
        grid-template-columns: 1fr;
    }
}

/* QR Section */
.qr-section,
.manual-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.qr-header,
.manual-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.qr-icon,
.manual-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.manual-icon {
    background: linear-gradient(135deg, #FF9800 0%, #FF5722 100%);
}

.qr-header h4,
.manual-header h4 {
    color: #2d3748;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

/* QR Image */
.qr__image {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.qr-image {
    width: 100%;
    height: auto;
    display: block;
}

.qr-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.qr__image:hover .qr-overlay {
    opacity: 1;
}

.qr-overlay-content {
    text-align: center;
    color: white;
}

.qr-overlay-content i {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
}

.qr-overlay-content span {
    font-size: 14px;
    font-weight: 500;
}

.qr-instruction {
    margin-top: 15px;
    text-align: center;
}

.qr-instruction p {
    color: #4a5568;
    font-size: 13px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.qr-instruction i {
    color: #FF9800;
}

/* Bank details */
.bank-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: rgba(237, 242, 247, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.detail-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4a5568;
    font-size: 14px;
    font-weight: 500;
}

.detail-label i {
    color: #667eea;
    font-size: 16px;
}

.detail-value {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bank-name,
.account-number,
.account-holder,
.bank-branch {
    font-weight: 600;
    color: #2d3748;
}

.bank-badge {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.copy-btn.primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
}

.copy-btn.primary:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
}

.copy-btn.small {
    padding: 5px 10px;
    font-size: 12px;
}

/* Note section */
.note-section {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.05), rgba(255, 87, 34, 0.05));
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 152, 0, 0.1);
}

.note-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.note-header i {
    color: #FF9800;
    font-size: 18px;
}

.note-header h5 {
    color: #2d3748;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.note-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.note-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: #4a5568;
    font-size: 14px;
    line-height: 1.5;
}

.note-list li:last-child {
    margin-bottom: 0;
}

.note-list li i {
    color: #4CAF50;
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.note-list li strong {
    color: #F44336;
    font-weight: 600;
}

/* Transaction content */
.transaction-content {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.content-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.content-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2196F3 0%, #21CBF3 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
}

.content-header h4 {
    color: #2d3748;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.content-subtitle {
    color: #718096;
    font-size: 13px;
    margin: 0;
}

/* Copy section */
.copy-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.copy__row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.copy-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4a5568;
    font-size: 14px;
    font-weight: 600;
}

.copy-label i {
    color: #2196F3;
}

.copy-input-group {
    display: flex;
    gap: 10px;
}

.copy__input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    background: white;
    font-size: 15px;
    color: #2d3748;
    font-family: 'Courier New', monospace;
    font-weight: 500;
}

.copy__input:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.content-example {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.example-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #718096;
    font-size: 13px;
    font-weight: 500;
}

.example-header i {
    color: #2196F3;
}

.example-code {
    display: block;
    padding: 12px;
    background: #f7fafc;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #2d3748;
    border: 1px solid #e2e8f0;
    word-break: break-all;
}

/* History section */
.history-container {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 20px;
}

.history-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #9C27B0 0%, #673AB7 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 6px 20px rgba(156, 39, 176, 0.25);
}

.history-title h4 {
    color: #2d3748;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.history-subtitle {
    color: #718096;
    font-size: 14px;
    margin: 0;
}

.history-actions {
    display: flex;
    gap: 10px;
}

.refresh-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #9C27B0 0%, #673AB7 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.refresh-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(156, 39, 176, 0.25);
}

/* Table cells */
.index-cell {
    font-weight: 600;
    color: #667eea;
    text-align: center;
}

.code-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.code-text {
    font-family: 'Courier New', monospace;
    color: #4a5568;
    font-size: 13px;
    flex: 1;
}

.amount-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.amount-cell.sent i {
    color: #F44336;
}

.amount-cell.received i {
    color: #4CAF50;
}

.amount-value {
    font-weight: 600;
    color: #2d3748;
}

.description-cell {
    max-width: 200px;
}

.description-text {
    color: #4a5568;
    font-size: 13px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.time-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #718096;
    font-size: 13px;
}

.time-cell i {
    color: #667eea;
}

/* Status cells */
.status-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    width: fit-content;
}

.status-success {
    background: rgba(76, 175, 80, 0.1);
    color: #2E7D32;
}

.status-pending {
    background: rgba(255, 152, 0, 0.1);
    color: #EF6C00;
}

.status-error {
    background: rgba(244, 67, 54, 0.1);
    color: #D32F2F;
}

.status-default {
    background: rgba(158, 158, 158, 0.1);
    color: #616161;
}

/* Empty and error states */
.empty-history,
.error-history {
    text-align: center;
    padding: 40px 20px;
}

.empty-history i,
.error-history i {
    font-size: 48px;
    margin-bottom: 15px;
}

.empty-history i {
    color: #e2e8f0;
}

.error-history i {
    color: #F44336;
}

.empty-history p,
.error-history p {
    color: #a0aec0;
    margin-bottom: 10px;
}

.empty-history small {
    color: #718096;
    font-size: 13px;
    margin-bottom: 15px;
    display: block;
}

.login-link {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.login-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
    .transfer-container,
    .history-container {
        padding: 20px;
    }
    
    .transfer-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .transfer-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .transfer-title h3 {
        font-size: 22px;
    }
    
    .history-header {
        flex-direction: column;
        text-align: center;
    }
    
    .copy-input-group {
        flex-direction: column;
    }
    
    .copy-btn {
        justify-content: center;
    }
    
    .table__scroll {
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    .transfer-container,
    .history-container {
        padding: 15px;
    }
    
    .qr-section,
    .manual-section,
    .transaction-content {
        padding: 20px;
    }
    
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .detail-value {
        width: 100%;
        justify-content: space-between;
    }
    
    .refresh-btn {
        width: 100%;
        justify-content: center;
    }
}


/* Tutorial section */
.tutorial-section {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 22px;
    padding: 30px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.tutorial-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.tutorial-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.tutorial-title {
    flex: 1;
}

.tutorial__title {
    color: #2d3748;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tutorial__desc {
    color: #4a5568;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Tutorial steps */
.tutorial-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.tutorial-step {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    padding: 25px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.tutorial-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.tutorial__subtitle {
    color: #2d3748;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

/* Step content */
.step-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(226, 232, 240, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.tutorial-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-image:hover .image-overlay {
    opacity: 1;
}

.zoom-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d3748;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.zoom-btn:hover {
    background: white;
    transform: scale(1.1);
}

.tutorial__desc i {
    color: #000000;
    margin-right: 8px;
}

.highlight {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1), rgba(51, 51, 51, 0.1));
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 600;
    color: #000000;
}

.step-tip {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 235, 59, 0.1));
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(255, 193, 7, 0.2);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.tip-icon {
    color: #FFC107;
    font-size: 20px;
    flex-shrink: 0;
}

.step-tip p {
    color: #4a5568;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

/* TestFlight link */
.testflight-link {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(0, 150, 255, 0.05));
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(0, 122, 255, 0.2);
}

.link-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.link-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007AFF 0%, #00C6FF 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
}

.link-info h5 {
    color: #2d3748;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.link-info p {
    color: #718096;
    font-size: 14px;
    margin: 0;
}

.testflight-btn {
    display: block;
    text-decoration: none;
    background: linear-gradient(135deg, #007AFF 0%, #00C6FF 100%);
    color: white;
    border-radius: 14px;
    padding: 5px;
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.25);
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.testflight-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 122, 255, 0.35);
    text-decoration: none;
    color: white;
}

.btn-content {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    gap: 15px;
}

.btn-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.btn-text {
    flex: 1;
}

.btn-label {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.btn-sub {
    display: block;
    font-size: 13px;
    opacity: 0.9;
}

.btn-arrow {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
}

.link-note {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #718096;
    font-size: 13px;
    font-style: italic;
}

.link-note i {
    color: #FF9800;
}

/* Final step */
.step-final {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(46, 125, 50, 0.05));
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(76, 175, 80, 0.2);
    margin-bottom: 20px;
}

.final-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.25);
}

.final-content h5 {
    color: #2d3748;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.final-content p {
    color: #4a5568;
    font-size: 15px;
    margin: 0;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.feature-icon.success {
    background: rgba(76, 175, 80, 0.1);
    color: #2E7D32;
}

.feature-item span {
    color: #4a5568;
    font-size: 14px;
    font-weight: 500;
}

/* Troubleshoot section */
.tutorial-troubleshoot {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.05), rgba(211, 47, 47, 0.02));
    border-radius: 18px;
    padding: 25px;
    border: 1px solid rgba(244, 67, 54, 0.1);
    margin-top: 20px;
}

.troubleshoot-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.troubleshoot-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #F44336 0%, #D32F2F 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
}

.troubleshoot-header h4 {
    color: #2d3748;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.troubleshoot-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.troubleshoot-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.issue-icon {
    color: #F44336;
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.issue-content h5 {
    color: #2d3748;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.issue-content p {
    color: #718096;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

/* Support section */
.support-section {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.05));
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.support-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
}

.support-content {
    flex: 1;
}

.support-content h5 {
    color: #2d3748;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.support-content p {
    color: #4a5568;
    font-size: 14px;
    margin-bottom: 15px;
}

.support-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.support-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25);
    text-decoration: none;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .tutorial-section {
        padding: 20px;
    }
    
    .tutorial-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .tutorial-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }
    
    .tutorial__title {
        font-size: 24px;
    }
    
    .step-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .support-section {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .tutorial-section {
        padding: 15px;
    }
    
    .tutorial-step,
    .testflight-link,
    .step-final,
    .tutorial-troubleshoot {
        padding: 20px;
    }
    
    .btn-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .btn-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .troubleshoot-item {
        flex-direction: column;
    }
}


/* Change password container */
.change-password-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 20px;
}

.change-password-card {
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 22px;
    padding: 35px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}

/* Password header */
.password-header {
    text-align: center;
    margin-bottom: 30px;
}

.password-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2196F3 0%, #21CBF3 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.25);
}

.password-title {
    text-align: center;
}

.title__change-password {
    color: #2d3748;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #2196F3 0%, #21CBF3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.password-subtitle {
    color: #718096;
    font-size: 15px;
    margin: 0;
}

/* User info */
.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.05), rgba(33, 203, 243, 0.05));
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid rgba(33, 150, 243, 0.1);
}

.user-avatar {
    position: relative;
    width: 70px;
    height: 70px;
}

.avatar-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.online-status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(76, 175, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

.user-details h3 {
    color: #2d3748;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.user-email {
    color: #718096;
    font-size: 14px;
    margin: 0;
}

/* Form groups */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4a5568;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
}

.form-label i {
    color: #2196F3;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i:first-child {
    position: absolute;
    left: 18px;
    color: #2196F3;
    font-size: 16px;
    z-index: 1;
}

.form__input {
    width: 100%;
    font-size: 15px;
    padding: 16px 20px 16px 48px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    outline: none;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
    color: #2d3748;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.form__input:focus {
    border-color: #2196F3;
    box-shadow: 
        0 0 0 3px rgba(33, 150, 243, 0.1),
        0 8px 25px rgba(33, 150, 243, 0.15);
    background: white;
}

.toggle-password {
    position: absolute;
    right: 18px;
    background: none;
    border: none;
    color: #a0aec0;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #2196F3;
}

/* Password strength */
.password-strength {
    margin-top: 12px;
}

.strength-meter {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.strength-bar {
    height: 100%;
    width: 0%;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.strength-text {
    color: #718096;
    font-size: 12px;
    display: block;
}

/* Confirm hint */
.confirm-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #718096;
    font-size: 12px;
    margin-top: 8px;
    padding-left: 5px;
}

.confirm-hint i {
    color: #2196F3;
}

.confirm-hint.match {
    color: #4CAF50;
}

.confirm-hint.mismatch {
    color: #F44336;
}

/* Password requirements */
.password-requirements {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.05), rgba(33, 203, 243, 0.05));
    border-radius: 16px;
    padding: 20px;
    margin: 25px 0;
    border: 1px solid rgba(33, 150, 243, 0.1);
}

.requirements-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.requirements-header i {
    color: #2196F3;
    font-size: 18px;
}

.requirements-header h5 {
    color: #2d3748;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirement {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #718096;
    font-size: 14px;
}

.requirement:last-child {
    margin-bottom: 0;
}

.requirement i {
    font-size: 10px;
}

.requirement.valid {
    color: #4CAF50;
}

.requirement.valid i {
    color: #4CAF50;
}

.requirement.invalid {
    color: #F44336;
}

.requirement.invalid i {
    color: #F44336;
}

/* Change password button */
.btn__change-password {
    width: 100%;
    padding: 18px 28px;
    border-radius: 14px;
    border: none;
    outline: none;
    background: linear-gradient(135deg, #2196F3 0%, #21CBF3 100%);
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 
        0 8px 25px rgba(33, 150, 243, 0.25),
        0 2px 0 rgba(33, 150, 243, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.btn__change-password:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 
        0 15px 35px rgba(33, 150, 243, 0.35),
        0 2px 0 rgba(33, 150, 243, 0.2);
}

.btn__change-password:active:not(:disabled) {
    transform: translateY(0);
}

.btn__change-password:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: linear-gradient(135deg, #9E9E9E 0%, #757575 100%);
}

.btn__change-password .btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.btn__change-password:hover .btn-glow {
    opacity: 1;
    animation: shine 1.5s ease-in-out infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Security tips */
.security-tips {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.tips-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.tips-header i {
    color: #FF9800;
    font-size: 18px;
}

.tips-header h5 {
    color: #2d3748;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tips-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #4a5568;
    font-size: 14px;
    line-height: 1.5;
}

.tips-list li:last-child {
    margin-bottom: 0;
}

.tips-list li i {
    color: #4CAF50;
    font-size: 14px;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .change-password-card {
        padding: 25px 20px;
    }
    
    .password-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    
    .title__change-password {
        font-size: 24px;
    }
    
    .user-info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .user-avatar {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .change-password-container {
        padding: 10px;
    }
    
    .change-password-card {
        padding: 20px 15px;
    }
    
    .form__input {
        padding: 14px 18px 14px 44px;
    }
    
    .btn__change-password {
        padding: 16px;
    }
    
    .password-requirements,
    .security-tips {
        padding: 15px;
    }
}

        /* Thêm vào cuối file style.css hiện tại */
        
        /* Admin container */
        .admin-container {
            width: 100%;
            max-width: 1200px;
            margin: 20px auto;
            background: rgba(255, 255, 255, 0.88);
            border-radius: 24px;
            padding: 30px;
            box-shadow: 
                0 15px 35px rgba(0, 0, 0, 0.08),
                0 5px 15px rgba(0, 0, 0, 0.05),
                inset 0 0 0 1px rgba(255, 255, 255, 0.9);
            border: 1px solid rgba(255, 255, 255, 0.4);
            backdrop-filter: blur(10px);
        }
        
        .admin-header {
            text-align: center;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid rgba(226, 232, 240, 0.8);
        }
        
        .admin-header h1 {
            color: #2d3748;
            font-size: 32px;
            font-weight: 700;
            margin-bottom: 10px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
        }
        
        .admin-header p {
            color: #718096;
            font-size: 16px;
            margin: 0;
        }
        
        /* Alerts */
        .alert {
            background: rgba(255, 255, 255, 0.9);
            border-radius: 16px;
            padding: 20px;
            margin-bottom: 25px;
            border: 1px solid rgba(226, 232, 240, 0.8);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
            display: flex;
            align-items: center;
            gap: 15px;
            animation: fadeInUp 0.6s ease-out;
        }
        
        .alert.success {
            background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(46, 125, 50, 0.05));
            border-color: rgba(76, 175, 80, 0.2);
            color: #2E7D32;
        }
        
        .alert.error {
            background: linear-gradient(135deg, rgba(244, 67, 54, 0.1), rgba(211, 47, 47, 0.05));
            border-color: rgba(244, 67, 54, 0.2);
            color: #D32F2F;
        }
        
        .alert i {
            font-size: 20px;
        }
        
        /* Tab container */
        .tab-container {
            margin-bottom: 30px;
        }
        
        .tab-buttons {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 25px;
            background: rgba(237, 242, 247, 0.8);
            border-radius: 16px;
            padding: 5px;
        }
        
        .tab-button {
            flex: 1;
            min-width: 150px;
            padding: 16px 20px;
            border-radius: 14px;
            border: none;
            background: transparent;
            color: #4a5568;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        
        .tab-button:hover {
            background: rgba(255, 255, 255, 0.9);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .tab-button.active {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25);
        }
        
        .tab-content {
            display: none;
            animation: fadeInUp 0.6s ease-out;
        }
        
        .tab-content.active {
            display: block;
        }
        
        /* Current rates */
        .current-rates {
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
            border-radius: 16px;
            padding: 25px;
            margin-bottom: 30px;
            border: 1px solid rgba(226, 232, 240, 0.8);
        }
        
        .current-rates h3 {
            color: #2d3748;
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .current-rates h3 i {
            color: #667eea;
        }
        
        .rate-info {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
        }
        
        .rate-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 12px;
            border: 1px solid rgba(226, 232, 240, 0.8);
        }
        
        .rate-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 18px;
        }
        
        .rate-icon.card {
            background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
        }
        
        .rate-icon.bank {
            background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
        }
        
        .rate-icon.min {
            background: linear-gradient(135deg, #2196F3 0%, #21CBF3 100%);
        }
        
        .rate-icon.max {
            background: linear-gradient(135deg, #9C27B0 0%, #673AB7 100%);
        }
        
        .rate-text h5 {
            color: #4a5568;
            font-size: 13px;
            font-weight: 500;
            margin: 0 0 4px 0;
        }
        
        .rate-value {
            color: #2d3748;
            font-size: 18px;
            font-weight: 700;
        }
        
        /* Admin form */
        .admin-form {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        .form-group {
            margin-bottom: 15px;
        }
        
        .form-group label {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #4a5568;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 8px;
        }
        
        .form-group label i {
            color: #667eea;
        }
        
        .form-group input,
        .form-group select {
            width: 100%;
            font-size: 15px;
            padding: 16px 20px;
            border: 1px solid rgba(226, 232, 240, 0.8);
            outline: none;
            border-radius: 14px;
            background: rgba(255, 255, 255, 0.95);
            transition: all 0.3s ease;
            color: #2d3748;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
        }
        
        .form-group input:focus,
        .form-group select:focus {
            border-color: #667eea;
            box-shadow: 
                0 0 0 3px rgba(102, 126, 234, 0.1),
                0 8px 25px rgba(102, 126, 234, 0.15);
            background: white;
        }
        
        .form-help {
            color: #718096;
            font-size: 12px;
            margin-top: 6px;
            padding-left: 5px;
        }
        
        .form-row {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
        }
        
        /* Submit button */
        .submit-btn {
            padding: 16px 28px;
            border-radius: 14px;
            border: none;
            outline: none;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: #fff;
            cursor: pointer;
            font-size: 16px;
            font-weight: 600;
            box-shadow: 
                0 8px 25px rgba(102, 126, 234, 0.25),
                0 2px 0 rgba(102, 126, 234, 0.2);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-top: 10px;
        }
        
        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 
                0 15px 35px rgba(102, 126, 234, 0.35),
                0 2px 0 rgba(102, 126, 234, 0.2);
        }
        
        .submit-btn:active {
            transform: translateY(0);
        }
        
        /* Tables */
        .admin-table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
            border-radius: 16px;
            overflow: hidden;
            background: white;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
            margin-bottom: 25px;
        }
        
        .admin-table thead th {
            padding: 18px 20px;
            font-weight: 600;
            font-size: 14px;
            background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
            color: #2d3748;
            border-bottom: 1px solid rgba(226, 232, 240, 0.8);
            text-align: left;
        }
        
        .admin-table tbody td {
            padding: 16px 20px;
            font-size: 14px;
            color: #4a5568;
            border-bottom: 1px solid rgba(237, 242, 247, 0.8);
        }
        
        .admin-table tbody tr:hover {
            background: rgba(102, 126, 234, 0.03);
        }
        
        /* Status badges */
        .status-active {
            background: rgba(76, 175, 80, 0.1);
            color: #2E7D32;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        
        .status-inactive {
            background: rgba(244, 67, 54, 0.1);
            color: #D32F2F;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        
        .expired-soon {
            color: #FF9800;
            font-weight: 600;
        }
        
        .expired {
            color: #F44336;
            font-weight: 600;
        }
        
        /* Action buttons */
        .action-buttons {
            display: flex;
            gap: 8px;
        }
        
        .btn-edit,
        .btn-delete,
        .btn-add,
        .btn-remove {
            padding: 8px 15px;
            border: none;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        
        .btn-edit {
            background: linear-gradient(135deg, #2196F3 0%, #21CBF3 100%);
            color: white;
        }
        
        .btn-edit:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(33, 150, 243, 0.25);
        }
        
        .btn-delete {
            background: linear-gradient(135deg, #F44336 0%, #D32F2F 100%);
            color: white;
        }
        
        .btn-delete:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(244, 67, 54, 0.25);
        }
        
        .btn-add {
            background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
            color: white;
            margin: 10px 0;
        }
        
        .btn-add:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(76, 175, 80, 0.25);
        }
        
        .btn-remove {
            background: linear-gradient(135deg, #FF9800 0%, #FF5722 100%);
            color: white;
        }
        
        .btn-remove:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(255, 152, 0, 0.25);
        }
        
        /* Item container */
        .item-container {
            background: rgba(255, 255, 255, 0.9);
            border-radius: 16px;
            padding: 20px;
            margin-bottom: 20px;
            border: 1px solid rgba(226, 232, 240, 0.8);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
        }
        
        .item-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(226, 232, 240, 0.8);
        }
        
        .item-header h5 {
            color: #2d3748;
            font-size: 16px;
            font-weight: 600;
            margin: 0;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .option-container {
            background: rgba(237, 242, 247, 0.8);
            border-radius: 12px;
            padding: 15px;
            margin: 10px 0;
            border: 1px dashed rgba(226, 232, 240, 0.8);
        }
        
        /* Pagination */
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            margin-top: 25px;
            flex-wrap: wrap;
        }
        
        .pagination a,
        .pagination span {
            padding: 10px 16px;
            border-radius: 12px;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.3s ease;
            min-width: 40px;
            text-align: center;
        }
        
        .pagination a {
            background: rgba(237, 242, 247, 0.8);
            color: #4a5568;
            border: 1px solid rgba(226, 232, 240, 0.8);
        }
        
        .pagination a:hover,
        .pagination a.active {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-color: transparent;
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25);
        }
        
        /* Stats grid */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin: 25px 0;
        }
        
        .stat-card {
            background: rgba(255, 255, 255, 0.9);
            border-radius: 16px;
            padding: 25px;
            border: 1px solid rgba(226, 232, 240, 0.8);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
            text-align: center;
            transition: transform 0.3s ease;
        }
        
        .stat-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
        }
        
        .stat-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
            margin: 0 auto 15px;
        }
        
        .stat-card h4 {
            color: #4a5568;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 10px;
        }
        
        .stat-value {
            color: #2d3748;
            font-size: 28px;
            font-weight: 700;
            margin: 0;
        }
        
        /* Back button */
        .back-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 24px;
            background: linear-gradient(135deg, #9E9E9E 0%, #757575 100%);
            color: white;
            text-decoration: none;
            border-radius: 14px;
            font-weight: 600;
            font-size: 14px;
            transition: all 0.3s ease;
            margin-top: 20px;
        }
        
        .back-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(158, 158, 158, 0.25);
            text-decoration: none;
            color: white;
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .admin-container {
                padding: 20px;
                margin: 10px auto;
            }
            
            .admin-header h1 {
                font-size: 24px;
            }
            
            .tab-buttons {
                flex-direction: column;
            }
            
            .tab-button {
                min-width: 100%;
            }
            
            .form-row {
                grid-template-columns: 1fr;
            }
            
            .action-buttons {
                flex-direction: column;
            }
            
            .admin-table {
                display: block;
                overflow-x: auto;
            }
        }
        
        @media (max-width: 480px) {
            .admin-container {
                padding: 15px;
            }
            
            .current-rates,
            .item-container,
            .stat-card {
                padding: 15px;
            }
            
            .form-group input,
            .form-group select {
                padding: 14px 16px;
            }
            
            .submit-btn {
                padding: 14px 20px;
            }
        }

        /* Admin container */
        .admin-container {
            width: 100%;
            max-width: 1200px;
            margin: 20px auto;
            background: rgba(255, 255, 255, 0.88);
            border-radius: 24px;
            padding: 30px;
            box-shadow: 
                0 15px 35px rgba(0, 0, 0, 0.08),
                0 5px 15px rgba(0, 0, 0, 0.05),
                inset 0 0 0 1px rgba(255, 255, 255, 0.9);
            border: 1px solid rgba(255, 255, 255, 0.4);
            backdrop-filter: blur(10px);
        }
        
        .admin-header {
            text-align: center;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid rgba(226, 232, 240, 0.8);
        }
        
        .admin-header h1 {
            color: #2d3748;
            font-size: 32px;
            font-weight: 700;
            margin-bottom: 10px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
        }
        
        .admin-header p {
            color: #718096;
            font-size: 16px;
            margin: 0;
        }
        
        /* Alerts */
        .alert {
            background: rgba(255, 255, 255, 0.9);
            border-radius: 16px;
            padding: 20px;
            margin-bottom: 25px;
            border: 1px solid rgba(226, 232, 240, 0.8);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
            display: flex;
            align-items: center;
            gap: 15px;
            animation: fadeInUp 0.6s ease-out;
        }
        
        .alert.success {
            background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(46, 125, 50, 0.05));
            border-color: rgba(76, 175, 80, 0.2);
            color: #2E7D32;
        }
        
        .alert.error {
            background: linear-gradient(135deg, rgba(244, 67, 54, 0.1), rgba(211, 47, 47, 0.05));
            border-color: rgba(244, 67, 54, 0.2);
            color: #D32F2F;
        }
        
        .alert i {
            font-size: 20px;
        }
        
        /* Form groups */
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #4a5568;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 8px;
        }
        
        .form-group label i {
            color: #667eea;
        }
        
        .form-group input,
        .form-group select {
            width: 100%;
            font-size: 15px;
            padding: 16px 20px;
            border: 1px solid rgba(226, 232, 240, 0.8);
            outline: none;
            border-radius: 14px;
            background: rgba(255, 255, 255, 0.95);
            transition: all 0.3s ease;
            color: #2d3748;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
        }
        
        .form-group input:focus,
        .form-group select:focus {
            border-color: #667eea;
            box-shadow: 
                0 0 0 3px rgba(102, 126, 234, 0.1),
                0 8px 25px rgba(102, 126, 234, 0.15);
            background: white;
        }
        
        /* Buttons */
        .toggle-form {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 16px 28px;
            border-radius: 14px;
            border: none;
            outline: none;
            background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
            color: #fff;
            cursor: pointer;
            font-size: 16px;
            font-weight: 600;
            box-shadow: 
                0 8px 25px rgba(76, 175, 80, 0.25),
                0 2px 0 rgba(76, 175, 80, 0.2);
            transition: all 0.3s ease;
            margin-bottom: 25px;
        }
        
        .toggle-form:hover {
            transform: translateY(-2px);
            box-shadow: 
                0 15px 35px rgba(76, 175, 80, 0.35),
                0 2px 0 rgba(76, 175, 80, 0.2);
        }
        
        .submit-btn {
            padding: 16px 28px;
            border-radius: 14px;
            border: none;
            outline: none;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: #fff;
            cursor: pointer;
            font-size: 16px;
            font-weight: 600;
            box-shadow: 
                0 8px 25px rgba(102, 126, 234, 0.25),
                0 2px 0 rgba(102, 126, 234, 0.2);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-top: 10px;
        }
        
        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 
                0 15px 35px rgba(102, 126, 234, 0.35),
                0 2px 0 rgba(102, 126, 234, 0.2);
        }
        
        .add-btn {
            padding: 12px 20px;
            border-radius: 12px;
            border: none;
            outline: none;
            background: linear-gradient(135deg, #2196F3 0%, #21CBF3 100%);
            color: #fff;
            cursor: pointer;
            font-size: 14px;
            font-weight: 600;
            box-shadow: 
                0 6px 20px rgba(33, 150, 243, 0.2),
                0 2px 0 rgba(33, 150, 243, 0.2);
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
            margin: 10px 0;
        }
        
        .add-btn:hover {
            transform: translateY(-2px);
            box-shadow: 
                0 10px 25px rgba(33, 150, 243, 0.3),
                0 2px 0 rgba(33, 150, 243, 0.2);
        }
        
        .delete-btn {
            padding: 8px 16px;
            border-radius: 10px;
            border: none;
            outline: none;
            background: linear-gradient(135deg, #F44336 0%, #D32F2F 100%);
            color: #fff;
            cursor: pointer;
            font-size: 13px;
            font-weight: 600;
            box-shadow: 
                0 4px 15px rgba(244, 67, 54, 0.2),
                0 2px 0 rgba(244, 67, 54, 0.2);
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            text-decoration: none;
        }
        
        .delete-btn:hover {
            transform: translateY(-2px);
            box-shadow: 
                0 8px 25px rgba(244, 67, 54, 0.3),
                0 2px 0 rgba(244, 67, 54, 0.2);
            text-decoration: none;
            color: white;
        }
        
        .back-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 24px;
            background: linear-gradient(135deg, #9E9E9E 0%, #757575 100%);
            color: white;
            text-decoration: none;
            border-radius: 14px;
            font-weight: 600;
            font-size: 14px;
            transition: all 0.3s ease;
            margin-top: 20px;
        }
        
        .back-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(158, 158, 158, 0.25);
            text-decoration: none;
            color: white;
        }
        
        /* Item and Option sections */
        .item-section {
            background: rgba(255, 255, 255, 0.9);
            border-radius: 16px;
            padding: 20px;
            margin-bottom: 20px;
            border: 1px solid rgba(226, 232, 240, 0.8);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
        }
        
        .option-section {
            background: rgba(237, 242, 247, 0.8);
            border-radius: 12px;
            padding: 15px;
            margin: 10px 0;
            border: 1px dashed rgba(226, 232, 240, 0.8);
        }
        
        /* Add form container */
        #addForm {
            background: rgba(255, 255, 255, 0.9);
            border-radius: 20px;
            padding: 25px;
            margin-bottom: 30px;
            border: 1px solid rgba(226, 232, 240, 0.8);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            animation: fadeInUp 0.6s ease-out;
        }
        
        /* Table styles */
        .giftcode-table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
            border-radius: 16px;
            overflow: hidden;
            background: white;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
            margin-top: 20px;
        }
        
        .giftcode-table thead th {
            padding: 18px 20px;
            font-weight: 600;
            font-size: 14px;
            background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
            color: #2d3748;
            border-bottom: 1px solid rgba(226, 232, 240, 0.8);
            text-align: left;
        }
        
        .giftcode-table tbody td {
            padding: 16px 20px;
            font-size: 14px;
            color: #4a5568;
            border-bottom: 1px solid rgba(237, 242, 247, 0.8);
        }
        
        .giftcode-table tbody tr:hover {
            background: rgba(102, 126, 234, 0.03);
        }
        
        /* Status badges */
        .status-active {
            background: rgba(76, 175, 80, 0.1);
            color: #2E7D32;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        
        .status-inactive {
            background: rgba(244, 67, 54, 0.1);
            color: #D32F2F;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        
        /* Checkbox */
        input[type="checkbox"] {
            width: 18px;
            height: 18px;
            margin-right: 8px;
            cursor: pointer;
        }
        
        /* Section headers */
        h2, h3, h4 {
            color: #2d3748;
            margin-bottom: 15px;
        }
        
        h3 {
            font-size: 20px;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        h4 {
            font-size: 16px;
            font-weight: 600;
            color: #4a5568;
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .admin-container {
                padding: 20px;
                margin: 10px auto;
            }
            
            .admin-header h1 {
                font-size: 24px;
            }
            
            .giftcode-table {
                display: block;
                overflow-x: auto;
            }
            
            .form-group input,
            .form-group select {
                padding: 14px 16px;
            }
            
            .submit-btn,
            .toggle-form {
                padding: 14px 20px;
            }
        }
        
        @media (max-width: 480px) {
            .admin-container {
                padding: 15px;
            }
            
            #addForm,
            .item-section,
            .option-section {
                padding: 15px;
            }
            
            .add-btn,
            .delete-btn {
                width: 100%;
                justify-content: center;
            }
        }
        
        