/* ============================================
   style.css – GameVaults.pro
   Theme: Dark (#0a0c12) / Accent: #ff6b35
   Responsive – Mobile, Tablet, Desktop
   ============================================ */

/* ----- Reset & Base ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
    background-color: #0a0c12;
    color: #e8edf5;
    line-height: 1.6;
  }
  
  a {
    color: #ff6b35;
    text-decoration: none;
    transition: color 0.2s;
  }
  a:hover {
    color: #ff8a5c;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
  }
  
  /* ----- Header / Navigation ----- */
  header {
    background: #0f121a;
    border-bottom: 2px solid #ff6b35;
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
  }
  .logo span {
    color: #ff6b35;
  }
  
  /* Burger button */
  .burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
  }
  .burger span {
    display: block;
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
  }
  .burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  .burger.active span:nth-child(2) {
    opacity: 0;
  }
  .burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  
  /* Navigation menu */
  #mainNav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
  }
  #mainNav ul li a {
    color: #c0c8d6;
    font-weight: 500;
    padding: 0.4rem 0;
    border-bottom: 2px solid transparent;
    transition: 0.2s;
  }
  #mainNav ul li a:hover {
    color: #fff;
    border-bottom-color: #ff6b35;
  }
  
  /* ----- Buttons ----- */
  .btn {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    border-radius: 4px;
    font-weight: 600;
    transition: 0.25s;
    border: none;
    cursor: pointer;
  }
  .btn-primary {
    background: #ff6b35;
    color: #0a0c12;
  }
  .btn-primary:hover {
    background: #e85a2a;
    color: #fff;
  }
  .btn-secondary {
    background: transparent;
    color: #ff6b35;
    border: 2px solid #ff6b35;
  }
  .btn-secondary:hover {
    background: #ff6b35;
    color: #0a0c12;
  }
  
  /* ----- Hero Section ----- */
  .hero {
    padding: 3rem 0 2rem;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
  }
  .hero-text h1 {
    font-size: 2.6rem;
    margin-bottom: 0.5rem;
    color: #fff;
  }
  .hero-text h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #ff6b35;
    margin-top: 0.5rem;
  }
  .hero-meta {
    color: #ff6b35;
    font-weight: 500;
    margin-bottom: 1.2rem;
  }
  .hero-content p {
    margin-bottom: 1rem;
  }
  .hero-cta {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }
  .hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid #ff6b35;
  }
  .img-credit {
    font-size: 0.75rem;
    color: #6a7a8a;
    text-align: right;
    margin-top: 0.3rem;
  }
  
  /* ----- News Section ----- */
  .news {
    padding: 3rem 0;
  }
  .news h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: #fff;
  }
  .news h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #ff6b35;
    margin-top: 0.3rem;
  }
  .news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
    margin-bottom: 2.5rem;
  }
  .news-card {
    background: #141821;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #2a313c;
    transition: 0.2s;
  }
  .news-card:hover {
    border-color: #ff6b35;
  }
  .news-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
  }
  .news-card-body {
    padding: 1rem;
  }
  .news-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: #fff;
  }
  .news-date {
    font-size: 0.8rem;
    color: #ff6b35;
    margin-bottom: 0.5rem;
  }
  .news-summary {
    font-size: 0.95rem;
    color: #b0baca;
  }
  .read-more {
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: 600;
    color: #ff6b35;
  }
  .news-image-collage {
    margin-top: 1rem;
  }
  .news-image-collage img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #2a313c;
  }
  
  /* ----- Roadmap ----- */
  .roadmap {
    padding: 3rem 0;
    background: #0d1119;
  }
  .roadmap h2 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 1.5rem;
  }
  .roadmap h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #ff6b35;
    margin-top: 0.3rem;
  }
  .roadmap-content p {
    margin-bottom: 1rem;
  }
  .roadmap-list {
    list-style: none;
    margin: 1.2rem 0 1.5rem;
  }
  .roadmap-list li {
    background: #141821;
    padding: 1rem 1.5rem;
    margin-bottom: 0.8rem;
    border-left: 4px solid #ff6b35;
    border-radius: 4px;
  }
  
  /* ----- Events ----- */
  .events {
    padding: 3rem 0;
  }
  .events h2 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 0.5rem;
  }
  .events h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #ff6b35;
    margin-top: 0.3rem;
  }
  .events-intro {
    margin-bottom: 1.8rem;
  }
  .table-wrap {
    overflow-x: auto;
    margin: 1.5rem 0;
  }
  .event-table {
    width: 100%;
    border-collapse: collapse;
    background: #141821;
    border-radius: 8px;
    overflow: hidden;
  }
  .event-table th,
  .event-table td {
    padding: 0.9rem 1.2rem;
    text-align: left;
    border-bottom: 1px solid #2a313c;
  }
  .event-table th {
    background: #1a202c;
    color: #ff6b35;
    font-weight: 600;
  }
  .event-table tbody tr:hover {
    background: #1e2533;
  }
  .events-footer {
    margin-top: 1rem;
    color: #b0baca;
  }
  
  /* ----- Community ----- */
  .community {
    padding: 3rem 0;
    background: #0d1119;
  }
  .community h2 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 0.5rem;
  }
  .community h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #ff6b35;
    margin-top: 0.3rem;
  }
  .community-intro {
    margin-bottom: 1.8rem;
  }
  .community-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    margin: 1.5rem 0;
  }
  .community-card {
    background: #141821;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #ff6b35;
  }
  .community-card h3 {
    color: #fff;
    margin-bottom: 0.5rem;
  }
  .community-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #2a313c;
  }
  
  /* ----- Footer ----- */
  footer {
    background: #0b0e14;
    border-top: 2px solid #ff6b35;
    padding: 2.5rem 0 1rem;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
  }
  .footer-brand p {
    font-size: 1.5rem;
    font-weight: 700;
  }
  .footer-brand span {
    color: #ff6b35;
  }
  .footer-tagline {
    font-size: 0.9rem;
    color: #9aa7b7;
    margin: 0.5rem 0;
  }
  .footer-geo {
    font-size: 0.8rem;
    color: #6a7a8a;
  }
  .footer-links h4 {
    color: #fff;
    margin-bottom: 0.8rem;
  }
  .footer-links ul {
    list-style: none;
  }
  .footer-links ul li {
    margin-bottom: 0.5rem;
  }
  .footer-links ul li a {
    color: #b0baca;
  }
  .footer-links ul li a:hover {
    color: #ff6b35;
  }
  .footer-newsletter p {
    font-size: 0.9rem;
    color: #b0baca;
    margin: 0.5rem 0;
  }
  .newsletter-form {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  .newsletter-form input {
    flex: 1;
    min-width: 140px;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    border: 1px solid #2a313c;
    background: #0a0c12;
    color: #fff;
  }
  .newsletter-form input:focus {
    outline: 2px solid #ff6b35;
  }
  .newsletter-form .btn {
    padding: 0.6rem 1.5rem;
  }
  .footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #1a202c;
    font-size: 0.85rem;
    color: #6a7a8a;
  }
  
  /* ----- Responsive ----- */
  @media (max-width: 992px) {
    .hero-grid {
      grid-template-columns: 1fr;
    }
    .news-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .community-grid {
      grid-template-columns: 1fr 1fr;
    }
    .footer-grid {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  @media (max-width: 768px) {
    .burger {
      display: flex;
    }
    #mainNav {
      display: none;
      width: 100%;
      background: #0f121a;
      padding: 1rem 0;
      position: absolute;
      top: 100%;
      left: 0;
      border-top: 2px solid #ff6b35;
    }
    #mainNav.open {
      display: block;
    }
    #mainNav ul {
      flex-direction: column;
      align-items: center;
      gap: 1rem;
    }
    .hero-text h1 {
      font-size: 2rem;
    }
    .news-grid {
      grid-template-columns: 1fr;
    }
    .community-grid {
      grid-template-columns: 1fr;
    }
    .footer-grid {
      grid-template-columns: 1fr;
    }
    .event-table th,
    .event-table td {
      padding: 0.6rem 0.8rem;
      font-size: 0.9rem;
    }
  }
  
  @media (max-width: 480px) {
    .container {
      padding: 0 1rem;
    }
    .hero-cta {
      flex-direction: column;
      align-items: stretch;
    }
    .btn {
      text-align: center;
    }
    .newsletter-form {
      flex-direction: column;
    }
  }