:root {
    --bg: #1a1a2e;
    --bg-card: #16213e;
    --accent: #4ade80;
    --accent-dark: #22c55e;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --radius: 12px;
    --max-width: 800px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Arial", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ===== Header ===== */
.header {
    text-align: center;
    padding: 56px 20px 48px;
    background: linear-gradient(180deg, #0f0f23 0%, #1a1a2e 100%);
    border-bottom: 2px solid rgba(74, 222, 128, 0.15);
}

.header-title {
    margin: 0;
    font-size: 2.4em;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #4ade80, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-subtitle {
    margin: 10px 0 0;
    font-size: 1.05em;
    color: var(--text-muted);
}

/* ===== Main ===== */
.main {
    padding: 32px 16px 64px;
    max-width: var(--max-width);
    margin: 0 auto;
}

/* ===== Card Container ===== */
.card-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ===== Card ===== */
.card {
    display: flex;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid rgba(74, 222, 128, 0.1);
    transition: border-color 0.3s, transform 0.2s;
}

.card:hover {
    border-color: rgba(74, 222, 128, 0.35);
    transform: translateY(-2px);
}

.card-thumb {
    width: 160px;
    min-height: 160px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}

.card-content {
    flex: 1;
    padding: 20px 24px;
    text-align: left;
}

.card-title {
    margin: 0 0 8px;
    font-size: 1.15em;
    color: #4ade80;
    font-weight: 600;
}

.card-content p {
    margin: 6px 0;
    color: var(--text-muted);
    font-size: 0.92em;
}

/* ===== Feature List ===== */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.feature-list li {
    padding: 3px 0 3px 18px;
    color: var(--text-muted);
    font-size: 0.9em;
    position: relative;
}

.feature-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* ===== Card Buttons ===== */
.card-btn {
    display: inline-block;
    margin: 10px 6px 0 0;
    padding: 9px 22px;
    background: var(--accent);
    color: #0f0f23;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s, transform 0.15s;
}

.card-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.card-btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 1px solid rgba(74, 222, 128, 0.4);
}

.card-btn-secondary:hover {
    background: rgba(74, 222, 128, 0.1);
    border-color: var(--accent);
}

/* ===== Footer ===== */
.footer {
    text-align: center;
    padding: 24px 16px;
    border-top: 1px solid rgba(74, 222, 128, 0.1);
    color: var(--text-muted);
}

.footer a {
    text-decoration: none;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.footer a:hover {
    color: var(--accent);
}

.footer img {
    width: 16px;
    height: 16px;
}

.footer span {
    font-size: 12px;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .card {
        flex-direction: column;
    }

    .card-thumb {
        width: 100%;
        height: 140px;
        min-height: auto;
    }

    .card-content {
        padding: 16px 18px;
    }

    .header-title {
        font-size: 1.7em;
    }

    .header {
        padding: 40px 16px 36px;
    }
}