/* ==========================================================
   R A D I O V E I N
   Clean Production Styles — Purple Energy Edition
========================================================== */

/* VARIABLES */
:root {
    --bg-main: #040017;
    --purple: #a200ff;
    --purple-soft: #c778ff;
    --text-light: #e8daff;
    --text-soft: #bfa0ff;
    --white: #ffffff;
    --link-visible: #d5cfde;
}

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

html, body {
    width: 100%;
    height: 100%;
    background: var(--bg-main);
    font-family: "Inter", sans-serif;
    color: var(--text-light);
    overflow-x: hidden;
}

/* ==========================================================
   BACKGROUND CANVAS
========================================================== */

#veinCanvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    pointer-events: none !important;
}

/* ==========================================================
   CONTENT
========================================================== */

.content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding-top: 23vh;
    text-align: center;
}

/* LOGO */

.logo {
    font-size: 8vw;
    font-weight: 900;
    letter-spacing: 0.22em;
    background: linear-gradient(90deg, #d188ff, #a200ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow:
        0 0 25px rgba(162,0,255,0.45),
        0 0 60px rgba(147,0,255,0.3),
        0 0 90px rgba(180,0,255,0.25);

    margin-bottom: 35px;
    animation: radioveinPulse 2.6s ease-in-out infinite;
}

@keyframes radioveinPulse {
    0% {
        transform: scale(1);
        opacity: 0.9;
        filter: drop-shadow(0 0 25px #a200ff);
    }
    50% {
        transform: scale(1.075);
        opacity: 1;
        filter: drop-shadow(0 0 65px #d36bff)
                drop-shadow(0 0 120px #b449ff);
    }
    100% {
        transform: scale(1);
        opacity: 0.9;
        filter: drop-shadow(0 0 25px #a200ff);
    }
}

/* SUBTITLE */

.subtitle {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.35vw;
    line-height: 1.6;
    opacity: 0.8;

    text-shadow: 0 0 10px rgba(110,0,200,0.25);
}

/* ==========================================================
   BUTTONS
========================================================== */

.cta {
    display: inline-block;
    margin-top: 45px;
    padding: 18px 48px;

    font-size: 1.4vw;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;

    background: linear-gradient(90deg, #8d00ff, #c100ff);
    color: white;

    box-shadow: 0 0 22px rgba(162,0,255,0.6);
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(162,0,255,0.8);
}

/* ==========================================================
   PRESENTATION LINKS
========================================================== */

.presentation-links {
    margin-top: 36px;
    text-align: center;
    position: relative;
    z-index: 20;
}

.view-presentation {
    font-size: 20px;
    font-weight: 600;
    color: var(--link-visible) !important;
    text-decoration: none;
    margin-bottom: 12px;
    display: inline-block;

    text-shadow:
        0 0 8px rgba(213,207,222,0.4),
        0 0 16px rgba(213,207,222,0.35);

    transition: 0.25s;
}

.view-presentation:hover {
    color: var(--white) !important;
    text-shadow:
        0 0 12px rgba(255,255,255,0.8),
        0 0 24px rgba(200,160,255,0.6);
}

/* LANG SWITCH */

.lang-switch {
    font-size: 16px;
    margin-top: 4px;
    letter-spacing: 0.5px;
}

.lang-switch a {
    color: var(--link-visible);
    text-decoration: none;
    padding: 0 6px;

    text-shadow: 0 0 8px rgba(213,207,222,0.4);
    transition: 0.25s;
}

.lang-switch a:hover {
    color: var(--white);
    text-shadow:
        0 0 14px rgba(255,255,255,0.9);
}

.lang-switch .divider {
    color: #8f839e;
}

/* ==========================================================
   MODAL
========================================================== */

.modal-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.75);

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

    z-index: 200;
    display: none;
}

.modal {
    width: 90%;
    max-width: 520px;
    padding: 35px;

    background: #110025;
    border: 2px solid #5b00a5;
    border-radius: 18px;

    box-shadow:
        0 0 40px rgba(162,0,255,0.45),
        inset 0 0 60px rgba(75,0,170,0.3);

    text-align: center;
}

.modal h2 {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--purple-soft);
}

.modal p {
    font-size: 16px;
    opacity: 0.85;
    line-height: 1.6;
}

.modal b {
    color: var(--white);
}

.modal-close {
    margin-top: 26px;
    padding: 14px 36px;

    background: #7b00ff;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;

    cursor: pointer;
    transition: 0.2s;
}

.modal-close:hover {
    background: #9600ff;
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 1000px) {
    .logo { font-size: 14vw; }
    .subtitle { font-size: 4vw; }
    .cta { font-size: 4vw; padding: 14px 28px; }

    .view-presentation { font-size: 5vw; }
    .lang-switch { font-size: 4vw; }
}
/* SHARE BLOCK */
.share-block {
    margin-top: 50px;
    text-align: center;
    position: relative;
    z-index: 15;
}

.share-title {
    color: #d5cfde;
    font-size: 20px;
    margin-bottom: 14px;
    opacity: 0.85;
    letter-spacing: 0.4px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.share-btn {
    display: inline-block;
    padding: 10px 18px;

    background: rgba(160, 0, 255, 0.18);
    border: 1px solid rgba(170, 0, 255, 0.35);
    border-radius: 12px;

    color: #e7d7ff;
    text-decoration: none;
    font-size: 15px;

    cursor: pointer;
    transition: 0.25s ease-in-out;

    backdrop-filter: blur(6px);
}

.share-btn:hover {
    background: rgba(200, 0, 255, 0.35);
    color: #fff;
    transform: scale(1.07);
    box-shadow: 0 0 18px rgba(170, 0, 255, 0.65);
}
.share-buttons {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.share-icon {
    width: 42px;
    height: 42px;

    background: rgba(180, 0, 255, 0.14);
    border: 1px solid rgba(200, 0, 255, 0.25);
    border-radius: 12px;

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

    cursor: pointer;
    transition: 0.25s ease;
}

.share-icon img {
    width: 22px;
    height: 22px;
    opacity: 0.85;
    transition: 0.25s ease;
}

.share-icon:hover {
    transform: scale(1.18);
    background: rgba(200, 0, 255, 0.35);
    box-shadow: 0 0 14px rgba(200, 80, 255, 0.7);
}

.share-icon:hover img {
    opacity: 1;
}
.lang-icons svg {
    filter: drop-shadow(0 0 4px #c084ff);
    transition: 0.25s;
}
.lang-icons svg:hover {
    filter: drop-shadow(0 0 10px #ffffff);
    transform: scale(1.08);
}
@media (max-width: 900px) {
    .logo {
        animation: logoMobilePulse 3.4s ease-in-out infinite !important;
        will-change: transform, filter;
        opacity: 1 !important; /* фиксируем */
    }

    @keyframes logoMobilePulse {
        0% {
            transform: scale(1);
            filter: brightness(1) blur(0px);
        }
        45% {
            transform: scale(1.05);
            filter: brightness(1.25) blur(1px);
        }
        70% {
            transform: scale(1.08);
            filter: brightness(1.4) blur(1.4px);
        }
        100% {
            transform: scale(1);
            filter: brightness(1) blur(0px);
        }
    }
}
.logo {
    transition: transform 0.25s linear, filter 0.25s linear;
    will-change: transform, filter;
}
