
/* Leerenspitze Raid Global Styles */

/* --- GLOBAL LUXURY CLASSES & FRAMES --- */

/* The Frame */
.luxury-frame {
    position: relative;
    background: linear-gradient(180deg, #08080a 0%, #020203 100%);
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.8);
    border: none; 
}

.luxury-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 2px;
    padding: 1px;
    background: linear-gradient(180deg, #F5ECC3 0%, #C68A2C 40%, #563810 80%, rgba(0,0,0,0.9) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.8; 
    z-index: 50;
}

/* Thin Frame */
.luxury-frame-thin {
    position: relative;
    background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 6px), linear-gradient(180deg, #0a0a0e 0%, #050507 100%);
    box-shadow: 0 10px 30px -5px rgba(0,0,0,0.6);
    border: none;
    border-radius: 2px;
}
.luxury-frame-thin::before {
    content: ''; position: absolute; inset: 0; border-radius: 2px; padding: 1px;
    background: linear-gradient(45deg, #563810, #C68A2C, #F5ECC3, #C68A2C, #563810);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: 0.5; z-index: 50;
}

/* Luxury Hero Card Style */
.luxury-hero-card-style {
    position: relative;
    background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 6px), linear-gradient(180deg, #0a0a0e 0%, #050507 100%);
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.8);
    border-radius: 2px;
}
.luxury-hero-card-style::before {
    content: ''; position: absolute; inset: 0; border-radius: 2px; padding: 1px;
    background: linear-gradient(45deg, #563810, #C68A2C, #F5ECC3, #C68A2C, #563810);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.5; pointer-events: none; z-index: 10;
}

#round-1-summary .luxury-hero-card-style { border-radius: 16px 16px 2px 2px !important; }
#round-1-summary .luxury-hero-card-style::before { border-radius: 16px 16px 2px 2px !important; }

/* Texture BG Utility */
.luxury-texture-bg {
    background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 6px), linear-gradient(180deg, #0a0a0e 0%, #050507 100%);
}

/* Headings */
.luxury-heading {
    font-family: 'Cinzel', serif; font-weight: 800; font-size: 2.5rem; text-transform: uppercase; letter-spacing: 0.1em; text-align: center;
    background: linear-gradient(180deg, #FFFFFF 0%, #F5ECC3 25%, #C68A2C 55%, #9E6C20 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 0px rgba(0,0,0,0.8)) drop-shadow(0 0 15px rgba(198, 138, 44, 0.4));
    position: relative; display: inline-block; padding-bottom: 0; margin: 0 1rem; z-index: 20;
}

.hero-boss-title {
    font-family: 'Cinzel', serif; font-weight: 900; text-transform: uppercase; letter-spacing: 0.05em;
    background: linear-gradient(to bottom, #ffffff 0%, #fef3c7 20%, #d97706 50%, #b45309 51%, #78350f 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.9)) drop-shadow(0 0 25px rgba(245, 158, 11, 0.6));
}

/* Hero Stats */
.hero-stats-container { position: relative; background: transparent; box-shadow: none; z-index: 1; }
.stat-item {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4px 2px;
    background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 6px), linear-gradient(180deg, #0a0a0e 0%, #050507 100%);
    transition: all 0.3s ease; text-align: center; border-radius: 2px;
}
.stat-item::before {
    content: ''; position: absolute; inset: 0; border-radius: 2px; padding: 1px;
    background: linear-gradient(45deg, #563810, #C68A2C, #F5ECC3, #C68A2C, #563810);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.5; transition: opacity 0.4s ease; pointer-events: none;
}
.stat-item:hover { background-color: #0f0f12; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.stat-item:hover::before { opacity: 1; }
.stat-item.image-frame { box-shadow: 0 0 15px rgba(198, 138, 44, 0.2); z-index: 10; }
.stat-item.image-frame::before { opacity: 1; padding: 1px; background: linear-gradient(45deg, #563810, #C68A2C, #F5ECC3, #C68A2C, #563810); z-index: 20; filter: brightness(1.2); }
.stat-label { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.15em; color: #94a3b8; margin-bottom: 0; font-family: 'Inter', sans-serif; font-weight: 500; }
.stat-value { font-weight: 600; font-family: 'Cinzel', serif; font-size: 0.8rem; color: #e2e8f0; text-shadow: 0 2px 4px rgba(0,0,0,0.5); line-height: 1.1; }

/* Luxury Buttons */
.luxury-btn-container { display: flex; justify-content: center; gap: 1.5rem; margin-top: 1.5rem; flex-wrap: wrap; }
.luxury-btn {
    position: relative; padding: 12px 30px;
    background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 6px), linear-gradient(180deg, #0a0a0e 0%, #050507 100%);
    color: #ad9459; font-family: 'Cinzel', serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.8rem;
    cursor: pointer; overflow: hidden; transition: all 0.4s ease; min-width: 180px; text-align: center; border-radius: 2px;
    text-decoration: none; display: inline-block;
}
.luxury-btn::before {
    content: ''; position: absolute; inset: 0; border-radius: 2px; padding: 1px;
    background: linear-gradient(45deg, #563810, #C68A2C, #F5ECC3, #C68A2C, #563810);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.5; transition: opacity 0.4s ease;
}
.luxury-btn::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent); transition: left 0.5s;
}
.luxury-btn:hover { color: #fff; background-color: #0f0f12; text-shadow: 0 0 8px rgba(198, 138, 44, 0.6); box-shadow: 0 0 20px rgba(198, 138, 44, 0.15); }
.luxury-btn:hover::before { opacity: 1; }
.luxury-btn:hover::after { left: 100%; }

/* Timeline Marker */
.timeline-marker-btn {
    position: relative;
    background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 6px), linear-gradient(180deg, #0a0a0e 0%, #050507 100%);
    color: #C68A2C; font-family: 'Cinzel', serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em;
    display: flex; align-items: center; justify-content: center; cursor: default; transition: all 0.4s ease;
    border-radius: 9999px; border: none; box-shadow: 0 0 25px rgba(198,138,44,0.4);
}
.timeline-marker-btn::before {
    content: ''; position: absolute; inset: 0; border-radius: 9999px; padding: 1px;
    background: linear-gradient(45deg, #563810, #C68A2C, #F5ECC3, #C68A2C, #563810);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.8; pointer-events: none;
}
.timeline-marker-btn:hover { transform: scale(1.05); box-shadow: 0 0 35px rgba(198,138,44,0.6); color: #F5ECC3; }

/* Video Grid */
.video-card {
    position: relative;
    background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 6px), linear-gradient(180deg, #0a0a0e 0%, #050507 100%);
    border: none; border-radius: 2px; padding: 1rem; transition: all 0.3s ease;
}
.video-card::before {
    content: ''; position: absolute; inset: 0; border-radius: 2px; padding: 1px;
    background: linear-gradient(45deg, #563810, #C68A2C, #F5ECC3, #C68A2C, #563810);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.5; transition: opacity 0.4s ease; pointer-events: none; z-index: 50;
}
.video-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.video-card:hover::before { opacity: 1; }
.video-thumb { position: relative; aspect-ratio: 16/9; background: #000; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); }

/* Role Tabs */
.role-tab {
    position: relative; padding: 12px 24px;
    background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 6px), linear-gradient(180deg, #0a0a0e 0%, #050507 100%);
    color: #ad9459; font-family: 'Cinzel', serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem;
    cursor: pointer; overflow: hidden; transition: all 0.4s ease; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 4px; border: none; border-radius: 2px; min-width: 120px;
}
.role-tab::before {
    content: ''; position: absolute; inset: 0; border-radius: 2px; padding: 1px;
    background: linear-gradient(45deg, #563810, #C68A2C, #F5ECC3, #C68A2C, #563810);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.5; transition: opacity 0.4s ease;
}
.role-tab:hover { color: #fff; background-color: #0f0f12; text-shadow: 0 0 8px rgba(198, 138, 44, 0.6); box-shadow: 0 0 20px rgba(198, 138, 44, 0.15); }
.role-tab:hover::before { opacity: 1; }
.role-tab.active { color: #fff; background: linear-gradient(180deg, rgba(198, 138, 44, 0.2) 0%, rgba(5, 10, 20, 0) 100%); text-shadow: 0 0 10px rgba(198, 138, 44, 0.8); box-shadow: inset 0 0 20px rgba(198, 138, 44, 0.2); }
.role-tab.active::before { opacity: 1; background: linear-gradient(45deg, #C68A2C, #F5ECC3, #ffffff, #F5ECC3, #C68A2C); }
.role-content { display: none; }
.role-content.block { display: block; }

/* Timeline */
.timeline-container { padding: 0 0 2rem 0; position: relative; margin: 0 0 2rem 0; }
.timeline-container > div.absolute { width: 4px !important; background: linear-gradient(to bottom, #F5ECC3 0%, #C68A2C 15%, #563810 80%, rgba(198, 138, 44, 0.2) 100%) !important; opacity: 1 !important; box-shadow: 0 0 15px rgba(198, 138, 44, 0.8); z-index: 0; top: 0.5rem !important; bottom: 6rem !important; height: auto; }
.timeline-item { display: flex; justify-content: center; align-items: center; margin-bottom: 3rem; opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; position: relative; width: 100%; }
.timeline-item.visible { opacity: 1; transform: translateY(0); }

/* Strategy Video Card */
.strategy-video-card {
    width: 60%; position: relative;
    background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 6px), linear-gradient(180deg, #0a0a0e 0%, #050507 100%);
    border: none; border-radius: 2px; box-shadow: 0 15px 50px rgba(0,0,0,0.8); z-index: 5; overflow: visible; aspect-ratio: 16 / 9; transition: transform 0.4s ease;
}
.strategy-video-card::before {
    content: ''; position: absolute; inset: 0; border-radius: 2px; padding: 1px;
    background: linear-gradient(45deg, #563810, #C68A2C, #F5ECC3, #C68A2C, #563810);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.5; transition: opacity 0.4s ease; pointer-events: none; z-index: 50;
}
.strategy-video-card:hover { transform: scale(1.01); }
.strategy-video-card:hover::before { opacity: 1; }
.strategy-video-card video { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; position: relative; z-index: 0; }

/* Text Card Wrapper */
.strategy-text-wrapper { width: 35%; position: relative; z-index: 30; }
.strategy-text-card {
    width: 100%; position: relative; z-index: 20; padding: 2.5rem; height: fit-content; display: flex; flex-direction: column; justify-content: center;
    background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 6px), linear-gradient(180deg, #0e121b 0%, #020305 100%);
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.8); border-radius: 2px;
}
.strategy-text-card::before {
    content: ''; position: absolute; inset: 0; border-radius: 2px; padding: 1px;
    background: linear-gradient(45deg, #563810, #C68A2C, #F5ECC3, #C68A2C, #563810);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: 0.5; z-index: 50;
}
.strategy-text-card h3 { font-size: 1.5rem; margin-bottom: 1.0rem; line-height: 1.1; font-weight: 800; }
.strategy-text-card p { font-size: 1.1rem; line-height: 1.6; font-weight: 300; }

/* Todo Box inside Text Card */
.todo-box {
    position: relative;
    margin-top: 1.25rem; /* Reduced distance above the box content area */
    padding: 1.5rem;
    background: radial-gradient(circle, rgba(14, 18, 27, 0.8) 0%, rgba(5, 5, 8, 0.6) 100%);
    border: 1px solid rgba(198, 138, 44, 0.2);
    border-radius: 6px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.todo-box::before {
    display: none; /* Separator line removed */
}
.todo-box strong {
    display: inline-block;
    font-family: 'Cinzel', serif;
    color: #F5ECC3;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 10px rgba(198, 138, 44, 0.3);
}
.todo-box p {
    margin: 0;
    color: #e2e8f0;
    font-size: 1rem !important;
    font-style: italic;
    line-height: 1.5 !important;
}

/* Number Badges */
.number-badge {
    position: absolute; top: 50%; width: 3rem; height: 3rem; font-size: 1.5rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-family: 'Cinzel', serif; font-weight: bold; transform: translateY(-50%); z-index: 60; box-shadow: 0 0 15px rgba(0,0,0,0.5);
}
.number-bg-gold { background: linear-gradient(135deg, #0a0a0e 0%, #563810 100%); border: 2px solid #C68A2C; color: #F5ECC3; box-shadow: 0 0 15px rgba(198,138,44,0.4); }
.number-bg-red { background: linear-gradient(135deg, #1a0505 0%, #7f1d1d 100%); border: 2px solid #ef4444; color: #fee2e2; box-shadow: 0 0 15px rgba(239, 68, 68, 0.4); }
.number-bg-orange { background: linear-gradient(135deg, #1a0f05 0%, #7c2d12 100%); border: 2px solid #f97316; color: #ffedd5; box-shadow: 0 0 15px rgba(249, 115, 22, 0.4); }
.number-bg-blue { background: linear-gradient(135deg, #050f1a 0%, #1e3a8a 100%); border: 2px solid #3b82f6; color: #dbeafe; box-shadow: 0 0 15px rgba(59, 130, 246, 0.4); }
.number-bg-purple { background: linear-gradient(135deg, #0f051a 0%, #581c87 100%); border: 2px solid #a855f7; color: #f3e8ff; box-shadow: 0 0 15px rgba(168, 85, 247, 0.4); }
.number-bg-indigo { background: linear-gradient(135deg, #05051a 0%, #312e81 100%); border: 2px solid #6366f1; color: #e0e7ff; box-shadow: 0 0 15px rgba(99, 102, 241, 0.4); }
.number-badge.right { right: 0; transform: translate(50%, -50%); }
.number-badge.left { left: 0; transform: translate(-50%, -50%); }

/* Mini Video Overlay */
.strategy-video-card .mini-video-placeholder {
    position: absolute; bottom: 10px; left: 10px; width: 25%; min-width: 120px; aspect-ratio: 16/9; z-index: 20;
    background: #080a10; border: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: center; align-items: center; cursor: pointer; transition: all 0.3s; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.8);
}
.timeline-item.right-video .strategy-video-card .mini-video-placeholder { left: auto; right: 10px; }
.strategy-video-card .mini-video-placeholder:hover { border-color: #C68A2C; box-shadow: 0 0 15px rgba(198, 138, 44, 0.4); transform: scale(1.05); }

/* Mini Viz */
.mini-viz-container { width: 100%; height: 100%; position: relative; background: radial-gradient(circle, #1a1a24 0%, #000000 70%); }
.mini-viz-container::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80%; height: 80%; border: 2px dashed rgba(255, 255, 255, 0.1); border-radius: 50%; }
.mini-viz-boss { position: absolute; top: 20%; left: 50%; width: 30px; height: 30px; margin-left: -15px; margin-top: -15px; background: #ef4444; border: 2px solid #7f1d1d; border-radius: 50%; box-shadow: 0 0 10px rgba(239, 68, 68, 0.8); z-index: 10; display: flex; align-items: center; justify-content: center; }
.mini-viz-boss svg { width: 18px; height: 18px; color: #fee2e2; }
.mini-viz-player { position: absolute; width: 20px; height: 20px; margin-left: -10px; margin-top: -10px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.8); display: flex; align-items: center; justify-content: center; z-index: 5; animation: pull-push-anim 8s infinite ease-in-out; box-shadow: 0 0 5px rgba(0,0,0,0.7); animation-play-state: paused; }
.strategy-video-card:hover .mini-viz-player { animation-play-state: running; }
.mini-viz-player svg { width: 12px; height: 12px; color: white; }
.p-tank { background: #3b82f6; --start-x: 40%; --start-y: 80%; --push-x: 20%; --push-y: 85%; }
.p-healer { background: #22c55e; --start-x: 60%; --start-y: 80%; --push-x: 80%; --push-y: 85%; }
.p-range { background: #a855f7; --start-x: 75%; --start-y: 70%; --push-x: 90%; --push-y: 60%; }
.p-melee { background: #eab308; --start-x: 25%; --start-y: 70%; --push-x: 10%; --push-y: 60%; }
@keyframes pull-push-anim {
    0% { left: var(--start-x); top: var(--start-y); }
    30% { left: var(--start-x); top: 60%; }
    40% { left: 50%; top: 25%; transform: scale(0.8); }
    45% { left: 50%; top: 25%; transform: scale(0.8); }
    50% { left: var(--push-x); top: var(--push-y); transform: scale(1.1); }
    80% { left: var(--push-x); top: var(--push-y); transform: scale(1); }
    100% { left: var(--start-x); top: var(--start-y); opacity: 0; }
}

/* Orientation */
.timeline-item.left-video { flex-direction: row; }
.timeline-item.left-video .strategy-text-wrapper { margin-left: -5%; }
.timeline-item.right-video { flex-direction: row; }
.timeline-item.right-video .strategy-video-card { order: 2; }
.timeline-item.right-video .strategy-text-wrapper { order: 1; margin-right: -5%; }

/* --- REFACTORED TITLE CARDS AND FLOATING ICONS --- */

/* Wrapper for Title Group (Text Card + Icon) */
.title-group-wrapper {
    position: absolute;
    top: 0; 
    left: 2rem;
    margin-top: -38px; /* Pulls it up above text card */
    display: flex;
    align-items: flex-start; /* Modified: Align items to the top to overlap correctly */
    /* z-index: auto to respect stacking context of children */
    pointer-events: none; /* purely visual overlay usually */
}

/* The visual Title Card (Text Background) - Behind Text Card */
.title-card-text {
    position: relative;
    padding: 12px 24px;
    background: linear-gradient(180deg, #0a0a0e 0%, #050507 100%);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.9), 0 0 15px rgba(0,0,0,0.5);
    z-index: 15; /* Behind strategy-text-card (z-20) */
    display: flex;
    align-items: center;
}

/* Base Padding for Title Cards */
.title-card-text.single-icon-pad {
    padding-right: 36px !important; /* Standard padding (24) + half icon (18) - 6 margin adjustment = ~36 */
}
.title-card-text.dual-icon-pad {
    padding-right: 80px !important; /* Buffer for 2 icons to prevent text hit */
}
.title-card-text.cluster-icon-pad {
    padding-right: 120px !important; /* Buffer for 3 icons */
}

/* Border Gradient for Title Card */
.title-card-text::before {
    content: ''; position: absolute; inset: 0; border-radius: 8px; padding: 1px;
    background: linear-gradient(45deg, #563810, #C68A2C, #F5ECC3, #C68A2C, #563810);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.8; pointer-events: none;
}

/* The Title Text Itself */
.title-card-text span {
    font-family: 'Cinzel', serif; 
    font-size: 0.85rem; 
    color: #F5ECC3; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 0.1em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    margin-right: 6px; /* Reduced to let padding handle the spacing */
}

/* The Floating Icon - Above Text Card - SMALLER SIZE */
.title-card-icon {
    width: 36px; 
    height: 36px; 
    margin-left: -18px; /* Negative margin to center on the right edge of the text card */
    z-index: 30; /* Above strategy-text-card (z-20) */
    position: relative;
    border-radius: 50%;
    background: linear-gradient(180deg, #0a0a0e 0%, #050507 100%);
    display: flex; 
    align-items: center; 
    justify-content: center;
    box-shadow: 0 0 15px rgba(0,0,0,0.8), inset 0 0 10px rgba(0,0,0,0.5);
    flex-shrink: 0;
}

/* Specific fix for overlapping icons in dual cluster context */
.title-card-icon.cluster-icon.dual-icon {
    margin-left: -58px !important;
}

/* Margin for exactly 2 icons - last icon center on edge */
.title-card-icon.dual-icon {
    margin-left: -58px !important;
}

/* Icon Border Gradient */
.title-card-icon::before {
    content: ''; position: absolute; inset: 0; border-radius: 50%; padding: 1px;
    background: linear-gradient(45deg, #563810, #C68A2C, #F5ECC3, #C68A2C, #563810);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
}

.title-card-icon svg {
    width: 18px; height: 18px; color: #F5ECC3;
}

/* Special Cluster - Horizontal Row of Standard Icons - last icon center on edge */
.title-card-icon.cluster-icon {
    display: flex;
    flex-direction: row;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    margin-left: -98px !important;
    gap: 4px; /* Space between icons */
    padding-top: 0;
}

/* Remove border from the container wrapper itself */
.title-card-icon.cluster-icon::before { 
    display: none; 
}

/* Style the individual children to look exactly like standard icons */
.cluster-icon .title-icon-circle {
    position: relative;
    width: 36px; 
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(180deg, #0a0a0e 0%, #050507 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0,0,0,0.8), inset 0 0 10px rgba(0,0,0,0.5);
    z-index: 30;
    flex-shrink: 0;
}

/* Border gradient for individual children */
.cluster-icon .title-icon-circle::before {
    content: ''; position: absolute; inset: 0; border-radius: 50%; padding: 1px;
    background: linear-gradient(45deg, #563810, #C68A2C, #F5ECC3, #C68A2C, #563810);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
}

.cluster-icon .title-icon-circle svg { 
    width: 18px; height: 18px; color: #F5ECC3;
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .timeline-item, .timeline-item.left-video, .timeline-item.right-video { flex-direction: column; align-items: center; margin-bottom: 2rem; }
    .strategy-video-card { width: 100%; order: 1 !important; margin-bottom: -20px; }
    .strategy-text-wrapper { width: 95%; order: 2 !important; margin: 0 !important; min-height: auto; margin-top: 40px !important; }
    .title-group-wrapper { top: 0; left: 50%; right: auto; transform: translateX(-50%); margin-top: -38px; }
    .timeline-container > div.absolute { display: none; }
    .strategy-video-card .mini-video-placeholder { bottom: 5px; left: 5px; width: 30%; }
    .timeline-item.right-video .strategy-video-card .mini-video-placeholder { left: 5px; right: auto; }
}

/* --- TACTICAL MAPS CONTAINER --- */
/* (Merged from previous styles to support maps in any boss file) */
.tactical-map-container {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: #0a0a0e;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

.map-floor {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, #1a1a2e 0%, #000000 70%);
    opacity: 0.6;
}

/* Markers */
.marker {
    position: absolute; padding: 4px; border-radius: 4px; display: flex; justify-content: center; align-items: center; box-shadow: 0 0 10px currentColor; z-index: 5;
}
.m-blue { top: 15%; left: 15%; border: 1px solid #3b82f6; background: rgba(59,130,246,0.3); color: #3b82f6; }
.m-green { top: 15%; right: 15%; border: 1px solid #22c55e; background: rgba(34,197,94,0.3); color: #22c55e; }
.m-purple { bottom: 15%; right: 15%; border: 1px solid #a855f7; background: rgba(168,85,247,0.3); color: #a855f7; }
.m-red { bottom: 15%; left: 15%; border: 1px solid #ef4444; background: rgba(239,68,68,0.3); color: #ef4444; }

/* Tabs */
.tab-btn.active {
    background-color: #C68A2C; color: #000; border-color: #C68A2C;
}
.tab-content { display: none; }
.tab-content.block { display: block; }

/* --- NEW: VIDEO ADD PREVIEW OVERLAY --- */
.video-add-preview {
    position: absolute;
    bottom: 8px;
    left: 8px;
    width: 180px; /* Increased from 140px as requested */
    height: 180px;
    border-radius: 4px;
    border: 1px solid rgba(198, 138, 44, 0.4);
    box-shadow: 0 4px 15px rgba(0,0,0,0.8);
    z-index: 25;
    object-fit: cover;
    background: #000;
    transition: transform 0.3s ease;
}

.video-add-preview.right {
    left: auto;
    right: 8px;
}

.video-add-preview.small {
    width: 120px;
    height: 120px;
}

.strategy-video-card:hover .video-add-preview {
    transform: scale(1.1);
    border-color: #C68A2C;
}
