*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  min-height: 100vh;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

table {
  border-collapse: collapse;
}

/* Header styles */
/* Base Styles and Variables */
  :root {
    --primary: #7928ca;
    --primary-dark: #5a1a9e;
    --secondary: #00d4ff;
    --dark: #111827;
    --darker: #0a0f1a;
    --light: #f3f4f6;
    --accent: #ff4d4d;
    --text: #e2e8f0;
    --text-muted: #9ca3af;
    --border-radius: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);
    --glow: 0 0 15px rgba(121, 40, 202, 0.5);
  }

  /* Reset */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  /* Header Base */
  .game-header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(121, 40, 202, 0.3);
  }

  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
  }

  /* Logo Styles */
  .logo-container {
    display: flex;
    align-items: center;
  }

  .logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--light);
    font-weight: 800;
    font-size: 18px;
    border-radius: 8px;
    box-shadow: var(--glow);
    position: relative;
    overflow: hidden;
  }

  .logo-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
  }

  .logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--light);
    letter-spacing: 0.5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  /* Header Layout Sections */
  .header-left, .header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  /* Desktop Navigation */
  .desktop-nav {
    display: none;
  }

  @media (min-width: 1024px) {
    .desktop-nav {
      display: block;
      margin-left: 2rem;
    }

    .header-container {
      display: grid;
      grid-template-columns: auto 1fr auto;
      gap: 1rem;
      padding: 0.75rem 2rem;
    }
  }

  .nav-list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
  }

  .nav-item {
    position: relative;
  }

  .nav-link {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    border-radius: var(--border-radius);
    position: relative;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: var(--transition);
    transform: translateX(-50%);
    opacity: 0;
  }

  .nav-link:hover {
    color: var(--light);
  }

  .nav-link:hover::after {
    width: 70%;
    opacity: 1;
  }

  .nav-item.active .nav-link {
    color: var(--light);
    font-weight: 600;
  }

  .nav-item.active .nav-link::after {
    width: 70%;
    opacity: 1;
  }

  /* Search and User Actions */
  .search-container {
    position: relative;
  }

  .search-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: var(--transition);
  }

  .search-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  .search-icon {
    fill: var(--text-muted);
    transition: var(--transition);
  }

  .search-toggle:hover .search-icon {
    fill: var(--light);
  }

  .user-actions {
    display: flex;
    align-items: center;
  }

  .action-button {
    display: none;
  }

  @media (min-width: 768px) {
    .action-button {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0.5rem 1rem;
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
      color: var(--light);
      font-weight: 600;
      border-radius: var(--border-radius);
      text-decoration: none;
      transition: var(--transition);
      border: none;
      cursor: pointer;
      font-size: 0.875rem;
      box-shadow: var(--shadow-sm);
    }

    .action-button:hover {
      box-shadow: var(--glow);
      transform: translateY(-2px);
    }
  }

  /* Mobile Toggle Button */
  .mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
  }

  @media (min-width: 1024px) {
    .mobile-toggle {
      display: none;
    }
  }

  .toggle-line {
    width: 100%;
    height: 2px;
    background-color: var(--text);
    transition: var(--transition);
    border-radius: 2px;
  }

  /* Mobile Menu */
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--darker);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
  }

  .mobile-menu.active {
    transform: translateX(0);
  }

  .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .close-menu {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: var(--transition);
  }

  .close-menu svg {
    fill: var(--text-muted);
    transition: var(--transition);
  }

  .close-menu:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  .close-menu:hover svg {
    fill: var(--light);
  }

  .mobile-nav {
    padding: 1.5rem;
  }

  .mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .mobile-nav-link {
    display: block;
    padding: 1rem;
    color: var(--text);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: var(--transition);
  }

  .mobile-nav-item.active .mobile-nav-link {
    background: linear-gradient(135deg, rgba(121, 40, 202, 0.2) 0%, rgba(0, 212, 255, 0.1) 100%);
    color: var(--light);
    font-weight: 600;
    border-left: 3px solid var(--primary);
  }

  .mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .mobile-actions {
    margin-top: auto;
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-action-button {
    display: block;
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--light);
    text-align: center;
    font-weight: 600;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
  }

  .mobile-action-button:hover {
    box-shadow: var(--glow);
  }

  /* Media Queries for Responsive Design */
  @media (min-width: 768px) {
    .header-container {
      padding: 0.75rem 2rem;
    }
    
    .logo-text {
      font-size: 1.5rem;
    }
  }

  @media (min-width: 1200px) {
    .nav-list {
      gap: 1rem;
    }
    
    .nav-link {
      font-size: 1rem;
      padding: 0.5rem 1rem;
    }
  }

/* Footer styles */
/* Base Footer Styles */
  .footer-main {
    width: 100%;
    background: linear-gradient(135deg, #1a1e2c 0%, #0d1117 100%);
    color: #b3c5ef;
    font-family: 'Exo 2', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.3);
  }

  .footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #4e7cff, #ff5e7a, transparent);
  }

  .footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    position: relative;
  }

  /* Section Styles */
  .footer-section {
    position: relative;
  }

  .footer-section-primary {
    border-left: 3px solid rgba(78, 124, 255, 0.5);
    padding-left: 1.5rem;
  }

  .footer-section-secondary {
    border-left: 3px solid rgba(255, 94, 122, 0.5);
    padding-left: 1.5rem;
  }

  .footer-section-tertiary {
    border-left: 3px solid rgba(111, 76, 255, 0.5);
    padding-left: 1.5rem;
  }

  .footer-section-quaternary {
    border-left: 3px solid rgba(255, 162, 58, 0.5);
    padding-left: 1.5rem;
  }

  /* Headings */
  .footer-heading {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1.25rem;
    color: #ffffff;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 0.75rem;
  }

  .footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3rem;
    height: 3px;
    background: linear-gradient(90deg, #4e7cff, transparent);
    border-radius: 2px;
  }

  .footer-section-secondary .footer-heading::after {
    background: linear-gradient(90deg, #ff5e7a, transparent);
  }

  .footer-section-tertiary .footer-heading::after {
    background: linear-gradient(90deg, #6f4cff, transparent);
  }

  .footer-section-quaternary .footer-heading::after {
    background: linear-gradient(90deg, #ffa23a, transparent);
  }

  /* Navigation List */
  .footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-nav-item {
    margin-bottom: 0.85rem;
    transition: transform 0.2s ease;
  }

  .footer-nav-item:hover {
    transform: translateX(5px);
  }

  .footer-link {
    color: #b3c5ef;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    display: inline-block;
    position: relative;
  }

  .footer-link:hover {
    color: #ffffff;
  }

  .footer-link::before {
    content: '>';
    color: #4e7cff;
    margin-right: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .footer-link:hover::before {
    opacity: 1;
    transform: translateX(2px);
  }

  /* Tags */
  .footer-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .footer-tag {
    background: rgba(78, 124, 255, 0.1);
    color: #b3c5ef;
    padding: 0.35rem 0.75rem;
    border-radius: 3px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    border: 1px solid rgba(78, 124, 255, 0.2);
    cursor: pointer;
  }

  .footer-tag:hover {
    background: rgba(78, 124, 255, 0.2);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  }

  /* Social Links */
  .footer-social-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .footer-social-link {
    display: flex;
    align-items: center;
    color: #b3c5ef;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 0.5rem;
    border-radius: 4px;
    background: rgba(13, 17, 23, 0.3);
  }

  .footer-social-link i {
    font-size: 1.1rem;
    margin-right: 0.75rem;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(111, 76, 255, 0.15);
    transition: all 0.2s ease;
  }

  .footer-social-link:hover {
    color: #ffffff;
    background: rgba(13, 17, 23, 0.5);
    transform: translateY(-3px);
  }

  .footer-social-link:hover i {
    background: rgba(111, 76, 255, 0.3);
  }

  .footer-social-name {
    font-size: 0.9rem;
  }

  /* Newsletter */
  .footer-newsletter-desc {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
  }

  .footer-newsletter-form {
    display: flex;
    margin-top: 1rem;
  }

  .footer-newsletter-input {
    flex: 1;
    background: rgba(13, 17, 23, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 4px 0 0 4px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.2s ease;
  }

  .footer-newsletter-input:focus {
    outline: none;
    border-color: rgba(255, 162, 58, 0.5);
    background: rgba(13, 17, 23, 0.7);
  }

  .footer-newsletter-button {
    background: linear-gradient(135deg, #ffa23a, #ff5e7a);
    color: #ffffff;
    border: none;
    padding: 0 1.25rem;
    border-radius: 0 4px 4px 0;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .footer-newsletter-button:hover {
    background: linear-gradient(135deg, #ff9021, #ff4565);
    box-shadow: 0 0 15px rgba(255, 94, 122, 0.4);
  }

  /* Footer Bottom */
  .footer-bottom {
    background: rgba(10, 13, 18, 0.7);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  .footer-bottom-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    align-items: center;
  }

  /* Legal Links */
  .footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .footer-legal-link {
    color: #8a9cc5;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    position: relative;
  }

  .footer-legal-link:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: #4e7cff;
    transition: width 0.2s ease;
  }

  .footer-legal-link:hover {
    color: #ffffff;
  }

  .footer-legal-link:hover:after {
    width: 100%;
  }

  /* Contact */
  .footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-contact-item {
    display: flex;
    align-items: center;
    margin: 0;
    font-size: 0.9rem;
  }

  .footer-contact-item i {
    color: #4e7cff;
    margin-right: 0.75rem;
    font-size: 1rem;
  }

  /* Copyright */
  .footer-copyright {
    text-align: right;
  }

  .footer-copyright-text {
    margin: 0;
    font-size: 0.9rem;
    color: #ffffff;
  }

  .footer-copyright-desc {
    margin: 0.5rem 0 0;
    font-size: 0.85rem;
    color: #8a9cc5;
  }

  /* Responsive Styles */
  @media (max-width: 1024px) {
    .footer-container {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-copyright {
      text-align: left;
    }
  }

  @media (max-width: 768px) {
    .footer-container {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
    
    .footer-bottom-container {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
    
    .footer-legal, .footer-contact, .footer-copyright {
      text-align: center;
      justify-content: center;
    }
    
    .footer-contact-item {
      justify-content: center;
    }
    
    .footer-social-container {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  @media (max-width: 480px) {
    .footer-social-container {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-newsletter-form {
      flex-direction: column;
    }
    
    .footer-newsletter-input {
      border-radius: 4px;
      margin-bottom: 0.75rem;
    }
    
    .footer-newsletter-button {
      border-radius: 4px;
      padding: 0.75rem;
    }
    
    .footer-legal {
      flex-direction: column;
      gap: 1rem;
    }
  }

/* Cookie Banner styles */
#gamer-cookie-consent {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background-color: #1a1a2e !important;
    color: #e6e6e6;
    z-index: 9999 !important;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3) !important;
    font-family: 'Roboto', 'Open Sans', sans-serif;
  }

  .cookie-notice-container {
    max-width: 1200px !important;
    margin: 0 auto;
    padding: 20px !important;
  }

  .cookie-notice-text {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px !important;
  }

  .cookie-buttons-wrapper {
    display: flex !important;
    gap: 15px;
    justify-content: flex-end;
  }

  .cookie-btn {
    padding: 10px 20px !important;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-transform: uppercase;
  }

  .cookie-btn-reject {
    background-color: #3a3a4c !important;
    color: #ffffff;
  }

  .cookie-btn-reject:hover {
    background-color: #4a4a5c !important;
  }

  .cookie-btn-accept {
    background-color: #ff3e4d !important;
    color: #ffffff;
  }

  .cookie-btn-accept:hover {
    background-color: #ff5c69 !important;
  }

  @media (max-width: 768px) {
    .cookie-notice-container {
      padding: 15px !important;
    }

    .cookie-notice-text {
      font-size: 14px;
    }

    .cookie-buttons-wrapper {
      flex-direction: column;
    }

    .cookie-btn {
      width: 100% !important;
      margin-bottom: 10px !important;
    }
  }