/* * Wiskeyclub.com - The Obsidian Library Framework
 * Global Base + Landing Page Styles
 * Database: bandorco_wsclublink
 */

:root {
    --obsidian: #0F0F0F;    /* Deep Matte Black */
    --slate-cask: #1C1C1E;  /* Card Surfaces */
    --vellum: #E5E5E0;      /* Soft Reading Text */
    --amber: #D4AF37;       /* Gold Accents & Pillars */
    --ghost-ash: #636366;   /* Muted/Secondary Text */
    --burnt-sienna: #A0522D; /* Warning/Recask Alerts */
    --success-green: #27ae60; /* Graduation/Completion */
}

/* --- SECTION 1: GLOBAL RESET & BASE --- */
* {
    box-sizing: border-box;
}

/* Base Body Styles */
body {
    background-color: var(--obsidian);
    color: var(--vellum);
    font-family: 'Inter', sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.6;
}

/* Branding Background Implementation */
body.landing-page {
    /* 1. Corrected extension to .jpg to match your branding asset */
    /* 2. Added !important to ensure this block wins over the base body color */
    background: linear-gradient(rgba(15, 15, 15, 0.85), rgba(15, 15, 15, 0.85)), 
                url('/images/archive-bg.png') no-repeat center center fixed !important;
    background-size: cover !important;
    
    /* Ensure height is captured for the background to fill */
    width: 100%;
    height: 100%;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
}

.container {
    flex: 1;
    max-width: 1200px; /* Widened for PC/Laptop users */
    margin: 60px auto;
    padding: 0 40px;   /* Increased side padding for larger screens */
    width: 100%;
}

/* --- SECTION 2: HEADER & NAVIGATION --- */
header {
    padding: 40px 20px;
    text-align: center;
    border-bottom: 1px solid var(--slate-cask);
}

.logo {
    font-size: 1.8rem;
    color: var(--amber);
    text-decoration: none;
    letter-spacing: 4px;
    display: inline-block;
}

.logo span {
    opacity: 0.3;
    margin-right: -8px;
}

nav { margin-top: 20px; }

nav a {
    color: var(--ghost-ash);
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav a:hover { color: var(--amber); }

/* --- SECTION 3: PILLAR PROGRESSION (LEDGER) --- */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.pillar-card {
    text-align: center;
    padding: 15px;
    border: 1px solid var(--slate-cask);
    border-radius: 4px;
    background: var(--obsidian);
    transition: all 0.3s ease;
}

.pillar-card.current { 
    border-color: var(--amber); 
    background: var(--slate-cask);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.pillar-card.complete { 
    border-color: var(--success-green); 
    color: var(--success-green);
}

.pillar-card.locked { 
    opacity: 0.3; 
    filter: grayscale(1);
}

.pillar-letter { 
    font-size: 1.5rem; 
    font-weight: bold; 
    display: block;
}

.pillar-name { 
    font-size: 0.7rem; 
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ghost-ash);
}

/* --- SECTION 4: CARDS & CONTAINERS --- */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Force 3 columns on desktop */
    gap: 40px; /* Wider gap for complex text blocks */
    text-align: left;
    margin-top: 60px;
}

.pillar-item h3 {
    color: var(--amber);
    border-bottom: 1px solid var(--slate-cask);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.pillar-item p {
    font-size: 1.05rem;
    line-height: 1.7;
}

.manifesto-excerpt {
    max-width: 900px; /* Widens the manifesto for PC users */
    margin: 0 auto 50px auto;
    font-size: 1.25rem;
    line-height: 1.8;
}

.yield-card, .cask-card, .timeline-item, .action-card {
    background: var(--slate-cask);
    border: 1px solid var(--slate-cask);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
}

/* --- SECTION 5: BUTTONS & INTERACTIONS --- */
.cta-section {
    margin-top: 60px; 
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
}

.button-link, .btn-ledger {
    display: inline-block;
    background: var(--amber);
    color: var(--obsidian);
    padding: 18px 50px; /* Slightly larger button for desktop balance */
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}

.button-link:hover, .btn-ledger:hover { 
    background: var(--vellum);
    transform: translateY(-2px);
}

/* --- SECTION 6: MODALS & OVERLAYS --- */
.graduation-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.92);
    display: flex; justify-content: center; align-items: center;
    z-index: 1000;
}

.graduation-card {
    background: var(--vellum);
    color: var(--obsidian);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: slideUp 0.5s ease-out;
}

/* --- SECTION 7: FOOTER & SYSTEM INFO --- */
footer {
    padding: 80px 20px;
    text-align: center;
    border-top: 1px solid var(--slate-cask);
    color: var(--ghost-ash);
    font-size: 0.85rem;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* --- SECTION 8: MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .container {
        margin: 30px auto;
        padding: 0 20px;
    }

    h1 { font-size: 1.7rem; }
    .manifesto-excerpt { font-size: 1.1rem; }

    nav {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    nav a {
        margin: 0;
        display: block;
    }

    .pillar-grid, .pillars-grid {
        grid-template-columns: 1fr; /* Stack for mobile */
        gap: 25px;
    }

    .button-link, .btn-ledger {
        width: 100%;
    }
}

/* --- SECTION 9: SECURITY & ANTI-SPAM --- */
.hp-gate {
    display: none;
    visibility: hidden;
}

/* Login Button with Icon */
.btn-login {
    display: inline-flex;
    align-items: center;
    background-color: transparent;
    color: #D4AF37; /* Brand Amber */
    padding: 10px 20px;
    border: 1px solid #D4AF37;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-login i {
    font-size: 0.9rem;
    color: #D4AF37;
}

.btn-login:hover {
    background-color: #D4AF37;
    color: #0F0F0F;
}

.btn-login:hover i {
    color: #0F0F0F; /* Icon flips color on hover */
}

