/* PlayLolo Games - Core Styles */
:root {
    --bg-dark: #0D0F17;
    --bg-panel: #161927;
    --neon-purple: #8B5CF6;
    --neon-purple-dim: rgba(139, 92, 246, 0.2);
    --amber: #F59E0B;
    --text-white: #F9FAFB;
    --text-gray: #9CA3AF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background-color: var(--bg-dark); color: var(--text-gray); line-height: 1.6; }
h1, h2, h3, h4 { color: var(--text-white); margin-bottom: 1rem; line-height: 1.2; }
a { color: var(--neon-purple); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--amber); }

/* Sticky Header */
header { position: sticky; top: 0; background: rgba(22, 25, 39, 0.85); backdrop-filter: blur(10px); z-index: 1000; border-bottom: 1px solid var(--neon-purple-dim); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--text-white); letter-spacing: 1px; }
.logo span { color: var(--neon-purple); }
nav ul { display: flex; gap: 2rem; list-style: none; }
nav a { font-weight: 600; color: var(--text-gray); }
nav a:hover, nav a.active { color: var(--text-white); }
.btn-cta { background: var(--neon-purple); color: var(--text-white); padding: 0.5rem 1.2rem; border-radius: 4px; font-weight: bold; border: 1px solid transparent; transition: all 0.2s; }
.btn-cta:hover { background: transparent; border-color: var(--neon-purple); color: var(--neon-purple); }

/* Layout & Containers */
main { max-width: 1200px; margin: 0 auto; padding: 2rem; min-height: calc(100vh - 200px); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }

/* Hero Section */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding: 4rem 0; border-bottom: 1px solid var(--neon-purple-dim); margin-bottom: 3rem; }
.hero-text h1 { font-size: 3rem; margin-bottom: 1.5rem; }
.hero-text p { font-size: 1.2rem; margin-bottom: 2rem; }

/* Interactive Console Widget */
.console-widget { background: var(--bg-dark); border: 1px solid var(--neon-purple); border-radius: 8px; padding: 1rem; font-family: monospace; box-shadow: 0 0 20px rgba(139, 92, 246, 0.15); }
.console-header { display: flex; gap: 0.5rem; margin-bottom: 1rem; border-bottom: 1px solid #333; padding-bottom: 0.5rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #EF4444; } .dot.yellow { background: var(--amber); } .dot.green { background: #10B981; }
.console-output { color: #10B981; margin-bottom: 1rem; min-height: 80px; }
.console-input-row { display: flex; color: var(--neon-purple); }
.console-input { background: transparent; border: none; color: var(--text-white); font-family: monospace; font-size: 1rem; width: 100%; outline: none; margin-left: 0.5rem; }

/* Cards */
.card { background: var(--bg-panel); border: 1px solid var(--neon-purple-dim); border-radius: 8px; padding: 1.5rem; transition: transform 0.2s, box-shadow 0.2s; position: relative; overflow: hidden; }
.card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px var(--neon-purple-dim); border-color: var(--neon-purple); }
.card img { width: 100%; height: 150px; object-fit: cover; border-radius: 4px; margin-bottom: 1rem; background: #222; }
.badge-verified { position: absolute; top: 10px; right: 10px; background: #10B981; color: #fff; font-size: 0.75rem; padding: 0.25rem 0.5rem; border-radius: 4px; font-weight: bold; }
.card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.code-preview { background: var(--bg-dark); padding: 0.5rem; border-radius: 4px; font-family: monospace; font-size: 0.85rem; color: var(--amber); margin-bottom: 1rem; display: block; border-left: 3px solid var(--neon-purple); }

/* Forms & Inputs */
input, textarea.form-control { width: 100%; padding: 0.75rem; background: var(--bg-dark); border: 1px solid #333; color: var(--text-white); border-radius: 4px; margin-bottom: 1rem; font-family: inherit; }
input:focus, textarea.form-control:focus { outline: none; border-color: var(--neon-purple); }

/* Footer */
footer { background: var(--bg-panel); text-align: center; padding: 2rem; border-top: 1px solid var(--neon-purple-dim); margin-top: 4rem; font-size: 0.9rem; }

@media(max-width: 768px) {
    .hero { grid-template-columns: 1fr; gap: 2rem; }
    .nav-container { flex-direction: column; gap: 1rem; }
    nav ul { flex-wrap: wrap; justify-content: center; gap: 1rem; }
}
