/* kventa.css — стили для страницы "Как написать квенту" */
body {
    margin: 0;
    padding: 0;
    background: #10151a;
    color: #e0f7ff;
    font-family: 'Segoe UI', Arial, sans-serif;
    overflow-x: hidden;
}
#bgVideo {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    object-fit: cover;
    filter: brightness(0.7);
}
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 60px;
    background: rgba(0, 0, 0, 0.4);
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.15);
}
.header-left {
    display: flex;
    align-items: center;
}
.logo {
    color: #fff;
    font-size: 1.5em;
    font-weight: bold;
    margin-left: 32px;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px #000a;
}
.logo-img {
    height: 48px;
    width: 48px;
    margin-left: 20px;
    margin-right: 12px;
    background: none;
    filter: drop-shadow(0 0 28px #00b4ffff);
    object-fit: contain;
}
.main-nav {
    display: flex;
    align-items: center;
    margin-left: 36px;
    gap: 18px;
    background: none;
    box-shadow: none;
    padding: 0;
    min-height: unset;
    border-radius: 0;
}
.nav-link {
    font-size: 1.08em;
    font-weight: 500;
    color: #e0f7ff;
    background: none;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.18s, background 0.18s;
    padding: 8px 18px;
    cursor: pointer;
    box-shadow: none;
    position: relative;
    z-index: 1;
    outline: none;
    display: inline-block;
}
.nav-link.active, .nav-link:hover {
    color: #fff;
    background: rgba(0,180,255,0.18);
    text-decoration: underline;
}
.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    z-index: 5;
    padding-top: 80px;
    position: static;
    transform: none;
    min-height: 100vh;
}
.wide-rules-block {
    background: linear-gradient(120deg, rgba(24,28,43,0.95) 60%, rgba(0,180,255,0.10) 100%);
    border-radius: 24px;
    box-shadow: 0 8px 32px #00b4ff22;
    color: #e0f7ff;
    padding: 48px 4vw 48px 4vw;
    max-width: 900px;
    min-width: 320px;
    width: 90vw;
    margin: 0 auto;
    font-size: 1.13em;
    box-sizing: border-box;
    border: 1.5px solid #222e44;
    transition: box-shadow 0.3s;
}
.wide-rules-block:focus-within, .wide-rules-block:hover {
    box-shadow: 0 12px 40px #00b4ff55;
}
.wide-rules-block h2 {
    text-align: center;
    margin-bottom: 22px;
    letter-spacing: 1px;
    color: #b3e6ff;
    font-size: 2em;
}
.wide-rules-block h3 {
    color: #00b4ff;
    margin-top: 28px;
    margin-bottom: 12px;
    font-size: 1.25em;
    letter-spacing: 1px;
}
ul {
    padding-left: 24px;
    margin-bottom: 18px;
}
ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}
div[style*='background:rgba(0,180,255,0.08)'] {
    background: rgba(0,180,255,0.08) !important;
    border-radius: 12px;
    padding: 18px 18px 12px 18px;
    margin-bottom: 18px;
    color: #e0f7ff;
    font-size: 1.08em;
    line-height: 1.7;
    box-shadow: 0 2px 12px #00b4ff22;
}
p, li {
    font-size: 1.08em;
}
footer.main-footer {
    position: static;
    width: 100vw;
    height: auto;
    background: rgba(0, 0, 0, 0.4);
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    color: #fff;
    font-size: 1.1em;
    letter-spacing: 1px;
    box-shadow: 0 -2px 16px 0 rgba(0,0,0,0.12);
    margin-top: 48px;
    padding: 16px 0;
}
.footer-logo-link .logo-img {
    height: 32px;
    width: 32px;
    vertical-align: middle;
}
.cabinet-profile-link {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 32px;
    padding: 6px 18px 6px 8px;
    border-radius: 18px;
    background: linear-gradient(90deg,rgba(0,180,255,0.18) 0%,rgba(88,101,242,0.18) 100%);
    color: #fff;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 2px 12px #00b4ff22;
    letter-spacing: 1px;
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
    cursor: pointer;
    height: 38px;
}
.cabinet-profile-link:hover {
    background: linear-gradient(90deg,rgba(88,101,242,0.28) 0%,rgba(0,180,255,0.28) 100%);
    box-shadow: 0 4px 18px #5865f255;
    transform: translateY(-2px) scale(1.04);
}
.cabinet-profile-mini {
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 2px 8px #00b4ff33;
    width: 32px;
    height: 32px;
}
.cabinet-btn {
    margin-left: 0;
    margin-right: 32px;
    float: none;
    padding: 10px 28px;
    font-size: 1em;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(90deg,rgba(0,180,255,0.55) 0%,rgba(88,101,242,0.55) 100%);
    border: none;
    border-radius: 16px;
    box-shadow: 0 2px 12px #00b4ff22;
    text-decoration: none;
    letter-spacing: 1px;
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
    cursor: pointer;
    display: flex;
    align-items: center;
    height: 38px;
}
.cabinet-btn:hover {
    background: linear-gradient(90deg,rgba(88,101,242,0.85) 0%,rgba(0,180,255,0.85) 100%);
    box-shadow: 0 4px 18px #5865f255;
    transform: translateY(-2px) scale(1.04);
}
.cabinet-btn:active {
    transform: scale(0.98);
    filter: brightness(0.95);
}
.gdocs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    margin: 0 auto 28px auto;
    font-size: 1.18em;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(90deg, #4285F4 0%, #00b4ff 100%);
    border: none;
    border-radius: 18px;
    box-shadow: 0 4px 24px #4285f455, 0 1.5px 0 #fff2 inset;
    text-align: center;
    letter-spacing: 1px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s, filter 0.2s;
    outline: none;
    filter: drop-shadow(0 0 8px #00b4ff33);
    position: relative;
    overflow: hidden;
}
.gdocs-btn:hover {
    background: linear-gradient(90deg, #00b4ff 0%, #4285F4 100%);
    box-shadow: 0 8px 32px #00b4ff55, 0 1.5px 0 #fff2 inset;
    transform: translateY(-2px) scale(1.045);
    filter: drop-shadow(0 0 16px #00b4ff99);
    color: #fff;
}
.gdocs-btn svg {
    flex-shrink: 0;
}
@media (max-width: 900px) {
    .wide-rules-block {
        max-width: 99vw;
        padding: 18px 1vw;
    }
    .center-content {
        padding-top: 70px;
    }
}
@media (max-width: 700px) {
    .wide-rules-block {
        padding: 8px 0.5vw;
        max-width: 100vw;
        min-width: 0;
    }
    .wide-rules-block h2 {
        font-size: 1.3em;
    }
    .wide-rules-block h3 {
        font-size: 1.08em;
    }
}
