/* ==========================================================================
   SamurAI Flawless Founder Entrance Splash Stylesheet
   Pure Cinematic Elegance & Trauma-Informed Dignity
   ========================================================================== */

#samurai-admin-entrance-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #0B1120 0%, #030712 65%, #000206 100%);
    overflow: hidden;
    opacity: 0;
    animation: samuraiOverlayFadeIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    cursor: default;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    user-select: none;
    -webkit-font-smoothing: antialiased;
}

#samurai-admin-entrance-overlay.samurai-entrance-closing {
    animation: samuraiOverlayFadeOut 0.9s cubic-bezier(0.7, 0, 0.84, 0) forwards;
    pointer-events: none;
}

@keyframes samuraiOverlayFadeIn {
    0% { opacity: 0; filter: blur(14px) brightness(0.4); }
    100% { opacity: 1; filter: blur(0px) brightness(1); }
}

@keyframes samuraiOverlayFadeOut {
    0% { opacity: 1; transform: scale(1); filter: blur(0px); }
    100% { opacity: 0; transform: scale(1.04); filter: blur(16px); }
}

.samurai-entrance-backdrop {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 50% 40%, rgba(0, 240, 255, 0.07) 0%, transparent 60%),
        radial-gradient(circle at 50% 60%, rgba(217, 119, 6, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.samurai-entrance-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.samurai-gold-ember {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, #FDE68A 20%, #F59E0B 80%, transparent 100%);
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.8);
    animation: samuraiEmberRise linear infinite;
}

@keyframes samuraiEmberRise {
    0% {
        transform: translateY(0) scale(0.6);
        opacity: 0;
    }
    15% {
        opacity: 0.8;
    }
    85% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-400px) scale(1.2);
        opacity: 0;
    }
}

.samurai-entrance-card {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
    max-width: 680px;
    width: 90%;
}

/* Atmospheric Halo behind portrait */
.samurai-entrance-halo {
    position: absolute;
    top: 40px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.22) 0%, rgba(217, 119, 6, 0.12) 45%, transparent 70%);
    filter: blur(35px);
    border-radius: 50%;
    animation: samuraiHaloBreathe 6s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes samuraiHaloBreathe {
    0% { transform: scale(0.92); opacity: 0.6; }
    100% { transform: scale(1.12); opacity: 0.95; }
}

/* Noble Metallic Frame */
.samurai-entrance-frame {
    position: relative;
    width: 280px;
    height: 280px;
    margin-bottom: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .samurai-entrance-frame {
        width: 320px;
        height: 320px;
    }
    .samurai-entrance-halo {
        width: 440px;
        height: 440px;
    }
}

.samurai-entrance-bezel {
    display: none;
}

.samurai-entrance-photo-box {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: transparent;
    border: none;
    filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 35px rgba(0, 240, 255, 0.28));
}

.samurai-entrance-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 16%;
    display: block;
    transform: scale(1.0);
    animation: samuraiAvatarStatelyHold 8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes samuraiAvatarStatelyHold {
    0% {
        transform: scale(0.96);
        filter: brightness(0.85);
    }
    30% {
        transform: scale(1.0);
        filter: brightness(1.04);
    }
    100% {
        transform: scale(1.03);
        filter: brightness(1.0);
    }
}

/* Typography & Info */
.samurai-entrance-info {
    animation: samuraiInfoFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
    opacity: 0;
    transform: translateY(16px);
}

@keyframes samuraiInfoFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.samurai-entrance-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.samurai-text-samur {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #F8FAFC;
    text-transform: uppercase;
}

.samurai-text-ai {
    color: #00F0FF;
    text-shadow: 0 0 16px rgba(0, 240, 255, 0.6);
}

.samurai-badge-core {
    background: rgba(245, 158, 11, 0.15);
    color: #FBBF24;
    border: 1px solid rgba(245, 158, 11, 0.4);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.samurai-entrance-founder-name {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #94A3B8;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.samurai-entrance-credo {
    font-size: 14.5px;
    font-style: italic;
    color: #CBD5E1;
    max-width: 520px;
    line-height: 1.55;
    margin: 0 auto 16px auto;
}

.samurai-entrance-pillars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.pillar-tag {
    background: rgba(15, 23, 42, 0.7);
    color: #E2E8F0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 8px;
    backdrop-filter: blur(8px);
}

/* Skip Bar */
.samurai-entrance-skip-bar {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    cursor: pointer;
}

.samurai-entrance-skip-bar.visible {
    opacity: 1;
    transform: translateY(0);
}

.skip-hint {
    font-size: 12px;
    color: #64748B;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.samurai-entrance-skip-bar:hover .skip-hint {
    color: #00F0FF;
}
