* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: fixed;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(28px, 5vh, 48px);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    user-drag: none;
    touch-action: manipulation;
    padding: 24px;
    position: relative;
}

/* ЛОГОТИП */
.logo {
    font-size: clamp(52px, 8vw, 80px);
    font-weight: 800;
    letter-spacing: -1.5px;
    background: linear-gradient(180deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    text-align: center;
    padding: 0 20px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}

/* ШАРИКИ ЗАГРУЗКИ */
.loader {
    display: flex;
    justify-content: center;
    gap: clamp(12px, 2vw, 18px);
    animation: loaderFadeIn 1s ease-out 0.4s both;
}

.dot {
    width: clamp(12px, 2vw, 16px);
    height: clamp(12px, 2vw, 16px);
    border-radius: 50%;
    opacity: 0.35;
    animation: pulse 1.6s infinite;
}

.dot:nth-child(1) {
    background: #fbbf24;
}

.dot:nth-child(2) {
    background: #f97316;
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    background: #4ade80;
    animation-delay: 0.4s;
}

/* ИНФО БЛОК (ЛЕВЫЙ НИЖНИЙ УГОЛ) */
.info-corner {
    position: fixed;
    bottom: clamp(16px, 2.5vh, 24px);
    left: clamp(16px, 2.5vw, 24px);
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.5vw, 14px);
    z-index: 10;
}

.info-btn {
    width: clamp(36px, 4.5vw, 44px);
    height: clamp(36px, 4.5vw, 44px);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.info-btn svg {
    width: clamp(18px, 2.2vw, 22px);
    height: clamp(18px, 2.2vw, 22px);
    stroke: rgba(255, 255, 255, 0.8);
    stroke-width: 1.8;
    fill: none;
    pointer-events: none;
    transition: stroke 0.25s ease;
}

.info-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
}

.info-btn:hover svg {
    stroke: #fff;
}

.info-btn:active {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(0.94);
}

.copyright {
    font-size: clamp(10px, 1.4vw, 12px);
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.3;
    pointer-events: none;
}

/* МОДАЛЬНОЕ ОКНО ИНФО */
.info-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}

.info-modal {
    background: linear-gradient(145deg, #5a67d8 0%, #6b47a8 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: clamp(20px, 3vw, 28px);
    padding: clamp(24px, 3vw, 36px) clamp(20px, 2.5vw, 32px);
    width: 100%;
    max-width: clamp(340px, 45vw, 420px);
    animation: slideUp 0.25s ease;
}

.info-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(20px, 2.5vw, 28px);
}

.info-modal-title {
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: clamp(8px, 1vw, 12px);
}

.info-modal-title svg {
    width: clamp(24px, 3vw, 30px);
    height: clamp(24px, 3vw, 30px);
    stroke: #a5b4fc;
    stroke-width: 1.8;
    fill: none;
}

.info-modal-close {
    width: clamp(32px, 4vw, 40px);
    height: clamp(32px, 4vw, 40px);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: clamp(18px, 2.2vw, 22px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-family: inherit;
    line-height: 1;
}

.info-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.info-modal-close:active {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(0.93);
}

.info-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-link {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.5vw, 14px);
    padding: clamp(12px, 1.8vw, 16px) clamp(14px, 2vw, 18px);
    border-radius: clamp(12px, 1.5vw, 16px);
    text-decoration: none;
    color: #fff;
    font-size: clamp(14px, 1.8vw, 16px);
    font-weight: 500;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.info-link:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.info-link:active {
    background: rgba(255, 255, 255, 0.16);
    transform: scale(0.98);
}

.info-link svg {
    width: clamp(20px, 2.5vw, 24px);
    height: clamp(20px, 2.5vw, 24px);
    stroke: #a5b4fc;
    stroke-width: 1.8;
    fill: none;
    flex-shrink: 0;
}

/* АНИМАЦИИ */
@keyframes pulse {
    0%, 80%, 100% {
        opacity: 0.35;
        transform: scale(1);
    }
    40% {
        opacity: 1;
        transform: scale(1.5);
    }
}

@keyframes loaderFadeIn {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}