/* Rajdhani : police des écrans pause et choix de talent (style hologramme). */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;700&display=swap');

#vk-page-content.spacecat-page {
    position: relative;
    flex: 1 1 0;
    width: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#spacecat-game {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #050817;
}

#spacecat-game canvas {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

/* Tactile en portrait : « Tourne ton appareil » par-dessus le jeu (utils/mobile.js). */
.spacecat-rotation {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    background: #050817;
    color: #dceaf7;
    font: bold 22px Arial, sans-serif;
    text-align: center;
}

.spacecat-rotation[hidden] {
    display: none;
}

.spacecat-rotation p {
    margin: 0;
}

.spacecat-rotation .spacecat-rotation-sous {
    font-size: 16px;
    font-weight: normal;
    color: #71f2de;
}

.spacecat-rotation-tel {
    width: 44px;
    height: 74px;
    margin-bottom: 24px;
    border: 3px solid #4fd8ee;
    border-radius: 8px;
    animation: spacecat-tourne 3s ease-in-out infinite;
}

.spacecat-rotation button {
    margin-top: 20px;
    padding: 10px 22px;
    border: 2px solid #ffd966;
    border-radius: 99px;
    background: rgba(255, 217, 102, 0.12);
    color: #ffd966;
    font: bold 18px Arial, sans-serif;
}

@keyframes spacecat-tourne {
    0%, 20% { transform: rotate(0); }
    60%, 100% { transform: rotate(-90deg); }
}

@media (prefers-reduced-motion: reduce) {
    .spacecat-rotation-tel { animation: none; transform: rotate(-90deg); }
}
