:root {
    --primary: #FFC800;
    --primary-glow: rgba(255, 200, 0, 0.4);
    --text-main: #1a1a1a;
    --text-muted: #666;
    --bg-white: #ffffff;
    --bg-soft: #f9f9f9;
    --border-thin: 1px solid rgba(0,0,0,0.1);
    --max-content: 1100px; /* Constrains content while spacing stretches */
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.5;
}

/* Navigation */
.navbar {
    padding: 2rem 2rem;
    position: fixed;
    width: 100%;
    z-index: 10;
    top: 0;
    left: 0;
}

.nav-container {
    max-width: var(--max-content);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*padding: 0 2rem;*/
    text-shadow: 0 2px 10px rgba(0, 0, 0, 1);
}

.logo { font-weight: 200; font-size: 1.2rem; color: #fff; mix-blend-mode: difference; }

.nav-links a {
    text-decoration: none;
    color: #fff;
    mix-blend-mode: difference;
    margin-left: 1.5rem;
    font-size: 0.9rem;
    font-weight: 400;
    transition: opacity 0.3s;
}

.nav-links a:hover { opacity: 0.7; }

/* Hero / Featured */
.hero {
    background: url(/static/images/pic10.jpg);
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 6rem 1rem 4rem;
    margin: 1rem;
    border-radius: 1rem;
}

.hero-container {
    max-width: var(--max-content);
    margin: 0 auto;
    width: 100%;
}

.hero-title {
    font-weight: 200;
    font-size: 3rem;
    color: #fff;
    margin-bottom: 4rem;
    max-width: 600px;
}

.featured-frame {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hollow-outline {
    position: absolute;
    left: 0;
    width: 70%;
    height: 120%;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 40px;
    pointer-events: none;
}

.featured-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 24px;
    width: 450px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    z-index: 2;
}

.card-tag { font-weight: 800; font-size: 0.7rem; color: var(--text-muted); }
.featured-heading { font-size: 2rem; margin: 0.5rem 0; font-weight: 600; }
.card-meta { font-size: 0.85rem; color: var(--text-muted); }
.card-excerpt { font-weight: 300; font-size: 0.95rem; margin-bottom: 2rem; }

.btn-read {
    display: inline-block;
    padding: 0.6rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    color: white;
}

.btn-read:hover {
    color: var(--text-main);
    border: 1px solid var(--primary);
}

/* Main Content */
.content-wrapper {
    max-width: var(--max-content);
    margin: 0 auto;
    padding: 4rem 1rem;
}

.section { margin-bottom: 6rem; }
.section-label { font-size: 1.5rem; font-weight: 400; margin-bottom: 2rem; padding: 0rem 1rem; }

/* Grid Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.mini-card {
    display: flex;
    background: #fff;
    border: none;
    border-radius: 20px;
    padding: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.mini-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.2);
}

.thumb-area {
    width: 100px;
    height: 100px;
    background-color: #5e5a6e;
    border-radius: 0.5rem;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}

.card-info {
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-info h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.2rem; }

.btn-read-sm {
    color: black;
    margin-top: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 0.4rem;
    cursor: pointer;
    font-size: 0.8rem;
    width: fit-content;
    background: white;
    box-shadow: 0 6px 15px var(--primary-glow);
    border: 1px solid var(--primary);
    font-family: 'Inter', sans-serif;
}

/* Action Center */
.action-center { text-align: center; margin-top: 4rem; }
.btn-lucky {
    background: var(--primary);
    border: none;
    padding: 0.8rem 3rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 1rem;
}
.sub-text { font-size: 0.8rem; color: var(--text-muted); }

/* Idea Pool */
.idea-placeholder {
    height: 300px;
    background: #eeeeee;
    border-radius: 20px;
}

/* Footer */
.main-footer {
    text-align: center;
    margin-top: 5rem;
    background: linear-gradient(to top, #fff, #ffedb3);
}
.footer-accent {
    padding: 4rem 2rem;
    cursor: pointer;
}
.footer-accent p { color: #d4a017; font-weight: 400; }
.footer-link { color: #666; font-size: 0.9rem; text-decoration: underline; }
.footer-base { padding: 2rem; font-size: 0.75rem; color: #888; }

/* Tablet & Mobile Responsive */
@media (max-width: 1024px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .featured-frame { justify-content: center; }
    .hollow-outline { display: none; }
}

@media (max-width: 768px) {
    .hero { padding: 6rem 1rem 1rem; border-radius: 2rem; align-items: end; }
    .hero-title { font-size: 2rem; }
    .featured-card { width: 100%; padding: 1rem; }
    .card-grid { grid-template-columns: 1fr; }
    .mini-card { flex-direction: column; }
    .thumb-area { width: 100%; height: 150px; }
    .card-info { padding: 1rem; }
    /*.nav-links { display: none; }*/
}