:root {
    --primary-orange: #ff9d00;
    --dark-orange: #e65100;
    --bg-color: #0f0f0f;
    --card-bg: #1a1a1a;
    --text-main: #ffffff;
    --text-secondary: #b0b0b0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    background: radial-gradient(circle at center, #2b1a00 0%, #0f0f0f 100%);
    position: relative;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
    animation: bgScroll 20s linear infinite;
}

@keyframes bgScroll {
    from { background-position: 0 0; }
    to { background-position: 100px 100px; }
}

.container {
    background-color: var(--card-bg);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 0 1px #333;
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
    z-index: 10;
    border-top: 2px solid var(--primary-orange);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    animation: slideUp 0.8s ease-out;
    backdrop-filter: blur(5px);
}

.logo-box {
    margin-bottom: 30px;
    display: inline-block;
}

.logo-box svg {
    width: 90px;
    height: 90px;
    fill: var(--primary-orange);
    filter: drop-shadow(0 0 15px rgba(255, 157, 0, 0.5));
    animation: float 4s ease-in-out infinite;
}

h1 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(to bottom, #fff 30%, #999 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 16px;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange), var(--dark-orange));
    color: white;
    box-shadow: 0 4px 15px rgba(230, 81, 0, 0.4);
    border: none;
}

/* Эффект блика */
.btn-primary::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(30deg);
    transition: all 0.6s ease;
}

.btn-primary:hover::after {
    left: 120%;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    border: 1px solid #444;
}

.btn:hover {
    transform: scale(1.03);
    letter-spacing: 0.5px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.copyright {
    margin-top: 40px;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.copyright strong {
    color: var(--primary-orange);
    font-weight: 600;
}

/* Анимации */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

@media (max-width: 480px) {
    .container { padding: 40px 20px; }
    h1 { font-size: 24px; }
}