:root {
      --bg-dark: #0e0e15;
      --card-bg: #0b0b12;
      --card-border: #2e2e44;
      --accent: #7c81b5;
      --accent-light: #9ea3d8;
      --text-main: #ffffff;
      --text-secondary: #aaaaaa;
      --text-tertiary: #5f5f6d;
      --success: #4caf50;
      --warning: #ff9800;
      --danger: #f44336;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Inter', sans-serif;
      background-color: var(--bg-dark);
      color: var(--text-main);
      line-height: 1.6;
    }

    /* Layout */
    .app {
      display: flex;
      min-height: 100vh;
    }

    /* Top Navigation Bar */
    .top-nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: 60px;
      background-color: var(--card-bg);
      border-bottom: 1px solid var(--card-border);
      display: flex;
      justify-content: flex-end;
      align-items: center;
      padding: 0 2rem;
      z-index: 100;
    }

    .user-actions {
      display: flex;
      align-items: center;
      gap: 1.5rem;
    }

    .balance {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      background: rgba(21, 21, 30, 0.7);
      padding: 0.6rem 1rem;
      border-radius: 8px;
      font-weight: 500;
    }

    .balance i {
      color: #f0c14b;
    }

    .user {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .avatar {
      width: 36px;
      height: 36px;
      border-radius: 5px;
      background: var(--accent);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .avatar i {
      font-size: 1rem;
    }

    .logout-btn {
      background: transparent;
      border: none;
      color: var(--text-secondary);
      cursor: pointer;
      transition: color 0.2s ease;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.5rem 1rem;
      border-radius: 6px;
    }

    .logout-btn:hover {
      background: rgba(255, 255, 255, 0.05);
      color: var(--text-main);
    }

    /* Sidebar Navigation */
    .sidebar {
      width: 280px;
      background-color: var(--card-bg);
      border-right: 1px solid var(--card-border);
      padding: 2rem 1.5rem;
      display: flex;
      flex-direction: column;
      gap: 2.5rem;
      position: fixed;
      height: 100vh;
      z-index: 90;
      margin-top: 60px; /* Account for top nav */
      overflow-y: auto;
    }

    .nav-section {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

    .nav-section-title {
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--text-tertiary);
      margin-bottom: 0.5rem;
    }

    .nav-link {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.75rem 1rem;
      border-radius: 8px;
      color: var(--text-secondary);
      text-decoration: none;
      font-weight: 500;
      transition: all 0.2s ease;
    }

    .nav-link:hover {
      background: rgba(255, 255, 255, 0.05);
      color: var(--text-main);
    }

    .nav-link.active {
      background: rgba(124, 129, 181, 0.15);
      color: var(--accent-light);
    }

    .nav-link i {
      width: 20px;
      text-align: center;
      font-size: 1.1rem;
    }

    /* Main Content */
    .main {
      flex: 1;
      padding: 2.5rem;
      margin-left: 280px;
      margin-top: 60px; /* Account for top nav */
      width: calc(100% - 280px);
    }

    /* Header */
    .header {
      margin-bottom: 2.5rem;
    }

    .page-title {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .page-title i {
      font-size: 1.75rem;
      color: var(--accent);
    }

    .title-group h1 {
      font-size: 1.75rem;
      font-weight: 600;
      margin-bottom: 0.25rem;
    }

    .title-group p {
      color: var(--text-secondary);
      font-size: 0.95rem;
    }

    /* Search and Filter */
    .search-container {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 2rem;
      background: rgba(21, 21, 30, 0.7);
      border: 1px solid var(--card-border);
      border-radius: 10px;
      padding: 0.5rem 1rem;
    }

    .search-container:focus-within {
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(124, 129, 181, 0.2);
    }

    .search-icon {
      color: var(--text-tertiary);
    }

    .search-bar {
      flex: 1;
      background: transparent;
      border: none;
      color: var(--text-main);
      font-size: 1rem;
      padding: 0.5rem 0;
    }

    .search-bar:focus {
      outline: none;
    }

    .search-bar::placeholder {
      color: var(--text-tertiary);
    }

    .filter-btn {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      background: var(--accent);
      padding: 0.5rem 1rem;
      border-radius: 6px;
      cursor: pointer;
      transition: all 0.2s ease;
      color: #ffffff;
    }

    .filter-btn:hover {
      background: rgba(255, 255, 255, 0.1);
    }

    .filter-btn.active {
      background: rgba(124, 129, 181, 0.2);
    }

    /* Categories */
    .categories {
      display: flex;
      gap: 0.75rem;
      margin-bottom: 1.5rem;
      overflow-x: auto;
      padding-bottom: 0.5rem;
    }

    .category-btn {
      padding: 0.5rem 1rem;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--card-border);
      border-radius: 20px;
      cursor: pointer;
      transition: all 0.2s ease;
      white-space: nowrap;
      color: #ffffff;
    }

    .category-btn:hover {
      background: rgba(255, 255, 255, 0.1);
    }

    .category-btn.active {
      background: var(--accent);
      border-color: var(--accent);
      color: white;
    }

    /* Items Grid */
    .items-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 1.5rem;
    }

    .item-card {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: 12px;
      overflow: hidden;
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .item-card:hover {
      transform: translateY(-5px);
      border-color: var(--accent);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .item-image {
      width: 100%;
      height: 160px;
      background: rgba(21, 21, 30, 0.5);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-tertiary);
      font-size: 2.5rem;
      position: relative;
    }

    .item-badge {
      position: absolute;
      top: 0.75rem;
      right: 0.75rem;
      background: var(--accent);
      color: white;
      padding: 0.25rem 0.5rem;
      border-radius: 4px;
      font-size: 0.75rem;
      font-weight: 600;
    }

    .item-badge.hot {
      background: var(--warning);
    }

    .item-badge.new {
      background: var(--success);
    }

    .item-content {
      padding: 1.25rem;
    }

    .item-title {
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 0.5rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .item-price {
      color: #f0c14b;
      font-weight: 700;
    }

    .item-desc {
      color: var(--text-secondary);
      font-size: 0.9rem;
      margin-bottom: 1.25rem;
      min-height: 40px;
    }

    .item-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .item-stock {
      font-size: 0.8rem;
      color: var(--text-tertiary);
    }

    .purchase-btn {
      padding: 0.5rem 1.25rem;
      background: var(--accent);
      color: white;
      border: none;
      border-radius: 6px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .purchase-btn:hover {
      background: var(--accent-light);
      transform: translateY(-2px);
    }

    .purchase-btn:disabled {
      background: var(--text-tertiary);
      cursor: not-allowed;
      transform: none;
    }

    /* Item Modal */
    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.8);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 1000;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
    }

    .modal-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    .modal-content {
      background: var(--card-bg);
      border: 1px solid var(--accent);
      border-radius: 12px;
      width: 90%;
      max-width: 500px;
      max-height: 90vh;
      overflow-y: auto;
      transform: translateY(20px);
      transition: all 0.3s ease;
    }

    .modal-overlay.active .modal-content {
      transform: translateY(0);
    }

    .modal-header {
      padding: 1.5rem;
      border-bottom: 1px solid var(--card-border);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .modal-title {
      font-size: 1.25rem;
      font-weight: 600;
    }

    .close-modal {
      background: transparent;
      border: none;
      color: var(--text-secondary);
      font-size: 1.5rem;
      cursor: pointer;
      transition: color 0.2s ease;
    }

    .close-modal:hover {
      color: var(--text-main);
    }

    .modal-body {
      padding: 1.5rem;
    }

    .modal-image {
      width: 100%;
      height: 200px;
      background: rgba(21, 21, 30, 0.5);
      border-radius: 8px;
      margin-bottom: 1.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 3rem;
      color: var(--text-tertiary);
    }

    .modal-details {
      margin-bottom: 1.5rem;
    }

    .modal-price {
      font-size: 1.5rem;
      font-weight: 700;
      color: #f0c14b;
      margin-bottom: 1rem;
    }

    .modal-desc {
      color: var(--text-secondary);
      margin-bottom: 1.5rem;
    }

    .modal-actions {
      display: flex;
      gap: 1rem;
    }

    .modal-btn {
      flex: 1;
      padding: 0.75rem;
      border-radius: 8px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .modal-btn.primary {
      background: var(--accent);
      color: white;
      border: none;
    }

    .modal-btn.primary:hover {
      background: var(--accent-light);
    }

    .modal-btn.secondary {
      background: transparent;
      border: 1px solid var(--card-border);
      color: var(--text-main);
    }

    .modal-btn.secondary:hover {
      background: rgba(255, 255, 255, 0.05);
    }

    /* Empty State */
    .empty-state {
      grid-column: 1 / -1;
      text-align: center;
      padding: 3rem;
      color: var(--text-secondary);
    }

    .empty-icon {
      font-size: 3rem;
      margin-bottom: 1rem;
      color: var(--text-tertiary);
    }

    /* Responsive */
    @media (max-width: 1200px) {
      .sidebar {
        width: 240px;
        padding: 1.5rem 1rem;
      }
      .main {
        margin-left: 240px;
        width: calc(100% - 240px);
        padding: 2rem;
      }
    }

    @media (max-width: 992px) {
      .items-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      /* .sidebar {
        width: 100%;
        position: static;
        height: auto;
        flex-direction: row;
        padding: 1rem;
        gap: 1.5rem;
        overflow-x: auto;
        margin-top: 60px;
      } */
      /* .nav-section {
        flex-direction: row;
        align-items: center;
      } */
      /* .nav-section-title {
        display: none;
      } */
      .main {
        margin-left: 0;
        width: 100%;
        padding: 1.5rem;
      }
      .top-nav {
        padding: 0 1rem;
      }
    }

    @media (max-width: 576px) {
      .items-grid {
        grid-template-columns: 1fr;
      }
      .modal-actions {
        flex-direction: column;
      }
      .user-actions {
        gap: 0.75rem;
      }
      /* .balance span {
        display: none;
      }
      .balance {
        padding: 0.6rem;
      } */
      .leaderboard-header,
      .leaderboard-row {
        grid-template-columns: 55px 3fr 2fr 1fr;
        padding: 0.5rem;
        font-size: 0.8rem; /* smaller font for mobile */
      }

      .leaderboard-row.you::after{
        display: none;
      }

      .leaderboard-header div:nth-child(3),
      .leaderboard-row .leaderboard-wagered {
        width: 25px;
      }

      .leaderboard-row .leaderboard-user {
        width: 25px;
      }
      
      .leaderboard-avatar {
        width: 30px;
        height: 30px;
      }
      
      .leaderboard-name, 
      .leaderboard-wagered, 
      .leaderboard-prize {
        font-size: 0.8rem; /* smaller font for mobile */
      }

      .leaderboard-name{
        text-wrap: nowrap;
      }
      
      .podium-img {
        width: 80px;
        height: 80px;
      }
      
      .ign {
        font-size: 1.1rem;
      }
      
      .podium.first .ign {
        font-size: 1.2rem;
      }
    }

.leaderboard-top {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 5rem;
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(21, 21, 30, 0.9) 100%);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.podium {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 280px;
  padding: 1.5rem;
  background: rgba(21, 21, 30, 0.7);
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.podium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-border);
}

.podium:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.podium.first {
  transform: scale(1.1);
  margin-top: -20px;
  border: 1px solid #f0c14b;
  background: linear-gradient(180deg, rgba(240, 193, 75, 0.15) 0%, rgba(21, 21, 30, 0.8) 100%);
  z-index: 10;
}

.podium.first::before {
  background: linear-gradient(90deg, #f0c14b, #ffdf7b, #f0c14b);
}

.podium.first .img-bg {
  border-color: #ffdf7b;
  box-shadow: 0 4px 20px rgba(240, 193, 75, 0.4);
}

.podium.first .ign {
  color: #ffdf7b;
}

.podium.first .rank-tag {
  background: linear-gradient(135deg, #f0c14b, #ffdf7b);
  box-shadow: 0 2px 8px rgba(240, 193, 75, 0.4);
}

.podium.first .prize-box {
  background: rgba(240, 193, 75, 0.15);
  color: #ffdf7b;
  border-color: rgba(240, 193, 75, 0.3);
}

.podium.second {
  margin-top: 20px;
  border: 1px solid #7c81b5;
  background: linear-gradient(180deg, rgba(124, 129, 181, 0.15) 0%, rgba(21, 21, 30, 0.8) 100%);
}

.podium.second::before {
  background: linear-gradient(90deg, #7c81b5, #9a9fd1, #7c81b5);
}

.podium.second .img-bg {
  border-color: #9a9fd1;
  box-shadow: 0 4px 20px rgba(124, 129, 181, 0.4);
}

.podium.second .ign {
  color: #9a9fd1;
}

.podium.second .rank-tag {
  background: linear-gradient(135deg, #7c81b5, #9a9fd1);
  box-shadow: 0 2px 8px rgba(124, 129, 181, 0.4);
}

.podium.second .prize-box {
  background: rgba(124, 129, 181, 0.15);
  color: #9a9fd1;
  border-color: rgba(124, 129, 181, 0.3);
}

.podium.third {
  margin-top: 20px;
  border: 1px solid #5bc0eb;
  background: linear-gradient(180deg, rgba(91, 192, 235, 0.15) 0%, rgba(21, 21, 30, 0.8) 100%);
}

.podium.third::before {
  background: linear-gradient(90deg, #5bc0eb, #8fd3f4, #5bc0eb);
}

.podium.third .img-bg {
  border-color: #8fd3f4;
  box-shadow: 0 4px 20px rgba(91, 192, 235, 0.4);
}

.podium.third .ign {
  color: #8fd3f4;
}

.podium.third .rank-tag {
  background: linear-gradient(135deg, #5bc0eb, #8fd3f4);
  box-shadow: 0 2px 8px rgba(91, 192, 235, 0.4);
}

.podium.third .prize-box {
  background: rgba(91, 192, 235, 0.15);
  color: #8fd3f4;
  border-color: rgba(91, 192, 235, 0.3);
}

.podium-img {
  width: 100px;
  height: 100px;
  margin-bottom: 1rem;
  position: relative;
}

.img-bg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 3px solid var(--accent-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.podium:hover .img-bg {
  transform: scale(1.05);
}

.ign {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.podium.first .ign {
  font-size: 1.4rem;
}

.stats {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 0.75rem;
  gap: 1rem;
}

.stat-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
}

.stat-group span {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.stat-group strong {
  color: var(--text-main);
  font-weight: 600;
  font-size: 1rem;
}

.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--card-border), transparent);
  margin: 0.75rem 0;
}

.bottom-info {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.rank-tag {
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 40px;
  text-align: center;
}

.prize-box {
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid;
}

.leaderboard-full {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.leaderboard-header {
  display: grid;
  grid-template-columns: 80px 2fr 1fr 1fr;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(21, 21, 30, 0.9) 0%, rgba(21, 21, 30, 0.7) 100%);
  border-bottom: 1px solid var(--card-border);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-tertiary);
  font-weight: 600;
  letter-spacing: 1px;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 80px 2fr 1fr 1fr;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--card-border);
  align-items: center;
  transition: all 0.2s ease;
  position: relative;
}

.leaderboard-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.leaderboard-row.you {
  background: linear-gradient(90deg, rgba(124, 129, 181, 0.15) 0%, rgba(124, 129, 181, 0.1) 100%);
  border-left: 3px solid var(--accent);
}

.leaderboard-row.you::after {
  content: 'YOU';
  position: absolute;
  right: 1.5rem;
  background: var(--accent);
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
}

.leaderboard-rank {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
}

.leaderboard-rank::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  background: var(--text-tertiary);
}

.leaderboard-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.leaderboard-avatar {
  width: 36px;
  height: 36px;
  border-radius: 5px;
  /* background: var(--accent); */
  display: flex;
  align-items: center;
  justify-content: center;
  /* border: 2px solid var(--accent-light); */
}

.leaderboard-avatar i {
  font-size: 1rem;
  color: white;
}

.leaderboard-name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-main);
}

.leaderboard-row.you .leaderboard-name {
  font-weight: 600;
  color: var(--accent-light);
}

.leaderboard-wagered {
  font-size: 1rem;
  color: #f0c14b;
  font-weight: 600;
}

.leaderboard-prize {
  font-size: 1rem;
  color: var(--accent-light);
  font-weight: 600;
}

/* Podium place animations */
@keyframes glow {
  0% { box-shadow: 0 0 5px rgba(240, 193, 75, 0.5); }
  50% { box-shadow: 0 0 20px rgba(240, 193, 75, 0.8); }
  100% { box-shadow: 0 0 5px rgba(240, 193, 75, 0.5); }
}

.podium.first {
  animation: glow 3s infinite ease-in-out;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .leaderboard-top {
    gap: 1.5rem;
  }
  
  .podium {
    width: 240px;
  }
}

@media (max-width: 992px) {
  .leaderboard-top {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .podium {
    width: 100%;
    max-width: 400px;
  }

  .podium.first {
    transform: scale(1);
    margin-top: 0;
    order: 1;
  }

  .podium.second {
    margin-top: 0;
    order: 2;
  }

  .podium.third {
    margin-top: 0;
    order: 3;
  }

  .leaderboard-header,
  .leaderboard-row {
    grid-template-columns: 70px 1.5fr 1fr 1fr;
    padding: 1rem;
  }
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  flex-wrap: wrap; /* Mobile-friendly */
}

.page-title {
  display: flex;
  align-items: center;
  gap: 15px;
}

.page-title i {
  font-size: 24px;
  color: white;
}

.title-group h1 {
  font-size: 24px;
  color: white;
  margin: 0;
}

.title-group p {
  font-size: 14px;
  color: #aaa;
  margin: 4px 0 0;
}

.countdown-timer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.countdown-segment {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  font-family: 'Inter', sans-serif;
}

.countdown-value {
  font-size: 24px;
  font-weight: bold;
}

.countdown-label {
  font-size: 12px;
  color: #aaa;
}

@media (max-width: 576px) {
  .filter-btn span{
    display: none;
  }

  .leaderboard-header,
  .leaderboard-row {
    grid-template-columns: 55px 3fr 2fr 1fr;
    padding: 0.5rem;
    font-size: 0.8rem; /* smaller font for mobile */
  }

  .leaderboard-row.you::after{
    display: none;
  }

  .leaderboard-header div:nth-child(3),
  .leaderboard-row .leaderboard-wagered {
    width: 25px;
  }

  .leaderboard-row .leaderboard-user {
    width: 25px;
  }
  
  .leaderboard-avatar {
    width: 30px;
    height: 30px;
  }
  
  .leaderboard-name, 
  .leaderboard-wagered, 
  .leaderboard-prize {
    font-size: 0.8rem; /* smaller font for mobile */
  }

  .leaderboard-name{
    text-wrap: nowrap;
  }
  
  .podium-img {
    width: 80px;
    height: 80px;
  }
  
  .ign {
    font-size: 1.1rem;
  }
  
  .podium.first .ign {
    font-size: 1.2rem;
  }
}
    /* Giveaways Grid */
    .giveaways-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 1.5rem;
    }

    .giveaway-card {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: 8px;
      overflow: hidden;
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .giveaway-card:hover {
      transform: translateY(-5px);
      border-color: var(--accent);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .giveaway-highlight {
      background: var(--highlight);
      color: white;
      padding: 0.75rem 1rem;
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .giveaway-highlight .value {
      font-size: 1.25rem;
    }

    .giveaway-image {
      width: 100%;
      height: 160px;
      background: rgba(21, 21, 30, 0.5);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-tertiary);
      font-size: 2rem;
      position: relative;
    }

    .giveaway-badge {
      position: absolute;
      top: 0.75rem;
      left: 0.75rem;
      background: var(--accent-dark);
      color: white;
      padding: 0.25rem 0.5rem;
      border-radius: 4px;
      font-size: 0.75rem;
      font-weight: 600;
    }

    .giveaway-content {
      padding: 1.25rem;
    }

    .giveaway-title {
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 0.75rem;
    }

    .giveaway-meta {
      display: flex;
      justify-content: space-between;
      margin-bottom: 1.25rem;
    }

    .giveaway-entries {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.85rem;
      color: var(--text-secondary);
    }

    .giveaway-timer {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.85rem;
      color: var(--text-secondary);
    }

    .giveaway-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .giveaway-cost {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      background: rgba(21, 21, 30, 0.7);
      padding: 0.5rem 0.75rem;
      border-radius: 6px;
      font-size: 0.9rem;
    }

    .giveaway-cost i {
      color: #f0c14b;
    }

    .join-btn {
      padding: 0.6rem 1.5rem;
      background: var(--accent);
      color: white;
      border: none;
      border-radius: 6px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .join-btn:hover {
      background: var(--accent-light);
      transform: translateY(-2px);
    }

    .join-btn:disabled {
      background: var(--text-tertiary);
      cursor: not-allowed;
      transform: none;
    }

    /* Empty State */
    .empty-state {
      grid-column: 1 / -1;
      text-align: center;
      padding: 3rem;
      color: var(--text-secondary);
    }

    .empty-icon {
      font-size: 3rem;
      margin-bottom: 1rem;
      color: var(--text-tertiary);
    }

    /* Responsive */
    @media (max-width: 1200px) {
      /* .sidebar {
        width: 240px;
        padding: 1.5rem 1rem;
      } */
      .main {
        margin-left: 240px;
        width: calc(100% - 240px);
        padding: 2rem;
      }
    }

    @media (max-width: 992px) {
      .giveaways-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      /* .sidebar {
        width: 100%;
        position: static;
        height: auto;
        flex-direction: row;
        padding: 1rem;
        gap: 1.5rem;
        overflow-x: auto;
        margin-top: 60px;
      } */
      /* .nav-section {
        flex-direction: row;
        align-items: center;
      }
      .nav-section-title {
        display: none;
      } */
      .main {
        margin-left: 0;
        width: 100%;
        padding: 1.5rem;
      }
      .top-nav {
        padding: 0 1rem;
      }
    }

    @media (max-width: 576px) {
      .giveaways-grid {
        grid-template-columns: 1fr;
      }
      .user-actions {
        gap: 0.75rem;
      }
      /* .balance span {
        display: none;
      }
      .balance {
        padding: 0.6rem;
      } */
    }

    /* Hamburger menu button */
.hamburger {
  display: none;
  position: fixed;
  top: 14px;
  left: 18px;
  z-index: 200;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Hamburger open animation */
.hamburger.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Responsive sidebar */
@media (max-width: 768px) {
  .sidebar {
    left: -280px;
    transition: left 0.3s cubic-bezier(.4,0,.2,1);
    width: 240px;
    margin-top: 0;
    height: 100vh;
    top: 0;
    padding-top: 70px;
    z-index: 150;
    overflow-y: auto;
  }
  .sidebar.open {
    left: 0;
    box-shadow: 2px 0 16px rgba(0,0,0,0.4);
  }
  .main {
    margin-left: 0;
    width: 100%;
    padding: 1.5rem;
  }
  .top-nav {
    padding: 0 1rem;
  }
  .hamburger {
    display: flex;
  }
  body.sidebar-open {
    overflow: hidden;
  }
}

/* Overlay for sidebar on mobile */
.sidebar-overlay {
  display: none;
}
@media (max-width: 768px) {
  .sidebar-overlay {
    display: none;
    position: fixed;
    z-index: 140;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.45);
    transition: opacity 0.2s;
    opacity: 0;
    pointer-events: none;
  }
  .sidebar-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }
}