﻿body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0c0c1d 0%, #1a1a2e 50%, #16213e 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 13, 29, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(138, 43, 226, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.header-left .site-name {
    color: #8A2BE2;
    font-size: 28px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
    font-family: 'Monaco', 'Consolas', monospace;
    letter-spacing: 1px;
}

    .header-left .site-name:hover {
        color: #9d4edd;
        text-shadow: 0 0 30px rgba(157, 78, 221, 0.8);
        transform: scale(1.05);
    }

.header-right .question-mark {
    color: #8A2BE2;
    font-size: 32px;
    font-weight: 900;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #8A2BE2;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 0 15px rgba(138, 43, 226, 0.7);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
}

    .header-right .question-mark:hover {
        background: #8A2BE2;
        color: #0c0c1d;
        transform: scale(1.1) rotate(15deg);
        box-shadow: 0 0 30px rgba(138, 43, 226, 0.6);
    }

.hero-section {
    text-align: center;
    margin-top: 140px;
    margin-bottom: 40px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #8A2BE2 0%, #9d4edd 50%, #c77dff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    animation: titleGlow 3s ease-in-out infinite alternate;
    font-family: 'Monaco', 'Consolas', monospace;
    letter-spacing: 2px;
    text-shadow: 0 0 30px rgba(138, 43, 226, 0.4);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #b19cd9;
    font-weight: 300;
    margin-bottom: 30px;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    min-height: 70vh;
    padding: 40px 20px;
}

.main-box {
    width: 500px;
    height: 600px;
    background: linear-gradient(145deg, #2d1b69 0%, #4a2c92 50%, #6a0dad 100%);
    border-radius: 25px;
    padding: 40px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(106, 13, 173, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

    .main-box::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
        transform: rotate(45deg);
        transition: all 0.6s ease;
        opacity: 0;
    }

    .main-box:hover::before {
        opacity: 1;
        animation: shimmer 2s ease-in-out;
    }

    .main-box:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 35px 70px rgba(106, 13, 173, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

.box-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.box-header {
    text-align: center;
    margin-bottom: 30px;
}

.box-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-family: 'Georgia', serif;
}

.box-subtitle {
    font-size: 1.2rem;
    color: #e6e6fa;
    font-weight: 600;
    line-height: 1.6;
    font-family: 'Arial', sans-serif;
}

.features-list {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 25px;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.feature-item {
    font-size: 1.1rem;
    color: #f0e6ff;
    margin-bottom: 12px;
    padding-left: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

    .feature-item:last-child {
        margin-bottom: 0;
    }

.box-description {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 30px;
    margin: 20px 0;
    border-left: 5px solid #8A2BE2;
}

.description-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #ffffff;
    text-align: left;
    font-family: 'Georgia', serif;
    font-weight: 500;
}

.navigation-section {
    width: 400px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.nav-block {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.4) 0%, rgba(157, 78, 221, 0.3) 100%);
    border-radius: 20px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

    .nav-block::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
        transition: left 0.6s ease;
    }

    .nav-block:hover::before {
        left: 100%;
    }

    .nav-block:hover {
        background: linear-gradient(135deg, rgba(138, 43, 226, 0.6) 0%, rgba(157, 78, 221, 0.5) 100%);
        transform: translateY(-8px) scale(1.05);
        box-shadow: 0 20px 40px rgba(106, 13, 173, 0.5), 0 0 0 3px rgba(255, 255, 255, 0.15);
    }

.nav-title {
    font-size: 1.5rem;
    color: white;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    font-family: 'Monaco', 'Consolas', monospace;
    letter-spacing: 1px;
}

.nav-description {
    font-size: 1rem;
    color: #e6e6fa;
    line-height: 1.5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 0 20px rgba(138, 43, 226, 0.4);
    }

    100% {
        text-shadow: 0 0 30px rgba(138, 43, 226, 0.8), 0 0 40px rgba(138, 43, 226, 0.6);
    }
}

@keyframes shimmer {
    0% {
        transform: rotate(45deg) translateX(-100%);
    }

    100% {
        transform: rotate(45deg) translateX(100%);
    }
}

.corner-animation {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    opacity: 0;
    z-index: 1;
}

.corner-tl {
    top: -15px;
    left: -15px;
    border-radius: 0 0 25px 0;
}

.corner-tr {
    top: -15px;
    right: -15px;
    border-radius: 0 0 0 25px;
}

.corner-bl {
    bottom: -15px;
    left: -15px;
    border-radius: 0 25px 0 0;
}

.corner-br {
    bottom: -15px;
    right: -15px;
    border-radius: 25px 0 0 0;
}

.main-box:hover .corner-tl {
    opacity: 1;
    transform: translate(-8px, -8px);
}

.main-box:hover .corner-tr {
    opacity: 1;
    transform: translate(8px, -8px);
}

.main-box:hover .corner-bl {
    opacity: 1;
    transform: translate(-8px, 8px);
}

.main-box:hover .corner-br {
    opacity: 1;
    transform: translate(8px, 8px);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: linear-gradient(135deg, #2d1b69 0%, #4a2c92 100%);
    border-radius: 20px;
    padding: 40px;
    width: 600px;
    max-width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

    .modal-close:hover {
        color: #8A2BE2;
        background: rgba(255, 255, 255, 0.1);
        transform: rotate(90deg);
    }

.modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    text-align: center;
    font-family: 'Monaco', 'Consolas', monospace;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.info-section {
    margin-bottom: 25px;
}

.info-section:last-child {
        margin-bottom: 0;
    }

.section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #8A2BE2;
    margin-bottom: 15px;
    font-family: 'Courier New', monospace;
    border-left: 3px solid #8A2BE2;
    padding-left: 15px;
}

.section-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #e6e6fa;
    margin-bottom: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.mono-text {
    font-family: 'Monaco', 'Consolas', monospace;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 15px;
    border-radius: 10px;
    border-left: 3px solid #8A2BE2;
}

.italic-text {
    font-style: italic;
    color: #b19cd9;
}

.highlight-text {
    background: linear-gradient(135deg, #8A2BE2, #9d4edd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

    .feature-list li {
        padding: 8px 0;
        padding-left: 25px;
        position: relative;
        color: #f0e6ff;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

        .feature-list li:before {
            content: "▸";
            position: absolute;
            left: 10px;
            color: #8A2BE2;
            font-weight: bold;
        }