

   a {
      color: var(--text-primary);
      text-decoration: none;
      transition: all 0.3s ease;
    }

.logo{
    font-size: 26px;


}
 :root {
      --primary: #7928CA;
      --primary-light: #8A2BE2;
      --secondary: #FF0080;
      --accent: #0070F3;
      --background: #0F172A;
      --surface: #1E293B;
      --text-primary: #F8FAFC;
      --text-secondary: #CBD5E1;
      --text-muted: #94A3B8;
      --border: #334155;
      --success: #10B981;
      --warning: #F59E0B;
      --danger: #EF4444;
      --glow-primary: 0 0 15px rgba(121, 40, 202, 0.5);
      --glow-secondary: 0 0 15px rgba(255, 0, 128, 0.5);
    }

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container .trending-grid img{
height: 212px;

}



.container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1rem;
    }

    /* Header Styles */
    .header {
      background: linear-gradient(135deg, var(--surface) 0%, rgba(121, 40, 202, 0.1) 100%);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border);
      /* position: sticky; */
      top: 0;
      z-index: 1000;
      transition: all 0.3s ease;
    }

    .header-content {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1rem 0;
    }

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

    .logo img {
      width: 50px;
      height: 50px;
      border-radius: 8px;
      box-shadow: var(--glow-primary);
    }

    .logo-text {
      font-family: 'Orbitron', sans-serif;
      font-size: 1.5rem;
      font-weight: 700;
      background: linear-gradient(90deg, var(--text-primary), var(--secondary));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    /* Navigation */
    .nav {
      display: none;
      align-items: center;
      gap: 2rem;
    }

    .nav-link {
      font-family: 'Orbitron', sans-serif;
      font-size: 0.9rem;
      font-weight: 500;
      position: relative;
      padding: 0.5rem 0;
    }

    .nav-link::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--primary), var(--secondary));
      transition: width 0.3s ease;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
      width: 100%;
    }

    .nav-link:hover {
      color: var(--secondary);
      text-shadow: var(--glow-secondary);
    }

    /* Search Bar */
    .search-container {
      position: relative;
    }

    .search-input {
      background-color: rgba(30, 41, 59, 0.8);
      border: 1px solid var(--border);
      border-radius: 25px;
      padding: 0.5rem 1rem 0.5rem 2.5rem;
      color: var(--text-primary);
      font-size: 0.9rem;
      width: 200px;
      transition: all 0.3s ease;
    }

    .search-input:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: var(--glow-primary);
      width: 250px;
    }

    .search-icon {
      position: absolute;
      left: 0.8rem;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-muted);
    }

    /* Mobile Menu */
    .mobile-menu-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 8px;
      background-color: rgba(30, 41, 59, 0.8);
      border: 1px solid var(--border);
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .mobile-menu-btn:hover {
      background-color: var(--primary);
      box-shadow: var(--glow-primary);
    }

    .mobile-menu {
      position: fixed;
      top: 0;
      right: -100%;
      width: 80%;
      height: 100vh;
      background: linear-gradient(180deg, var(--surface) 0%, var(--background) 100%);
      backdrop-filter: blur(10px);
      border-left: 1px solid var(--border);
      z-index: 2000;
      transition: right 0.3s ease;
      padding: 2rem;
    }

    .mobile-menu.active {
      right: 0;
    }

    .mobile-menu-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 2rem;
    }

    .mobile-menu-close {
      width: 35px;
      height: 35px;
      border-radius: 8px;
      background-color: rgba(30, 41, 59, 0.8);
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .mobile-menu-close:hover {
      background-color: var(--danger);
      box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
    }

    .mobile-nav {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .mobile-nav-link {
      font-family: 'Orbitron', sans-serif;
      font-size: 1.1rem;
      font-weight: 500;
      padding: 1rem;
      border-radius: 8px;
      background-color: rgba(30, 41, 59, 0.5);
      border: 1px solid var(--border);
      transition: all 0.3s ease;
    }

    .mobile-nav-link:hover {
      background-color: var(--primary);
      box-shadow: var(--glow-primary);
      transform: translateX(5px);
    }

    /* Hero Section */
    .hero {
      padding: 4rem 0;
      background: linear-gradient(135deg, rgba(121, 40, 202, 0.1) 0%, rgba(255, 0, 128, 0.1) 100%);
      position: relative;
      overflow: hidden;
    }

    .hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%237928CA" opacity="0.1"/></svg>');
      animation: float 20s ease-in-out infinite;
    }

    @keyframes float {
      0%, 100% { transform: translateY(0px); }
      50% { transform: translateY(-20px); }
    }

    .hero-content {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 2rem;
    }

    .hero-title {
      font-size: 3rem;
      font-weight: 700;
      background: linear-gradient(90deg, var(--text-primary), var(--secondary));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    }

    .hero-subtitle {
      font-size: 1.2rem;
      color: var(--text-secondary);
      max-width: 600px;
    }

    .hero-buttons {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      justify-content: center;
    }

    .btn {
      padding: 0.8rem 1.5rem;
      border-radius: 25px;
      font-family: 'Orbitron', sans-serif;
      font-weight: 500;
      font-size: 0.9rem;
      cursor: pointer;
      transition: all 0.3s ease;
      border: none;
      position: relative;
      overflow: hidden;
    }

    .btn-primary {
      background: linear-gradient(90deg, var(--primary), var(--secondary));
      color: var(--text-primary);
      box-shadow: var(--glow-primary);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 0 20px rgba(121, 40, 202, 0.7);
    }

    .btn-secondary {
      background-color: rgba(30, 41, 59, 0.8);
      color: var(--text-primary);
      border: 1px solid var(--border);
    }

    .btn-secondary:hover {
      background-color: var(--surface);
      border-color: var(--primary);
      box-shadow: var(--glow-primary);
    }

    /* Game Categories */
    .categories {
      padding: 4rem 0;
    }

    .section-title {
      font-size: 2.5rem;
      text-align: center;
      margin-bottom: 3rem;
      background: linear-gradient(90deg, var(--text-primary), var(--secondary));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .categories-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1.5rem;
    }

    .category-card {
      background: linear-gradient(135deg, var(--surface) 0%, rgba(121, 40, 202, 0.1) 100%);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 2rem;
      text-align: center;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .category-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: linear-gradient(90deg, var(--primary), var(--secondary));
      transform: scaleX(0);
      transition: transform 0.3s ease;
    }

    .category-card:hover::before {
      transform: scaleX(1);
    }

    .category-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(121, 40, 202, 0.2);
      border-color: var(--primary);
    }

    .category-icon {
      width: 60px;
      height: 60px;
      margin: 0 auto 1rem;
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      box-shadow: var(--glow-primary);
    }

    .category-title {
      font-size: 1.2rem;
      margin-bottom: 0.5rem;
    }

    .category-count {
      color: var(--text-muted);
      font-size: 0.9rem;
    }

    /* Featured Games */
    .featured-games {
      padding: 4rem 0;
      background: linear-gradient(135deg, rgba(255, 0, 128, 0.05) 0%, rgba(121, 40, 202, 0.05) 100%);
    }

    .games-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 2rem;
    }

    .game-card {
      background: linear-gradient(135deg, var(--surface) 0%, rgba(121, 40, 202, 0.1) 100%);
      border: 1px solid var(--border);
      border-radius: 12px;
      overflow: hidden;
      transition: all 0.3s ease;
      position: relative;
    }

    .game-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(121, 40, 202, 0.2);
      border-color: var(--primary);
    }

    .game-image {
      width: 100%;
      height: 180px;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .game-card:hover .game-image {
      transform: scale(1.05);
    }

    .game-content {
      padding: 1.5rem;
    }

    .game-title {
      font-size: 1.1rem;
      margin-bottom: 0.5rem;
    }

    .game-description {
      color: var(--text-muted);
      font-size: 0.9rem;
      margin-bottom: 1rem;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .game-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    .game-category {
      background-color: rgba(121, 40, 202, 0.2);
      color: var(--primary);
      padding: 0.2rem 0.8rem;
      border-radius: 12px;
      font-size: 0.8rem;
      font-weight: 500;
    }

    /* Trending Games */
    .trending-games {
      padding: 4rem 0;
    }

    .trending-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 1.5rem;
    }

    .trending-card {
      background: linear-gradient(135deg, var(--surface) 0%, rgba(121, 40, 202, 0.1) 100%);
      border: 1px solid var(--border);
      border-radius: 12px;
      overflow: hidden;
      transition: all 0.3s ease;
      position: relative;
    }

    .trending-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(121, 40, 202, 0.2);
      border-color: var(--primary);
    }

    .trending-image {
      width: 100%;
    
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .trending-card:hover .trending-image {
      transform: scale(1.05);
    }

    .trending-content {
      padding: 1rem;
    }

    .trending-title {
      font-size: 1rem;
      margin-bottom: 0.5rem;
      display: -webkit-box;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .trending-rank {
      position: absolute;
      top: 10px;
      left: 10px;
      background: linear-gradient(90deg, var(--primary), var(--secondary));
      color: var(--text-primary);
      width: 24px;
      height: 24px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.8rem;
      font-weight: 700;
      box-shadow: var(--glow-primary);
    }

    /* Footer */
    .footer {
      background: linear-gradient(135deg, var(--surface) 0%, rgba(121, 40, 202, 0.2) 100%);
      border-top: 1px solid var(--border);
      padding: 4rem 0 2rem;
    }

    .footer-content {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 3rem;
      margin-bottom: 2rem;
    }

    .footer-section h3 {
      font-size: 1.2rem;
      margin-bottom: 1rem;
      color: var(--secondary);
    }

    .footer-links {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .footer-link {
      color: var(--text-muted);
      transition: all 0.3s ease;
    }

    .footer-link:hover {
      color: var(--secondary);
      transform: translateX(5px);
    }

    .footer-bottom {
      border-top: 1px solid var(--border);
      padding-top: 2rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
    }

    .footer-social {
      display: flex;
      gap: 1rem;
    }

    .social-link {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: rgba(30, 41, 59, 0.8);
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
    }

    .social-link:hover {
      background-color: var(--primary);
      box-shadow: var(--glow-primary);
      transform: translateY(-3px);
    }

    .copyright {
      color: var(--text-muted);
      font-size: 0.9rem;
      text-align: center;
    }

    /* Responsive Design */
    @media (min-width: 768px) {
      .nav {
        display: flex;
      }

      .mobile-menu-btn {
        display: none;
      }

      .hero-title {
        font-size: 4rem;
      }

      .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
      }
    }

    @media (max-width: 767px) {
          .search-container {
        order: 3;
        width: 100%;
        margin-top: 0.5rem;
    }
      .hero-title {
        font-size: 2rem;
      }

      .hero-subtitle {
        font-size: 1rem;
      }

      .section-title {
        font-size: 2rem;
      }

      .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      }

      .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      }

      /* Header Responsive */
      .header-content {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.5rem 0;
      }

      .logo {
        order: 1;
        flex: 1;
      }

      .logo-text {
        font-size: 1.2rem;
      }

      .logo img {
        width: 40px;
        height: 40px;
      }

      .search-container {
        order: 3;
        width: 100%;
        margin-top: 0.5rem;
      }

      .search-input {
        width: 100%;
        max-width: none;
      }

      .mobile-menu-btn {
      order: 2;
      }
      .featured-games {
      padding: 0rem 0;
      }
      .categories {
      padding: 1rem 0;
      }
      .hero {
      padding: 1rem 0;
      }.section-title {
      margin-bottom: 1rem;
      }
      .games-grid {
      gap: 1rem;
      }
.trending-games {
    padding: 1rem 0;
}.footer {
   
    padding: 2rem 0 2rem;
}

    }

    /* Animations */
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .fade-in-up {
      animation: fadeInUp 0.6s ease forwards;
    }

    .delay-1 {
      animation-delay: 0.1s;
    }

    .delay-2 {
      animation-delay: 0.2s;
    }

    .delay-3 {
      animation-delay: 0.3s;
    }

    .delay-4 {
      animation-delay: 0.4s;
    }

    .delay-5 {
      animation-delay: 0.5s;
    }
 











