body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
    line-height: 1.6; 
    color: #2c3e50; 
    max-width: 800px; 
    margin: 0 auto; 
    padding: 40px 20px; 
    text-align: center; 
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%); 
    background-attachment: fixed;
    position: relative; 
}

.lang-switcher { 
    position: absolute; 
    top: 20px; 
    right: 20px; 
    z-index: 10; 
    margin-bottom:15px;
}

select { 
    padding: 8px 16px; 
    border-radius: 20px; 
    border: 1px solid #ddd; 
    background: white; 
    cursor: pointer; 
    font-size: 0.9rem;
    outline: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: border-color 0.3s, transform 0.2s;
}
select:hover { transform: translateY(-1px); }
select:focus { border-color: #2ecc71; }

.container { 
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 40px; 
    border-radius: 24px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.06); 
    margin-top: 20px; 
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease-out, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.container.visible {
    opacity: 1;
    transform: translateY(0);
}

.container:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.logo { 
    width: 180px; 
    height: auto; 
    margin-bottom: 10px; 
    border-radius: 22%; 
    transition: transform 0.3s; 
}
.logo:hover { transform: scale(1.03); }

.example { 
    width: 100%; 
    max-width: 280px; 
    height: auto; 
    display: block; 
    margin: 25px auto; 
    border-radius: 18px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.08); 
}

h1 { color: #2c3e50; margin-bottom: 10px; font-size: 2.2rem; font-weight: 700; }
p { font-size: 1.1rem; color: #5a6c7d; margin-bottom: 25px; }

#how_to_play_text, #contact_text {
    text-align: center;
}

.writetodev-container {
    text-align: center;
}

@keyframes skeleton-loading {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}
.skeleton {
    width: 60%;
    height: 20px;
    margin: 10px auto 25px auto;
    border-radius: 10px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4); }
    50% { transform: scale(1.04); box-shadow: 0 4px 25px rgba(46, 204, 113, 0.6); }
    100% { transform: scale(1); box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4); }
}
@keyframes shine {
    100% { left: 125%; }
}

.play-button { 
    display: inline-block; 
    background: #2ecc71; 
    color: white; 
    padding: 16px 36px; 
    border-radius: 30px; 
    text-decoration: none; 
    font-weight: bold; 
    font-size: 1.1rem;
    margin: 20px 0; 
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite ease-in-out;
    transition: background 0.3s;
}
.play-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(30deg);
    animation: shine 3.5s infinite ease-in-out;
}
.play-button:hover { 
    background: #27ae60; 
    color: white; 
    animation-play-state: paused;
    transform: scale(1.04);
}

.info-section { text-align: left; margin-top: 40px; border-top: 1px solid #eee; padding-top: 30px; }
.info-section h2 { color: #2c3e50; font-size: 1.6rem; text-align: center; margin-bottom: 15px; }

.video-container { 
    position: relative; 
    width: 100%; 
    max-width: 320px; 
    margin: 25px auto; 
    aspect-ratio: 9 / 16; 
}
.video-container iframe { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    border-radius: 20px; 
    border: none; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.1); 
}

.writetodev { color: #343245; text-decoration: none; margin: 0 10px; font-size: 1.2rem; display: inline-block; width: 100%; text-align: center; }
.footer { margin-top: 50px; font-size: 0.9rem; color: #7f8c8d; }
.footer a { color: #3498db; text-decoration: none; margin: 0 10px; transition: color 0.2s; }
.footer a:hover { color: #2980b9; text-shadow: 0 0 1px rgba(52,152,219,0.3); }
