/* ============================================================
   ARCADE — Verrou de paysage mobile
   Utilisé par Fox Runner et Aventure Stellaire (jeux canvas à
   ratio fixe qui ont besoin de largeur pour rester jouables).
   Affiché/masqué en JS par OrientationGuard.js — voir /arcade/js/OrientationGuard.js
   Le style ici n'est que cosmétique : OrientationGuard.js pilote
   l'affichage lui-même (display inline) pour rester fiable même
   si cette feuille ne se charge pas.
   ============================================================ */

.arcade-rotate-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    background:
        radial-gradient(circle at 50% 40%, rgba(138, 43, 226, .25), transparent 60%),
        rgba(6, 6, 12, .97);
    color: #fff;
    -webkit-tap-highlight-color: transparent;
}

.arcade-rotate-overlay__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 34px 28px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, .35);
    background: linear-gradient(160deg, rgba(30, 20, 45, .8), rgba(10, 8, 18, .8));
    box-shadow: 0 0 40px rgba(138, 43, 226, .25), inset 0 0 20px rgba(212, 175, 55, .06);
    max-width: 340px;
}

.arcade-rotate-overlay__icon {
    position: relative;
    width: 64px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arcade-rotate-overlay__icon svg {
    width: 34px;
    height: 34px;
    animation: arcadeRotatePhone 2.2s cubic-bezier(.65, 0, .35, 1) infinite;
    filter: drop-shadow(0 0 10px currentColor);
}

@keyframes arcadeRotatePhone {
    0%, 15%  { transform: rotate(0deg); }
    45%, 65% { transform: rotate(-90deg); }
    95%, 100%{ transform: rotate(-90deg); }
}

.arcade-rotate-overlay__title {
    font-family: var(--ac-font-h1, 'Cinzel', serif);
    font-size: 1.3rem;
    color: #d4af37;
    letter-spacing: .5px;
    text-shadow: 0 0 16px rgba(212, 175, 55, .5);
    margin: 0;
}

.arcade-rotate-overlay__text {
    font-size: .95rem;
    line-height: 1.5;
    max-width: 280px;
    color: #ccc;
    margin: 0;
}

.arcade-rotate-overlay__tap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(138, 43, 226, .6);
    background: rgba(138, 43, 226, .15);
    color: #cbb6ff;
    font-size: .85rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: .5px;
    animation: arcadeTapPulse 1.6s ease-in-out infinite;
}

@keyframes arcadeTapPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(138, 43, 226, .35); }
    50%      { box-shadow: 0 0 0 8px rgba(138, 43, 226, 0); }
}

.arcade-rotate-overlay.is-visible {
    display: flex;
}
