:root {
  --mako-50: #f6f7f9;
  --mako-100: #edeef1;
  --mako-200: #d7dae0;
  --mako-300: #b3bac6;
  --mako-400: #8a94a6;
  --mako-500: #6b778c;
  --mako-600: #565f73;
  --mako-700: #464d5e;
  --mako-800: #3e4451;
  --mako-900: #363a44;
  --mako-950: #24262d;

  --bg-primary: var(--mako-950);
  --bg-secondary: var(--mako-900);
  --text-primary: var(--mako-50);
  --inactive: var(--mako-700);
  --accent: var(--mako-500);
}

/* === RESPONSIVE DESIGN === */

/* === Large Tablets and Small Desktops === */
@media (max-width: 1200px) {
  main {
    max-width: 95%;
    padding: 1.5rem;
  }
  
  .admin-container {
    max-width: 95%;
    padding: 1.5rem;
  }
}

/* === Tablets === */
@media (max-width: 900px) {
  .logo-title {
    padding: 1rem;
  }
  
  nav ul {
    padding: 0.5rem 1rem;
    gap: 1rem;
  }
  
  main {
    margin: 1.5rem auto 0 auto;
    padding: 1.5rem;
  }
  
  .featured-cards {
    justify-content: center;
  }
  
  .featured-cards .card {
    width: 100%;
    max-width: 320px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1.2rem;
    padding: 1rem;
  }
  
  .footer-social {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 1rem !important;
  }
  
  .admin-container {
    padding: 1rem;
  }
  
  .shop-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .tab-nav {
    flex-direction: column;
    align-items: center;
  }
  
  .shop-filter,
  .ingame-filter {
    flex-direction: column;
    align-items: center;
  }
  
  #game-select {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .support-options {
    flex-direction: column;
    align-items: center;
  }
  
  .support-card.mail-support-panel {
    min-width: auto;
    max-width: 100%;
  }
}

/* === Mobile Phones === */
@media (max-width: 600px) {
  header h1 {
    font-size: 1.2rem;
  }
  
  .logo-title {
    padding: 0.7rem;
    gap: 0.5rem;
  }
  
  .main-logo {
    height: 36px;
    width: 36px;
  }
  
  nav ul {
    flex-wrap: wrap;
    gap: 0.7rem;
    padding: 0.5rem 0.7rem;
  }
  
  nav a {
    font-size: 1rem;
    padding: 0.4rem 0.8rem;
  }
  
  main {
    margin: 1rem auto 0 auto;
    padding: 1rem;
    border-radius: 8px;
  }
  
  .hero h2 {
    font-size: 1.5rem;
  }
  
  .hero-img {
    width: 80px;
    height: 80px;
  }
  
  .featured-cards {
    gap: 1rem;
  }
  
  .featured-cards .card {
    width: 100%;
    padding: 1rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 0.7rem;
    padding: 0.7rem;
  }
  
  .footer-logo img {
    height: 32px;
    width: 32px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  
  .footer-social {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 1rem !important;
  }
  
  .admin-container {
    padding: 0.5rem;
  }
  
  .admin-header {
    padding: 1rem;
  }
  
  .admin-tabs {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .shop-grid {
    grid-template-columns: 1fr;
  }
  
  #account-popup {
    right: 10px;
    top: 70px;
    min-width: 240px;
    padding: 1.5rem 2rem 1.2rem 2rem;
  }
  
  .support-card {
    width: 100%;
    max-width: 300px;
  }
  
  .tab-nav {
    gap: 0.5rem;
  }
  
  .tab-btn {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }
  
  .news-card {
    width: 100%;
    max-width: 300px;
  }
  
  .news-filter {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

/* === Very Small Phones === */
@media (max-width: 400px) {
  .logo-title h1 {
    font-size: 1rem;
  }
  
  main {
    padding: 0.7rem;
  }
  
  .hero h2 {
    font-size: 1.3rem;
  }
  
  .featured-cards .card {
    padding: 0.8rem;
  }
  
  .support-card {
    padding: 1.5rem 1rem;
  }
  
  #account-popup {
    right: 5px;
    left: 5px;
    min-width: auto;
    max-width: none;
  }
}

/* === Animations === */
@keyframes tab-fadein {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-section {
  animation: tab-fadein 0.3s ease-in-out;
}