/* Loading Overlay Styles */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 51, 0, 0.97) 0%, rgba(0, 77, 0, 0.97) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    overflow: hidden;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 320px;
    width: 90%;
    padding: 30px;
    background: rgba(0, 40, 0, 0.8);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
    overflow: hidden;
}

.loading-icon {
    position: relative;
    width: 100%;
    height: 80px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.loading-ball {
    font-size: 40px;
    line-height: 1;
    animation: bounce 1.5s ease-in-out infinite;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.loading-shadow {
    position: absolute;
    bottom: 5px;
    width: 40px;
    height: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    animation: shadow 1.5s ease-in-out infinite;
    z-index: 1;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-30px);
    }
}

@keyframes shadow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(0.5);
        opacity: 0.1;
    }
}

.loading-text {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.loading-stats {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 10px 0 20px;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.loading-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
}

.stat-value {
    font-size: 14px;
    font-weight: 600;
    color: #ffd700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.live-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background: rgba(0, 40, 0, 0.5);
    padding: 10px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    width: 100%;
    max-width: 250px;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: #ffd700;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    animation: pulse-animation 1.5s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.8);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(255, 215, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

.counter-text {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

#peopleCount {
    font-weight: 700;
    color: #ffd700;
    transition: color 0.3s ease;
}

#peopleCount.highlight {
    color: #ffffff;
}

.loading-subtext {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    text-align: center;
    margin: 15px auto 25px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 280px;
    white-space: normal;
    overflow: hidden;
}

.loading-progress {
    width: 100%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5) inset;
    max-width: 280px;
}

.loading-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ffd700, #ffcc00);
    border-radius: 4px;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #003300 0%, #004d00 50%, #003300 100%);
    color: #ffffff;
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 215, 0, 0.15), transparent 70%),
                radial-gradient(circle at bottom left, rgba(255, 215, 0, 0.1), transparent 70%);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

/* Header Styles */
header {
    text-align: center;
    padding: 30px 0;
}

.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    margin-bottom: 15px;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-img img {
    width: 100%;
    height: auto;
}

h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 10px;
}

.subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    background-color: rgba(255, 215, 0, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    width: fit-content;
    margin: 0 auto 40px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.subtitle .icon {
    color: #FFD700;
    margin-right: 8px;
}

.subtitle p {
    font-size: 14px;
    font-weight: 500;
}

.hero {
    margin-top: 40px;
    margin-bottom: 50px;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
}

.highlight {
    color: #FFD700;
}

.hero p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
    color: #cccccc;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #003300;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
    border-radius: 30px;
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(255, 215, 0, 0.5);
}

.telegram-button {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.telegram-button:hover {
    box-shadow: 0 7px 20px rgba(255, 215, 0, 0.5);
}

.cta-button i {
    margin-right: 8px;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.feature-box {
    background: #111111;
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.6);
}

.feature-icon {
    font-size: 28px;
    margin-bottom: 15px;
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 15px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.feature-box:nth-child(1) {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
}

.feature-box:nth-child(2) {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
}

.feature-box:nth-child(3) {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
}

.feature-box:nth-child(4) {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.feature-box:hover .feature-icon {
    transform: scale(1.1);
}

.feature-box h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-box p {
    font-size: 14px;
    color: #aaaaaa;
}

/* Benefits Section */
.benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.benefit-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 30px 20px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.benefit-icon {
    font-size: 32px;
    color: #FFD700;
    margin-bottom: 20px;
    height: 70px;
    width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
    color: #FFD700;
}

.benefit-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-card p {
    font-size: 15px;
    color: #aaaaaa;
}

/* Bottom CTA */
.bottom-cta {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.bottom-cta p {
    font-size: 20px;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.responsible-gaming {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.age-restriction {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: #FFD700;
    color: #003300;
    font-weight: 700;
    margin-right: 15px;
}

.responsible-gaming p {
    font-size: 12px;
    color: #aaaaaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.copyright, .disclaimer {
    font-size: 12px;
    color: #777777;
    margin-bottom: 10px;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 215, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

.pulse {
    animation: pulse 1s ease-in-out;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    background-color: rgba(255, 215, 0, 0.3);
    border-radius: 50%;
}

.touch-active {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Media Queries */
@media (max-width: 768px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .features {
        grid-template-columns: 1fr;
    }
    
    .profile-img {
        width: 100px;
        height: 100px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    .hero h2 {
        font-size: 24px;
    }
    
    .bottom-cta p {
        font-size: 18px;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 15px 10px;
    }
    
    .profile-img {
        width: 80px;
        height: 80px;
    }
    
    h1 {
        font-size: 20px;
    }
    
    .hero h2 {
        font-size: 20px;
    }
    
    .hero p {
        font-size: 14px;
    }
}
