/* ==========================================
 * GAMER / RNG BLOG STYLESHEET
 * Dark theme, vibrant accents.
 * ========================================== */

 :root {
    --bg-main: #0f111a;
    --bg-card: #1a1d29;
    --text-primary: #e2e8f0;
    --text-muted: #94a3b8;
    --accent: #10b981; /* Gambling green */
    --accent-glow: rgba(16, 185, 129, 0.4);
    --secondary: #8b5cf6; /* Casino purple */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3 {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    color: #fff;
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 { font-size: 1.8rem; margin-top: 2rem; color: var(--accent); }
p { margin-bottom: 1rem; }

/* Layout */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: rgba(15, 17, 26, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
}
.logo span { color: var(--accent); }

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s;
}

nav a:hover, nav a.active { color: var(--accent); }

main {
    flex: 1;
    padding: 3rem 0;
}

/* Articles */
.hero-article {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

/* Decorative Glow */
.hero-article::before {
    content: '';
    position: absolute;
    top: -50%; right: -50%;
    width: 100%; height: 100%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    opacity: 0.3;
    pointer-events: none;
}

.hero-article h1 { margin-bottom: 1.5rem; }
.hero-article p { font-size: 1.1rem; color: var(--text-muted); }
.meta { display: flex; gap: 1rem; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 2rem; border-bottom: 1px solid #333; padding-bottom: 1rem; }
.meta span { display: flex; align-items: center; gap: 5px; }

/* Sub Pages */
.page-header { text-align: center; margin-bottom: 3rem; }
.content-box { background: var(--bg-card); padding: 2rem; border-radius: 8px; border: 1px solid #222; }

/* Forms */
form { display: flex; flex-direction: column; gap: 1rem; max-width: 600px; margin: 0 auto; }
input, textarea {
    background: #111; border: 1px solid #333; color: #fff;
    padding: 12px 15px; border-radius: 6px; font-family: inherit;
}
input:focus, textarea:focus { outline: none; border-color: var(--accent); }
button, .btn {
    background: var(--accent); color: #000; border: none; padding: 12px 25px;
    font-weight: 700; text-transform: uppercase; border-radius: 6px;
    cursor: pointer; transition: 0.3s background; font-family: inherit;
}
button:hover, .btn:hover { background: #0ea5e9; } /* Cyan shift on hover for gamer vibe */

/* Footer */
footer {
    background: #090a0f;
    padding: 3rem 0;
    border-top: 1px solid #222;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    color: #fff; margin-bottom: 1rem; font-size: 1.1rem; border-left: 3px solid var(--accent); padding-left: 10px;
}

.footer-col a { color: var(--text-muted); text-decoration: none; display: block; margin-bottom: 0.5rem; transition: 0.3s; }
.footer-col a:hover { color: var(--accent); }
.footer-col p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.3rem;}

/* Cookie Banner */
#cookie-banner {
    display: none; position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    background: var(--bg-card); border: 1px solid var(--accent); padding: 15px 25px;
    border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.8); z-index: 9999;
    display: flex; align-items: center; gap: 20px; width: 90%; max-width: 600px;
}
#cookie-banner p { margin: 0; font-size: 0.9rem; flex: 1; }
#cookie-banner button { padding: 8px 15px; font-size: 0.8rem; }

/* Responsive */
@media (max-width: 768px) {
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-col h4 { border-left: none; border-bottom: 2px solid var(--accent); padding-bottom: 5px; display: inline-block; }
    nav { flex-direction: column; gap: 1rem; }
    h1 { font-size: 2rem; }
}
