/* --- Шрифты и базовые стили --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;800&display=swap');

body {
    background-color: #000;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
}

.hidden {
    display: none;
}


/* --- Экран загрузки --- */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 50;
}

.loader-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem; 
    font-weight: 700;
    margin: 0;
    width: 100%;
    text-align: center;
}

.progress-ring {
    position: relative;
    width: 120px;
    height: 120px;
}

.progress-ring__svg {
    width: 100%;
    height: 100%;
}

.progress-ring__bg {
    stroke: #333;
}

.progress-ring__circle {
    transition: stroke-dashoffset 0.1s linear;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    stroke: white;
    stroke-dasharray: 4 10;
    stroke-linecap: round;
}


/* --- Основной контент --- */
.main-content {
    /* Стили для основного контейнера, если нужны */
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('bg.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(24px) brightness(0.5);
}


/* --- Модальное окно --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-window {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2rem; /* 32px */
    border-radius: 0.5rem; /* 8px */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    text-align: center;
    width: 91.666667%; /* 11/12 */
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Медиа-запрос для экранов шире 768px */
@media (min-width: 768px) {
    .modal-window {
        width: 50%;
    }
}

.logo {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem; /* 32px */
    width: 83.333333%; /* 10/12 */
    max-width: 24rem; /* 384px */
}

.main-title {
    font-size: 1.5rem; /* 24px */
    font-weight: 800;
    margin-bottom: 1rem; /* 16px */
    text-transform: uppercase;
    line-height: 1.625;
}

.blurred-char {
    filter: blur(4px);
}

.details-text {
    margin-bottom: 1rem; /* 16px */
    font-weight: 700;
}

.contact-link {
    color: #3b82f6; /* Tailwind blue-500 */
}


/* --- Всплывающая подсказка (Tooltip) --- */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 150%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}