/* ============================================
   KUDOS AiN - MASTER STYLESHEET
   Revolutionary Social Benefit Network
   Theme: Kenya Flag (Black, Red, Green, White)
   ============================================ */

:root {
    --accent: #BB1600;
    --accent-hover: #991400;
    --success: #006B3F;
    --success-light: #10B981;
    --warning: #D97706;
    --footer-bg: #006B3F;
    --bg-primary: #0F1419;
    --bg-secondary: #1A202C;
    --bg-tertiary: #2D3748;
    --text-primary: #FFFFFF;
    --text-secondary: #CBD5E0;
    --text-muted: #718096;
    --border: #374151;
}

[data-theme="light"] {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #F1F5F9;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --border: #E2E8F0;
}

[data-contrast="high"] {
    --text-primary: #FFFFFF;
    --text-secondary: #FFFFFF;
    --bg-primary: #000000;
    --bg-secondary: #1A1A1A;
    --border: #FFFFFF;
}

[data-text-size="large"] { font-size: 120%; }
[data-text-size="extra-large"] { font-size: 140%; }
[data-motion="reduced"] * {
    animation: none !important;
    transition: none !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
}

/* ============================================
   ANIMATIONS (GPU-ACCELERATED)
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translate3d(-50px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translate3d(50px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-up {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.animate-left {
    animation: slideInLeft 0.6s ease forwards;
    opacity: 0;
}

.animate-right {
    animation: slideInRight 0.6s ease forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ============================================
   LOGO
   ============================================ */

.logo-img {
    height: 55px;
    width: auto;
    transition: filter 0.3s;
    display: block;
}

[data-theme="dark"] .logo-img {
    filter: brightness(0) invert(1);
}

[data-theme="light"] .logo-img {
    filter: none;
}

/* ============================================
   HERO STAMP (45° ROTATION)
   ============================================ */

.hero-stamp {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    transform: rotate(45deg);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.hero-stamp img {
    width: 100%;
    height: auto;
}

[data-theme="dark"] .hero-stamp img {
    filter: brightness(0) invert(1);
}

[data-theme="light"] .hero-stamp img {
    filter: brightness(0);
}

/* ============================================
   ATTENTION BANNER
   ============================================ */

.attention-banner {
    background: #FFF;
    color: #0F172A;
    text-align: center;
    padding: 1.25rem 2rem;
    overflow: hidden;
}

.attention-banner p {
    margin-bottom: 0.25rem;
}

.attention-banner p:nth-child(1) {
    font-weight: 700;
    font-size: 1.5rem;
}

.attention-banner p:nth-child(2) {
    font-weight: 600;
    font-size: 1.25rem;
    color: #475569;
}

.attention-banner p:nth-child(3) {
    font-weight: 900;
    font-size: 1.75rem;
    color: var(--accent);
}

/* ============================================
   LIVE TICKER
   ============================================ */

.live-ticker {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    animation: ticker 40s linear infinite;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    margin-right: 3rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.ticker-item strong {
    color: var(--accent);
    margin-right: 0.5rem;
}

.ticker-projection strong {
    