/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    transition: opacity 0.3s ease;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(20px) rotate(360deg);
        opacity: 0;
    }
}

.content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* Header */
.main-header {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.logo {
    font-size: 4.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, #ff8a00, #e52e71);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    letter-spacing: -1px;
    line-height: 1;
}

.logo span {
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.8;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Main Content */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

/* Game Section */
.game-section {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}

/* Progress Container */
.progress-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    flex: 1;
}

.level-display {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-left: 20px;
}

.level-label {
    font-size: 1rem;
    opacity: 0.8;
}

.level-value {
    font-size: 1.4rem;
    font-weight: 700;
    /* background: linear-gradient(90deg, #ff8a00, #e52e71); */
    /* background: linear-gradient(90deg, #00c6ff, #0072ff); */
    background-color: white;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.progress-text, .target-text {
    opacity: 0.8;
}

.progress-value, .target-value {
    font-weight: 600;
    font-size: 1.2rem;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff8a00, #e52e71);
    border-radius: 15px;
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.target-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
}

/* Click Section */
.click-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    width: 100%;
    max-width: 600px;
}

.click-button {
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    color: white;
    border: none;
    padding: 25px 50px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 114, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    max-width: 400px;
    position: relative;
    overflow: hidden;
}

.click-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 114, 255, 0.6);
}

.click-button:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(0, 114, 255, 0.4);
}

.click-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.click-button:hover::before {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 20px 15px;
    }
    
    .logo {
        font-size: 3rem;
    }
    
    .progress-container {
        padding: 30px 25px;
        max-width: 600px;
    }
    
    .progress-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .level-display {
        margin-left: 0;
        justify-content: center;
        order: -1;
    }
    
    .click-button {
        padding: 20px 40px;
        font-size: 1.1rem;
    }
    
    .content-wrapper {
        gap: 50px;
    }
    
    .main-content {
        gap: 60px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2.5rem;
    }
    
    .progress-container {
        padding: 25px 20px;
    }
    
    .level-display {
        padding: 8px 16px;
    }
    
    .level-label {
        font-size: 0.9rem;
    }
    
    .level-value {
        font-size: 1.2rem;
    }
    
    .click-button {
        padding: 18px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .hero-section {
        padding: 15px 10px;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .progress-container {
        padding: 20px 15px;
    }
    
    .level-display {
        padding: 6px 12px;
    }
    
    .click-button {
        padding: 16px 25px;
        font-size: 0.9rem;
    }
}

/* Дополнительные стили для отображения кликов */
.progress-value, .target-value {
    font-weight: 600;
    font-size: 1.2rem;
    color: #fff; /* Убедитесь, что текст видим */
}

.level-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: white; /* Изменено с градиента для лучшей читаемости */
}