/*
Theme Name: Kamakathaigal Premium
Author: Kamakathaigal
Description: Premium dark Tamil story magazine theme.
Version: 1.0
Text Domain: kamakathaigal
*/

:root {
    --bg: #101010;
    --surface: #191919;
    --gold: #d5ad62;
    --text: #f5f1e9;
    --muted: #aaa39a;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, sans-serif;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-container {
    width: min(1200px, 92%);
    margin: auto;
}

.site-header {
    background: #090909;
    border-bottom: 1px solid #30291e;
    padding: 22px 0;
}

.site-logo {
    color: var(--gold);
    font-size: 30px;
    font-weight: 800;
}

.site-nav {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.site-nav a {
    color: #ddd;
    font-size: 14px;
}

.hero {
    padding: 65px 0;
    background: linear-gradient(120deg, #211b12, #101010);
}

.hero h1 {
    font-size: clamp(30px, 5vw, 54px);
    line-height: 1.2;
    color: var(--gold);
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.story-card {
    background: var(--surface);
    border: 1px solid #30291e;
    border-radius: 12px;
    overflow: hidden;
    padding: 22px;
}

.story-card h2 {
    font-size: 19px;
    line-height: 1.4;
}

.story-card a:hover {
    color: var(--gold);
}

.section-title {
    color: var(--gold);
    font-size: 25px;
    margin: 35px 0 22px;
}

.site-footer {
    margin-top: 60px;
    padding: 30px 0;
    background: #080808;
    color: var(--muted);
    text-align: center;
}

@media(max-width: 768px) {
    .story-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 480px) {
    .story-grid {
        grid-template-columns: 1fr;
    }
}