* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0a0a0a;
    color: #e0e0e0;
    font-family: 'Courier New', Courier, monospace;
    line-height: 1.65;
    font-size: 15.5px;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 40px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0 22px;
    border-bottom: 1px solid #ff5050;
    margin-bottom: 32px;
}

.logo {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 5px;
    color: #ffffff;
}

.logo .red {
    color: #ff5050;
}

.mirrors {
    display: flex;
    gap: 28px;
    font-size: 14.5px;
}

.mirror-link {
    color: #ff5050;
    text-decoration: none;
    transition: color 0.25s ease;
}

.mirror-link:hover {
    color: #ffffff;
}

.rift-container {
    display: flex;
    gap: 42px;
    flex: 1;
}

.side-panel {
    width: 235px;
    flex-shrink: 0;
}

.section-title {
    font-size: 17px;
    color: #ff5050;
    margin-bottom: 22px;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,80,80,0.25);
    padding-bottom: 9px;
}

.state-item {
    padding: 15px 0;
    font-size: 16.5px;
    cursor: pointer;
    transition: all 0.25s ease;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    user-select: none;
}

.state-item:hover,
.state-item.active {
    color: #ff5050;
    padding-left: 14px;
    background: rgba(255,80,80,0.06);
}

.state-item span {
    margin-right: 14px;
    color: #ff5050;
    opacity: 0.75;
}

.rift {
    flex: 1;
    position: relative;
    border: 2px solid #ff5050;
    background: #0f0f0f;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(255,80,80,0.18);
    min-height: 520px;
}

.rift::before {
    content: '';
    position: absolute;
    top: -10%;
    left: 50%;
    width: 3px;
    height: 120%;
    background: linear-gradient(to bottom, transparent 20%, #ff5050, transparent 80%);
    z-index: 2;
    filter: blur(1px);
    opacity: 0.85;
}

.rift-content {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}

.rift-content.active {
    display: block;
}

.rift-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: contrast(1.05) saturate(1.1);
}

.overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(10,10,10,0.96));
    padding: 38px 32px 28px;
    color: #ffffff;
}

.overlay-text h3 {
    color: #ff5050;
    font-size: 21px;
    margin-bottom: 9px;
    letter-spacing: 1px;
}

.info-block {
    background: rgba(255,80,80,0.04);
    border: 1px solid rgba(255,80,80,0.22);
    padding: 20px;
    margin-bottom: 32px;
    font-size: 15px;
}

.info-block p {
    margin-bottom: 9px;
}

.ad-space {
    margin: 32px 0;
    text-align: center;
}

.ad-gif {
    width: 1060px;
    max-width: 100%;
    height: 128px;
    border: 1px solid #ff5050;
    display: block;
    margin: 0 auto;
}

.warning {
    font-size: 13.5px;
    line-height: 1.7;
    opacity: 0.88;
    padding: 16px;
    border: 1px solid rgba(255,80,80,0.25);
    background: rgba(255,80,80,0.03);
}

.features {
    list-style: none;
    font-size: 15px;
}

.features li {
    padding: 7px 0;
    color: #e0e0e0;
}

.main-content {
    margin-top: 65px;
    padding: 45px 48px;
    background: #111111;
    border: 1px solid rgba(255,80,80,0.18);
}

.main-content h1 {
    font-size: 33px;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #ff5050;
}

.main-content h2 {
    font-size: 24px;
    margin: 42px 0 18px;
    color: #ff5050;
    letter-spacing: 0.5px;
}

.main-content p {
    margin-bottom: 19px;
    font-size: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 26px;
    margin: 38px 0 20px;
}

.feature-card {
    background: rgba(255,80,80,0.035);
    border: 1px solid rgba(255,80,80,0.2);
    padding: 26px 24px;
    transition: border-color 0.3s ease;
}

.feature-card:hover {
    border-color: #ff5050;
}

.feature-card h3 {
    color: #ff5050;
    margin-bottom: 14px;
    font-size: 19px;
}

.guide {
    counter-reset: step;
    list-style: none;
    margin: 28px 0;
    padding-left: 8px;
}

.guide li {
    position: relative;
    padding-left: 38px;
    margin-bottom: 16px;
    font-size: 16px;
}

.guide li::before {
    counter-increment: step;
    content: "0" counter(step);
    position: absolute;
    left: 0;
    color: #ff5050;
    font-weight: 700;
    font-size: 17px;
}

.status-bar {
    margin-top: 68px;
    padding: 16px 0;
    border-top: 1px solid #ff5050;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.8px;
    color: #777;
    flex-wrap: wrap;
    gap: 12px;
}

.red {
    color: #ff5050;
}

@media (max-width: 1150px) {
    .rift-container {
        flex-direction: column;
        gap: 35px;
    }
    .side-panel {
        width: 100%;
    }
    .main-content {
        padding: 35px 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 18px 20px;
    }
    .logo {
        font-size: 26px;
    }
    .top-bar {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    .mirrors {
        flex-wrap: wrap;
        gap: 18px;
    }
}
.main-content h1 {
    font-size: 34px;
    line-height: 1.25;
    margin-bottom: 28px;
    color: #ff5050;
    font-weight: 700;
}

.main-content h2 {
    font-size: 25px;
    margin: 45px 0 20px;
    color: #ff5050;
    letter-spacing: 0.6px;
}

.main-content h3 {
    font-size: 20px;
    margin: 32px 0 14px;
    color: #ff5050;
    font-weight: 600;
}

.main-content p {
    margin-bottom: 19px;
    font-size: 16.2px;
    color: #e0e0e0;
}

.main-content strong {
    color: #ff5050;
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin: 40px 0;
}

.feature-card {
    background: rgba(255, 80, 80, 0.035);
    border: 1px solid rgba(255, 80, 80, 0.22);
    padding: 28px 26px;
    transition: border-color 0.3s ease;
}

.feature-card:hover {
    border-color: #ff5050;
}

.feature-card h3 {
    color: #ff5050;
    margin-bottom: 15px;
    font-size: 19.5px;
}

.guide {
    counter-reset: step;
    list-style: none;
    margin: 32px 0 40px;
    padding: 0;
}

.guide li {
    position: relative;
    padding-left: 42px;
    margin-bottom: 18px;
    font-size: 16.2px;
    line-height: 1.65;
}

.guide li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 2px;
    color: #ff5050;
    font-weight: 700;
    font-size: 18px;
    width: 28px;
}

.warning {
    font-size: 13.8px;
    line-height: 1.75;
    opacity: 0.9;
    padding: 18px 20px;
    border: 1px solid rgba(255,80,80,0.28);
    background: rgba(255,80,80,0.04);
    margin-bottom: 32px;
}

.info-block p {
    margin-bottom: 10px;
    font-size: 15.2px;
}

.features li {
    padding: 8px 0;
    font-size: 15.5px;
}

/* Schema & SEO friendly typography improvements */
.main-content {
    margin-top: 68px;
    padding: 48px 50px;
    background: #111111;
    border: 1px solid rgba(255,80,80,0.18);
    line-height: 1.72;
}

/* Ensure fast rendering - no heavy shadows or complex filters */
.rift-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}

.overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(10,10,10,0.97));
    padding: 40px 32px 30px;
}

.overlay-text h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

/* Mobile optimizations for speed */
@media (max-width: 1150px) {
    .main-content {
        padding: 38px 32px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-content h1 {
        font-size: 28px;
    }
    .main-content h2 {
        font-size: 22px;
    }
    .guide li {
        padding-left: 36px;
    }
}