/* MENTE INVICTA - PREMIUM SOLAR PUNK STYLES (v5) */
@import url('https://fonts.googleapis.com/css2?family=Russo+One&family=Montserrat:wght@400;600;800;900&family=Outfit:wght@300;400;600&display=swap');

:root {
    --bg-dark: #0f172a;
    --accent-gold: #fbbf24;
    /* Amber 400 */
    --accent-gold-glow: #f59e0b;
    /* Amber 500 */
    --accent-crimson: #ef4444;
    /* For tough choices */
    --accent-teal: #10b981;
    /* For wisdom */

    --text-white: #ffffff;
    --text-dim: #cbd5e1;
    /* Slate 300 */

    /* Imposing Glass */
    --glass-bg: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(251, 191, 36, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);

    --font-brand: 'Russo One', sans-serif;
    /* IMPOSING */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    /* CINEMATIC NOISE TEXTURE (10/10 Aesthetic) */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 16px;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--text-white);
    position: relative;
    z-index: 2;
    /* Pop over texture */
}

/* NAVBAR SPACER */
body.titan-world {
    padding-top: 100px;
}

/* Fix for Worlds */

.text-gold {
    color: var(--accent-gold);
    text-shadow: 0 0 15px rgba(251, 191, 36, 0.4);
}

.text-peach {
    color: #fda4af;
}

/* BRANDING */
.logo-text {
    font-family: var(--font-brand);
    font-size: 2.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(180deg, #fff 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 5px rgba(251, 191, 36, 0.3));
}

/* --- COMPONENTS --- */

/* Super Glass Card */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    /* Deep Shadow */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Hover Shine */
.glass-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.2), transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
}

.glass-panel:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: var(--accent-gold);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(251, 191, 36, 0.1);
}

.glass-panel:hover::after {
    left: 150%;
    transition: 0.7s;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-glow));
    color: #0f172a;
    font-weight: 900;
    padding: 1.2rem 3rem;
    border-radius: 4px;
    border: none;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 0 40px rgba(251, 191, 36, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 2.5rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
    font-family: var(--font-heading);
    border-radius: 4px;
}

.btn-secondary:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(251, 191, 36, 0.1);
}

/* --- HERO --- */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: url('assets/sunrise_hero.jpg') center/cover no-repeat fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Vignette + Sunrise tint */
    background: radial-gradient(circle at center, rgba(30, 41, 59, 0.2) 0%, rgba(15, 23, 42, 0.95) 90%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 2rem;
}

.hero-title {
    font-size: 5rem;
    line-height: 0.9;
    margin-bottom: 2rem;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

/* --- TOOLS SECTION --- */
/* Rich Backgrounds for Cards */
.tool-card-bg-1 {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(15, 23, 42, 0.8));
}

.tool-card-bg-2 {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(15, 23, 42, 0.8));
}

.tool-card-bg-3 {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(15, 23, 42, 0.8));
}

.tool-card-bg-4 {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(15, 23, 42, 0.8));
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

/* --- SITUATIONS (INTERACTIVE) --- */
.choice-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.choice-option {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.choice-option:hover {
    background: rgba(251, 191, 36, 0.1);
    border-color: var(--accent-gold);
    transform: scale(1.03);
}

.choice-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.situation-result {
    margin-top: 2rem;
    padding: 2rem;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid var(--accent-teal);
    text-align: left;
    display: none;
    /* Hidden */
    animation: fadeIn 0.5s ease;
}

.situation-result h4 {
    color: var(--accent-teal);
    margin-bottom: 0.5rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- LAYOUT --- */
.section {
    padding: 6rem 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

/* FOOTER / PARTNERS */
.imjuve-banner {
    margin-top: 4rem;
    padding: 3rem 2rem;
    /* Textured Background (Dark Mesh) */
    background-color: #0b0f19;
    background-image: radial-gradient(#1e293b 1px, transparent 1px);
    background-size: 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    border-top: 1px solid var(--glass-border);
    box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.8);
}

/* MOBILE */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .nav-links {
        display: none;
    }

    .choice-container {
        grid-template-columns: 1fr;
    }
}

.hidden {
    display: none !important;
}
/* --- NEWSPAPER PRO REDESIGN --- */

/* Typography Imports */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Merriweather:wght@300;400;700&family=Cinzel:wght@700&display=swap');

.newspaper-section {
    background: #111; /* Fallback */
    background: radial-gradient(#1a1a1a 15%, transparent 16%) 0 0,
                radial-gradient(#1a1a1a 15%, transparent 16%) 8px 8px,
                radial-gradient(rgba(255,255,255,.1) 15%, transparent 20%) 0 1px,
                radial-gradient(rgba(255,255,255,.1) 15%, transparent 20%) 8px 9px;
    background-color: #0f0f0f;
    background-size: 16px 16px;
    padding: 4rem 2rem;
    color: #e5e5e5;
    font-family: 'Merriweather', serif;
}

/* Masthead (Header) */
.masthead {
    text-align: center;
    border-bottom: 3px double var(--accent-gold);
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.masthead-title {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    letter-spacing: 0.5rem;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
    margin: 0;
}

.masthead-meta {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 0.5rem 0;
    margin-top: 1rem;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--accent-gold);
    letter-spacing: 2px;
}

/* Layout Grid */
.newspaper-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

/* Article Card PRO */
.article-pro {
    background: #181818;
    border: 1px solid #333;
    padding: 0; /* Image flush */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    position: relative;
    /* Simulate columns inside text if strict layout desired, or just card */
}

.article-pro:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: var(--accent-gold);
}

.article-img-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    border-bottom: 3px solid var(--accent-gold);
}

.article-img-pro {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: sepia(30%) contrast(1.1) desaturate(20%);
}

.article-pro:hover .article-img-pro {
    transform: scale(1.05);
    filter: sepia(0%) contrast(1.1);
}

.article-content {
    padding: 2rem;
}

.headline-pro {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: #fff;
}

.byline-pro {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.byline-author {
    color: var(--accent-gold);
    font-weight: bold;
}

.excerpt-pro {
    font-size: 1rem;
    line-height: 1.7;
    color: #ccc;
    font-family: 'Merriweather', serif;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

/* Drop Cap */
.excerpt-pro::first-letter {
    float: left;
    font-size: 3.5rem;
    line-height: 0.8;
    padding-right: 0.5rem;
    padding-top: 0.2rem;
    color: var(--accent-gold);
    font-family: 'Cinzel', serif;
}

/* Read More Button */
.read-btn-pro {
    display: inline-block;
    padding: 0.5rem 0;
    color: #fff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--accent-gold);
    transition: 0.3s;
    cursor: pointer;
}

.read-btn-pro:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

/* Expanded State overrides */
.article-pro.expanded .excerpt-pro {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.full-text {
    margin-top: 2rem;
    border-top: 1px solid #333;
    padding-top: 2rem;
    font-family: 'Georgia', serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ddd;
    display: none;
}

.full-text.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Mobile Adjustments */
@media (max-width: 768px) {
    .masthead-title { font-size: 2.5rem; }
    .newspaper-grid { grid-template-columns: 1fr; }
    .headline-pro { font-size: 1.5rem; }
    .article-img-container { height: 200px; }
}
