/* =========================================================
   FOXBORGER BRANDING THEME — base2.css
   Color palette: Deep Purple, Cyan, Pan Flag Accents, Vaporwave Gradients
   ========================================================= */

/* ===== ROOT VARIABLES ===== */
:root {
    /* Core Brand Colors */
    --fox-purple: #644394;
    --fox-cyan: #1cc9cb;

    /* Pan Flag Accents */
    --pan-pink: #ff218c;
    --pan-yellow: #ffd800;
    --pan-blue: #21b1ff;

    /* Supporting Colors */
    --neutral-dark: #0d0d12;
    --neutral-light: #f5f5f7;
    --text-main: #e9e9f4;
    --text-subtle: #b5b5c9;

    /* Gradients */
    --gradient-main: linear-gradient(135deg, var(--fox-purple), var(--fox-cyan));
    --gradient-accent: linear-gradient(135deg, var(--pan-pink), var(--pan-blue));
}

/* ===== GLOBAL STYLES ===== */
body {
    background-color: var(--neutral-dark);
    color: var(--text-main);
    font-family: 'Poppins', 'Inter', sans-serif;
    background-image:
            radial-gradient(circle at 20% 20%, rgba(100, 67, 148, 0.3), transparent 70%),
            radial-gradient(circle at 80% 80%, rgba(33, 177, 255, 0.15), transparent 70%);
    background-attachment: fixed;
    background-size: cover;
    transition: background 0.5s ease, color 0.3s ease;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--fox-cyan);
}

h1 {
    font-size: 2.75rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2em;
}

h2 {
    color: var(--pan-pink);
}

p {
    color: var(--text-subtle);
    line-height: 1.7;
}

/* ===== HERO SECTION ===== */
.hero {
    background: var(--gradient-main);
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
    color: white;
    text-align: center;
    padding: 6rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero h1 {
    font-size: 3rem;
    text-shadow: 0 0 12px rgba(33, 201, 203, 0.8);
}

.hero p {
    max-width: 700px;
    margin: 1rem auto;
    font-size: 1.125rem;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ===== ACCESSIBLE ANCHORS ===== */
a {
    color: var(--fox-cyan);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease, background 0.3s ease;
}

a:hover,
a:focus {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(28, 201, 203, 0.8);
}

a:focus-visible {
    outline: 2px solid var(--fox-cyan);
    outline-offset: 2px;
}

/* ===== CARDS ===== */
.card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(33, 201, 203, 0.3);
}

.card-header {
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--fox-cyan);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem;
}

.card-body {
    padding: 1.5rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    border-radius: 9999px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border: none;
    outline: none;
}

.btn,
.btn:link,
.btn:visited {
    color: #fff;
}

/* --- Base solid variants with improved accessibility --- */
.btn-purple {
    background-color: #56357f; /* darker for contrast */
}

.btn-cyan {
    background-color: #0e9fa1; /* deeper teal */
}

.btn-pink {
    background-color: #d4146a; /* higher contrast pink */
}

.btn-yellow {
    background-color: #c7a000; /* muted gold */
    color: #0d0d12;
}

.btn-blue {
    background-color: #1476b8; /* deeper sky blue */
}

/* --- Hover / Focus styles --- */
.btn:hover,
.btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
    filter: brightness(1.1);
}

/* --- Active click feedback --- */
.btn:active {
    transform: scale(0.97);
    filter: brightness(0.95);
}

/* --- Accessibility outline for keyboard users --- */
.btn:focus-visible {
    outline: 3px solid var(--fox-cyan);
    outline-offset: 3px;
}

/* --- Disabled state --- */
.btn[disabled],
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    filter: none;
    box-shadow: none;
}

/* --- Text link variant for inline usage --- */
a.text-link {
    font-weight: 600;
    color: var(--fox-cyan);
    border-bottom: 1px solid transparent;
}

a.text-link:hover,
a.text-link:focus {
    border-bottom-color: var(--fox-cyan);
    color: #fff;
}

/* ===== FOOTER ===== */
footer {
    background: var(--neutral-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    color: var(--text-subtle);
}

footer a {
    color: var(--fox-cyan);
    margin: 0 0.5rem;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

footer a:hover {
    color: var(--pan-pink);
    text-shadow: 0 0 8px rgba(255, 33, 140, 0.6);
}

/* ===== UTILITIES ===== */
.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glow {
    text-shadow: 0 0 10px rgba(28, 201, 203, 0.8);
}

.bg-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
}

.neon-divider {
    height: 2px;
    background: var(--gradient-accent);
    border: none;
    border-radius: 999px;
    margin: 2rem auto;
    width: 50%;
}
