/* ---------- СБРОС ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    position: relative;
}

/* ---------- ФОНОВЫЕ СЛОИ ---------- */
.bg-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* 1. ГЛОБАЛЬНЫЙ ГРАДИЕНТ */
.bg-layer--gradient {
    background:
        radial-gradient(ellipse at 30% 20%, rgba(100, 80, 255, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(255, 80, 180, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.01) 0%, transparent 70%);
}

/* 2. МИКРО-ТЕКСТУРА (шум) */
.bg-layer--noise {
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-size: 250px 250px;
    mix-blend-mode: overlay;
}

/* 3. ВИНЬЕТКА */
.bg-layer--vignette {
    background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.6) 100%);
}

/* ---------- ОСНОВНОЙ КОНТЕЙНЕР ---------- */
.container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(2px);
    border-radius: 28px;
    padding: 72px 80px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
    animation: containerIn 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes containerIn {
    0% {
        opacity: 0;
        transform: scale(0.96) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ---------- АКЦЕНТНАЯ ЛИНИЯ ---------- */
.accent-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 30%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.08) 70%, transparent 100%);
}

/* ---------- СЕТКА ---------- */
.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    min-height: 380px;
}

/* ---------- ЛЕВАЯ КОЛОНКА ---------- */
.left-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding-top: 4px;
}

.label {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.15);
    margin-bottom: 28px;
}

.label span {
    color: rgba(255, 255, 255, 0.05);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    transition: all 0.6s ease;
    position: relative;
}

.status-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: dotRing 3s ease-in-out infinite;
}

@keyframes dotRing {
    0%,
    100% {
        transform: scale(1);
        opacity: 0;
    }
    50% {
        transform: scale(1.8);
        opacity: 1;
    }
}

.status-dot.active {
    background: #ffffff;
}

.status-dot.active::after {
    border-color: rgba(255, 255, 255, 0.15);
}

.status-text {
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 0.08em;
}

.main-title {
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    font-weight: 200;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: rgba(255, 255, 255, 0.85);
    margin: 12px 0 20px 0;
}

.main-title strong {
    font-weight: 500;
    color: #ffffff;
}

.description {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.2);
    max-width: 400px;
}

.divider-light {
    width: 32px;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 24px 0 18px 0;
}

.meta-info {
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.08);
    letter-spacing: 0.04em;
    font-feature-settings: "tnum";
}

/* ---------- ПРАВАЯ КОЛОНКА ---------- */
.right-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    height: 100%;
    text-align: right;
    padding-top: 4px;
}

.code-block {
    font-family: 'Inter', monospace;
    font-size: 0.7rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.06);
    line-height: 2.2;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.code-block span {
    display: block;
}

.code-block .highlight {
    color: rgba(255, 255, 255, 0.12);
}

.big-number {
    font-size: clamp(4.5rem, 12vw, 10rem);
    font-weight: 200;
    color: rgba(255, 255, 255, 0.02);
    letter-spacing: -0.06em;
    line-height: 1;
    user-select: none;
    position: relative;
}

.big-number::after {
    content: '404';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.right-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    width: 100%;
    margin-top: 20px;
}

.contact-line {
    display: flex;
    gap: 28px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.contact-line a {
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.12);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: all 0.25s ease;
    position: relative;
}

.contact-line a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.3s ease;
}

.contact-line a:hover {
    color: rgba(255, 255, 255, 0.4);
}

.contact-line a:hover::after {
    width: 100%;
}

.timestamp {
    font-size: 0.6rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.04);
    letter-spacing: 0.1em;
    font-feature-settings: "tnum";
}

/* ---------- УГЛОВЫЕ ДЕКОРЫ ---------- */
.corner {
    position: absolute;
    width: 48px;
    height: 48px;
    pointer-events: none;
    opacity: 0.15;
}

.corner--tl {
    top: 24px;
    left: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.corner--br {
    bottom: 24px;
    right: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

/* ---------- АДАПТИВ ---------- */
@media (max-width: 1024px) {
    .container {
        padding: 52px 48px;
    }
    .grid-layout {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 16px;
        align-items: flex-start;
        padding-top: 40px;
    }

    .container {
        padding: 36px 24px;
        border-radius: 20px;
    }

    .grid-layout {
        grid-template-columns: 1fr;
        gap: 28px;
        min-height: auto;
    }

    .right-col {
        align-items: flex-start;
        text-align: left;
    }

    .code-block {
        font-size: 0.6rem;
        line-height: 1.8;
        margin-bottom: 12px;
    }

    .big-number {
        font-size: 3.6rem;
    }

    .right-bottom {
        align-items: flex-start;
    }

    .contact-line {
        justify-content: flex-start;
        gap: 18px;
    }

    .main-title {
        font-size: 2.2rem;
    }

    .description {
        font-size: 0.85rem;
        max-width: 100%;
    }

    .corner {
        width: 32px;
        height: 32px;
    }

    .corner--tl {
        top: 16px;
        left: 16px;
    }

    .corner--br {
        bottom: 16px;
        right: 16px;
    }

    .label {
        font-size: 0.55rem;
        margin-bottom: 20px;
    }

    .accent-line {
        height: 1px;
    }

    .timestamp {
        font-size: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 28px 16px;
        border-radius: 16px;
    }

    .main-title {
        font-size: 1.8rem;
    }

    .contact-line a {
        font-size: 0.65rem;
    }

    .status-text {
        font-size: 0.6rem;
    }
}

/* ---------- ДОП. ЭФФЕКТ: СВЕЧЕНИЕ ПРИ ХОВЕРЕ ---------- */
.container:hover {
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(100, 80, 255, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}