/* Обнуление и базовая сетка */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    width: 100%;
    height: 100%;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

.swiper-container {
    width: 100%;
    height: 100%;
}

/* Структура слайда */
.theme-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    position: relative;
    padding: 20px;
}

/* Логотип */
.logo {
    font-size: 3.5rem;
    letter-spacing: -0.05em;
    white-space: nowrap;
    margin-bottom: 2rem;
    animation: fadeIn 0.6s ease;
}

.logo-k {
    margin: 0 2px;
}



/* Кнопка "Найти" */
.find-btn {
    font-size: 1.5rem;
    padding: 15px 40px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s;
    z-index: 10;
    margin-bottom: 2rem;
}

.find-btn:hover {
    transform: scale(1.05);
}

/* Кнопка "Мастер" */
.master-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

/* Индикатор свайпа */
.swiper-pagination {
    bottom: 20px !important;
}

/* Overlay-анимация */
.overlay-animation {
    position: fixed;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
    pointer-events: none;
    z-index: 9999;
    background: #000;
}

.overlay-animation[data-theme="black"] {
    background: #CDAA7D;
}
.overlay-animation[data-theme="classic"] {
    background: #000000;
}
.overlay-animation[data-theme="pink"] {
    background: #ffffff;
}
.overlay-animation[data-theme="neon"] {
    background: #f0f;
}

.animate-overlay {
    animation: expand 0.6s ease-out forwards;
}

/* Анимации */

    50%  { opacity: 0.4; }
    100% { opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes expand {
    to {
        transform: translate(-50%, -50%) scale(35);
        opacity: 1;
    }
}

/* Адаптивность */
@media (max-width: 480px) {
    .logo {
        font-size: 2.5rem;
    }

    .find-btn {
        font-size: 1.2rem;
        padding: 12px 30px;
    }

    .master-btn {
        font-size: 0.8rem;
        padding: 6px 16px;
    }
}


.logo-dot {
    animation: blink 1s infinite steps(1, start);
}

@keyframes blink {
    0%   { opacity: 1; }
    50%  { opacity: 0; }
    100% { opacity: 1; }
}


.logo-k {
    animation: glitch-blink 6s infinite;
}

@keyframes glitch-blink {
    0%, 90%, 100% {
        opacity: 1;
    }
    91% {
        opacity: 0;
    }
    92% {
        opacity: 1;
    }
    93% {
        opacity: 0;
    }
    94% {
        opacity: 1;
    }
}
