
/* =========================================
   KOSMOENERGETIKA VISIEMS
   Earth from Space — Violet Edition
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #080512;
    --purple: #a84cff;
    --purple-light: #d7a4ff;
    --text: #faf6ff;
    --muted: #d0c0df;
    --border: rgba(203, 154, 255, .22);
    --glass: rgba(12, 6, 29, .72);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", sans-serif;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

/* FONAS — ŽEMĖ IŠ KOSMOSO */

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(5, 3, 16, .22) 0%,
            rgba(7, 3, 20, .27) 35%,
            rgba(8, 4, 22, .52) 70%,
            rgba(8, 5, 18, .82) 100%
        ),
        url("images/zemes-fonas.png") center 35% / cover no-repeat;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(
            ellipse at 75% 20%,
            rgba(145, 65, 255, .14),
            transparent 42%
        ),
        radial-gradient(
            ellipse at 10% 60%,
            rgba(89, 45, 190, .12),
            transparent 45%
        );
}

.glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: -1;
    opacity: .2;
}

.glow-1 {
    width: 350px;
    height: 350px;
    background: #8d35e8;
    top: 10%;
    left: -180px;
}

.glow-2 {
    width: 400px;
    height: 400px;
    background: #5f24c9;
    right: -220px;
    top: 45%;
}

.glow-3 {
    width: 300px;
    height: 300px;
    background: #c25cff;
    left: 40%;
    bottom: -200px;
}

/* VIRŠUTINĖ JUOSTA */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(7, 4, 20, .72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    width: min(1400px, 92%);
    min-height: 76px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-weight: 800;
    font-size: 17px;
    white-space: nowrap;
}

.logo-icon {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #b75aff, #6426c5);
    box-shadow: 0 0 25px rgba(158, 69, 255, .3);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.nav a {
    padding: 9px 11px;
    border-radius: 9px;
    color: #e0d1f0;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: .2s ease;
}

.nav a:hover,
.nav a.active-link {
    color: white;
    background: rgba(160, 75, 255, .17);
}

.menu-button {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: rgba(157, 73, 255, .18);
    color: white;
    font-size: 21px;
    cursor: pointer;
}

/* PAGRINDINĖS SEKCIJOS */

.section {
    width: min(1180px, 90%);
    margin: auto;
    padding: 100px 0;
    scroll-margin-top: 75px;
}

.section-dark {
    width: 100%;
    padding-left: max(5%, calc((100% - 1180px) / 2));
    padding-right: max(5%, calc((100% - 1180px) / 2));
    background: rgba(12, 5, 29, .2);
    border-top: 1px solid rgba(196, 130, 255, .09);
    border-bottom: 1px solid rgba(196, 130, 255, .09);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 45px;
    text-align: center;
}

.section-label {
    display: inline-block;
    margin-bottom: 15px;
    color: #d1a1ff;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 800;
}

.section-heading h2 {
    margin-bottom: 17px;
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.15;
    font-style: italic;
}

.section-heading h2 span,
.hero h1 span {
    display: block;
    background: linear-gradient(90deg, #e2bdff, #a45aff, #f0d9ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientMove 6s linear infinite;
}

@keyframes gradientMove {
    to {
        background-position: 200% center;
    }
}

.section-heading p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

/* PAGRINDINIS EKRANAS */

.hero {
    min-height: 760px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 55px;
    padding-top: 145px;
}

.hero-content {
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 13px;
    margin-bottom: 22px;
    border: 1px solid rgba(192, 125, 255, .35);
    border-radius: 999px;
    background: rgba(21, 9, 44, .55);
    color: #e0bdff;
    font-size: 12px;
    font-weight: 700;
}

.hero h1 {
    margin-bottom: 24px;
    font-size: clamp(46px, 7vw, 78px);
    line-height: 1;
    letter-spacing: -2.5px;
    font-style: italic;
    text-shadow: 0 4px 30px rgba(0, 0, 0, .4);
}

.hero-text {
    max-width: 590px;
    color: #e0d4eb;
    font-size: 16px;
    line-height: 1.8;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .65);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

/* MYGTUKAI — MAŽESNI */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 39px;
    padding: 9px 15px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    transition: background .2s ease, transform .2s ease, border-color .2s ease;
}

.button.primary {
    color: white;
    background: linear-gradient(135deg, #b052ff, #7227cf);
    border: 1px solid transparent;
    box-shadow: 0 6px 22px rgba(132, 42, 221, .22);
}

.button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 28px rgba(157, 58, 255, .3);
}

.button.secondary {
    color: #f0e2ff;
    border: 1px solid rgba(214, 177, 255, .3);
    background: rgba(16, 7, 34, .55);
}

.button.secondary:hover {
    transform: translateY(-2px);
    background: rgba(110, 39, 175, .4);
    border-color: rgba(205, 151, 255, .55);
}

/* INFORMACINĖS KORTELĖS */

.cards {
    display: grid;
    gap: 18px;
}

.cards.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
    position: relative;
    min-width: 0;
    min-height: 210px;
    padding: 25px;
    overflow: hidden;
    border: 1px solid rgba(188, 123, 255, .22);
    border-radius: 19px;
    background: linear-gradient(
        145deg,
        rgba(35, 15, 61, .58),
        rgba(11, 5, 27, .55)
    );
    box-shadow: 0 15px 40px rgba(0, 0, 0, .13);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: .25s ease;
    opacity: 0;
    transform: translateY(18px);
}

.info-card.show {
    opacity: 1;
    transform: translateY(0);
}

.info-card::before {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    right: -60px;
    top: -60px;
    background: rgba(180, 91, 255, .13);
    filter: blur(35px);
    border-radius: 50%;
    pointer-events: none;
}

.info-card:hover {
    transform: translateY(-4px);
    border-color: rgba(196, 128, 255, .4);
    background: rgba(30, 12, 52, .72);
}

.card-icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 13px;
    background: rgba(167, 72, 244, .19);
    border: 1px solid rgba(192, 122, 255, .2);
    font-size: 21px;
}

.info-card h3 {
    margin-bottom: 10px;
    font-size: 17px;
}

.info-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}

/* KEN KANALAI */

.channels {
    width: 100%;
    max-width: 900px;
    margin: auto;
}

.channel {
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid rgba(194, 128, 255, .24);
    border-radius: 16px;
    background: rgba(13, 6, 31, .6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: .25s ease;
    opacity: 0;
    transform: translateY(18px);
}

.channel.show {
    opacity: 1;
    transform: translateY(0);
}

.channel:hover {
    border-color: rgba(194, 128, 255, .42);
}

.channel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    padding: 17px 20px;
    border: 0;
    background: transparent;
    color: white;
    text-align: left;
    cursor: pointer;
}

.channel-title {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.channel-number {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #e0bdff;
    background: rgba(159, 68, 238, .18);
    border: 1px solid rgba(194, 127, 255, .2);
    font-size: 11px;
    font-weight: 800;
}

.channel-title h3 {
    margin-bottom: 4px;
    font-size: 15px;
}

.channel-title p {
    color: #bba9cc;
    font-size: 11px;
}

.channel-arrow {
    flex-shrink: 0;
    color: #c898ed;
    font-size: 20px;
    transition: transform .25s ease;
}

.channel.active .channel-arrow {
    transform: rotate(180deg);
}

.channel-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s ease;
}

.channel.active .channel-content {
    grid-template-rows: 1fr;
}

.channel-inner {
    min-height: 0;
    overflow: hidden;
    padding: 0 24px;
}

.channel.active .channel-inner {
    padding-bottom: 23px;
}

.channel-inner h4 {
    margin-bottom: 10px;
    color: #dfbaff;
    font-size: 18px;
}

.channel-inner p,
.channel-inner li {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.channel-inner li {
    margin: 0 0 8px 20px;
}

.channel-inner li::marker {
    color: #c898ed;
}

.channel-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.channel-points span {
    padding: 6px 9px;
    border: 1px solid rgba(190, 119, 255, .15);
    border-radius: 8px;
    background: rgba(155, 62, 231, .15);
    color: #dfc9f2;
    font-size: 11px;
}

/* INFORMACINIS BLOKAS */

.feature-box {
    width: 100%;
    max-width: 900px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px;
    border: 1px solid rgba(193, 125, 255, .24);
    border-radius: 21px;
    background: linear-gradient(
        135deg,
        rgba(30, 12, 54, .58),
        rgba(10, 5, 25, .55)
    );
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 20px 55px rgba(44, 9, 70, .14);
}

.feature-icon,
.contact-icon {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 16px;
    font-size: 25px;
    background: linear-gradient(
        135deg,
        rgba(173, 76, 255, .28),
        rgba(102, 36, 170, .2)
    );
    border: 1px solid rgba(205, 148, 255, .23);
}

.feature-box h3,
.contact-card h3 {
    margin-bottom: 9px;
    font-size: 21px;
}

.feature-box p,
.contact-card p {
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

/* KONTAKTAI — TVARKINGAS IŠDĖSTYMAS */

#kontaktai .contact-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 175px;
    align-items: start;
    gap: 24px;
    width: 100%;
    max-width: 1000px;
    margin: auto;
    padding: 28px;
    border: 1px solid rgba(193, 125, 255, .24);
    border-radius: 22px;
    background: linear-gradient(
        135deg,
        rgba(30, 12, 54, .64),
        rgba(10, 5, 25, .68)
    );
    box-shadow: 0 20px 60px rgba(0, 0, 0, .16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

#kontaktai .contact-content {
    display: block;
    width: 100%;
    min-width: 0;
}

/* Kontaktų forma */

#kontaktai .telegram-form {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

#kontaktai .telegram-form label {
    display: block !important;
    width: 100% !important;
    margin: 12px 0 6px !important;
    color: #f5eaff;
    font-size: 13px !important;
    font-weight: 600;
    line-height: 1.5;
}

#kontaktai .telegram-form input,
#kontaktai .telegram-form select,
#kontaktai .telegram-form textarea {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 12px 14px !important;
    color: #faf6ff !important;
    background: rgba(7, 3, 19, .84) !important;
    border: 1px solid rgba(184, 124, 255, .38) !important;
    border-radius: 11px !important;
    outline: none;
    box-shadow: none;
    font-family: "Inter", sans-serif !important;
    font-size: 13px !important;
    line-height: 1.5;
    box-sizing: border-box !important;
    transition: border-color .2s ease, box-shadow .2s ease;
}

#kontaktai .telegram-form input {
    min-height: 44px !important;
}

#kontaktai .telegram-form select {
    min-height: 42px !important;
    cursor: pointer;
}

#kontaktai .telegram-form textarea {
    min-height: 125px !important;
    resize: vertical;
}

#kontaktai .telegram-form input::placeholder,
#kontaktai .telegram-form textarea::placeholder {
    color: #a99ab9 !important;
    opacity: 1;
}

#kontaktai .telegram-form input:focus,
#kontaktai .telegram-form select:focus,
#kontaktai .telegram-form textarea:focus {
    border-color: #b46aff !important;
    box-shadow: 0 0 0 3px rgba(168, 76, 255, .12) !important;
}

#kontaktai .telegram-form button[type="submit"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 43px !important;
    margin: 16px 0 0 !important;
    padding: 10px 14px !important;
    border: 0 !important;
    border-radius: 10px !important;
    color: white !important;
    background: linear-gradient(135deg, #b052ff, #7227cf) !important;
    font-family: "Inter", sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.4;
    cursor: pointer;
    transition: transform .2s ease, filter .2s ease;
}

#kontaktai .telegram-form button[type="submit"]:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

/* Facebook, Telegram ir Gmail mygtukai */

#kontaktai .contact-buttons {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 9px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

#kontaktai .contact-buttons .button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 9px 10px !important;
    border: 1px solid rgba(193, 125, 255, .28) !important;
    border-radius: 10px !important;
    background: rgba(12, 6, 29, .65) !important;
    color: #f5eaff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.4;
    text-align: center;
    text-decoration: none !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    box-shadow: none !important;
    transform: none;
    transition: background .2s ease, border-color .2s ease;
}

#kontaktai .contact-buttons .button:hover {
    background: rgba(126, 48, 201, .3) !important;
    border-color: rgba(193, 125, 255, .6) !important;
}

/* Jei kontaktų bloke naudojama piktograma */

#kontaktai .contact-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    font-size: 21px;
}

/* KOSMOENERGETIKOS APRAŠYMAS */

.ken-description {
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
    padding: 35px;
    border: 1px solid rgba(193, 125, 255, .24);
    border-radius: 23px;
    background: linear-gradient(
        145deg,
        rgba(27, 12, 48, .62),
        rgba(10, 5, 25, .6)
    );
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 20px 60px rgba(44, 9, 70, .14);
}

.ken-description-text > p {
    margin-bottom: 25px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.ken-description-text > p strong {
    color: #dfb1ff;
}

.ken-description h3 {
    margin-bottom: 20px;
    color: #f4eaff;
    font-size: 23px;
}

.ken-info-block {
    margin-top: 20px;
    padding: 22px;
    border: 1px solid rgba(190, 119, 255, .2);
    border-radius: 16px;
    background: rgba(24, 10, 43, .55);
}

.ken-info-block h4 {
    margin-bottom: 12px;
    color: #dca8ff;
    font-size: 16px;
}

.ken-info-block ul {
    margin: 0;
    padding-left: 21px;
}

.ken-info-block li {
    margin-bottom: 8px;
    padding-left: 4px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.ken-info-block li:last-child {
    margin-bottom: 0;
}

.ken-info-block li::marker {
    color: #b65cff;
}

/* PUSLAPIO APAČIA */

.footer {
    padding: 45px 20px 30px;
    text-align: center;
    background: rgba(5, 2, 14, .72);
    border-top: 1px solid rgba(191, 126, 255, .2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 800;
}

.footer-logo span {
    color: #c278ff;
}

.footer p {
    margin-top: 10px;
    color: #c0afcf;
    font-size: 12px;
    line-height: 1.7;
}

.footer-line {
    width: 85px;
    height: 1px;
    margin: 20px auto;
    background: linear-gradient(
        90deg,
        transparent,
        #9a52d5,
        transparent
    );
}

.footer small {
    color: #a08eaf;
    font-size: 10px;
}

/* GRĮŽTI Į VIRŠŲ */

.back-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 500;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(203, 137, 255, .3);
    border-radius: 12px;
    background: rgba(25, 9, 47, .88);
    backdrop-filter: blur(12px);
    color: white;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .25s ease;
}

.back-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-top:hover {
    background: rgba(133, 44, 202, .95);
}

/* PLANŠETĖS */

@media (max-width: 1100px) {
    .nav a {
        padding: 8px 7px;
        font-size: 11px;
    }

    .hero {
        gap: 35px;
    }

    #kontaktai .contact-card {
        grid-template-columns: minmax(0, 1fr) 155px;
        gap: 18px;
    }
}

/* MOBILIOJI NAVIGACIJA */

@media (max-width: 850px) {
    .header-inner {
        min-height: 68px;
    }

    .menu-button {
        display: block;
    }

    .nav {
        position: absolute;
        top: 68px;
        left: 4%;
        right: 4%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
        padding: 10px;
        border: 1px solid rgba(191, 124, 255, .25);
        border-radius: 15px;
        background: rgba(10, 4, 25, .97);
        backdrop-filter: blur(20px);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: .2s ease;
    }

    .nav.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav a {
        padding: 11px 13px;
        font-size: 12px;
    }

    .hero {
        min-height: auto;
        padding-top: 140px;
        padding-bottom: 80px;
        flex-direction: column;
        align-items: flex-start;
    }

    .cards.three {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 75px 0;
    }

    .section-dark {
        padding-left: 5%;
        padding-right: 5%;
    }

    body::before {
        background-position: center top;
    }

    #kontaktai .contact-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        padding: 23px;
    }

    #kontaktai .contact-buttons {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px !important;
    }

    #kontaktai .contact-buttons .button {
        min-height: 37px !important;
        padding: 8px 6px !important;
        font-size: 11px !important;
    }
}

/* TELEFONAI */

@media (max-width: 600px) {
    body::before {
        background-position: 57% top;
        background-size: auto 100vh;
    }

    .header-inner {
        width: 90%;
    }

    .logo {
        font-size: 13px;
    }

    .logo-icon {
        width: 33px;
        height: 33px;
    }

    .hero h1 {
        font-size: 45px;
        letter-spacing: -1.8px;
    }

    .hero-text {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .hero-buttons .button {
        width: 100%;
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .section-heading p {
        font-size: 14px;
    }

    .feature-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px;
    }

    .channel-header {
        padding: 15px;
    }

    .channel-title {
        gap: 10px;
    }

    .channel-title h3 {
        font-size: 13px;
    }

    .channel-title p {
        font-size: 10px;
    }

    .channel-number {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .channel-inner {
        padding-left: 17px;
        padding-right: 17px;
    }

    .channel.active .channel-inner {
        padding-bottom: 18px;
    }

    .ken-description {
        padding: 22px 18px;
    }

    .ken-description h3 {
        font-size: 20px;
    }

    .ken-info-block {
        padding: 17px;
    }

    #kontaktai .contact-card {
        gap: 18px;
        padding: 17px;
        border-radius: 17px;
    }

    #kontaktai .telegram-form label {
        font-size: 12px !important;
    }

    #kontaktai .telegram-form input,
    #kontaktai .telegram-form select,
    #kontaktai .telegram-form textarea {
        font-size: 13px !important;
    }

    #kontaktai .contact-buttons {
        grid-template-columns: minmax(0, 1fr);
    }

    #kontaktai .contact-buttons .button {
        min-height: 39px !important;
        font-size: 12px !important;
    }

    .back-top {
        right: 14px;
        bottom: 14px;
    }
}

/* MAŽIAU ANIMACIJŲ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* PAPILDOMAS DIZAINO SUTVARKYMAS */

#kontaktai .contact-card {
    grid-template-columns: minmax(0, 1fr) 175px;
    align-items: start;
}

#kontaktai .contact-content {
    display: contents;
}

#kontaktai .telegram-form {
    grid-column: 1;
    min-width: 0;
}

#kontaktai .contact-buttons {
    grid-column: 2;
    grid-row: 1;
}

#kontaktai .copy-message {
    grid-column: 1 / -1;
    color: #d7b4ff;
    font-size: 12px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.form-honey {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.info-card,
.channel,
.feature-box,
.contact-card {
    transition:
        opacity .3s ease,
        border-color .25s ease,
        background .25s ease,
        transform .25s ease;
}

@media (max-width: 850px) {
    #kontaktai .contact-card {
        grid-template-columns: minmax(0, 1fr);
    }

    #kontaktai .telegram-form {
        grid-column: 1;
    }

    #kontaktai .contact-buttons {
        grid-column: 1;
        grid-row: auto;
    }

    #kontaktai .copy-message {
        grid-column: 1;
    }
}

@media (max-width: 600px) {
    #kontaktai .contact-card {
        padding: 18px;
    }

    .button {
        min-height: 38px;
        padding: 9px 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .info-card,
    .channel,
    .feature-box,
    .contact-card {
        opacity: 1;
        transform: none;
    }
}
.channel-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.channel-content > * {
    overflow: hidden;
    min-height: 0;
}

.channel.active .channel-content {
    grid-template-rows: 1fr;
}

.mokymo-kortele {
    padding: 0;
    overflow: hidden;
}

.mokymo-nuoroda {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    min-height: 86px;
    text-decoration: none;
    color: #f3e8ff;
    transition: background .2s;
}

.mokymo-nuoroda:hover {
    background: rgba(168, 85, 247, .13);
}

.mokymo-emoji {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    border: 1px solid rgba(192, 132, 252, .3);
    border-radius: 12px;
    background: rgba(168, 85, 247, .12);
    font-size: 21px;
}

.mokymo-informacija {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.mokymo-informacija strong {
    font-size: 16px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.mokymo-informacija small {
    color: #bda0d9;
    font-size: 12px;
}

.rodykle {
    margin-left: auto;
    padding-left: 8px;
    color: #c084fc;
    font-size: 23px;
    transition: transform .2s;
}

.mokymo-nuoroda:hover .rodykle {
    transform: translateX(4px);
}

html,
body {
    min-height: 100%;
    overflow-x: clip;
}

.header {
    position: relative;
    z-index: 1000;
    width: 100%;
    overflow: visible;
}

.header-inner {
    position: relative;
    z-index: 1001;
    overflow: visible;
}

.nav {
    z-index: 1002;
}

.header-actions {
    position: relative;
    z-index: 1003;
    flex-shrink: 0;
}

.training-page {
    position: relative;
    z-index: 1;
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0 70px;
    min-height: 55vh;
}

.training-card,
.training-detail,
.training-empty {
    background: rgba(111, 24, 168, 0.22);
    border: 1px solid rgba(166, 85, 255, 0.55);
    border-radius: 18px;
    box-shadow: 0 0 20px rgba(111, 24, 168, 0.12);
    color: #ffffff;
}

.training-card {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.training-card:hover {
    background: rgba(111, 24, 168, 0.36);
    border-color: #a855f7;
}

.training-card h2,
.training-detail h1,
.training-heading h1 {
    color: #ffffff;
}

.training-author {
    color: #d8b4fe;
    font-size: 13px;
}

.training-card .button,
.training-detail .button,
.training-page > .button {
    background: #6f18a8;
    border: 1px solid #a855f7;
    color: #ffffff;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.training-card .button:hover,
.training-detail .button:hover,
.training-page > .button:hover {
    background: #8525c2;
}

.training-description {
    color: #f3e8ff;
    line-height: 1.8;
}

.training-description a {
    color: #d8b4fe;
}

.training-empty {
    text-align: center;
    padding: 30px 20px;
}

.training-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 700px) {
    .training-list {
        grid-template-columns: 1fr;
    }
}
