Game-Portal/index.html

508 lines
17 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>RetroGame Portal - Play Your Favorite Games</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Press Start 2P', cursive, Arial, sans-serif;
}
:root {
--primary-color: #ff0055;
--secondary-color: #00ffff;
--accent-color: #ffcc00;
--dark-bg: #1a1a2e;
--light-text: #ffffff;
--game-card-bg: rgba(30, 30, 60, 0.8);
}
body {
background: linear-gradient(135deg, var(--dark-bg), #16213e);
color: var(--light-text);
min-height: 100vh;
padding: 20px;
position: relative;
overflow-x: hidden;
}
body::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image:
radial-gradient(circle at 15% 25%, rgba(255, 0, 85, 0.1) 2px, transparent 3px),
radial-gradient(circle at 85% 75%, rgba(0, 255, 255, 0.1) 2px, transparent 3px);
background-size: 40px 40px;
z-index: -1;
}
.container {
max-width: 1200px;
margin: 0 auto;
}
header {
text-align: center;
padding: 30px 20px;
position: relative;
margin-bottom: 40px;
}
.logo-container {
display: flex;
justify-content: center;
align-items: center;
gap: 20px;
margin-bottom: 20px;
}
.logo-svg {
width: 150px;
height: auto;
}
h1 {
font-size: 2.8rem;
text-transform: uppercase;
letter-spacing: 3px;
margin-bottom: 10px;
text-shadow:
0 0 5px var(--primary-color),
0 0 10px var(--primary-color),
0 0 15px var(--secondary-color);
}
.subtitle {
font-size: 1.2rem;
color: var(--accent-color);
margin-bottom: 30px;
text-transform: uppercase;
letter-spacing: 2px;
}
.tagline {
font-size: 1rem;
max-width: 700px;
margin: 0 auto 30px;
line-height: 1.6;
}
.games-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 30px;
margin-bottom: 50px;
}
.game-card {
background: var(--game-card-bg);
border-radius: 15px;
overflow: hidden;
box-shadow:
0 10px 20px rgba(0, 0, 0, 0.5),
inset 0 0 15px rgba(255, 255, 255, 0.1);
transition: all 0.3s ease;
border: 2px solid var(--primary-color);
position: relative;
}
.game-card:hover {
transform: translateY(-10px);
box-shadow:
0 15px 30px rgba(255, 0, 85, 0.4),
inset 0 0 20px rgba(255, 255, 255, 0.1);
}
.game-card::before {
content: "";
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
z-index: -1;
border-radius: 17px;
animation: pulse 3s infinite;
}
@keyframes pulse {
0% { opacity: 0.7; }
50% { opacity: 1; }
100% { opacity: 0.7; }
}
.game-icon {
height: 200px;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(45deg, #3a3a6a, #1e1e4d);
padding: 20px;
}
.game-icon svg {
width: 100%;
height: 100%;
}
.game-title {
text-align: center;
padding: 20px;
font-size: 1.5rem;
color: var(--accent-color);
}
.game-description {
padding: 0 20px 20px;
font-size: 0.8rem;
line-height: 1.5;
}
.play-btn {
display: block;
width: calc(100% - 40px);
margin: 20px auto;
padding: 15px;
background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
color: white;
border: none;
border-radius: 50px;
font-size: 1rem;
text-align: center;
text-decoration: none;
text-transform: uppercase;
letter-spacing: 2px;
font-weight: bold;
box-shadow:
0 5px 15px rgba(255, 0, 85, 0.4),
inset 0 -3px 10px rgba(0, 0, 0, 0.3);
transition: all 0.3s ease;
}
.play-btn:hover {
transform: scale(1.05);
box-shadow:
0 8px 25px rgba(255, 0, 85, 0.6),
inset 0 -3px 10px rgba(0, 0, 0, 0.3);
}
.features {
display: flex;
justify-content: center;
gap: 30px;
flex-wrap: wrap;
margin-bottom: 50px;
}
.feature-card {
background: rgba(30, 30, 60, 0.7);
border-radius: 15px;
padding: 25px;
text-align: center;
width: 180px;
box-shadow:
0 5px 15px rgba(0, 0, 0, 0.3),
inset 0 -3px 10px rgba(255, 255, 255, 0.1);
border: 1px solid var(--secondary-color);
}
.feature-card i {
font-size: 2.5rem;
color: var(--secondary-color);
margin-bottom: 15px;
}
.feature-title {
font-size: 0.9rem;
margin-bottom: 10px;
color: var(--accent-color);
}
footer {
text-align: center;
padding: 30px;
border-top: 2px solid var(--primary-color);
margin-top: 30px;
}
.footer-text {
font-size: 0.9rem;
margin-bottom: 15px;
}
.social-icons {
display: flex;
justify-content: center;
gap: 20px;
margin-top: 20px;
}
.social-icon {
width: 50px;
height: 50px;
border-radius: 50%;
background: var(--dark-bg);
display: flex;
justify-content: center;
align-items: center;
font-size: 1.5rem;
color: var(--secondary-color);
transition: all 0.3s ease;
}
.social-icon:hover {
transform: translateY(-5px);
background: var(--primary-color);
box-shadow:
0 5px 15px rgba(255, 0, 85, 0.4),
inset 0 -3px 10px rgba(0, 0, 0, 0.3);
}
/* Responsive design */
@media (max-width: 768px) {
h1 {
font-size: 2rem;
}
.subtitle {
font-size: 1rem;
}
.games-grid {
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.feature-card {
width: 140px;
padding: 15px;
}
}
@media (max-width: 480px) {
h1 {
font-size: 1.6rem;
}
.games-grid {
grid-template-columns: 1fr;
}
.logo-svg {
width: 120px;
}
}
/* Retro scanlines effect */
body::after {
content: "";
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background:
linear-gradient(rgba(34, 34, 51, 0.2) 1px, transparent 1px),
linear-gradient(90deg, rgba(34, 34, 51, 0.2) 1px, transparent 1px);
background-size:
80px 80px,
80px 80px;
pointer-events: none;
z-index: 9999;
}
</style>
</head>
<body>
<div class="container">
<header>
<div class="logo-container">
<!-- Retro Game Logo SVG -->
<svg class="logo-svg" viewBox="0 0 200 100">
<rect x="5" y="5" width="190" height="90" rx="15" fill="#1a1a2e" stroke="#ffcc00" stroke-width="3"/>
<rect x="25" y="25" width="150" height="40" rx="8" fill="#3a3a6a"/>
<text x="100" y="55" text-anchor="middle" font-size="24" fill="#ffcc00">FERTIGame</text>
<rect x="75" y="65" width="50" height="8" rx="4" fill="#ffcc00"/>
</svg>
</div>
<h1>FertiGame Portal</h1>
<p class="subtitle">Play My Strange Games Online</p>
<p class="tagline">A collection of "AAA" arcade games built with modern AI and Fertig-technology. All games are 100% playable in your browser!</p>
</header>
<div class="games-grid">
<!-- Game Card 1 -->
<div class="game-card">
<div class="game-icon">
<!-- Pac-Man SVG -->
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<circle cx="50" cy="50" r="45" fill="#ffcc00"/>
<circle cx="35" cy="42" r="8" fill="#fff"/>
<circle cx="65" cy="42" r="8" fill="#fff"/>
<circle cx="35" cy="42" r="4" fill="#000"/>
<circle cx="65" cy="42" r="4" fill="#000"/>
<path d="M 35 70 Q 50 85 65 70 L65,72 Q58,82 42,82 Q35,79.5 35,72 Z" fill="#ffcc00"/>
</svg>
</div>
<h3 class="game-title">Pac-Man</h3>
<p class="game-description">Classic arcade maze chase game. Eat all the dots while avoiding ghosts!</p>
<a href="#" class="play-btn">PLAY NOW</a>
</div>
<!-- Game Card 2 -->
<div class="game-card">
<div class="game-icon">
<!-- Space Invaders SVG -->
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<rect x="45" y="65" width="10" height="25" fill="#ffcc00"/>
<rect x="38" y="65" width="14" height="7.5" fill="#ffcc00"/>
<circle cx="49.5" cy="37.5" r="12.5" fill="#ffcc00"/>
<rect x="32.5" y="26.5" width="34" height="18" rx="9" fill="#ffcc00"/>
<circle cx="49.5" cy="76.5" r="4.5" fill="#ffcc00"/>
</svg>
</div>
<h3 class="game-title">Space Invaders</h3>
<p class="game-description">Defend Earth from alien invasion! Shoot down the invaders before they reach you.</p>
<a href="#" class="play-btn">PLAY NOW</a>
</div>
<!-- Game Card 3 -->
<div class="game-card">
<div class="game-icon">
<!-- Tetris SVG -->
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<rect x="25" y="45" width="15" height="15" fill="#ffcc00"/>
<rect x="45" y="45" width="15" height="15" fill="#ffcc00"/>
<rect x="60" y="27.5" width="15" height="30" fill="#ffcc00"/>
<rect x="27.5" y="27.5" width="30" height="15" fill="#ffcc00"/>
</svg>
</div>
<h3 class="game-title">Tetris</h3>
<p class="game-description">Stack the falling blocks to complete lines and score points!</p>
<a href="#" class="play-btn">PLAY NOW</a>
</div>
<!-- Game Card 4 -->
<div class="game-card">
<div class="game-icon">
<!-- Snake SVG -->
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<circle cx="75" cy="55" r="8.5" fill="#ffcc00"/>
<rect x="64.7" y="49.2" width="12.6" height="11.6" rx="3" fill="#ffcc00"/>
<rect x="49.5" y="38.5" width="15.2" height="17.4" rx="3" fill="#ffcc00"/>
<circle cx="62.5" cy="62.5" r="17.5" fill="#ffcc00"/>
</svg>
</div>
<h3 class="game-title">Snake</h3>
<p class="game-description">Control the snake to eat food and grow longer without hitting walls!</p>
<a href="#" class="play-btn">PLAY NOW</a>
</div>
<!-- Game Card 5 -->
<div class="game-card">
<div class="game-icon">
<!-- Frogger SVG -->
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<circle cx="49.5" cy="52.5" r="17.5" fill="#ffcc00"/>
<rect x="46.7" y="38.2" width="12.6" height="18.2" rx="3" fill="#ffcc00"/>
<circle cx="49.5" cy="45.7" r="3.5" fill="#fff"/>
</svg>
</div>
<h3 class="game-title">Frogger</h3>
<p class="game-description">Help the frog cross busy roads and rivers to reach home safely!</p>
<a href="#" class="play-btn">PLAY NOW</a>
</div>
<!-- Game Card 6 -->
<div class="game-card">
<div class="game-icon">
<!-- Breakout SVG -->
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<rect x="45" y="75" width="12.6" height="8.4" fill="#ffcc00"/>
<circle cx="51.3" cy="79.2" r="8.4" fill="#ffcc00"/>
<rect x="32.5" y="45" width="35" height="6.7" rx="3.3" fill="#ffcc00"/>
</svg>
</div>
<h3 class="game-title">Breakout</h3>
<p class="game-description">Destroy all the bricks by bouncing the ball with your paddle!</p>
<a href="#" class="play-btn">PLAY NOW</a>
</div>
</div>
<div class="features">
<div class="feature-card">
<i class="fas fa-gamepad"></i>
<h4 class="feature-title">100% Browser Based</h4>
<p>No downloads needed!</p>
</div>
<div class="feature-card">
<i class="fas fa-mobile-alt"></i>
<h4 class="feature-title">Fully Responsive</h4>
<p>Play on any device!</p>
</div>
<div class="feature-card">
<i class="fas fa-bolt"></i>
<h4 class="feature-title">Fast & Smooth</h4>
<p>Optimized for performance</p>
</div>
<div class="feature-card">
<i class="fas fa-shield-alt"></i>
<h4 class="feature-title">Safe & Secure</h4>
<p>No personal data required</p>
</div>
</div>
<footer>
<p class="footer-text">© 2025 FertiGame Portal - All Rights Reserved</p>
<p class="footer-text">Made with ❤️ for retro gaming enthusiasts</p>
<div class="social-icons">
<a href="#" class="social-icon"><i class="fab fa-facebook-f"></i></a>
<a href="#" class="social-icon"><i class="fab fa-twitter"></i></a>
<a href="#" class="social-icon"><i class="fab fa-instagram"></i></a>
<a href="#" class="social-icon"><i class="fab fa-youtube"></i></a>
</div>
</footer>
</div>
<script>
// Simple animation for game cards on load
document.addEventListener('DOMContentLoaded', function() {
const gameCards = document.querySelectorAll('.game-card');
gameCards.forEach((card, index) => {
setTimeout(() => {
card.style.opacity = '1';
card.style.transform = 'translateY(0)';
}, 200 * index);
});
// Add hover effect to play buttons
const playButtons = document.querySelectorAll('.play-btn');
playButtons.forEach(button => {
button.addEventListener('mouseenter', function() {
this.style.background = 'linear-gradient(to right, #ffcc00, #ff0055)';
this.style.color = '#1a1a2e';
});
button.addEventListener('mouseleave', function() {
this.style.background = 'linear-gradient(to right, var(--primary-color), var(--secondary-color))';
this.style.color = '#ffffff';
});
});
});
</script>
</body>
</html>