/*
Theme Name: Diecast Supercon 2027 Child
Description: High-Octane Cinematic Design for 2027 Las Vegas Show (Figma Sync)
Author: Amit Nandi
Template: hello-elementor
*/

/* --- 1. FIGMA FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* --- 2. FIGMA & BRAND TOKENS (Merged for Dark Mode Default) --- */
:root {
  /* Figma Base Structure */
  --font-size: 16px;
  --background: oklch(0.145 0 0); /* Figma Dark Background */
  --foreground: oklch(0.985 0 0); /* Figma Light Text */
  --card: oklch(0.145 0 0);
  --card-foreground: oklch(0.985 0 0);
  --muted: oklch(0.269 0 0);
  --muted-foreground: oklch(0.708 0 0);
  --border: rgba(255, 255, 255, 0.1);
  --radius: 0.625rem;

  /* Supercon Brand Injection */
  --logo-blue: #2F65B9;
  --logo-flame: linear-gradient(90deg, #FF9100, #F12711);
  --accent-cyan: #00F2FF;
  --glass-bg: rgba(255, 255, 255, 0.03);
  
  /* Font Weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  --font-weight-black: 900;
}

/* --- 3. GLOBAL BASE STYLES --- */
html, body {
  background-color: var(--background) !important;
  color: var(--foreground);
  font-family: 'Inter', sans-serif;
  font-size: var(--font-size);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

* {
  border-color: var(--border);
}

/* --- 4. TYPOGRAPHY (Figma Mapping) --- */
h1, h2, h3, h4, .elementor-heading-title {
  font-family: 'Archivo Black', sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: -1px;
  color: var(--foreground);
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: 1.25rem; letter-spacing: 1px; }

p, label, input {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* --- 5. THE BENTO-BOX TICKET CARDS --- */
.ticket-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 2);
  padding: 40px 25px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.ticket-card:hover {
  transform: translateY(-10px);
  border-color: var(--logo-blue);
  box-shadow: 0 20px 40px rgba(47, 101, 185, 0.2);
}

/* Card Glow Effect */
.ticket-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(47, 101, 185, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: 0.6s ease;
  pointer-events: none;
}

.ticket-card:hover::before {
  opacity: 1;
}

/* --- 6. PREMIUM PILL BUTTONS (Globally Matching Header) --- */
/* Scoped to .elementor-widget-wrap so it doesn't break the Elementor Editor UI */

.btn-main, 
.elementor-widget-wrap .elementor-button, 
.elementor-widget-wrap button {
  position: relative !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 16px 45px !important;
  background: var(--logo-flame) !important;
  color: white !important;
  font-family: 'Archivo Black', sans-serif !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  border-radius: 100px !important; 
  overflow: hidden !important;
  transition: 0.5s !important;
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 10px 25px rgba(241, 39, 17, 0.4) !important;
  cursor: pointer;
  clip-path: none !important; 
}

.btn-main:hover, 
.elementor-widget-wrap .elementor-button:hover, 
.elementor-widget-wrap button:hover {
  transform: scale(1.05) translateY(-2px) !important;
  box-shadow: 0 15px 40px rgba(241, 39, 17, 0.6) !important;
  color: white !important;
}

/* Auto-Glow Sweep Effect for ALL buttons */
.btn-main::after, 
.elementor-widget-wrap .elementor-button::after, 
.elementor-widget-wrap button::after {
  content: '';
  position: absolute;
  top: 0; 
  left: -100%;
  width: 100%; 
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: 0.6s;
  pointer-events: none;
}

.btn-main:hover::after, 
.elementor-widget-wrap .elementor-button:hover::after, 
.elementor-widget-wrap button:hover::after {
  left: 100%;
}

/* KILL ALL BUTTON UNDERLINES */
.elementor-widget-wrap button, 
.elementor-widget-wrap .elementor-button, 
[class*="btn-"],
.elementor-widget-wrap input[type="submit"],
.elementor-widget-wrap input[type="button"] {
    text-decoration: none !important;
}

.elementor-widget-wrap button:hover, 
.elementor-widget-wrap .elementor-button:hover, 
[class*="btn-"]:hover,
.elementor-widget-wrap input[type="submit"]:hover,
.elementor-widget-wrap input[type="button"]:hover {
    text-decoration: none !important;
}

/* --- 7. UTILITY CLASSES --- */
.text-mix {
  background: linear-gradient(to bottom, #ffffff 30%, #8A8AA3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.pink-highlight {
  color: var(--logo-blue) !important;
  text-shadow: 0 0 20px rgba(47, 101, 185, 0.5);
  -webkit-text-fill-color: var(--logo-blue) !important;
}

/* Custom Scrollbar for Edge/Chrome */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--background);
}
::-webkit-scrollbar-thumb {
  background: var(--logo-blue);
  border-radius: var(--radius);
}
::-webkit-scrollbar-thumb:hover {
  background: #FF9100;
}

/* ==========================================================================
   8. HEADER COMPONENT (Global)
   ========================================================================== */

.supercon-header-wrapper {
    position: fixed;
    top: 25px;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 0 5%;
    pointer-events: none; 
}

.cinematic-nav {
    pointer-events: auto; 
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(15, 11, 30, 0.75);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 8px 12px 8px 35px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6), 
                inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.nav-logo {
    flex-shrink: 0; 
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 80px; 
    width: auto;
    max-width: 100%;
    object-fit: contain; 
    filter: drop-shadow(0 0 10px rgba(47, 101, 185, 0.3));
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.nav-logo:hover img { transform: scale(1.05); } 

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-item > a, .nav-link-app {
    color: #FFFFFF !important;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1.5px;
    transition: 0.3s;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item:hover > a, .nav-link-app:hover {
    opacity: 1;
    color: var(--primary-blue) !important;
    text-shadow: 0 0 15px rgba(47, 101, 185, 0.5);
}

.nav-item i { font-size: 10px; opacity: 0.5; }

.has-dropdown { position: relative; }

.dropdown-overlay {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding-top: 25px; 
    opacity: 0;
    visibility: hidden;
    transition: 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.dropdown-content {
    background: rgba(15, 11, 30, 0.95);
    backdrop-filter: blur(30px);
    min-width: 240px;
    border-radius: 20px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.has-dropdown:hover .dropdown-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    color: #fff !important;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    border-radius: 12px;
    transition: 0.3s;
}

.dropdown-content a i { font-size: 16px; color: var(--primary-blue); opacity: 1; transition: 0.3s; }

.dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-cyan) !important;
}

.dropdown-content a:hover i { transform: translateX(5px); color: var(--flame-orange); }

.btn-ticket-premium {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;

    padding: 8px 4px !important;
    min-width: 0 !important;
    height: 44px;

    background: linear-gradient(90deg, #FF9100, #F12711);
    color: white !important;
    text-decoration: none;
    font-family: 'Archivo Black', sans-serif;
    font-size: 10px !important;
    text-transform: uppercase;

    border-radius: 100px;
    overflow: hidden;
    transition: 0.5s;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(241, 39, 17, 0.4);

    white-space: normal !important;
    text-align: center;
    line-height: 1.2 !important;
}

.btn-ticket-premium:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 15px 40px rgba(241, 39, 17, 0.6);
}

.btn-glow {
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.6s;
}

.btn-ticket-premium:hover .btn-glow { left: 100%; }

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle .bar {
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 4px;
    transition: 0.3s;
}

.mobile-toggle .bar.short { 
    width: 18px; 
    align-self: flex-end; 
    background: #FF9100 !important; /* Hardcoded hex ensures it always shows */
}

@media (max-width: 1024px) {
    .cinematic-nav { 
        padding: 8px 10px 8px 20px; 
        border-radius: 30px; 
        position: relative;
    }
    .nav-logo img { height: 55px; }
    .mobile-toggle { display: flex; }
    .nav-links { display: none; }
    
    .nav-links.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 75px; 
        left: 0; right: 0;
        background: rgba(15, 11, 30, 0.98);
        backdrop-filter: blur(30px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        padding: 15px; 
        gap: 5px; 
        align-items: flex-start;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    }

    .nav-group-title { display: none !important; }
    .nav-links.mobile-active .nav-item { width: 100%; padding: 0; }
    
    .nav-links.mobile-active .dropdown-overlay {
        position: relative;
        top: 0; left: 0;
        transform: none;
        opacity: 1;
        visibility: visible;
        padding-top: 0; 
    }
    
    .nav-links.mobile-active .dropdown-content {
        min-width: 100%;
        box-shadow: none;
        background: transparent;
        border: none;
        padding: 0;
    }

    .nav-links.mobile-active .dropdown-content a {
        padding: 12px 15px; 
        width: 100%;
    }

    .nav-links.mobile-active .nav-link-app {
        order: -1; 
        width: 100%;
        padding: 12px 15px;
        background: linear-gradient(90deg, rgba(47, 101, 185, 0.2) 0%, rgba(0, 242, 255, 0.05) 100%);
        border: 1px solid var(--primary-blue);
        border-radius: 12px;
        color: var(--accent-cyan) !important;
        margin-bottom: 10px; 
        justify-content: center; 
        font-size: 15px;
        box-shadow: 0 4px 15px rgba(47, 101, 185, 0.3);
    }
    
    .nav-links.mobile-active .nav-link-app i { color: var(--accent-cyan); }
    .btn-ticket-premium { padding: 12px 24px !important; font-size: 12px !important; }
}

@media (max-width: 768px) {
    .hide-mobile { display: none; }
    .btn-ticket-premium { padding: 10px 18px !important; font-size: 11px !important; }
    .nav-logo img { height: 48px; }
}


/* ==========================================================================
   9. FOOTER COMPONENT (Global) - OPTIMIZED GLOW
   ========================================================================== */

.cinematic-footer {
    position: relative;
    background-color: #050508;
    color: #fff;
    padding: 80px 5% 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden; /* Keeps the glow inside the footer area */
    font-family: 'Inter', sans-serif;
}

.footer-glow {
    position: absolute;
    top: 0; /* Changed from -150px to 0 to keep it centered on the border line */
    left: 50%;
    transform: translate(-50%, -50%); /* Centers the orb exactly on the top edge */
    width: 800px; /* Increased size for a more cinematic feel */
    height: 400px;
    /* Increased opacity from 0.15 to 0.3 for visibility on deep black */
    background: radial-gradient(circle, rgba(47, 101, 185, 0.3) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1; /* Sit above the background but below the container */
    filter: blur(40px); /* Adds a soft-box photographic quality */
}

.footer-container {
    position: relative;
    z-index: 10; /* Ensures content is always above the glow */
    max-width: 1300px;
    margin: 0 auto;
}

.footer-vip-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px 50px;
    margin-bottom: 80px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.premium-vip {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.vip-badge {
    display: inline-block;
    background: rgba(255, 145, 0, 0.1);
    border: 1px solid rgba(255, 145, 0, 0.3);
    color: #FF9100;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 18px;
    box-shadow: 0 0 15px rgba(255, 145, 0, 0.2);
}

.vip-badge i { margin-right: 5px; }

.premium-vip h3 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 32px;
    text-transform: uppercase;
    margin: 0 0 12px 0;
    line-height: 1.1;
    letter-spacing: -1px;
}

.premium-vip p {
    color: #A9A9BC;
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    max-width: 400px;
    border-left: 2px solid #2F65B9;
    padding-left: 15px;
}

.vip-form {
    display: flex;
    gap: 15px;
    width: 100%;
    max-width: 450px;
}

.glass-input {
    flex-grow: 1;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px 20px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: 0.3s;
}

.glass-input:focus {
    border-color: #2F65B9;
    box-shadow: 0 0 15px rgba(47, 101, 185, 0.3);
}

.btn-subscribe {
    background: linear-gradient(135deg, #2F65B9 0%, #1A3A6D 100%);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0 30px;
    border-radius: 12px;
    font-family: 'Archivo Black', sans-serif;
    text-transform: uppercase;
    font-size: 13px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-subscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(47, 101, 185, 0.4);
    background: linear-gradient(135deg, #3A7CE0 0%, #2F65B9 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.brand-col .footer-logo {
    width: 100%;
    max-width: 380px; 
    height: auto; 
    object-fit: contain;
    margin-bottom: 25px;
    filter: drop-shadow(0 10px 25px rgba(0,0,0,0.4)); 
}

.brand-col .brand-desc {
    color: #A9A9BC;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 320px;
}

.app-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap; 
}

.app-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s;
}

.app-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #FF9100;
}

.footer-col h4 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: #fff;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: #A9A9BC;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a i {
    font-size: 10px;
    color: #2F65B9;
    transition: 0.3s;
    opacity: 0;
    transform: translateX(-10px);
}

.footer-links a:hover { color: #fff; transform: translateX(5px); }
.footer-links a:hover i { opacity: 1; transform: translateX(0); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: #6C6C89;
    font-size: 13px;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #A9A9BC;
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover {
    background: #FF9100;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 145, 0, 0.4);
}

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-vip-strip {
        flex-direction: column;
        text-align: center;
        gap: 25px;
        padding: 40px 30px;
    }
    .premium-vip { align-items: center; text-align: center; }
    .premium-vip p {
        border-left: none;
        border-top: 2px solid #2F65B9;
        padding-left: 0;
        padding-top: 15px;
    }
    .vip-form { max-width: 100%; }
}

@media (max-width: 768px) {
    .cinematic-footer { padding: 60px 5% 30px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .brand-col {
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }
    .brand-col .footer-logo { max-width: 320px; }
    .brand-col .brand-desc { max-width: 100%; }
    .app-badges { justify-content: center; }
    .vip-form { flex-direction: column; width: 100%; }
    .btn-subscribe { padding: 15px 30px; width: 100%; }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}


/* ==========================================================================
   GLOBAL PREMIUM BUTTON OVERRIDE (Matches Header Ticket Button)
   ========================================================================== */

/* Target all primary action buttons across the custom widgets */
.btn-book-room,
.btn-share,
.btn-cta-primary,
.btn-submit {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px 40px !important;
    background: linear-gradient(90deg, #FF9100, #F12711) !important;
    color: #FFFFFF !important;
    font-family: 'Archivo Black', sans-serif !important;
    font-size: 14px !important;
    font-style: normal !important; /* Removes the italic slant */
    text-transform: uppercase !important;
    border-radius: 100px !important; /* Turns them into rounded pills */
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 10px 25px rgba(241, 39, 17, 0.4) !important;
    text-decoration: none !important;
    overflow: hidden !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    clip-path: none !important; /* Removes the sharp angled cuts */
}

/* Hover State - Pop up and glow harder */
.btn-book-room:hover,
.btn-share:hover,
.btn-cta-primary:hover,
.btn-submit:hover {
    transform: scale(1.05) translateY(-2px) !important;
    box-shadow: 0 15px 40px rgba(241, 39, 17, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #FFFFFF !important;
}

/* The Animated Light Sweep Effect */
.btn-book-room::after,
.btn-share::after,
.btn-cta-primary::after,
.btn-submit::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

/* Trigger the light sweep on hover */
.btn-book-room:hover::after,
.btn-share:hover::after,
.btn-cta-primary:hover::after,
.btn-submit:hover::after {
    left: 100%;
}