:root {
    --bg: #0f0f14;
    --bg-deep: #090a0e;
    --panel: rgba(20, 22, 29, 0.92);
    --panel-border: rgba(255, 255, 255, 0.08);
    --text: #f0f0f5;
    --muted: #a6a9b5;
    --accent: #ff6b2c;
    --accent-soft: rgba(255, 107, 44, 0.2);
    --accent-glow: rgba(255, 96, 36, 0.55);
    --success: #1dd67b;
    --danger: #ff5f5f;
    --shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
}

html,
body {
    height: 100%;
    font-size: 10px;
}

body {
    font: 1.5rem/1.6 "Manrope", "Segoe UI", sans-serif;
    color: var(--text);
    background: radial-gradient(circle at top left, #1c1010 0%, var(--bg) 45%, var(--bg-deep) 100%);
}

.login-body {
    min-height: 100%;
    position: relative;
    overflow-x: hidden;
    padding-bottom: 40px;
}

.ambient-glow {
    position: fixed;
    inset: -20% 10% auto auto;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(255, 108, 38, 0.35) 0%, rgba(255, 108, 38, 0) 70%);
    filter: blur(10px);
    z-index: 0;
}

.auth-shell {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 20px;
}

.brand-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.brand-logo {
    width: 90px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
}

.brand-copy {
    flex: 1 1 240px;
}

.highlightWelcome {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.2rem;
}

.loginTitle {
    font-family: "Bebas Neue", "Impact", sans-serif;
    font-size: clamp(4.2rem, 6vw, 7rem);
    text-transform: uppercase;
    margin: 0;
}

.tagline {
    color: var(--muted);
    margin-top: 8px;
    max-width: 520px;
}

.auth-grid {
    display: grid;
    gap: 24px;
}

.panel-card,
.news-card {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.panel-header h2,
.news-header h2 {
    font-size: 2.4rem;
    margin: 4px 0 8px;
}

.panel-header p,
.news-header p {
    color: var(--muted);
    margin: 0 0 12px;
}

.panel-kicker {
    font-size: 1.1rem;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.dcForm input {
    display: block;
    margin: 14px 0;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 100%;
    font-size: 1.5rem;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    color: var(--text);
}

.dcForm input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.dcForm input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.dcForm button {
    color: #fff;
    background: linear-gradient(120deg, #ff8b3d, #ff5521);
    border-radius: var(--radius-sm);
    border: none;
    padding: 12px 22px;
    font: 1.8rem "Bebas Neue", "Impact", sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    box-shadow: 0 10px 20px rgba(255, 90, 30, 0.35);
}

.dcForm button:hover {
    transform: translateY(-1px);
}

.forgotten a {
    color: var(--muted);
    text-decoration: none;
}

.forgotten a:hover {
    color: var(--text);
}

.nav-tabs {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 8px;
}

.nav-tabs .nav-link {
    color: var(--muted);
    border: none;
    border-radius: 999px;
    padding: 8px 16px;
}

.nav-tabs .nav-link.active {
    color: #111;
    background: var(--accent);
    border: none;
}

.nav-tabs .nav-link:hover {
    color: var(--text);
}

.RegisterCTA {
    text-transform: uppercase;
    font: 2.2rem "Bebas Neue", "Impact", sans-serif;
    color: var(--accent);
    margin-bottom: 12px;
    animation: RegisterCTA 1.8s ease;
}

@keyframes RegisterCTA {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    60% {
        opacity: 1;
        transform: translateY(-2px);
    }
    100% {
        transform: translateY(0);
    }
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 20px;
    display: grid;
    gap: 16px;
}

.news-list li {
    background: rgba(255, 255, 255, 0.03);
    padding: 14px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.news-date {
    display: inline-block;
    font-size: 1.1rem;
    color: var(--muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.news-list a {
    color: var(--text);
    text-decoration: none;
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.news-list p {
    color: var(--muted);
    margin: 0;
}

.news-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.news-link:hover {
    color: #ffa77d;
}

.alert-panel {
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    font-size: 1.4rem;
    padding: 12px 14px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}

.alert-panel.alert-success {
    border-color: rgba(29, 214, 123, 0.5);
    background: linear-gradient(120deg, rgba(29, 214, 123, 0.18), rgba(15, 40, 28, 0.7));
    color: #dff9eb;
}

.alert-panel.alert-danger {
    border-color: rgba(255, 95, 95, 0.55);
    background: linear-gradient(120deg, rgba(255, 95, 95, 0.2), rgba(40, 15, 15, 0.7));
    color: #ffe3e3;
}

.alert-panel::before {
    content: "";
    display: block;
    height: 3px;
    border-radius: 999px;
    margin-bottom: 10px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--accent), rgba(255, 255, 255, 0));
    opacity: 0.6;
}

.dcMascot {
    position: fixed;
    z-index: 1;
    bottom: -40px;
    right: 2%;
    height: 85%;
    opacity: 0.6;
    pointer-events: none;
}

footer {
    position: relative;
    background: rgba(8, 8, 12, 0.8);
    width: 100%;
    padding: 18px 16px;
    text-align: center;
    color: var(--muted);
}

footer a {
    color: var(--text);
    text-decoration: none;
}

footer a:hover {
    color: var(--accent);
}

@media (min-width: 992px) {
    .auth-grid {
        grid-template-columns: minmax(320px, 1fr) minmax(280px, 0.9fr);
        align-items: start;
    }

    .brand-bar {
        margin-bottom: 30px;
    }

    footer {
        text-align: right;
        padding-right: 40px;
    }
}

@media (max-width: 576px) {
    .auth-shell {
        padding: 30px 16px 10px;
    }

    .panel-card,
    .news-card {
        padding: 20px;
    }

    .brand-logo {
        width: 70px;
    }

    .dcMascot {
        display: none;
    }
}
