/* Mode Indicator - Top Right */
/* MATCH channel logo badge for visual consistency */
.intro-mode-indicator {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;  /* Space between character and text */
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 100000;
    pointer-events: none;

    /* Match channel logo badge glassmorphism */
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 24px;  /* Adjusted for character image */
    border-radius: 70px;

    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);

    /* Animation */
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeInSlideDown 0.8s ease-out 0.5s forwards;
}

/* Onigiri character image */
.intro-mode-character {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

/* Mode text */
.intro-mode-text {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.98);
    letter-spacing: 0.01em;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.7);
}

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

/* Mobile optimization - No longer needed, base CSS now uses responsive clamp() */

/* ========================================
   CARD FLOW MODE INDICATOR (Bottom Left)
   Shown during revision card flow
   ======================================== */

.card-flow-mode-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 100px;  /* Raised to clear bottom panel */
    left: 40px;
    z-index: 1000;  /* Match top badges */
    pointer-events: none;

    /* Match top badges glassmorphism */
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 14px 28px;  /* Match channel logo badge exactly */
    border-radius: 70px;
    max-width: 474px;  /* Match channel logo badge width (28px + 120px + 18px + 280px + 28px) */

    /* Match top badges typography */
    font-family: 'Quicksand', 'Varela Round', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(1.8rem, 2.8vw, 2.2rem);  /* Responsive like top badges */
    font-weight: 700;
    color: rgba(255, 255, 255, 0.98);
    letter-spacing: 0.01em;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.7);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);  /* Match top badges */

    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.card-flow-mode-indicator.visible {
    opacity: 1;
}

/* Mobile optimization - No longer needed, now uses responsive clamp() like top badges */
@media (max-width: 768px) {
    .card-flow-mode-indicator {
        bottom: 80px;  /* Raised to clear bottom panel on mobile */
        left: 30px;
    }
}

/* ========================================
   LESSON INTRO BULLETS
   Shown below meta info during intro
   ======================================== */

.intro-lesson-bullets {
    margin-top: 30px;
    opacity: 0;
    animation: fadeInSlideUp 0.8s ease-out 1.2s forwards;
}

.intro-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;  /* Reduced from 12px to fit more on screen */
}

.intro-bullet {
    font-family: 'Quicksand', 'Varela Round', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(1.6rem, 2.5vw, 2.0rem);  /* Reduced: 26-32px for more compact fit */
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.01em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
    line-height: 1.25;  /* Reduced from 1.4 for tighter spacing */
    padding-left: 30px;
    position: relative;
}

/* Bullet point styling */
.intro-bullet::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8em;
}

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