/* --- 1. GLOBAL RESET & THEME --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&family=Space+Mono:wght@400;700&display=swap');

:root {
    --bg-color: #050505;
    --bg-secondary: #111111;
    --card-bg: #151515;
    --text-main: #ffffff;
    --text-muted: #888888;
    --accent: #ffffff;
    --font-main: 'Inter', sans-serif;
    --font-mono: 'Space Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- 2. NAVIGATION --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-logo { font-weight: 900; font-size: 1.5rem; text-transform: uppercase; letter-spacing: -1px; }
.nav-logo span { color: var(--text-muted); }

.discord-btn-small {
    text-decoration: none;
    color: #000 !important;
    background: #fff !important;
    padding: 10px 24px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.75rem;
    border-radius: 2px;
    transition: 0.3s ease;
    border: none;
    cursor: pointer;
}

.discord-btn-small:hover {
    background: #ccc !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* --- 3. HERO SECTION --- */
.hero {
    padding: 120px 5% 60px;
    text-align: center;
    background: radial-gradient(circle at 50% 50%, #151515 0%, #050505 100%);
    width: 100%;
}

.glitch-wrapper {
    font-size: clamp(3rem, 10vw, 5.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -3px;
    margin: 20px 0;
}

.tagline {
    font-family: var(--font-mono);
    color: var(--text-muted);
    letter-spacing: 5px;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.hero-desc {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* --- 4. CAMPAIGN GRID --- */
.process {
    padding: 80px 5%;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    flex: 1; /* Pushes footer to bottom */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 50px;
    font-weight: 900;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
    width: 100%;
    justify-content: center;
}

.campaign-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 35px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.campaign-card:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.client-logo {
    width: 55px;
    height: 55px;
    background: #222;
    border-radius: 4px;
    object-fit: contain;
}

.card-title {
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: -0.5px;
}

.liquidity-bar {
    background: #222;
    height: 6px;
    width: 100%;
    margin: 20px 0;
    border-radius: 3px;
    overflow: hidden;
}

.liquidity-fill {
    background: #fff;
    height: 100%;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.main-cta {
    width: 100%;
    background: #fff;
    color: #000;
    padding: 18px;
    border: none;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: auto;
    font-size: 0.85rem;
    transition: 0.3s;
}

.main-cta:hover {
    background: #ccc;
}

/* --- 5. MODALS --- */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.92);
    backdrop-filter: blur(12px); z-index: 2000;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}

.modal-content {
    background: #0a0a0a; 
    border: 1px solid #222; 
    padding: 50px;
    width: 100%;
    max-width: 550px; 
    position: relative;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.close-btn {
    position: absolute; top: 20px; right: 25px;
    font-size: 1.8rem; cursor: pointer; color: #555;
    transition: 0.2s;
}

.close-btn:hover { color: #fff; }

/* --- BOUNTY BOARD STYLES --- */

/* --- BOUNTY BOARD STYLES (For index.html) --- */

#bountyGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
    margin-top: 20px;
}

.bounty-card {
    background: #111;
    border: 1px solid #222;
    padding: 20px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, border-color 0.2s;
    min-height: 180px;
    position: relative;
}

.bounty-card:hover {
    border-color: #f59e0b; /* Orange glow on hover */
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.1);
}

.bounty-card h4 {
    color: #fff;
    margin: 10px 0;
    font-size: 1.1rem;
}

.bounty-btn {
    width: 100%;
    padding: 12px;
    background: #fff;
    color: #000;
    border: none;
    font-weight: 900;
    cursor: pointer;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-top: auto; 
    transition: 0.3s;
    border-radius: 2px;
}

.bounty-btn:hover {
    background: #f59e0b; 
    color: white;
}

/* Disabled State (Pending/Cooldown) */
.bounty-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
    background: #333;
    color: #888;
}

/* Modal Styling */
.modal-overlay {
    backdrop-filter: blur(5px);
}

/* --- 6. FOOTER --- */
footer {
    text-align: center;
    padding: 80px 20px;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 3px;
    width: 100%;
}