/* =====================================================
   TRIXIOBSERVES
   STYLE.CSS
===================================================== */


/* =====================================================
   ОСНОВА
===================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 15% 45%,
            rgba(0, 255, 150, 0.12),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 55%,
            rgba(150, 50, 255, 0.16),
            transparent 35%
        ),
        #050816;

    color: #f2c95c;

    overflow-x: hidden;

    font-family: "Allura", cursive;
}


/* =====================================================
   ФОНОВЫЕ СВЕЧЕНИЯ
===================================================== */

.glow-green {
    position: fixed;

    width: 420px;
    height: 420px;

    left: -120px;
    top: 15%;

    background: #20ff91;

    opacity: 0.09;

    filter: blur(120px);

    border-radius: 50%;

    pointer-events: none;

    z-index: 0;
}

.glow-purple {
    position: fixed;

    width: 470px;
    height: 470px;

    right: -120px;
    bottom: 0;

    background: #9b4dff;

    opacity: 0.14;

    filter: blur(130px);

    border-radius: 50%;

    pointer-events: none;

    z-index: 0;
}


/* =====================================================
   ЯЗЫКИ
===================================================== */

.language-switcher {
    position: fixed;

    top: 20px;
    right: 25px;

    display: flex;

    gap: 8px;

    z-index: 1000;
}

.language-button {
    width: 42px;
    height: 34px;

    padding: 0;

    border: 1px solid rgba(245, 212, 119, 0.45);

    border-radius: 10px;

    background: rgba(8, 7, 25, 0.9);

    display: flex;

    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition: 0.25s ease;
}

.flag-image {
    width: 29px;
    height: 20px;

    display: block;

    border-radius: 3px;

    box-shadow:
        0 0 5px rgba(245, 212, 119, 0.3);
}

.language-button:hover {
    transform: translateY(-2px);

    border-color: #f5d477;

    box-shadow:
        0 0 15px rgba(168, 85, 247, 0.6);
}

.language-button.active {
    border-color: #f5d477;

    background: rgba(75, 40, 110, 0.7);

    box-shadow:
        0 0 15px rgba(245, 212, 119, 0.65);
}


/* =====================================================
   МАГИЧЕСКИЕ ТОЧКИ
===================================================== */

.magic-dot {
    position: fixed;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #39ff88;

    box-shadow:
        0 0 10px #39ff88,
        0 0 25px #39ff88;

    animation:
        floating 4s ease-in-out infinite;

    z-index: 2;
}

.dot-one {
    top: 27%;
    right: 12%;
}

.dot-two {
    bottom: 20%;
    left: 10%;

    background: #a855f7;

    box-shadow:
        0 0 10px #a855f7,
        0 0 25px #a855f7;

    animation-delay: 1s;
}

.dot-three {
    top: 47%;
    left: 7%;

    animation-delay: 2s;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}


/* =====================================================
   ГЛАВНАЯ СТРАНИЦА
===================================================== */

.hero {
    position: relative;

    z-index: 3;

    width: 100%;
    min-height: 100vh;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 55px 20px 30px;
}


/* =====================================================
   ГЛАВНЫЙ ЗАГОЛОВОК
===================================================== */

.main-title {
    margin: 0;

    max-width: 1100px;

    font-family: "Allura", cursive;

    font-size: clamp(48px, 6vw, 82px);

    line-height: 0.9;

    font-weight: 400;

    font-style: italic;

    color: #f1c85c;

    transform: rotate(-1deg);

    text-shadow:
        0 0 6px rgba(255, 225, 130, 0.65),
        0 0 18px rgba(230, 180, 60, 0.5),
        0 0 35px rgba(168, 85, 247, 0.2);
}

.welcome-line {
    display: block;
}

.in-world {
    display: inline-block;

    margin-right: 8px;
}


/* =====================================================
   TRIXIOBSERVES
===================================================== */

.world-name {
    display: inline-flex;

    position: relative;

    align-items: center;

    gap: 22px;

    font-family: "Allura", cursive;

    font-style: italic;

    background:
        linear-gradient(
            90deg,
            #35f59a,
            #7ee7d7,
            #a6b4ff,
            #bd65ff
        );

    -webkit-background-clip: text;

    background-clip: text;

    -webkit-text-fill-color: transparent;

    transform: rotate(-2deg);
}

.world-name-text {
    display: inline-block;
}


/* =====================================================
   ПОДЧЁРКИВАНИЕ TRIXIOBSERVES
===================================================== */

.world-name::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: -5px;

    height: 3px;

    border-radius: 50%;

    background:
        linear-gradient(
            90deg,
            #39ff88,
            #8de6d1,
            #a855f7
        );

    box-shadow:
        0 0 8px #39ff88,
        0 0 15px #a855f7;
}


/* =====================================================
   МЫШКА
===================================================== */

.trixi-bat {
    position: relative;

    display: inline-block;

    width: 64px;
    height: 54px;

    flex-shrink: 0;

    transform: translateY(-7px);

    animation:
        batFloat 3s ease-in-out infinite;

    filter:
        drop-shadow(
            0 0 7px
            rgba(168, 85, 247, 0.7)
        );
}


/* =====================================================
   КРЫЛЬЯ
===================================================== */

.bat-wings {
    position: absolute;

    inset: 0;

    pointer-events: none;
}

.bat-wing {
    position: absolute;

    top: 18px;

    width: 34px;
    height: 30px;

    background:
        linear-gradient(
            145deg,
            #35222d,
            #17121b
        );

    z-index: 1;
}

.bat-wing-left {
    left: -5px;

    clip-path:
        polygon(
            100% 35%,
            72% 8%,
            58% 30%,
            35% 5%,
            39% 45%,
            5% 28%,
            20% 68%,
            8% 90%,
            48% 73%,
            100% 100%
        );
}

.bat-wing-right {
    right: -5px;

    clip-path:
        polygon(
            0 35%,
            28% 8%,
            42% 30%,
            65% 5%,
            61% 45%,
            95% 28%,
            80% 68%,
            92% 90%,
            52% 73%,
            0 100%
        );
}


/* =====================================================
   ГОЛОВА
===================================================== */

.bat-head {
    position: absolute;

    width: 38px;
    height: 34px;

    left: 13px;
    top: 8px;

    background:
        radial-gradient(
            circle at 50% 40%,
            #50352f,
            #241820 75%
        );

    border-radius:
        48%
        48%
        45%
        45%;

    z-index: 3;
}


/* =====================================================
   УШКИ
===================================================== */

.bat-ears {
    position: absolute;

    left: 13px;
    top: 8px;

    width: 38px;
    height: 34px;

    z-index: 4;

    pointer-events: none;
}

.bat-ear {
    position: absolute;

    width: 15px;
    height: 21px;

    top: -10px;

    background:
        linear-gradient(
            145deg,
            #49302d,
            #1b131b
        );

    clip-path:
        polygon(
            50% 0,
            100% 100%,
            50% 76%,
            0 100%
        );

    z-index: 4;
}

.bat-ear-left {
    left: 3px;

    transform: rotate(-8deg);
}

.bat-ear-right {
    right: 3px;

    transform: rotate(8deg);
}


/* =====================================================
   ГЛАЗА
===================================================== */

.bat-eye {
    position: absolute;

    top: 11px;

    width: 11px;
    height: 14px;

    border-radius: 50%;

    background:
        linear-gradient(
            180deg,
            #78e8ff,
            #8bcad0,
            #8a6952
        );

    box-shadow:
        0 0 6px
        rgba(80, 220, 255, 0.85);

    z-index: 5;
}

.bat-eye-left {
    left: 6px;
}

.bat-eye-right {
    right: 6px;
}


/* =====================================================
   ЧЁРНЫЕ ЗРАЧКИ
===================================================== */

.bat-pupil {
    position: absolute;

    width: 4px;
    height: 8px;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%);

    background: #000000;

    border-radius: 50%;
}


/* =====================================================
   НОС
===================================================== */

.bat-nose {
    position: absolute;

    width: 5px;
    height: 4px;

    left: 50%;
    top: 24px;

    transform:
        translateX(-50%);

    background: #b87970;

    border-radius: 50%;
}


/* =====================================================
   УЛЫБКА
===================================================== */

.bat-smile {
    position: absolute;

    width: 13px;
    height: 6px;

    left: 50%;
    top: 25px;

    transform:
        translateX(-50%);

    border-bottom:
        2px solid #d8958a;

    border-radius:
        0 0 50% 50%;
}


/* =====================================================
   АНИМАЦИЯ МЫШКИ
===================================================== */

@keyframes batFloat {

    0%,
    100% {
        transform:
            translateY(-7px)
            rotate(-2deg);
    }

    50% {
        transform:
            translateY(-12px)
            rotate(2deg);
    }
}


/* =====================================================
   РАЗДЕЛИТЕЛЬ
===================================================== */

.gold-divider {
    width: 360px;

    max-width: 75%;

    height: 2px;

    margin-top: 18px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #a855f7,
            #f5d477,
            #39ff88,
            transparent
        );

    box-shadow:
        0 0 10px
        rgba(168, 85, 247, 0.5);
}


/* =====================================================
   ОПИСАНИЕ ГЛАВНОЙ
===================================================== */

.home-description {
    max-width: 700px;

    margin: 20px auto 0;

    font-family: "Allura", cursive;

    font-size: clamp(25px, 3vw, 36px);

    line-height: 1.15;

    font-style: italic;

    color: #eac35d;

    transform: rotate(-1deg);

    text-shadow:
        0 0 7px
        rgba(244, 215, 123, 0.45);
}


/* =====================================================
   ГЛАВНАЯ КНОПКА
===================================================== */

.main-button {
    display: inline-block;

    margin-top: 25px;

    padding: 12px 42px;

    min-width: 280px;

    border: 2px solid #d9aa35;

    border-radius: 50px;

    background:
        linear-gradient(
            135deg,
            #35146d,
            #5422a0,
            #28144f
        );

    color: #f5d477;

    font-family: "Allura", cursive;

    font-size: 29px;

    font-style: italic;

    text-decoration: none;

    box-shadow:
        0 0 18px
        rgba(168, 85, 247, 0.45);

    transition: 0.3s;

    transform: rotate(-1deg);
}

.main-button:hover {
    transform:
        rotate(-1deg)
        translateY(-4px)
        scale(1.03);

    box-shadow:
        0 0 30px
        rgba(168, 85, 247, 0.7);
}


/* =====================================================
   EXPLORE
===================================================== */

.explore-page {
    overflow: hidden;
}

.explore-container {
    position: relative;

    z-index: 3;

    width: 100%;

    height: 100vh;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    padding: 35px 20px 25px;

    overflow: hidden;
}


/* =====================================================
   ЗАГОЛОВОК EXPLORE
===================================================== */

.page-title {
    margin: 0 0 30px;

    font-family: "Allura", cursive;

    font-size: clamp(42px, 5vw, 62px);

    font-weight: 400;

    line-height: 1;

    color: #f0c85c;

    font-style: italic;

    transform: rotate(-2deg);

    text-shadow:
        0 0 7px
        rgba(255, 225, 130, 0.6),

        0 0 18px
        rgba(230, 180, 60, 0.45);
}


/* =====================================================
   ТЕКСТ EXPLORE
===================================================== */

.explore-intro {
    max-width: 700px;

    margin: 0 auto 35px;

    font-family: "Allura", cursive;

    font-size: clamp(20px, 2.2vw, 27px);

    line-height: 1.4;

    font-style: italic;

    color: #eac35d;
}


/* =====================================================
   НАВИГАЦИЯ EXPLORE
===================================================== */

.world-navigation {
    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 18px 14px;

    max-width: 1100px;

    margin: 0;
}


/* =====================================================
   КНОПКИ EXPLORE
===================================================== */

.world-button {
    display: flex;

    align-items: center;

    justify-content: center;

    min-height: 46px;

    padding: 8px 21px;

    border: 1px solid #d9aa35;

    border-radius: 17px;

    background:
        rgba(12, 10, 35, 0.75);

    color: #eac35d;

    font-family: "Allura", cursive;

    font-size: 20px;

    font-style: italic;

    text-decoration: none;

    box-shadow:
        0 0 12px
        rgba(168, 85, 247, 0.18);

    transition: 0.3s;

    transform: rotate(-1deg);
}

.world-button:hover {
    transform:
        rotate(-1deg)
        translateY(-3px);

    color: #ffe9a6;

    border-color: #f5d477;

    box-shadow:
        0 0 25px
        rgba(168, 85, 247, 0.45);
}

.cara-button {
    margin-top: 4px;

    min-width: 260px;
}


/* =====================================================
   РАЗДЕЛИТЕЛЬ EXPLORE
===================================================== */

.explore-divider {
    width: 180px;

    height: 2px;

    margin-top: 32px;

    margin-bottom: 25px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #a855f7,
            #f5d477,
            transparent
        );

    box-shadow:
        0 0 10px
        rgba(168, 85, 247, 0.45);
}


/* =====================================================
   ЦИТАТА EXPLORE
===================================================== */

.world-quote {
    max-width: 700px;

    margin: 0 auto 30px;

    font-family: "Allura", cursive;

    font-size: clamp(20px, 2.2vw, 27px);

    line-height: 1.4;

    color: #dcb65b;

    transform: rotate(-1deg);
}


/* =====================================================
   НАЗАД НА ГЛАВНУЮ
===================================================== */

.back-home {
    display: inline-block;

    margin: 0;
    padding: 10px 30px;

    border: 1px solid #d9aa35;
    border-radius: 40px;

    background: linear-gradient(
        135deg,
        #32105f,
        #5a2194
    );

    color: #f5d477;

    font-family: "Allura", cursive;
    font-size: 20px;
    font-style: italic;

    text-decoration: none;

    box-shadow:
        0 0 12px rgba(168, 85, 247, 0.45),
        inset 0 0 12px rgba(168, 85, 247, 0.18);

    transition: 0.3s;

    transform: rotate(-1deg);
}


.back-home:hover {
    transform:
        rotate(-1deg)
        translateY(-3px)
        scale(1.03);

    color: #fff0b5;

    border-color: #f5d477;

    background: linear-gradient(
        135deg,
        #48147d,
        #752fc0
    );

    box-shadow:
        0 0 25px rgba(168, 85, 247, 0.75),
        inset 0 0 18px rgba(190, 100, 255, 0.25);
}
/* =====================================================
   НЕВЫСОКИЙ ЭКРАН
===================================================== */

@media (max-height: 800px) and (min-width: 701px) {

    .hero {
        padding-top: 35px;
        padding-bottom: 20px;
    }

    .main-title {
        font-size:
            clamp(
                44px,
                5.5vw,
                68px
            );
    }

    .home-description {
        margin-top: 15px;

        font-size: 28px;
    }

    .main-button {
        margin-top: 18px;

        padding:
            10px 36px;

        font-size: 27px;
    }


    /* Explore */

    .explore-container {
        padding-top: 25px;
    }

    .page-title {
        margin-bottom: 24px;

        font-size: 52px;
    }

    .explore-intro {
        margin-bottom: 28px;

        line-height: 1.3;
    }

    .world-navigation {
        gap: 14px 12px;
    }

    .world-button {
        min-height: 42px;

        padding:
            7px 17px;

        font-size: 19px;
    }

    .explore-divider {
        margin-top: 27px;

        margin-bottom: 21px;
    }

    .world-quote {
        margin-bottom: 25px;

        font-size: 22px;
    }

    .back-home {
        font-size: 19px;
    }
}


/* =====================================================
   МОБИЛЬНАЯ ВЕРСИЯ
===================================================== */

@media (max-width: 700px) {

    /* Языки */

    .language-switcher {
        top: 12px;

        right: 12px;

        gap: 6px;
    }

    .language-button {
        width: 38px;

        height: 31px;
    }

    .flag-image {
        width: 25px;

        height: 17px;
    }


    /* =================================================
       Главная
    ================================================= */

    .hero {
        min-height: 100vh;

        padding:
            70px
            15px
            30px;
    }

    .main-title {
        font-size: 48px;

        line-height: 0.95;
    }

    .world-name {
        display: inline-flex;

        gap: 12px;
    }

    .trixi-bat {
        width: 48px;

        height: 44px;

        transform:
            scale(0.75)
            translateY(-5px);
    }

    .home-description {
        max-width: 95%;

        margin-top: 20px;

        font-size: 25px;

        line-height: 1.15;
    }

    .main-button {
        width: 90%;

        min-width: 0;

        margin-top: 22px;

        font-size: 27px;
    }


    /* =================================================
       Explore
    ================================================= */

    .explore-page {
        overflow-y: auto;
    }

    .explore-container {
        height: auto;

        min-height: 100vh;

        padding:
            70px
            15px
            35px;
    }

    .page-title {
        margin-bottom: 25px;

        font-size: 44px;

        line-height: 1;
    }

    .explore-intro {
        margin-bottom: 28px;

        font-size: 23px;

        line-height: 1.35;
    }

    .world-navigation {
        flex-direction: column;

        width: 100%;

        gap: 13px;
    }

    .world-button {
        width: 92%;

        min-height: 47px;

        font-size: 21px;
    }

    .cara-button {
        width: 92%;
    }

    .explore-divider {
        margin-top: 28px;

        margin-bottom: 22px;
    }

    .world-quote {
        margin-bottom: 24px;

        font-size: 22px;

        line-height: 1.3;
    }

    .back-home {
        width: 92%;

        font-size: 21px;
    }
}
