/* --- 1. HERO SECTION & 3D BUTTONS --- */
.text-glow {
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

.surreal-3d-btn {
    transform-style: preserve-3d;
    background: linear-gradient(-45deg, #1e293b, var(--accent-color), #1e293b, var(--neon-color));
    background-size: 400% 400%;
    animation: holo-shimmer 8s ease infinite;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    cursor: pointer;
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
}

.surreal-3d-btn:hover {
    box-shadow: 0 20px 45px rgba(0, 242, 255, 0.3);
}

.inner-content {
    transform: translateZ(40px);
}

/* --- 2. GRID & CARD BEHAVIOR --- */
.glass-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(var(--card-blur));
    -webkit-backdrop-filter: blur(var(--card-blur));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--btn-radius);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.action-card {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.action-card:hover {
    transform: translateY(-8px);
    border-color: var(--neon-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 242, 255, 0.2);
    background: rgba(30, 41, 59, 0.8);
}

/* --- 3. ICON BADGE & HOLOGRAM EFFECTS --- */
.card-icon-badge {
    position: relative;
    margin-bottom: 1.5rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-color);
    font-size: 3rem;
    z-index: 20;
    opacity: 0.6;
    transition: all 0.4s ease;
}

.card-icon-badge i {
     position: absolute;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     display: flex;
     align-items: center;
     justify-content: center;
}

.action-card:hover .card-icon-badge {
    opacity: 1;
    animation: icon-hologram 4s linear infinite;
}

/* --- 4. FEATURED CARD & METALLIC BEZEL --- */
.featured-card {
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background-color: #0f172a;
    background-size: cover;
    background-position: center;
}

.metallic-bezel {
    position: relative;
    /*border: 2px solid solid var(--neon-color);*/
    border: none;
    border-radius: 2rem;
    overflow: hidden;
    background-image: linear-gradient(to bottom, #1e293b, #0f172a), 
                      linear-gradient(135deg, #ffffff50 0%, #334155 40%, #ffffff50 50%, #1e293b 70%, #ffffff50 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.2), inset 0 0 10px rgba(0, 242, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.metallic-bezel::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    border: 2px solid rgba(0, 242, 255, 0.3);
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);
    z-index: 50; /* Ensures it sits ABOVE the background image */
    transition: all 0.3s ease;
    box-shadow: inset 0 0 10px rgba(0, 242, 255, 0.1);
}
.featured-card:hover.metallic-bezel {
    border-color: #fff;
    box-shadow: 0 0 30px var(--neon-color);
    animation: neon-glow-pulse 1.5s infinite;
    transform: translateY(-2px);
}
/* Hover State: Combines all your logic into a single high-performance trigger */
.featured-card:hover.metallic-bezel::after {
    border-color: #ffffff;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.4), 0 0 30px var(--neon-color);
}
.featured-card:hover .neon-text-sync {
    color: #00f2ff;
    text-shadow: 0 0 8px rgba(0, 242, 255, 0.8);
}
.featured-card:hover {
    transform: translateY(-5px);
}
/* Brighten bezel on hover */
.featured-card:hover::after {
    border-color: #ffffff;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.4), 
                0 0 30px var(--neon-color);
}
/* --- 5. NAVIGATION --- */
#nav-menu button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--nav-text-color);
    font-family: var(--nav-font);
    transition: all 0.3s ease;
}

#nav-menu button:hover {
    color: var(--nav-hover-color);
    filter: drop-shadow(0 0 5px var(--nav-hover-color));
}

#hero-title span {
    font-weight: inherit;
}

/* --- 6. ANIMATIONS --- */
@keyframes holo-shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

@keyframes icon-hologram {
    0% { transform: translate(-50%, -50%) rotate(0deg); filter: drop-shadow(0 0 2px var(--neon-color)); }
    50% { filter: drop-shadow(0 0 8px var(--neon-color)); }
    100% { transform: translate(-50%, -50%) rotate(360deg); filter: drop-shadow(0 0 2px var(--neon-color)); }
}

@keyframes neon-glow-pulse {
    0% { box-shadow: 0 0 15px rgba(0, 0, 0, 0.5), 0 0 5px rgba(0, 242, 255, 0.2); }
    50% { box-shadow: 0 0 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 242, 255, 0.6); }
    100% { box-shadow: 0 0 15px rgba(0, 0, 0, 0.5), 0 0 5px rgba(0, 242, 255, 0.2); }
}

.animate-fadeIn {
    animation: fadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
/* Update the block at the very end of your file */
/* Add to the bottom of showroom_styles.css */

#auth-hud { 
    display: none; /* Default state: Hidden */
    position: fixed; 
    inset: 0; 
    height: 100vh; 
    width: 100vw; 
    background: rgba(0, 0, 0, 0.96); 
    z-index: 9999; 
    backdrop-filter: blur(12px); 
    align-items: center; /* Vertical Center */
    justify-content: center; /* Horizontal Center */
} 

#auth-hud.active {
    display: flex; /* Force show when JS adds class */
}

#auth-hud .metallic-bezel {
    transform: none;
    min-height: unset;
    max-height: 90vh;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5), 0 0 30px var(--neon-color);
}

/* Ensure the glow border follows the new auto-height */
#auth-hud .metallic-bezel::after {
    height: 100%;
    width: 100%;
    position: absolute;
    inset: 0;
}
#auth-hud h2 {
    font-family: var(--nav-font);
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.2em;
    color: #ffffff;
}

#auth-hud p {
   font-family: var(--nav-font); /* Using system font variable */
   font-size: 30px;
   font-weight: bold;
   letter-spacing: 0.2em;
   color: #94a3b8;
}
/* --- AUTH SYSTEM SPECIFIC CLASSES --- */

.auth-trigger-btn {
    /* Layout & Structure */
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    padding: 10px 24px;
    
    /* Shape & Reset */
    border-radius: 20px;
    background: transparent;
    border-width: 1px;
    border-style: solid;
    cursor: pointer;
    
    /* Animation Core */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    visibility: visible;
    opacity: 1;
    
    /* Text Baseline */
    text-decoration: none;
    line-height: 1;
}

.hud-bezel-fixed {
    position: relative;
    transform: none; /* REMOVE the -50% translations */
    margin: auto; 
    min-height: unset;
    width: 550px;
    padding: 4rem;
}
#provider-list {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    width: 100% ;
    gap: 1rem ;
}

/* Ensure FontAwesome icons inside the HUD are forced to the neon color */
#provider-list i {
    color: var(--neon-color);
}

/* Isolated Abort Button Style */
.hud-abort-btn-unique {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    font-size: 30 px;
    font-weight: bold;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.hud-abort-btn-unique:hover {
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.5);
    letter-spacing: 0.4em;
}
