/* Regio Build - Premium Modern Crystal Design (Blue-Gray Theme) */
:root {
    --bg-dark: #1e293b;
    /* Deep dark slate blue-gray */
    --accent-blue: #475569;
    /* Slate blue-gray */
    --accent-light: #94a3b8;
    /* Light slate blue-gray */
    --gray-light: #f1f5f9;
    /* Off-white gray */
    --text-primary: #ffffff;
    /* Pure white */
    --text-secondary: #cbd5e1;
    /* Muted light slate gray */
    --accent-yellow: #facc15;
    /* Vibrant yellow */
    --accent-yellow-hover: #fde047;
    --glass-bg: rgba(255, 255, 255, 0.02);
    /* Translucent white/crystal */
    --glass-border: rgba(255, 255, 255, 0.08);
    /* Delicate white border */
    --glass-highlight: rgba(255, 255, 255, 0.15);
    /* Stronger highlight border */
    --font-sans: 'Plus Jakarta Sans', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    /* Relieve y textura de puntos ultra-profesional de fondo con gradientes de color */
    background-image:
        radial-gradient(circle at 15% 50%, rgba(71, 85, 105, 0.4), transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(51, 65, 85, 0.6), transparent 50%),
        radial-gradient(circle, rgba(255, 255, 255, 0.015) 1.5px, transparent 1.5px);
    background-size: 100% 100%, 100% 100%, 28px 28px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Subtle, organic background glow elements for premium look */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(148, 163, 184, 0.04) 0%, transparent 70%);
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

/* Floating Geometric Elements (Professional 3D Glass layers) */
.floating-shape {
    position: fixed;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.01) 0%, rgba(71, 85, 105, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    pointer-events: none;
    z-index: 1;
    animation: float 22s ease-in-out infinite alternate;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.shape-left {
    width: 320px;
    height: 320px;
    left: -100px;
    top: 25%;
    animation-delay: 0s;
}

.shape-right {
    width: 260px;
    height: 260px;
    right: -80px;
    bottom: 20%;
    border-radius: 50% 50% 30% 70% / 50% 60% 40% 50%;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    50% {
        transform: translateY(-24px) rotate(45deg) scale(1.04);
    }

    100% {
        transform: translateY(24px) rotate(90deg) scale(0.96);
    }
}

header {
    text-align: center;
    padding: 25px 20px 15px;
    z-index: 10;
    position: relative;
}

/* Logo Container & Fluid Fog Effect */
.logo-container {
    position: relative;
    display: inline-block;
    width: 240px;
    height: 240px;
    margin-top: 10px;
    margin-bottom: 12px;
}

.logo-img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 5;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.3));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-container:hover .logo-img {
    transform: scale(1.05);
}

/* Fluid Fog & Vortex Layers */
.logo-fog-layer {
    position: absolute;
    top: 5%;
    left: 5%;
    right: 5%;
    bottom: 5%;
    border-radius: 50%;
    z-index: 1;
    mix-blend-mode: screen;
    pointer-events: none;
}

.logo-fog-layer.f1 {
    background: conic-gradient(from 0deg, rgba(250, 204, 21, 0.7) 0%, transparent 35%, rgba(253, 224, 71, 0.5) 50%, transparent 85%, rgba(250, 204, 21, 0.7) 100%);
    animation: vortex-spin-clockwise 9s linear infinite;
    filter: blur(28px);
}

.logo-fog-layer.f2 {
    background: conic-gradient(from 120deg, rgba(250, 204, 21, 0.45) 0%, transparent 40%, rgba(254, 240, 138, 0.35) 60%, transparent 90%, rgba(250, 204, 21, 0.45) 100%);
    animation: vortex-spin-counter 13s linear infinite;
    filter: blur(38px);
}

.logo-fog-layer.f3 {
    background: radial-gradient(circle, rgba(250, 204, 21, 0.45) 0%, transparent 70%);
    animation: vortex-pulse 6s ease-in-out infinite alternate;
    filter: blur(45px);
}

@keyframes vortex-spin-clockwise {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.12);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes vortex-spin-counter {
    0% {
        transform: rotate(360deg) scale(1.15);
    }

    50% {
        transform: rotate(180deg) scale(0.92);
    }

    100% {
        transform: rotate(0deg) scale(1.15);
    }
}

@keyframes vortex-pulse {
    0% {
        transform: scale(0.85) translate(0, 0);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.2) translate(8px, -6px);
        opacity: 1;
    }

    100% {
        transform: scale(0.85) translate(0, 0);
        opacity: 0.6;
    }
}

header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 30%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.05);
}

header p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--accent-light);
    letter-spacing: 0.5px;
}

main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px 30px;
    z-index: 10;
}

.servers-container {
    width: 100%;
    max-width: 1050px;
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: center;
    align-items: stretch;
}

/* Glassmorphism Server Card */
.server-card {
    flex: 1;
    min-width: 280px;
    max-width: 480px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 25px 30px;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s;
}

.server-card:hover {
    transform: translateY(-4px);
    border-color: var(--glass-highlight);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.45),
        0 0 40px rgba(148, 163, 184, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Server Header */
.server-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.server-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.server-title-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.server-title-group h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Status Badge */
.status-badge {
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.status-badge.online::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-badge.online {
    background: rgba(34, 197, 94, 0.08);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.15);
}

.status-badge.online::before {
    background-color: #22c55e;
    box-shadow: 0 0 8px #22c55e;
}

.status-badge.offline {
    background: rgba(239, 68, 68, 0.08);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.status-badge.offline::before {
    background-color: #ef4444;
    box-shadow: 0 0 8px #ef4444;
}

/* Server Details List */
.server-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.info-row:last-of-type {
    border-bottom: none;
}

.info-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.info-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* No-Premium Highlight styled beautifully like style_colors.css tags */
.text-premium {
    color: var(--accent-yellow);
    background: rgba(250, 204, 21, 0.08);
    padding: 3px 12px;
    border-radius: 100px;
    font-size: 0.825rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    border: 1px solid rgba(250, 204, 21, 0.15);
    text-transform: uppercase;
}

/* Capsule badges to make details stand out beautifully */
.badge-capsule {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.badge-players {
    color: var(--text-primary);
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.badge-version {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.version-badges-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.badge-version-modpack {
    color: var(--accent-light);
    background: rgba(148, 163, 184, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.15);
}

/* IP Interactive Click to Copy */
.ip-row {
    position: relative;
}

.ip-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 8px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ip-wrapper:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--accent-yellow);
}

#server-ip {
    font-family: monospace;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
}

.copy-icon {
    color: var(--accent-light);
    display: flex;
    align-items: center;
    transition: transform 0.2s, color 0.2s;
}

.ip-wrapper:hover .copy-icon {
    color: var(--text-primary);
    transform: scale(1.05);
}

/* Tooltip */
.copy-tooltip {
    position: absolute;
    bottom: -32px;
    right: 0;
    background: #0f172a;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 100;
}

.ip-wrapper:hover~.copy-tooltip {
    opacity: 1;
    transform: translateY(0);
}

.ip-wrapper.copied~.copy-tooltip {
    background: var(--accent-blue);
    border-color: rgba(255, 255, 255, 0.1);
    opacity: 1;
    transform: translateY(0);
}

/* Premium Downloadable Modpack & ExtraMods Link Badges */
.modpack-link-badge,
.extramods-link-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modpack-link-badge svg,
.extramods-link-badge svg {
    transition: transform 0.3s ease;
    color: var(--accent-light);
}

.modpack-link-badge:hover {
    background: rgba(250, 204, 21, 0.06);
    border-color: rgba(250, 204, 21, 0.3);
    color: var(--accent-yellow);
    transform: translateY(-1px);
}

.modpack-link-badge:hover svg {
    transform: translate(2px, -2px);
    color: var(--accent-yellow);
}

.extramods-link-badge:hover {
    background: rgba(250, 204, 21, 0.06);
    border-color: rgba(250, 204, 21, 0.3);
    color: var(--accent-yellow);
    transform: translateY(-1px);
}

.extramods-link-badge:hover svg {
    transform: translateY(2px);
    color: var(--accent-yellow);
}

/* Online Players List Section */
.online-players {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.online-players h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: 0.5px;
}

.players-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
    max-height: 220px;
    overflow-y: auto;
    padding-right: 4px;
}

/* Fine Custom Scrollbar */
.players-list::-webkit-scrollbar {
    width: 4px;
}

.players-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.01);
}

.players-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.players-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.player-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 8px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-shrink: 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.player-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    transform: scale(1.02);
}

.player-head {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    image-rendering: pixelated;
    /* Sharp retro-pixelated render for Minecraft skins */
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.player-item:hover .player-head {
    transform: scale(1.15) rotate(6deg);
}

.player-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.no-players {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
    padding: 15px 0;
}

footer {
    text-align: center;
    padding: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.7;
    z-index: 10;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* Responsiveness */
@media (max-width: 992px) {
    .floating-shape {
        display: none;
        /* Hide floating shapes on tablet and mobile for clean spacing */
    }

    .servers-container {
        flex-direction: column;
        align-items: center;
        max-width: 500px;
        gap: 25px;
    }

    .server-card {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 576px) {
    header {
        padding: 20px 15px 15px;
    }

    .logo-container {
        width: 180px;
        height: 180px;
    }

    header h1 {
        font-size: 2.2rem;
    }

    .server-card {
        padding: 25px 20px;
    }

    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .version-badges-container {
        justify-content: flex-start;
        width: 100%;
    }

    .ip-wrapper {
        width: 100%;
        justify-content: space-between;
    }

    .copy-tooltip {
        left: 0;
        right: auto;
        bottom: -32px;
    }
}

/* ==========================================================================
   EXHIBICIÓN DE GALERÍA INFINITA (MARQUEE ROLLING CARD SHOWCASE)
   ========================================================================== */
.marquee-gallery {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    padding: 15px 0;
    background: rgba(15, 23, 42, 0.35);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100;
    margin-top: 0px;
    margin-bottom: 40px;
    box-shadow:
        inset 0 10px 30px rgba(0, 0, 0, 0.2),
        inset 0 -10px 30px rgba(0, 0, 0, 0.2);
}

/* Efecto Ultra-Pro de desvanecimiento en los bordes laterales (Stripe style) */
.marquee-fade-left,
.marquee-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15%;
    z-index: 10;
    pointer-events: none;
}

.marquee-fade-left {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark) 0%, transparent 100%);
}

.marquee-fade-right {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark) 0%, transparent 100%);
}

/* Track de animación infinita */
.marquee-track {
    display: flex;
    width: max-content;
    gap: 20px;
    animation: marquee-roll 45s linear infinite;
}

/* Pausar el scroll cuando el usuario hace hover sobre cualquier tarjeta */
.marquee-track:hover {
    animation-play-state: paused;
}

/* Pausa forzada mediante JS cuando el Lightbox está abierto */
.marquee-track.paused {
    animation-play-state: paused !important;
}

/* Tarjetas individuales de exhibición (Glassmorphism 3D cards) */
.marquee-slide {
    width: 280px;
    height: 165px;
    border-radius: 16px;
    overflow: hidden;
    cursor: zoom-in;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s, box-shadow 0.4s;
    position: relative;
}

.marquee-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.marquee-slide:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(250, 204, 21, 0.25);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.45),
        0 0 25px rgba(250, 204, 21, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.marquee-slide:hover img {
    transform: scale(1.06);
}

/* Keyframes de desplazamiento continuo */
@keyframes marquee-roll {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Desplaza exactamente el 50% de la longitud total del contenedor track duplicado */
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   LIGHTBOX MODAL PREMIUM
   ========================================================================== */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

/* Botón de Cerrar (X) */
.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    line-height: 1;
}

.lightbox-close:hover {
    background: #ef4444;
    border-color: #ef4444;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
    transform: rotate(90deg);
}

/* Tarjeta de Guía Rápida */
.guide-card {
    /* Auto height stretched by parent flex */
}

.guide-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.guide-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(250, 204, 21, 0.08);
    border: 1px solid rgba(250, 204, 21, 0.25);
    color: var(--accent-yellow);
    font-size: 0.85rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
    box-shadow: 0 0 10px rgba(250, 204, 21, 0.1);
}

.step-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.step-text h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.step-text p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.step-text code {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.8rem;
    color: #cbd5e1;
}

.guide-image-container {
    margin-top: 20px;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
}

.guide-zombie-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    animation: zombie-float 5s ease-in-out infinite;
    z-index: 2;
}

.guide-pet-wrapper {
    position: absolute;
    left: 20px;
    bottom: 10px;
    height: 52%;
    /* Pet is ~52% of the zombie's height */
    z-index: 3;
    animation: pet-float 4.5s ease-in-out infinite;
    animation-delay: 0.4s;
    transform-origin: bottom center;
}

.guide-img {
    max-width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.guide-pet-img {
    height: 100%;
    width: auto;
    display: block;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.guide-image-container:hover .guide-img {
    transform: scale(1.02);
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.65));
}

.guide-image-container:hover .guide-pet-img {
    transform: scale(1.08) translateY(-4px) rotate(-5deg);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.55));
}

@keyframes zombie-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes pet-float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-7px) rotate(-1.5deg);
    }
}

@media (max-width: 768px) {
    .marquee-slide {
        width: 220px;
        height: 130px;
    }

    .marquee-gallery {
        margin-bottom: 25px;
    }
}