/* ============================================================
   DECOLONISE AFRICA — Premium Futuristic CSS
   Pan-African colors + dark aerospace aesthetic
   ============================================================ */

:root {
    --bg-deep: #05070b;
    --bg-card: rgba(12, 18, 28, 0.85);
    --bg-glass: rgba(18, 28, 42, 0.6);
    --gold: #d4a017;
    --gold-light: #f0c14b;
    --green: #0a7a3e;
    --green-bright: #12b35a;
    --red: #c41e3a;
    --text: #e8eef5;
    --text-muted: #8a9bb0;
    --border: rgba(212, 160, 23, 0.25);
    --glow: 0 0 30px rgba(212, 160, 23, 0.15);
    --radius: 16px;
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Subtle starfield background */
.stars {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 40% 70%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1.5px 1.5px at 70% 20%, rgba(212,160,23,0.4), transparent),
        radial-gradient(1px 1px at 90% 60%, rgba(255,255,255,0.25), transparent),
        radial-gradient(1px 1px at 10% 80%, rgba(18,179,90,0.3), transparent);
    background-size: 200% 200%;
    animation: starsMove 120s linear infinite;
    pointer-events: none;
    z-index: -1;
    opacity: 0.6;
}

@keyframes starsMove {
    from { background-position: 0 0; }
    to { background-position: 100% 100%; }
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========== HEADER ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(5, 7, 11, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
}

.logo-icon {
    color: var(--gold);
    font-size: 1.5rem;
    text-shadow: 0 0 12px rgba(212,160,23,0.6);
}

.logo-text span {
    color: var(--gold);
    margin-left: 0.15em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.main-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.25s;
}

.main-nav a:hover { color: var(--gold-light); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    transition: 0.3s;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), #b8860b);
    color: #0a0a0a;
    box-shadow: 0 4px 20px rgba(212,160,23,0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(212,160,23,0.5);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}

.btn-outline:hover {
    background: rgba(212,160,23,0.12);
}

.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

.btn-green {
    background: linear-gradient(135deg, var(--green), #086b35);
    color: white;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    padding: 6rem 0 5rem;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212,160,23,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(212,160,23,0.15);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold-light);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #fff 30%, var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p.lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Spacecraft visual */
.craft-visual {
    margin: 4rem auto 0;
    max-width: 700px;
    position: relative;
}

.craft-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(212,160,23,0.25));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}

/* ========== SECTIONS ========== */
.section {
    padding: 5rem 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 3rem;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    backdrop-filter: blur(12px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--glow);
}

.card.featured {
    border-color: var(--gold);
    position: relative;
}

.card.featured::before {
    content: 'FLAGSHIP';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: #0a0a0a;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.8rem;
    border-radius: 20px;
    letter-spacing: 0.05em;
}

.card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
    color: var(--gold-light);
}

.card .tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.card .price {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 1rem 0;
}

.card .price small {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
}

.card ul {
    list-style: none;
    margin: 1.25rem 0;
}

.card ul li {
    padding: 0.35rem 0;
    padding-left: 1.4rem;
    position: relative;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.card ul li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--green-bright);
    font-size: 0.65rem;
    top: 0.55rem;
}

/* News / Press strip */
.news-strip {
    background: linear-gradient(90deg, rgba(196,30,58,0.15), rgba(212,160,23,0.1), rgba(10,122,62,0.15));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
    text-align: center;
}

.news-strip p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.news-strip strong { color: var(--gold-light); }

/* Tech features */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.tech-item {
    background: var(--bg-glass);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 1.75rem;
}

.tech-item .icon {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    color: var(--gold);
}

.tech-item h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.tech-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Invest tiers */
.invest-card {
    text-align: center;
}

.invest-card .amount {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold);
    margin: 0.75rem 0;
}

/* Forms */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(0,0,0,0.35);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.25s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Order / Deposit box */
.deposit-box {
    background: var(--bg-card);
    border: 1px solid var(--gold);
    border-radius: var(--radius);
    padding: 2.5rem;
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}

.deposit-box .big-price {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold);
}

/* Admin */
.admin-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: calc(100vh - 72px);
}

.admin-sidebar {
    background: rgba(8,12,20,0.95);
    border-right: 1px solid var(--border);
    padding: 2rem 1.25rem;
}

.admin-sidebar a {
    display: block;
    padding: 0.7rem 1rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    background: rgba(212,160,23,0.12);
    color: var(--gold);
}

.admin-content {
    padding: 2rem;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.table th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

/* Footer */
.site-footer {
    background: rgba(3,5,8,0.95);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-links a:hover { color: var(--gold-light); }

.footer-contact p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-contact a { color: var(--gold); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom .disclaimer {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 900px) {
    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(5,7,11,0.97);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        transform: translateY(-120%);
        transition: transform 0.3s;
        border-bottom: 1px solid var(--border);
    }
    .main-nav.open { transform: translateY(0); }
    .nav-toggle { display: flex; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .admin-layout { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hero { padding: 4rem 0 3rem; }
}

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.gold { color: var(--gold); }
.muted { color: var(--text-muted); }
/* ========== GEN Z SCENE SECTION ========== */
.scene-section {
    background: linear-gradient(180deg, rgba(10,122,62,0.05) 0%, transparent 100%);
}
.scene-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.scene-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.scene-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--glow);
}
.scene-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/11;
    background: #0a121c;
    overflow: hidden;
}
.scene-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.scene-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.scene-placeholder svg {
    width: 100%;
    height: 100%;
}
.scene-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--gold-light);
    padding: 1.25rem 1.5rem 0.4rem;
}
.scene-card p {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* Hero craft image */
.craft-img {
    width: 100%;
    max-width: 720px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 40px rgba(212,160,23,0.3));
    animation: float 6s ease-in-out infinite;
}

/* Product card images */
.card-img {
    width: 100%;
    aspect-ratio: 16/10;
    background: #0a121c;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.25rem;
}
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.card:hover .card-img img {
    transform: scale(1.05);
}

/* Ensure images respect dark theme */
img {
    max-width: 100%;
    height: auto;
}
