@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

body {
    font-family: "Inter", sans-serif;
}
h1, h2, h3 {
    font-family: "Orbitron", sans-serif;
    letter-spacing: 1px;
}
p {
    font-size: 16.5px;
    line-height: 1.7;
    color: #9AA4AE;
}
/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    height: 100%;
    display: flex;
    flex-direction: column;

    font-family: "Segoe UI", Roboto, sans-serif;

    /* Deep Space Black */
    background: #0A0C10;

    /* Starfield White */
    color: #E6EDF3;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =========================
   STARFIELD BACKGROUND
========================= */
.stars {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    overflow: hidden;
}

.stars::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;

    background-image:
        radial-gradient(1px 1px at 20px 30px, #E6EDF3, transparent),
        radial-gradient(1px 1px at 80px 120px, #E6EDF3, transparent),
        radial-gradient(1px 1px at 160px 60px, #E6EDF3, transparent),
        radial-gradient(1px 1px at 300px 200px, #E6EDF3, transparent);

    background-size: 400px 400px;
    opacity: 0.15;

    animation: moveStars 80s linear infinite;
}

@keyframes moveStars {
    from { transform: translateY(0); }
    to { transform: translateY(-1000px); }
}

/* =========================
   HEADER (UPGRADED)
========================= */
header {
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 22px 60px;

    background: rgba(26, 31, 38, 0.85);
    backdrop-filter: blur(14px);

    border-bottom: 1px solid #2F3842;
}

/* subtle glow line */
header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        #FF6A1A,
        #FFB347,
        transparent
    );

    opacity: 0.5;
}

header h1 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1.5px;

    /* Plasma + Cold Space blend */
    background: linear-gradient(
        90deg,
        #FF6A1A,
        #FFB347
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow: 0 0 18px rgba(255, 106, 26, 0.15);
}
.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap; /* prevent stacking under ANY condition */
}
#header-portrait {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

#header-character-name {
    font-size: 16px;
    font-weight: 600;
    margin: 0;

    white-space: nowrap;

    display: inline-block;   /* 🔥 key fix */
    line-height: 1;          /* 🔥 prevents vertical stretching */
}

nav a {
    margin-left: 28px;

    font-size: 15px;           /* bigger */
    font-weight: 500;
    letter-spacing: 0.5px;

    text-decoration: none;

    color: #9AA4AE;

    padding: 6px 10px;
    border-radius: 6px;

    transition: all 0.25s ease;
}

/* hover = UI button feel */
nav a:hover {
    color: #E6EDF3;

    background: rgba(255, 106, 26, 0.08);

    box-shadow: 0 0 12px rgba(255, 106, 26, 0.15);

    transform: translateY(-1px);
}

/* =========================
   LAYOUT
========================= */

.app-layout {
    display: flex;
    max-width: 1400px;
    margin: auto;
}

/* SIDEBAR */
.sidebar {
    width: 260px;
    padding: 30px 20px;

    background: rgba(26, 31, 38, 0.6);
    border-right: 1px solid #2F3842;

    backdrop-filter: blur(10px);
}

.sidebar h3 {
    font-size: 14px;
    margin-bottom: 10px;
    color: #9AA4AE;
    text-transform: uppercase;
}

.sidebar ul {
    list-style: none;
    margin-bottom: 30px;
}

.sidebar li {
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    color: #E6EDF3;

    transition: 0.2s;
}

.sidebar li:hover {
    background: rgba(255,106,26,0.1);
}

/* MAIN */
main {
    flex: 1;
    padding: 40px;
}

/* =========================
   HERO
========================= */
.center {
    text-align: center;
    margin-top: 120px;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);

    background-size: 60px 60px;

    opacity: 0.25;

    pointer-events: none;
}
.hero::after {
    pointer-events: none;
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;

    background: radial-gradient(circle, rgba(255,106,26,0.15), transparent 60%);

    top: -200px;
    left: -200px;

    filter: blur(20px);

    animation: pulseGlow 8s infinite alternate;
}

@keyframes pulseGlow {
    from { transform: scale(1); opacity: 0.4; }
    to { transform: scale(1.1); opacity: 0.7; }
}
.hero {
    position: relative;
    overflow: hidden;
    max-width: 700px;
    margin: auto;

    padding: 45px;

    background: rgba(26, 31, 38, 0.55);
    border: 1px solid #2F3842;
    border-radius: 20px;

    backdrop-filter: blur(14px);
}

.center h2 {
    font-size: 56px;
    font-weight: 600;

    letter-spacing: 2px;
    text-transform: uppercase;

    background: linear-gradient(
        90deg,
        #FF6A1A,
        #FFB347
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 18px;
    margin-top: 10px;

    color: #9AA4AE;
    letter-spacing: 1px;
}

.value-prop {
    margin-top: 15px;
    font-size: 15.5px;
    color: #9AA4AE;
    line-height: 1.6;
}
/* =========================
   CTA
========================= */
.join-button {
    display: inline-block;
    margin-top: 40px;
    padding: 18px 50px;

    font-size: 20px;
    font-weight: 700;

    color: #0A0C10;
    text-decoration: none;

    border: none;
    border-radius: 12px;
    cursor: pointer;

    background: linear-gradient(135deg, #FF6A1A, #FFB347);

    box-shadow:
        0 0 25px rgba(255,106,26,0.35),
        0 8px 24px rgba(0,0,0,0.35);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.join-button:hover {
    transform: translateY(-3px) scale(1.05);
    filter: brightness(1.05);

    box-shadow:
        0 0 40px rgba(255,179,71,0.55),
        0 12px 28px rgba(0,0,0,0.45);
}

.join-button:active {
    transform: translateY(1px) scale(0.99);

    box-shadow:
        0 0 18px rgba(255,106,26,0.25),
        0 4px 12px rgba(0,0,0,0.3);
}
/* =========================
   FOOTER
========================= */
footer {
    margin-top: auto;
    padding: 40px 20px;

    text-align: center;

    background: rgba(26, 31, 38, 0.6);
    border-top: 1px solid #2F3842;

    backdrop-filter: blur(10px);

    color: #9AA4AE;
    font-size: 14px;
}

.footer-content {
    max-width: 800px;
    margin: auto;
}

.slogan {
    font-size: 16px;
    color: #E6EDF3;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

footer p {
    font-size: 13px;
    color: #9AA4AE;
}

/* =========================
   OPTIONAL SECTIONS
========================= */
section {
    margin: 50px 0;
    padding: 30px;

    background: rgba(26, 31, 38, 0.6);
    border-radius: 15px;

    border: 1px solid #2F3842;
    backdrop-filter: blur(10px);
}

section h2 {
    margin-bottom: 15px;

    color: #4A90E2;
}

/* =========================
   DISCORD BUTTON (if used later)
========================= */
.discord-button {
    display: inline-block;
    padding: 14px 30px;

    background: linear-gradient(135deg, #5865F2, #404eed);

    border-radius: 10px;

    color: white;
    text-decoration: none;
    font-weight: bold;

    transition: 0.3s;
}

.discord-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(88,101,242,0.7);
}