/* Vibrant Arc Raiders Theme - Bold, Colorful, Electric */

:root {
    /* Vibrant Brand Colors */
    --arc-cyan: #00e5ff;
    --arc-green: #00e676;
    --arc-yellow: #ffe600;
    --arc-red: #ff2d55;
    --arc-blue: #2979ff;
    --arc-magenta: #d500f9;
    --arc-orange: #ff9100;

    /* Deep Navy Dark Theme */
    --bg-primary: #060a1f;
    --bg-secondary: #0a0e27;
    --bg-tertiary: #111640;
    --bg-card: rgba(17, 22, 64, 0.7);
    --bg-card-hover: rgba(26, 33, 82, 0.85);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b4b8e0;
    --text-muted: #7a7faa;

    /* Glassmorphism */
    --glass-bg: rgba(17, 22, 64, 0.5);
    --glass-border: rgba(41, 121, 255, 0.15);

    /* Shadows - Vibrant */
    --shadow-sm: 0 2px 8px rgba(10, 14, 39, 0.4);
    --shadow-md: 0 4px 20px rgba(10, 14, 39, 0.5);
    --shadow-lg: 0 8px 40px rgba(10, 14, 39, 0.6);
    --shadow-glow-cyan: 0 0 25px rgba(0, 229, 255, 0.4);
    --shadow-glow-blue: 0 0 25px rgba(41, 121, 255, 0.4);
    --shadow-glow-red: 0 0 25px rgba(255, 45, 85, 0.4);
    --shadow-glow-yellow: 0 0 25px rgba(255, 230, 0, 0.4);

    /* Gradients - Multi-color */
    --gradient-primary: linear-gradient(135deg, var(--arc-blue) 0%, var(--arc-cyan) 100%);
    --gradient-accent: linear-gradient(135deg, var(--arc-yellow) 0%, var(--arc-orange) 100%);
    --gradient-danger: linear-gradient(135deg, var(--arc-red) 0%, var(--arc-magenta) 100%);
    --gradient-rainbow: linear-gradient(135deg, var(--arc-red), var(--arc-yellow), var(--arc-cyan), var(--arc-blue));
    --gradient-warm: linear-gradient(135deg, var(--arc-red) 0%, var(--arc-orange) 50%, var(--arc-yellow) 100%);
    --gradient-cool: linear-gradient(135deg, var(--arc-cyan) 0%, var(--arc-blue) 50%, var(--arc-magenta) 100%);
    --gradient-card: linear-gradient(135deg, rgba(17, 22, 64, 0.9) 0%, rgba(26, 33, 82, 0.7) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Vibrant Background with Multi-Color Gradient Mesh */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 15% 25%, rgba(255, 45, 85, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 20%, rgba(0, 229, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 70%, rgba(41, 121, 255, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(255, 230, 0, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 75%, rgba(213, 0, 249, 0.08) 0%, transparent 40%);
    z-index: -1;
    animation: meshMove 25s ease-in-out infinite;
}

/* Secondary color wave layer */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(41, 121, 255, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 30%, rgba(0, 229, 255, 0.04) 0%, transparent 60%);
    z-index: -1;
    animation: colorWave 15s ease-in-out infinite alternate;
}

@keyframes meshMove {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -20px) rotate(1deg); }
    50% { transform: translate(60px, 40px) rotate(-1deg); }
    75% { transform: translate(-20px, 60px) rotate(0.5deg); }
}

@keyframes colorWave {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

/* Container */
main {
    flex: 1 0 auto;
    padding: 2rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Modern Vibrant Cards */
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-rainbow);
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), var(--shadow-glow-blue);
    border-color: var(--arc-cyan);
}

.card:hover::before {
    opacity: 1;
}

.card-enhanced {
    background: var(--gradient-card);
    border: 1px solid rgba(41, 121, 255, 0.25);
    position: relative;
}

.card-enhanced::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-rainbow);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card-enhanced:hover::after {
    opacity: 0.4;
}

/* Modern Vibrant Buttons */
.btn {
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    border: none;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(41, 121, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(41, 121, 255, 0.6), 0 0 40px rgba(0, 229, 255, 0.2);
}

.btn-success {
    background: linear-gradient(135deg, var(--arc-green), var(--arc-cyan));
    color: #000;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(0, 230, 118, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(0, 230, 118, 0.5), 0 0 40px rgba(0, 229, 255, 0.2);
}

.btn-danger {
    background: var(--gradient-danger);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(255, 45, 85, 0.3);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--arc-blue);
    color: var(--arc-cyan);
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    color: #fff;
    transform: translateY(-2px);
}

/* Modern Vibrant Navbar */
.navbar {
    background: rgba(6, 10, 31, 0.85) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: none;
    padding: 1rem 2rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    position: relative;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-rainbow);
    animation: rainbowSlide 4s linear infinite;
    background-size: 200% 100%;
}

@keyframes rainbowSlide {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-rainbow);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    letter-spacing: -0.02em;
}

@keyframes brandColorShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: #ffffff !important;
    background: rgba(41, 121, 255, 0.12);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.nav-link:hover::after {
    width: 80%;
}

/* Vibrant Hero Section */
.hero-banner {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border-radius: 28px;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent,
        var(--arc-red),
        var(--arc-yellow),
        var(--arc-cyan),
        var(--arc-blue),
        transparent 40%
    );
    animation: rotateGradient 10s linear infinite;
    opacity: 0.08;
}

.hero-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 45, 85, 0.05),
        rgba(0, 229, 255, 0.05),
        rgba(255, 230, 0, 0.05),
        rgba(41, 121, 255, 0.05)
    );
    z-index: 0;
    pointer-events: none;
}

.hero-banner > * {
    position: relative;
    z-index: 1;
}

@keyframes rotateGradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    background: var(--gradient-rainbow);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
    animation: heroColorShift 5s ease-in-out infinite;
}

@keyframes heroColorShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--text-secondary);
    font-weight: 400;
    position: relative;
    z-index: 1;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-header h2 {
    background: var(--gradient-rainbow);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
    animation: sectionColorShift 8s ease-in-out infinite;
}

@keyframes sectionColorShift {
    0%, 100% { background-position: 0% 50%; }
    33% { background-position: 50% 50%; }
    66% { background-position: 100% 50%; }
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 4px;
    background: var(--gradient-rainbow);
    border-radius: 2px;
}

/* Modern Form Inputs */
.form-control {
    background: rgba(17, 22, 64, 0.7);
    border: 2px solid rgba(41, 121, 255, 0.2);
    border-radius: 12px;
    padding: 0.875rem 1rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(17, 22, 64, 0.9);
    border-color: var(--arc-cyan);
    box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.15), 0 0 20px rgba(0, 229, 255, 0.1);
    outline: none;
    color: var(--text-primary);
}

.form-label {
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Badges */
.badge {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
}

.badge.bg-warning {
    background: var(--gradient-accent) !important;
    color: #000;
}

.badge.bg-info {
    background: var(--gradient-primary) !important;
    color: #fff;
}

.badge.bg-secondary {
    background: rgba(41, 121, 255, 0.15) !important;
    color: var(--arc-cyan);
    border: 1px solid var(--arc-blue);
}

/* Tables */
.table {
    color: var(--text-primary);
    background: transparent;
}

.table thead th {
    border-bottom: 2px solid rgba(41, 121, 255, 0.3);
    color: var(--text-secondary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    padding: 1rem;
}

.table tbody tr {
    border-bottom: 1px solid rgba(41, 121, 255, 0.1);
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background: linear-gradient(135deg, rgba(41, 121, 255, 0.08), rgba(0, 229, 255, 0.04));
}

.table tbody td {
    padding: 1rem;
    vertical-align: middle;
}

/* Alerts */
.alert {
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    border: 1px solid;
    backdrop-filter: blur(10px);
    font-weight: 500;
}

.alert-success {
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.1), rgba(0, 229, 255, 0.06));
    border-color: var(--arc-green);
    color: var(--arc-green);
}

.alert-danger {
    background: linear-gradient(135deg, rgba(255, 45, 85, 0.1), rgba(213, 0, 249, 0.06));
    border-color: var(--arc-red);
    color: var(--arc-red);
}

.alert-info {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(41, 121, 255, 0.06));
    border-color: var(--arc-cyan);
    color: var(--arc-cyan);
}

.alert-warning {
    background: linear-gradient(135deg, rgba(255, 230, 0, 0.1), rgba(255, 145, 0, 0.06));
    border-color: var(--arc-yellow);
    color: var(--arc-yellow);
}

/* Footer */
.footer {
    background: rgba(6, 10, 31, 0.9);
    backdrop-filter: blur(20px);
    border-top: none;
    padding: 2rem 0;
    margin-top: auto;
    flex-shrink: 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-rainbow);
}

.footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--arc-cyan);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

/* Clan Cards Grid */
.clan-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Feature Cards */
.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-rainbow);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--arc-blue);
    box-shadow: 0 12px 40px rgba(41, 121, 255, 0.25), 0 0 30px rgba(0, 229, 255, 0.1);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: var(--shadow-glow-blue);
}

/* Mission Briefing Section */
.mission-briefing {
    position: relative;
}

.mission-briefing__steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    flex-wrap: wrap;
}

.mission-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 0;
    min-width: 220px;
    max-width: 340px;
    position: relative;
    padding: 0 1rem;
}

/* Animated node with pulsing ring */
.mission-step__node {
    position: relative;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    z-index: 2;
}

.mission-step__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--arc-cyan);
    animation: missionRingPulse 3s ease-in-out infinite;
}

.mission-step:nth-child(2) .mission-step__ring {
    border-color: var(--arc-yellow);
    animation-delay: 0.5s;
}

.mission-step:nth-child(3) .mission-step__ring {
    border-color: var(--arc-red);
    animation-delay: 1s;
}

@keyframes missionRingPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.4);
    }
    50% {
        transform: scale(1.12);
        opacity: 0.7;
        box-shadow: 0 0 20px 4px rgba(0, 229, 255, 0.15);
    }
}

.mission-step:nth-child(2) .mission-step__ring {
    animation-name: missionRingPulseYellow;
}

@keyframes missionRingPulseYellow {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(255, 230, 0, 0.4);
    }
    50% {
        transform: scale(1.12);
        opacity: 0.7;
        box-shadow: 0 0 20px 4px rgba(255, 230, 0, 0.15);
    }
}

.mission-step:nth-child(3) .mission-step__ring {
    animation-name: missionRingPulseRed;
}

@keyframes missionRingPulseRed {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(255, 45, 85, 0.4);
    }
    50% {
        transform: scale(1.12);
        opacity: 0.7;
        box-shadow: 0 0 20px 4px rgba(255, 45, 85, 0.15);
    }
}

.mission-step__number {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--arc-cyan);
    letter-spacing: 0.05em;
    z-index: 1;
}

.mission-step:nth-child(2) .mission-step__number {
    color: var(--arc-yellow);
}

.mission-step:nth-child(3) .mission-step__number {
    color: var(--arc-red);
}

/* Horizontal connector line between steps */
.mission-step__connector {
    display: none;
}

@media (min-width: 768px) {
    .mission-step__connector {
        display: block;
        position: absolute;
        top: 28px;
        left: calc(50% + 32px);
        width: calc(100% - 64px);
        height: 2px;
        background: linear-gradient(90deg, var(--arc-cyan) 0%, transparent 100%);
        opacity: 0.3;
        z-index: 1;
    }

    .mission-step:nth-child(2) .mission-step__connector {
        background: linear-gradient(90deg, var(--arc-yellow) 0%, transparent 100%);
    }

    .mission-step:last-child .mission-step__connector {
        display: none;
    }
}

/* Step card */
.mission-step__card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.mission-step__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--arc-cyan), var(--arc-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mission-step:nth-child(2) .mission-step__card::before {
    background: linear-gradient(90deg, var(--arc-yellow), var(--arc-orange));
}

.mission-step:nth-child(3) .mission-step__card::before {
    background: linear-gradient(90deg, var(--arc-red), var(--arc-magenta));
}

.mission-step__card:hover {
    border-color: var(--arc-cyan);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.15);
    transform: translateY(-4px);
}

.mission-step:nth-child(2) .mission-step__card:hover {
    border-color: var(--arc-yellow);
    box-shadow: 0 0 25px rgba(255, 230, 0, 0.15);
}

.mission-step:nth-child(3) .mission-step__card:hover {
    border-color: var(--arc-red);
    box-shadow: 0 0 25px rgba(255, 45, 85, 0.15);
}

.mission-step__card:hover::before {
    opacity: 1;
}

/* Step icon */
.mission-step__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--arc-cyan);
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.mission-step__icon--deploy {
    color: var(--arc-yellow);
    background: rgba(255, 230, 0, 0.08);
    border-color: rgba(255, 230, 0, 0.2);
}

.mission-step__icon--dominate {
    color: var(--arc-red);
    background: rgba(255, 45, 85, 0.08);
    border-color: rgba(255, 45, 85, 0.2);
}

/* Step title */
.mission-step__title {
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

/* Step description */
.mission-step__desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Step status tag */
.mission-step__tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--arc-cyan);
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.mission-step:nth-child(2) .mission-step__tag {
    color: var(--arc-yellow);
    background: rgba(255, 230, 0, 0.08);
    border-color: rgba(255, 230, 0, 0.2);
}

.mission-step:nth-child(3) .mission-step__tag {
    color: var(--arc-red);
    background: rgba(255, 45, 85, 0.08);
    border-color: rgba(255, 45, 85, 0.2);
}

/* Responsive: stack vertically on small screens */
@media (max-width: 767px) {
    .mission-briefing__steps {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .mission-step {
        max-width: 360px;
    }
}

/* Loading Animation */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.loading-shimmer {
    animation: shimmer 2s infinite;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(41, 121, 255, 0.15) 25%,
        rgba(0, 229, 255, 0.15) 50%,
        rgba(255, 45, 85, 0.1) 75%,
        transparent 100%
    );
    background-size: 1000px 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-banner {
        padding: 3rem 1.5rem;
    }

    .navbar {
        padding: 1rem;
    }

    .card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    main {
        padding: 1rem;
    }

    .clan-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection - Vibrant */
::selection {
    background: var(--arc-blue);
    color: #fff;
}

::-moz-selection {
    background: var(--arc-blue);
    color: #fff;
}

/* Scrollbar - Vibrant */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-cool);
}

/* ================================================
   ARC NAVIGATION — Styled Bootstrap Navbar
   ================================================ */
.arc-nav {
    background: rgba(6, 10, 31, 0.92) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(41, 121, 255, 0.15) !important;
    position: relative;
    padding: 0.35rem 0;
}

.arc-nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-rainbow);
    background-size: 200% 100%;
    animation: rainbowSlide 4s linear infinite;
}

/* Brand Badge */
.arc-nav__brand-badge {
    background: var(--arc-red);
    color: #fff;
    font-family: 'Orbitron', 'Rajdhani', monospace;
    font-weight: 900;
    font-size: 0.85rem;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.15em;
    line-height: 1;
}

.arc-nav__brand-text {
    color: var(--text-primary) !important;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    margin-left: 0.4rem;
}

.arc-nav .navbar-brand {
    display: flex;
    align-items: center;
}

/* Nav links styling */
.arc-nav .nav-link {
    color: var(--text-secondary) !important;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 0.85rem !important;
    border-radius: 8px;
    transition: all 0.25s ease;
    letter-spacing: 0.02em;
}

.arc-nav .nav-link:hover,
.arc-nav .nav-link:focus {
    color: #fff !important;
    background: rgba(41, 121, 255, 0.12);
}

.arc-nav__link--twitch {
    color: #9146FF !important;
}

.arc-nav__link--twitch:hover {
    background: rgba(145, 70, 255, 0.12) !important;
    color: #b380ff !important;
}

.arc-nav .navbar-toggler {
    border-color: rgba(41, 121, 255, 0.3);
}

/* ================================================
   ARC FOOTER — Styled Bootstrap Footer
   ================================================ */
.arc-footer {
    background: rgba(6, 10, 31, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(41, 121, 255, 0.15) !important;
    padding: 2rem 0 1rem !important;
    position: relative;
}

.arc-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-rainbow);
    background-size: 200% 100%;
    animation: rainbowSlide 4s linear infinite;
}

.arc-footer__heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.arc-footer a:hover {
    color: var(--arc-cyan) !important;
}

/* ================================================
   HUD CLAN CARDS — Roster Section
   ================================================ */
.hud-roster-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.hud-clan-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    text-decoration: none !important;
    color: var(--text-primary) !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hud-clan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.hud-clan-card:hover {
    border-color: var(--arc-cyan);
    box-shadow: 0 8px 40px rgba(0, 229, 255, 0.15), 0 0 30px rgba(41, 121, 255, 0.1);
    transform: translateY(-6px);
    text-decoration: none !important;
    color: var(--text-primary) !important;
}

.hud-clan-card:hover::before {
    opacity: 1;
}

.hud-clan-card--full {
    border-color: rgba(255, 45, 85, 0.2);
}

.hud-clan-card--full::before {
    background: var(--gradient-danger);
}

.hud-clan-card--full:hover {
    border-color: var(--arc-red);
    box-shadow: 0 8px 40px rgba(255, 45, 85, 0.12);
}

/* Corner accents */
.hud-clan-card__corner {
    position: absolute;
    width: 16px;
    height: 16px;
}

.hud-clan-card__corner--tl {
    top: 0;
    left: 0;
    border-top: 2px solid var(--arc-cyan);
    border-left: 2px solid var(--arc-cyan);
    border-radius: 4px 0 0 0;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.hud-clan-card__corner--br {
    bottom: 0;
    right: 0;
    border-bottom: 2px solid var(--arc-cyan);
    border-right: 2px solid var(--arc-cyan);
    border-radius: 0 0 4px 0;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.hud-clan-card:hover .hud-clan-card__corner {
    opacity: 1;
}

.hud-clan-card--full .hud-clan-card__corner--tl,
.hud-clan-card--full .hud-clan-card__corner--br {
    border-color: var(--arc-red);
}

.hud-clan-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.hud-clan-card__tag {
    font-family: 'Orbitron', 'Rajdhani', monospace;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    color: var(--arc-yellow);
    background: rgba(255, 230, 0, 0.1);
    border: 1px solid rgba(255, 230, 0, 0.25);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.hud-clan-card__status {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
}

.hud-clan-card__status--open {
    color: var(--arc-green);
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid rgba(0, 230, 118, 0.25);
}

.hud-clan-card__status--full {
    color: var(--arc-red);
    background: rgba(255, 45, 85, 0.1);
    border: 1px solid rgba(255, 45, 85, 0.25);
}

.hud-clan-card__name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary) !important;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.hud-clan-card__desc {
    color: var(--text-muted) !important;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Capacity meter */
.hud-clan-card__meter {
    margin-bottom: 0.75rem;
}

.hud-clan-card__meter-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.hud-clan-card__meter-track {
    height: 4px;
    background: rgba(41, 121, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.hud-clan-card__meter-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.hud-clan-card__meter-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: -1px;
    width: 6px;
    height: 6px;
    background: var(--arc-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
}

.hud-clan-card__meter-fill--full {
    background: var(--gradient-danger);
}

.hud-clan-card__meter-fill--full::after {
    background: var(--arc-red);
    box-shadow: 0 0 8px rgba(255, 45, 85, 0.6);
}

.hud-clan-card__raids {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--arc-green);
    margin-bottom: 0.75rem;
}

.hud-clan-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--arc-cyan);
    padding-top: 0.75rem;
    border-top: 1px solid rgba(41, 121, 255, 0.1);
    transition: all 0.3s ease;
}

.hud-clan-card:hover .hud-clan-card__cta {
    color: #fff;
}

.hud-roster-viewall {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary) !important;
    text-decoration: none !important;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    border: 1px solid rgba(41, 121, 255, 0.25);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.hud-roster-viewall:hover {
    color: var(--arc-cyan) !important;
    border-color: var(--arc-cyan);
    background: rgba(0, 229, 255, 0.06);
    text-decoration: none !important;
}

/* ================================================
   HUD PAGE COMPONENTS — Unified Inner Page Theme
   ================================================ */

/* Page Header */
.hud-page-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(41, 121, 255, 0.1);
    position: relative;
}

.hud-page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 120px;
    height: 2px;
    background: var(--gradient-primary);
}

.hud-page-header__breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.hud-page-header__breadcrumb a {
    color: var(--arc-cyan) !important;
    text-decoration: none !important;
}

.hud-page-header__breadcrumb a:hover {
    color: #fff !important;
}

.hud-page-header__breadcrumb-sep {
    color: rgba(41, 121, 255, 0.3);
}

.hud-page-header__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.25rem;
    border: none !important;
    border-image: none !important;
    padding: 0 !important;
    color: var(--text-primary) !important;
}

.hud-page-header__subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.hud-page-header__actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

/* HUD Panel — replaces plain cards for page content */
.hud-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.hud-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(41, 121, 255, 0.1);
    background: rgba(17, 22, 64, 0.3);
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hud-panel__title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary) !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hud-panel__title-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--arc-cyan);
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

.hud-panel__body {
    padding: 1.5rem;
}

/* HUD Form Panel */
.hud-form-panel {
    max-width: 720px;
    margin: 0 auto;
}

.hud-form-panel .form-label {
    color: var(--text-secondary) !important;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hud-form-panel .form-control,
.hud-form-panel .form-select {
    background: rgba(17, 22, 64, 0.6) !important;
    border: 1px solid rgba(41, 121, 255, 0.2) !important;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: var(--text-primary) !important;
    transition: all 0.3s ease;
}

.hud-form-panel .form-control:focus,
.hud-form-panel .form-select:focus {
    border-color: var(--arc-cyan) !important;
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12) !important;
}

/* HUD Tabs */
.hud-tabs {
    display: flex;
    gap: 0.25rem;
    padding: 0.5rem;
    background: rgba(17, 22, 64, 0.3);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.hud-tabs .nav-link,
.hud-tabs .hud-tab {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted) !important;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: none !important;
    background: transparent !important;
    transition: all 0.25s ease;
    text-decoration: none !important;
}

.hud-tabs .nav-link:hover,
.hud-tabs .hud-tab:hover {
    color: var(--text-primary) !important;
    background: rgba(41, 121, 255, 0.1) !important;
}

.hud-tabs .nav-link.active,
.hud-tabs .hud-tab.active {
    color: #fff !important;
    background: var(--gradient-primary) !important;
    box-shadow: 0 2px 12px rgba(41, 121, 255, 0.3);
}

/* HUD Data Table */
.hud-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.hud-table thead th {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted) !important;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(41, 121, 255, 0.15);
    background: transparent !important;
}

.hud-table tbody tr {
    transition: all 0.25s ease;
    border-bottom: 1px solid rgba(41, 121, 255, 0.06) !important;
}

.hud-table tbody tr:hover {
    background: rgba(41, 121, 255, 0.06) !important;
}

.hud-table tbody td {
    padding: 0.85rem 1rem;
    color: var(--text-primary) !important;
    vertical-align: middle;
    border: none !important;
}

/* HUD Empty State */
.hud-empty {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-muted);
}

.hud-empty__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.4;
}

.hud-empty__text {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* HUD Auth Card — for Login/Register */
.hud-auth-card {
    max-width: 480px;
    margin: 2rem auto;
}

.hud-auth-card__divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hud-auth-card__divider::before,
.hud-auth-card__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(41, 121, 255, 0.15);
}

.hud-auth-card__discord-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.85rem 1.5rem;
    background: #5865F2;
    color: #fff !important;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: none;
}

.hud-auth-card__discord-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(88, 101, 242, 0.4);
    color: #fff !important;
    text-decoration: none !important;
}

/* HUD Badge variants */
.hud-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
}

.hud-badge--green {
    color: var(--arc-green);
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid rgba(0, 230, 118, 0.25);
}

.hud-badge--cyan {
    color: var(--arc-cyan);
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.25);
}

.hud-badge--yellow {
    color: var(--arc-yellow);
    background: rgba(255, 230, 0, 0.1);
    border: 1px solid rgba(255, 230, 0, 0.25);
}

.hud-badge--red {
    color: var(--arc-red);
    background: rgba(255, 45, 85, 0.1);
    border: 1px solid rgba(255, 45, 85, 0.25);
}

.hud-badge--blue {
    color: var(--arc-blue);
    background: rgba(41, 121, 255, 0.1);
    border: 1px solid rgba(41, 121, 255, 0.25);
}
