/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */
:root {
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --bg-card-hover: #334155;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #38bdf8;
    --primary-glow: rgba(56, 189, 248, 0.3);
    --accent-green: #10b981;
    --accent-glow: rgba(16, 185, 129, 0.25);
    --border-color: #334155;
    --border-dashed: #475569;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   2. NAVBAR & HEADER
   ========================================================================== */
header {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 50;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-logo span {
    color: var(--primary);
}

.trust-badge {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--accent-glow);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero {
    text-align: center;
    padding: 4rem 1.5rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero h1 span {
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ==========================================================================
   4. NICHES GRID (INDEX.HTML)
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
    flex: 1;
}

.niches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.5rem;
}

.niche-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.niche-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px -5px var(--primary-glow);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.2rem;
}

.niche-logo {
    width: 55px;
    height: 55px;
    border-radius: var(--radius-sm);
    background: #0f172a;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.niche-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--primary);
    text-transform: uppercase;
}

.card-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.discount-text {
    color: var(--accent-green);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.2rem;
}

/* Coupon Code Box Preview */
.coupon-box {
    background: rgba(15, 23, 42, 0.6);
    border: 1.5px dashed var(--border-dashed);
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.coupon-code {
    font-family: monospace;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-main);
}

.coupon-status {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.card-footer {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.claimed-stats {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Action Button */
.btn-claim {
    display: block;
    width: 100%;
    padding: 0.85rem;
    background: linear-gradient(135deg, #0284c7, #2563eb);
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-claim:hover {
    background: linear-gradient(135deg, #0369a1, #1d4ed8);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

/* ==========================================================================
   5. SINGLE CLAIM PAGE (CLAIM.HTML)
   ========================================================================== */
.single-claim-wrapper {
    max-width: 550px;
    margin: 3rem auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
}

.single-logo-large {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: #0f172a;
    border-radius: var(--radius-md);
    padding: 12px;
    border: 1px solid var(--border-color);
}

.single-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.timer-box {
    margin: 1.5rem 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ==========================================================================
   6. FOOTER
   ========================================================================== */
footer {
    background: #090d16;
    border-top: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================================================
   7. RESPONSIVE DESIGN (MOBILE FRIENDLY)
   ========================================================================== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.85rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }

    .niches-grid {
        grid-template-columns: 1fr;
    }

    .single-claim-wrapper {
        margin: 1rem auto;
        padding: 1.5rem;
    }
}