* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Orbitron', 'Rajdhani', sans-serif; line-height: 1.7; color: #00f0ff; background: linear-gradient(135deg, #0a0a1a 0%, #1a0a2e 50%, #0a1a2a 100%); min-height: 100vh; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
a { color: #00f0ff; text-decoration: none; transition: all 0.3s; }
a:hover { color: #ff00ff; text-decoration: none; }

header { background: linear-gradient(90deg, #0a0a1a 0%, #1a0a3a 50%, #0a2a3a 100%); padding: 15px 0; position: sticky; top: 0; z-index: 100; border-bottom: 2px solid #00f0ff; box-shadow: 0 0 30px rgba(0,240,255,0.3); }
header .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.logo { font-size: 26px; font-weight: 900; color: #00f0ff; text-shadow: 0 0 10px #00f0ff, 0 0 20px #00f0ff; letter-spacing: 2px; }
.logo:hover { color: #ff00ff; text-shadow: 0 0 10px #ff00ff; }
nav { display: flex; gap: 10px; flex-wrap: wrap; }
nav a { color: #00f0ff; font-weight: 600; padding: 8px 16px; border: 1px solid #00f0ff; border-radius: 4px; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s; }
nav a:hover { background: #00f0ff; color: #0a0a1a; box-shadow: 0 0 15px #00f0ff; }
nav a.active { background: #00f0ff; color: #0a0a1a; }

.hero { background: linear-gradient(135deg, #0a0a1a 0%, #1a0a3a 50%, #002040 100%); color: #00f0ff; padding: 60px 0; text-align: center; border-bottom: 3px solid #ff00ff; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='1' fill='%2300f0ff' opacity='0.5'/%3E%3C/svg%3E"); animation: twinkle 2s infinite; }
@keyframes twinkle { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
.hero h1 { font-size: clamp(28px, 5vw, 52px); margin-bottom: 10px; text-shadow: 0 0 20px #00f0ff, 0 0 40px #00f0ff; position: relative; }
.hero p { font-size: clamp(14px, 2.5vw, 20px); opacity: 0.9; position: relative; }

.main { padding: 40px 0; min-height: 70vh; }

h1 { font-size: 34px; margin-bottom: 20px; color: #00f0ff; text-shadow: 0 0 10px #00f0ff; }
h2 { font-size: 26px; color: #ff00ff; border-bottom: 2px solid #ff00ff; padding-bottom: 8px; display: inline-block; margin: 30px 0 15px; text-shadow: 0 0 8px #ff00ff; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 25px; margin: 25px 0; }
.card { background: linear-gradient(145deg, #1a1a2e, #0a0a1a); border: 2px solid #00f0ff; border-radius: 12px; box-shadow: 0 0 20px rgba(0,240,255,0.2), inset 0 0 30px rgba(0,240,255,0.05); transition: all 0.4s; overflow: hidden; }
.card:hover { transform: translateY(-10px); box-shadow: 0 0 40px rgba(255,0,255,0.3), 0 10px 30px rgba(0,0,0,0.5); border-color: #ff00ff; }
.card-body { padding: 20px; text-align: center; }
.card h3 { font-size: 18px; margin-bottom: 10px; color: #00f0ff; text-shadow: 0 0 5px #00f0ff; }
.card p { color: #88aacc; font-size: 14px; margin-bottom: 15px; }
.card .btn { display: inline-block; background: linear-gradient(135deg, #00f0ff, #0080ff); color: #0a0a1a; padding: 10px 24px; border-radius: 6px; font-weight: 700; text-transform: uppercase; font-size: 13px; }
.card .btn:hover { background: linear-gradient(135deg, #ff00ff, #ff0080); box-shadow: 0 0 20px #ff00ff; }

.game-card .card-icon { width: 100%; height: 120px; background: linear-gradient(135deg, #0a1a2a, #1a0a2a); display: flex; align-items: center; justify-content: center; font-size: 48px; border-bottom: 1px solid #00f0ff; }

.game-page { background: linear-gradient(145deg, #1a1a2e, #0a0a1a); border: 2px solid #00f0ff; border-radius: 16px; padding: 30px; box-shadow: 0 0 30px rgba(0,240,255,0.2); margin: 20px auto; max-width: 800px; }
.game-page .game-area { background: linear-gradient(135deg, #0a1a2a, #1a0a2e); border: 2px solid #ff00ff; border-radius: 12px; padding: 30px; min-height: 400px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 20px; }

.card-area { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; margin: 20px 0; }
.playing-card { width: 80px; height: 120px; background: linear-gradient(145deg, #fff, #e0e0e0); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: bold; cursor: pointer; transition: all 0.3s; color: #1a1a2e; box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
.playing-card:hover { transform: translateY(-10px) rotate(5deg); box-shadow: 0 10px 30px rgba(0,240,255,0.4); }
.playing-card.red { color: #e74c3c; }
.playing-card.black { color: #2c3e50; }

.game-controls { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.game-controls button { padding: 12px 28px; border: 2px solid #00f0ff; background: transparent; color: #00f0ff; border-radius: 8px; cursor: pointer; font-weight: 700; font-family: inherit; text-transform: uppercase; transition: all 0.3s; }
.game-controls button:hover { background: #00f0ff; color: #0a0a1a; box-shadow: 0 0 20px #00f0ff; }

.article-page { background: linear-gradient(145deg, #1a1a2e, #0a0a1a); border: 2px solid #00f0ff; border-radius: 16px; padding: 35px; box-shadow: 0 0 30px rgba(0,240,255,0.15); max-width: 850px; margin: 0 auto; }
.article-page h1 { font-size: 32px; color: #00f0ff; margin-bottom: 10px; }
.article-page .meta { color: #6688aa; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid #00f00ff; font-size: 14px; }
.article-page .content { font-size: 17px; line-height: 1.9; color: #aaccee; }
.article-page .content h2 { color: #ff00ff; font-size: 22px; margin-top: 30px; border: none; }

footer { background: linear-gradient(90deg, #0a0a1a, #1a0a2a); color: #00f0ff; padding: 30px 0; text-align: center; margin-top: 50px; border-top: 2px solid #00f0ff; }
footer a { color: #ff00ff; margin: 0 15px; }
footer a:hover { color: #00f0ff; }

.back-link { display: inline-block; margin-bottom: 20px; color: #6688aa; }
.back-link:hover { color: #00f0ff; }

.btn { display: inline-block; background: linear-gradient(135deg, #00f0ff, #0080ff); color: #0a0a1a; padding: 14px 30px; border-radius: 8px; font-weight: 700; text-transform: uppercase; margin: 10px 5px; transition: all 0.3s; }
.btn:hover { background: linear-gradient(135deg, #ff00ff, #ff0080); color: #fff; box-shadow: 0 0 25px #ff00ff; }
.btn-secondary { background: transparent; border: 2px solid #ff00ff; color: #ff00ff; }
.btn-secondary:hover { background: #ff00ff; color: #0a0a1a; }

.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }

@media (max-width: 600px) {
.playing-card { width: 60px; height: 90px; font-size: 24px; }
.game-page { padding: 15px; margin: 10px; }
.card-body { padding: 15px; }
}
