:root {
    --primary: #FFB000; /* Amber */
    --secondary: #00FFFF; /* Cyan */
    --bg: #050505;
    --surface: #111111;
}

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

body {
    background-color: var(--bg);
    color: var(--primary);
    font-family: 'Courier New', Courier, monospace;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scanline Overlay */
body::after {
    content: " ";
    display: block;
    position: fixed;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
    z-index: 999;
    background-size: 100% 4px;
    pointer-events: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* --- HERO SECTION --- */
.hero {
    text-align: center;
    padding: 80px 20px 60px;
    border-bottom: 1px dashed #333;
}

.hero h1 {
    font-size: 3.5rem;
    letter-spacing: 4px;
    text-shadow: 0 0 15px rgba(255, 176, 0, 0.5);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero h2 {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 40px;
    font-weight: normal;
}

.btn-launch {
    display: inline-block;
    background-color: var(--primary);
    color: #000;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 15px 50px;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(255, 176, 0, 0.3);
}

.btn-launch:hover {
    background-color: transparent;
    color: var(--primary);
    box-shadow: 0 0 30px rgba(255, 176, 0, 0.8);
}

.btn-github {
    display: inline-block;
    background-color: transparent;
    color: var(--secondary);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 15px 30px;
    border: 2px solid var(--secondary);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-transform: uppercase;
    margin-left: 15px;
}

.btn-github:hover {
    background-color: var(--secondary);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

/* --- FEATURES GRID --- */
.features {
    padding: 60px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--surface);
    border: 1px solid #333;
    padding: 30px;
    transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.1);
}

.card h3 {
    color: var(--secondary);
    font-size: 1.4rem;
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

/* --- TERMINAL HOW-TO --- */
.howto {
    padding: 60px 0;
    border-top: 1px dashed #333;
}

.howto-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.howto-text {
    flex: 1;
    min-width: 300px;
}

.howto-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.terminal-window {
    flex: 1;
    min-width: 300px;
    background: #000;
    border: 2px solid #333;
    border-radius: 5px;
    padding: 20px;
    box-shadow: inset 0 0 20px rgba(255, 176, 0, 0.05);
}

.terminal-header {
    color: #666;
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}

.cmd { color: var(--primary); }
.comment { color: #666; }
.output { color: #00FFFF; }

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px dashed #333;
    margin-top: 40px;
}

.test-link {
    display: inline-block;
    margin-top: 20px;
    color: #555;
    text-decoration: none;
    border-bottom: 1px dashed #555;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.test-link:hover {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}

/* --- MOBILE ADJUSTMENTS --- */
@media (max-width: 768px) {
    .hero h1 { 
        font-size: 2.2rem; 
    }
    .btn-launch, .btn-github { 
        width: 100%; 
        margin: 10px 0 0 0; 
        padding: 15px 0; 
    }
}