﻿:root {
    --primary-color: #EF3F54;
    --primary-color-rgb: 239, 63, 84;

    --bg-color: #000000;
    --bg-soft: #0b0b0f;
    --surface-1: rgba(255, 255, 255, 0.04);
    --surface-2: rgba(255, 255, 255, 0.07);
    --border-color: rgba(255, 255, 255, 0.10);

    --text-color: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.74);

    --shadow-glow: 0 0 28px rgba(239, 63, 84, 0.22);
    --shadow-card: 0 18px 48px rgba(0, 0, 0, 0.45);

    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;

    --content-width: 1200px;
    --header-height: 84px;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    width: 100%;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    background:
        radial-gradient(circle at top center, rgba(239, 63, 84, 0.08) 0%, transparent 28%),
        linear-gradient(180deg, #050505 0%, #000000 100%);
}

* {
    box-sizing: border-box;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

.page-container {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    display: block;
}

.site-page {
    width: min(var(--content-width), calc(100% - 48px));
    margin: 0 auto;
    padding: 120px 0 88px;
}

.page-hero {
    margin-bottom: 48px;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(var(--primary-color-rgb), 0.35);
    background: rgba(var(--primary-color-rgb), 0.10);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.page-title,
.section-title {
    margin: 0 0 16px;
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: 0.02em;
}

.page-title {
    font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.page-subtitle,
.section-text {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.05rem;
}

.page-subtitle {
    max-width: 860px;
}

.site-section {
    margin-top: 68px;
}

.site-card {
    position: relative;
    background: linear-gradient(180deg, var(--surface-2) 0%, rgba(255,255,255,0.03) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.site-card__inner {
    padding: 28px;
}

.site-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-button:hover {
    transform: translateY(-2px);
}

.site-button--primary {
    color: white;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.95), rgba(var(--primary-color-rgb), 0.78));
    box-shadow: var(--shadow-glow);
}

.site-button--ghost {
    color: white;
    background: rgba(255,255,255,0.03);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 195, 103, 0.35);
    background: rgba(255, 195, 103, 0.10);
    color: #FFD28A;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.status-badge::before,
.status-badge::after {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 50%;
    position: relative;
    background: radial-gradient(circle, #d9a14d 35%, #8d5824 36% 100%);
    box-shadow: 0 0 10px rgba(217, 161, 77, 0.25);
    flex: 0 0 auto;
}

.status-badge::before {
    animation: badge-gear-left 4s linear infinite;
}

.status-badge::after {
    animation: badge-gear-right 4s linear infinite;
}

@keyframes badge-gear-left {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes badge-gear-right {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

#blazor-error-ui {
    background: #333;
    color: #fff;
    bottom: 0;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

@media (max-width: 900px) {
    .site-page {
        width: min(var(--content-width), calc(100% - 28px));
        padding: 108px 0 72px;
    }

    .site-card__inner {
        padding: 22px;
    }
}
