:root {
    --bg-color: #f0f2f5;
    --text-color: #1a1a1a;
    --accent-color: #007bff;
    --btn-bg: rgba(0, 0, 0, 0.05);
}

.dark-theme {
    --bg-color: #1a1a1a;
    --text-color: #f0f2f5;
    --btn-bg: rgba(255, 255, 255, 0.1);
}

body, html {
    margin: 0; padding: 0; overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: 0.4s;
}

.viewport { width: 100vw; height: 100vh; position: relative; }
.slider { display: flex; width: 300vw; height: 100%; transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1); }

.page { 
    width: 100vw; height: 100vh; display: flex; flex-direction: column; 
    align-items: center; justify-content: center; padding-bottom: 60px; 
    box-sizing: border-box; 
}

/* Кнопки переключения тем */
.theme-controls {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    z-index: 110;
}

.theme-btn {
    background: var(--btn-bg);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.theme-btn:hover {
    background: var(--btn-bg);
    transform: scale(1.1);
}

.theme-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--text-color);
    opacity: 0.7;
}

/* Остальные стили */
.brand-container { text-align: center; cursor: pointer; position: relative; width: 100%; }
.hint-text { font-size: 1.2rem; opacity: 0.5; animation: pulse 2s infinite; transition: 0.5s; }
.main-title { 
    font-size: clamp(3rem, 12vw, 8rem); margin: 0; opacity: 0; 
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -20%) translateY(30px);
    transition: 1s cubic-bezier(0.22, 1, 0.36, 1);
    width: 100%;
}

.is-revealed .hint-text { opacity: 0; visibility: hidden; }
.is-revealed .main-title { opacity: 1; transform: translate(-50%, -50%) translateY(0); }

.content-wrapper { max-width: 600px; text-align: center; background: var(--btn-bg); padding: 40px; border-radius: 24px; }
.tg-container { display: flex; flex-direction: column; align-items: center; text-align: center; }
.tg-button { display: inline-block; margin-top: 20px; background: #0088cc; color: white; text-decoration: none; padding: 16px 40px; border-radius: 50px; font-weight: 600; }

.trigger { position: absolute; top: 0; width: 8vw; height: calc(100% - 60px); z-index: 100; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.left-trigger { left: 0; } .right-trigger { right: 0; }
.arrow { font-size: 3rem; opacity: 0.2; user-select: none; }
.hidden-trigger { opacity: 0 !important; pointer-events: none; }

@keyframes pulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 0.7; } }
.loader-dots span { display: inline-block; width: 10px; height: 10px; background: var(--accent-color); border-radius: 50%; margin: 20px 4px 0; animation: bounce 1.4s infinite ease-in-out; }
@keyframes bounce { 0%, 80%, 100% { transform: scale(0.3); } 40% { transform: scale(1); } }