.guide-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    pointer-events: none;
    display: none;
}

/* Spotlight effect - darkens everything except the target element */
.guide-spotlight {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1001;
    transition: all 0.3s ease;
    pointer-events: auto;
}

/* The cutout in the overlay */
.guide-cutout {
    position: absolute;
    background-color: transparent;
    border: 3px solid #EABC4B;
    box-shadow: 0 0 10px rgba(234, 188, 75, 0.7);
    z-index: 1002;
    pointer-events: none;
    box-sizing: border-box;
    border-radius: 5px;
}

/* Focus hole - this element makes the target clickable */
.guide-focus-hole {
    position: absolute;
    background-color: transparent;
    z-index: 1002;
    pointer-events: auto;  /* This needs to be auto to capture clicks */
    cursor: pointer;
}

/* Message box - always centered */
.guide-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #F3F3FA;
    border: 5px solid #EABC4B;
    border-radius: 3px;
    padding: 10px;
    max-width: 500px;
    width: 90%;
    z-index: 1004;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    font-family: 'Pixeboy', sans-serif;
    text-align: center;
    pointer-events: auto;
}

/* Title for the guide message */
.guide-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: #252525;
    text-transform: uppercase;
}

/* Content for the guide message */
.guide-content {
    font-size: 18px;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.3;
}

/* Button container for guide navigation */
.guide-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Standard button style for guide */
.guide-button {
    padding: 8px 15px;
    background-color: #EABC4B;
    color: #252525;
    border: 3px solid #252525;
    font-family: 'Pixeboy', sans-serif;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    outline: none;
}

.guide-button:hover {
    transform: scale(1.05);
    background-color: #D6B146;
}

.guide-button:active {
    transform: scale(0.95);
}

/* Progress indicator for the guide */
.guide-progress {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 1004;
}

.guide-progress-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.guide-progress-dot.active {
    background-color: #EABC4B;
    transform: scale(1.2);
}

/* Arrow indicator to point to highlighted elements */
.guide-arrow {
    position: absolute;
    width: 30px;
    height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15 0L25 15L15 30L5 15L15 0Z' fill='%23FFFFFF' stroke='%23000000' stroke-width='3'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1005;
    transition: all 0.5s ease;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
}

/* Skip button */
.guide-skip {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 8px 15px;
    background-color: rgba(37, 37, 37, 0.8);
    color: #fff;
    border: 2px solid #EABC4B;
    border-radius: 3px;
    font-family: 'Pixeboy', sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 1004;
    pointer-events: auto;
}

.guide-skip:hover {
    background-color: rgba(37, 37, 37, 1);
}

/* Animation styles */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.pulse {
    animation: pulse 1.5s infinite;
}

.guide-progress.vertical {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 1004;
}

.guide-progress.vertical .guide-progress-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.guide-progress.vertical .guide-progress-dot.active {
    background-color: #EABC4B;
    transform: scale(1.2);
}