* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Montserrat', sans-serif; } html, body { padding-top: 40px; background-color: #111120; color: #ffffff; overflow-x: hidden; height: auto; min-height: 100vh; scrollbar-width: none; -ms-overflow-style: none; } body::-webkit-scrollbar { width: 0px; background: transparent; display: none; } .games-dropdown-overlay { position: fixed; top: 85px; left: 0; width: 100%; height: calc(120vh - 85px); background-color: rgba(0, 0, 0, 0.7); z-index: 90; opacity: 0; visibility: hidden; transition: all 0.3s ease; } .games-dropdown { position: fixed; top: 85px; left: 0; width: 100%; height: calc(120vh - 85px); background-color: #111120; z-index: 95; transform: translateY(-100%); transition: transform 0.3s ease; overflow-y: auto; padding: 2rem; box-sizing: border-box; } .games-dropdown.active { transform: translateY(0); } .games-dropdown-overlay.active { opacity: 1; visibility: visible; } .games-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; max-width: 1400px; margin: 0 auto; } .game-card { background-color: #1a1a2e; border-radius: 10px; overflow: hidden; transition: transform 0.3s ease; cursor: pointer; } .game-card:hover { transform: translateY(-5px); } .game-card img { width: 100%; height: 200px; object-fit: cover; } .game-card h3 { color: white; text-align: center; padding: 1rem; margin: 0; } @media (max-width: 1280px) { .games-grid { grid-template-columns: repeat(3, 1fr); } } @media (max-width: 768px) { .games-grid { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 480px) { .games-grid { grid-template-columns: 1fr; } } .mobile-games-dropdown { display: none; background-color: #1a1a2e; padding: 0; margin-top: 0; overflow: hidden; max-height: 0; transition: max-height 0.3s ease; padding-top: 0; margin-top: 0; } .mobile-games-dropdown.active { display: block; max-height: 500px; } .mobile-game-item { display: flex; align-items: center; padding: 12px 20px; margin: 0; color: white; border-bottom: 1px solid #2a2a3a; cursor: pointer; transition: background-color 0.2s; font-size: 16px; line-height: 1.2; } .mobile-game-item svg { width: 20px; height: 20px; margin-right: 10px; display: block; flex-shrink: 0; } .mobile-game-item:last-child { border-bottom: none; } .mobile-game-item:hover { background-color: #2a2a3a; } .mobile-nav-item.games { position: relative; } .mobile-nav-item.games svg.rotate { transform: rotate(360deg); transition: transform 0.3s ease; } @media (max-width: 1280px) { .games-dropdown-overlay { display: none; } } .games-section { padding: 2rem; background-color: #111120; } @media (max-width: 1280px) { .games-dropdown, .games-dropdown-overlay { position: absolute; height: auto; max-height: 0; overflow: hidden; pointer-events: none; opacity: 0; visibility: hidden; } .games-dropdown.active, .games-dropdown-overlay.active { max-height: 80vh; pointer-events: auto; opacity: 1; visibility: visible; } }