* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    background: #0a0e17;
    font-family: 'Space Grotesk', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e2e8f0;
    overflow-x: hidden;
    padding: 1.5rem;
}
.scanlines {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(59,130,246,0.02) 2px,
        rgba(59,130,246,0.02) 4px
    );
    pointer-events: none;
    z-index: 0;
}
.content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
    width: 100%;
}

/* Заголовок с иконками */
.logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    line-height: 1.4;
    min-height: 64px;
}
.git-branch-icon {
    color: #3b82f6;
    filter: drop-shadow(0 0 10px rgba(59,130,246,0.5));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
}
.git-branch-icon.left svg {
    transform: scaleX(-1);
}
.git-branch-icon svg {
    width: 42px;
    height: 42px;
    display: block;
}
.glitch-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    font-weight: 700;
    color: #3b82f6;
    text-shadow: 2px 2px 0 #1e3a8a, -2px -2px 0 #22d3ee;
    letter-spacing: 2px;
    line-height: 1.3;
}
.subtitle {
    color: #94a3b8;
    font-size: 1.1rem;
    margin-top: 0.5rem;
    font-weight: 400;
}
.subtitle .ampersand {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-style: italic;
    font-weight: 700;
    color: #fbbf24;
    font-size: 1.3rem;
}
.subtitle .crossout {
    text-decoration: line-through;
    color: #64748b;
    margin-right: 0.3rem;
}
.subtitle .honest {
    color: #4ade80;
    font-weight: 600;
}

.slogan {
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
    line-height: 1.6;
    color: #e2e8f0;
    margin: 2rem 0 2rem;
    font-weight: 500;
}
.slogan .yellow {
    color: #fbbf24;
    font-weight: 700;
}
.slogan .blue {
    color: #3b82f6;
    font-weight: 700;
}

.fork-scheme {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    margin-bottom: 2.2rem;
    flex-wrap: wrap;
}
.red-branch, .blue-branch {
    padding: 1.3rem 1.1rem;
    border-radius: 1rem;
    min-width: 185px;
    flex: 1;
    max-width: 260px;
    text-align: left;
}
.red-branch {
    background: rgba(239,68,68,0.05);
    border: 1px solid rgba(239,68,68,0.18);
    color: #fca5a5;
}
.red-branch .branch-title {
    color: #ef4444;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
    text-align: center;
}
.blue-branch {
    background: rgba(59,130,246,0.08);
    border: 2px solid rgba(59,130,246,0.5);
    color: #93c5fd;
    box-shadow: 0 0 30px rgba(59,130,246,0.12);
}
.blue-branch .branch-title {
    color: #3b82f6;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
    text-align: center;
}
.fork-divider {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    color: #fbbf24;
    padding: 0 0.5rem;
    font-weight: 700;
}
.list-item {
    margin: 0.45rem 0;
    font-size: 0.73rem;
    line-height: 1.5;
    padding-left: 0.2rem;
}

.station-block {
    margin-top: 0.5rem;
}
.station-label {
    color: #94a3b8;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.station-name {
    display: block;
    margin-top: 0.3rem;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: #e2e8f0;
    letter-spacing: 0.5px;
}

.result-line {
    color: #f8f9fa;
    font-size: 0.85rem;
    margin-top: 0.8rem;
    line-height: 1.6; 
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contacts-section {
    margin-top: 2rem;
}
.contacts-title {
    color: #f8f9fa;
    font-weight: 900;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.contacts-hint {
    color: #64748b;
    font-size: 0.8rem; 
    margin-bottom: 0.8rem;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-troll {
    display: inline-block;
    padding: 0.7rem 2.2rem;
    border: 2px solid #475569;
    color: #64748b;
    text-decoration: none;
    border-radius: 3rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    background: transparent;
    cursor: pointer;
    letter-spacing: 0.3px;
    user-select: none;
}
.btn-troll:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    background: rgba(59,130,246,0.05);
}

.popover-troll {
    position: relative;
    display: inline-block;
}
.popover-content {
    display: none;
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    border: 1px solid #475569;
    color: #e2e8f0;
    padding: 1.6rem 1.5rem;
    border-radius: 0.8rem;
    font-size: 1.35rem;
    white-space: nowrap;
    font-style: italic;
    z-index: 10;
    animation: popIn 0.25s ease;
}
.popover-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #475569;
}
.popover-content.show {
    display: block;
}
@keyframes popIn {
    from { opacity: 0; transform: translateX(-50%) translateY(6px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@media (max-width: 600px) {
    .fork-scheme {
        flex-direction: column;
        align-items: center;
        gap: 0.4rem;
    }
    .fork-divider {
        transform: rotate(90deg);
        font-size: 1.2rem;
    }
    .red-branch, .blue-branch {
        max-width: 100%;
        width: 100%;
        min-width: auto;
    }
    .logo-row {
        gap: 0.5rem;
    }
}