body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    font-family: 'Arial', sans-serif;
}

code {
    color: black;
    font-weight: bolder;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    background-color: #f4f4f4
}

/* Navbar styles */
.navbar {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    border-bottom: 1px solid #333;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    /* Fixed Dimensions to prevent layout shift */
    height: 90px;
    padding: 0;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
}

.crystal-btn {
    text-decoration: none;
    color: white;
    font-weight: bold;
    text-transform: uppercase;

    /* Fixed Dimensions */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 25px;
    box-sizing: border-box;

    border-radius: 15px;

    /* Estilo Crystal Black */
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.crystal-btn:hover {
    background: rgba(40, 40, 40, 0.8);
    box-shadow:
        0 0 10px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Main Content */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    /* Ocupar toda la altura de la ventana */
    padding-top: 80px;
    /* Espacio para el navbar */
    box-sizing: border-box;
    overflow: hidden;
}

.center-video {
    width: 100%;
    height: auto;
    border: none;
    outline: none;
    display: block;
}

/* Tooltip styles */
.crystal-btn[data-tooltip] {
    position: relative;
}

.crystal-btn[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 100%;
    /* Position below the button */
    left: 50%;
    transform: translateX(-50%);
    margin-top: 10px;
    /* Space between button and tooltip */
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    white-space: nowrap;
    font-size: 14px;
    z-index: 1001;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    /* Immediate appearance (default behavior), no transition */
}

@media (max-width: 600px) {
    .crystal-btn {
        height: 36px;
        padding: 0 12px;
        font-size: 0.85em;
    }

    .btn-text {
        display: none;
    }
}

.active-gold {
    background: rgba(255, 215, 0, 0.2);
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5), inset 0 0 5px rgba(255, 215, 0, 0.5);
    color: #ffd700;
    pointer-events: none;
    text-shadow: 0 0 5px #ffd700;
}