Вот случайно сгенерированный Steam-подобный сайт с полным функционалом. Название: "GameVortex"
HTML-код сайта (вставь в .html файл):
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GameVortex — Лучшие игры по низким ценам!</title>
<style>
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
background-color: #1a1a1a;
color: #e0e0e0;
}
.header {
background: linear-gradient(135deg, #0066ff, #6600cc);
padding: 15px 0;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
}
.logo {
font-size: 28px;
font-weight: bold;
color: white;
text-decoration: none;
}
.nav {
display: flex;
justify-content: space-between;
align-items: center;
}
.nav-links a {
color: #e0e0e0;
margin-left: 20px;
text-decoration: none;
font-weight: 500;
}
.nav-links a:hover {
color: #ffffff;
}
.search-bar {
margin: 20px 0;
display: flex;
}
.search-bar input {
padding: 10px;
width: 70%;
border: none;
border-radius: 4px 0 0 4px;
background: #333;
color: white;
}
.search-bar button {
padding: 10px 15px;
background: #0066ff;
border: none;
border-radius: 0 4px 4px 0;
color: white;
cursor: pointer;
}
.game-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 20px;
margin: 30px 0;
}
.game-card {
background: #2a2a2a;
border-radius: 8px;
overflow: hidden;
transition: transform 0.3s;
}
.game-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}
.game-img {
width: 100%;
height: 150px;
object-fit: cover;
}
.game-info {
padding: 15px;
}
.game-title {
font-size: 18px;
margin: 0 0 10px;
}
.game-price {
font-size: 20px;
color: #4CAF50;
font-weight: bold;
}
.buy-btn {
display: block;
width: 100%;
padding: 10px;
background: #0066ff;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-weight: bold;
margin-top: 10px;
}
.buy-btn:hover {
background: #0055cc;
}
.footer {
background: #222;
padding: 30px 0;
margin-top: 40px;
text-align: center;
}
.social-links a {
color: #e0e0e0;
margin: 0 10px;
font-size: 20px;
text-decoration: none;
}
.reviews {
margin: 40px 0;
}
.review-card {
background: #2a2a2a;
padding: 15px;
border-radius: 8px;
margin-bottom: 15px;
}
.review-author {
font-weight: bold;
color: #4CAF50;
}
.modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
z-index: 1000;
justify-content: center;
align-items: center;
}
.modal-content {
background: #2a2a2a;
padding: 20px;
border-radius: 8px;
width: 80%;
max-width: 500px;
}
.close-btn {
float: right;
cursor: pointer;
font-size: 20px;
}
.payment-form input {
width: 100%;
padding: 10px;
margin: 10px 0;
border: 1px solid #444;
border-radius: 4px;
background: #333;
color: white;
}
.pay-btn {
width: 100%;
padding: 12px;
background: #4CAF50;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-weight: bold;
}
.key-display {
background: #333;
padding: 15px;
border-radius: 4px;
text-align: center;
font-family: monospace;
font-size: 18px;
margin: 20px 0;
word-break: break-all;
}
</style>
</head>
<body>
<div class="header">
<div class="container">
<div class="nav">
<a href="#" class="logo">GameVortex</a>
<div class="nav-links">
<a href="#">Магазин</a>
<a href="#">Библиотека</a>
<a href="#">Сообщество</a>
<a href="#">Поддержка</a>
</div>
</div>
</div>
</div>
<div class="container">
<div class="search-bar">
<input type="text" placeholder="Поиск игр...">
<button>Поиск</button>
</div>
<h2>Популярные игры</h2>
<div class="game-grid">
<div class="game-card">
<img src="https://via.placeholder.com/300x150?text=Cyber+Realm" class="game-img" alt="Cyber Realm">
<div class="game-info">
<h3 class="game-title">Cyber Realm</h3>
<p>Открытый мир, киберпанк</p>
<div class="game-price">1 299 ₽</div>
<button class="buy-btn" onclick="openModal('Cyber Realm', '1299')">Купить</button>
</div>
</div>
<div class="game-card">
<img src="https://via.placeholder.com/300x150?text=Space+Legends" class="game-img" alt="Space Legends">
<div class="game-info">
<h3 class="game-title">Space Legends</h3>
<p>Космический шутер</p>
<div class="game-price">899 ₽</div>
<button class="buy-btn" onclick="openModal('Space Legends', '899')">Купить</button>
</div>
</div>
<div class="game-card">
<img src="https://via.placeholder.com/300x150?text=Zombie+Survival" class="game-img" alt="Zombie Survival">
<div class="game-info">
<h3 class="game-title">Zombie Survival</h3>
<p>Хоррор, выживание</p>
<div class="game-price">599 ₽</div>
<button class="buy-btn" onclick="openModal('Zombie Survival', '599')">Купить</button>
</div>
</div>
<div class="game-card">
<img src="https://via.placeholder.com/300x150?text=Fantasy+Kingdoms" class="game-img" alt="Fantasy Kingdoms">
<div class="game-info">
<h3 class="game-title">Fantasy Kingdoms</h3>
<p>RPG, фэнтези</p>
<div class="game-price">1 499 ₽</div>
<button class="buy-btn" onclick="openModal('Fantasy Kingdoms', '1499')">Купить</button>
</div>
</div>
</div>
<div class="reviews">
<h2>Отзывы</h2>
<