

a{
    text-decoration: none;
}


.screen-size-warning {
    position: fixed;
    top: 384px;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 41, 0.98);
    display: none;
    
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.screen-size-warning.active {
    display: flex;
}

.warning-content {
    text-align: center;
    padding: 3rem;
    max-width: 500px;
    background: linear-gradient(135deg, #1a2332 0%, #0d1620 100%);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.warning-icon {
    display: none;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.warning-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ff6b6b;
}

.warning-message {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.play-button{
    overflow: hidden;
    position: relative;
}

.difficulty-btn{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    overflow: hidden;
}

.title-section{
    text-align: center;
    margin-bottom: 3rem;
}

.start-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}


.difficulty-section {
    width: 100%;
    margin-bottom: 3rem;
    
}

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

.section-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.label-icon {
    font-size: 1.3rem;
}

.diff-icon {
    font-size: 2rem;
    transition: transform 0.3s;
}

.diff-name {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.diff-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}


.actions-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    
    width: 100%;
}

.button-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.play-button:hover .button-glow {
    left: 100%;
}

.button-text {
    position: relative;
    z-index: 1;
}


.start-leaderboard {
    position: relative;
    z-index: 1;
    padding: 2.5rem !important;
    background: rgba(13, 34, 56, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
    
}

.leaderboard-title::before {
    content: '🏆';
    font-size: 1.5rem;
    margin-right: 0.5rem;
}


.mode-description {
    position: relative;
    z-index: 1;
    padding: 2.5rem !important;
    background: rgba(13, 34, 56, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
    
}

.back-btn-start{
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    body .warning-icon{
        animation: none;
    }
    body .difficulty-section{
        animation: none;
    }
    body .actions-group{
        animation: none;
    }
    body .start-leaderboard{
        animation: none;
    }
    body .mode-description{
        animation: none;
    }
    body .title-section{
        animation: none;
    }
    body .start-screen{
        padding: 15px;
    }
   
}
