/* Base styles & variables */
:root {
    --bg-white: #000000;
    --bg-light: #000000;
    --main-teal: #f97316;
    --antiquity-gold: #fb923c;
    --action-blue: var(--main-teal);
    --action-blue-hover: var(--antiquity-gold);
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --text-muted-dark: #71717a;
    --border-color: rgba(249, 115, 22, 0.2);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 5rem 2rem;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 107, 0, 0.2);
    margin: 2rem;
    border-radius: 20px;
    overflow: hidden;
}

/* Noise Overlay & Interactive Edges */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.15;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    mix-blend-mode: multiply;
}

/* Historical Dividers & Birds */
.historical-divider {
    text-align: center;
    margin: 3rem auto;
    position: relative;
    width: 60%;
    color: var(--antiquity-gold);
}

.historical-divider::before,
.historical-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 30px);
    height: 1px;
    background: var(--antiquity-gold);
}


.historical-divider::before {
    left: 0;
}

.historical-divider::after {
    right: 0;
}

#parallax-birds {
    position: absolute;
    top: -50px;
    left: -100px;
    width: 300px;
    height: 150px;
    color: var(--antiquity-gold);
    pointer-events: none;
    z-index: 1;
    opacity: 0.15;
    transition: transform 0.1s ease-out;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--main-teal);
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.section-title {
    font-size: 2.1rem;
    /* Scaled down ~15% */
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-heading {
    font-size: 1.7rem;
    /* Scaled down ~15% */
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--action-blue) !important;
}

/* Components */
.solid-box {
    background: rgba(24, 24, 27, 0.6);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 18px;
    transition: var(--transition-smooth);
}

.solid-box:hover {
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.15);
    border-color: rgba(249, 115, 22, 0.4);
}

.glassmorphism {
    background: rgba(24, 24, 27, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.btn-solid-blue,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-weight: 700;
    border-radius: 18px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-solid-blue {
    background-color: var(--action-blue);
    color: #09090b !important;
    border: none;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-solid-blue:hover {
    background-color: var(--action-blue-hover);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
    /* Antiquity Gold outer-glow */
    transform: translateY(-2px);
}

.btn-ghost-teal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-weight: 700;
    border-radius: 18px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    background: transparent;
    border: 2px solid var(--action-blue);
    color: var(--action-blue) !important;
}

.btn-ghost-teal:hover {
    background: var(--action-blue);
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

.btn-solid-white {
    background-color: var(--bg-white);
    color: var(--action-blue);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-solid-white:hover {
    background-color: var(--bg-light);
    color: var(--action-blue-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #f4f4f5;
    border: 2px solid #f4f4f5;
}

.btn-outline:hover {
    border-color: var(--action-blue);
    color: var(--action-blue);
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.3);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.badge {
    display: inline-block;
    background: var(--secondary-light-blue);
    color: var(--action-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Grids */
.grids-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    /* Wide Comfort Margin */
}

.grids-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grids-2-small {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.align-center {
    align-items: center;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 4rem;
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(15px);
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
    animation: slideDownHeader 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDownHeader {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.hida-logo {
    height: 45px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav a:hover:not(.btn-solid-blue) {
    color: var(--action-blue);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
}

/* Hero Section */
.hero-section {
    position: relative;
    background-color: #000000;
    padding-top: 160px;
    /* Offset for fixed header */
    padding-bottom: 60px;
    /* Limit dead space */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    box-shadow: none;
    text-shadow: none;
}

.gradient-orb {
    display: none;
}

@keyframes pulseOrb {
    0% {
        transform: translate(-50%, 0) scale(1);
    }

    100% {
        transform: translate(-50%, 20px) scale(1.05);
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    z-index: 10;
    padding: 0 2rem;
}

.ukaz-typo {
    width: 100%;
    max-width: 650px;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    text-shadow: none;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 1.5rem;
}

.hero-interface-img {
    margin: 1rem auto;
    display: block;
    max-width: 35%;
    border-radius: 18px;
    box-shadow: none !important;
    filter: none !important;
}

.hero-info-bar {
    display: inline-flex;
    gap: 3rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    align-items: center;
    color: var(--action-blue);
}

.info-block {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.info-block strong {
    font-size: 1.1rem;
    color: var(--text-main);
}

.info-block span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    width: 100%;
}

/* About Section */
.about-image {
    padding: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-white);
}

.about-image img {
    max-width: 100%;
    height: auto;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.about-text p strong {
    color: var(--text-main);
}

/* Experiences Section */
.experience-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.experience-card .card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--secondary-light-blue);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.experience-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.experience-card p {
    color: var(--text-muted);
}

/* 11 Pillars Section */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pillar-card {
    padding: 2.5rem 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.4s ease;
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.2), 0 0 15px rgba(249, 115, 22, 0.4);
    /* Orange Glow */
    border-color: #FF6B00;
}

.pillar-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: var(--action-blue);
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 0.3rem 1rem;
    border-radius: 4px;
    box-shadow: 0 8px 16px rgba(197, 160, 89, 0.3);
}

.pillar-card h3 {
    margin-top: 1rem;
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 0.8rem;
}

.pillar-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.pillar-speakers {
    background: #1A1A1A;
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--text-main);
    border: 1px dashed rgba(249, 115, 22, 0.2);
}

.pillar-speakers strong {
    color: var(--action-blue);
    display: block;
    margin-bottom: 0.2rem;
}

/* Expo Section */
.expo-item {
    padding: 2rem;
}

.expo-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.expo-item p {
    color: var(--text-muted);
}

/* Location/Logistics */
.logistics-card {
    padding: 2.5rem;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1A1A1A;
    color: var(--action-blue);
    font-weight: 600;
    font-size: 1.2rem;
    border: 2px dashed #333333;
    border-radius: 4px;
}

/* Registration */
.spot-registration {
    padding: 2.5rem;
}

.spot-registration h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.spot-registration p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.registration-card {
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
    display: block;
    text-align: left;
}

.form-group input, .form-group select {
    width: 100%;
    box-sizing: border-box;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.2s ease;
    background-color: #1A1A1A;
    color: #FFFFFF;
}

.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FFFFFF' d='M6 8.828L1.757 4.586 3.172 3.172 6 6l2.828-2.828 1.414 1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group.half {
    flex: 1;
}

.form-group input::placeholder {
    color: #666666;
}

.form-group select:invalid {
    color: #666666;
}

.form-group select option {
    color: #FFFFFF;
    background-color: #1A1A1A;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: #FF6B00 !important;
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.25) !important;
    background-color: #111111 !important;
}

.form-row-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-row-inline .form-group {
    margin-bottom: 0;
}

.registration-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 4rem !important;
}

.registration-row > div {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.full-width {
    width: 100%;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.terms-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 1rem;
}

/* Digital Pass Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex !important;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-main);
    transition: color 0.2s;
}

.close-modal:hover {
    color: var(--action-blue);
}

/* Extended Footer */
.footer {
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem 0;
    margin-top: 4rem;
}

.dark-footer {
    background: #1A1A1A;
    border-top: none;
    color: #FFFFFF;
}

.dark-footer h1,
.dark-footer h2,
.dark-footer h3,
.dark-footer h4,
.dark-footer p,
.dark-footer span {
    color: #FFFFFF !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 4rem;
}

.dark-footer .footer-grid {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p,
.text-muted-dark {
    font-size: 0.95rem;
    color: var(--text-muted-dark);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-block;
    color: var(--action-blue);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    background: var(--bg-white);
    padding: 0.4rem 1rem;
    border-radius: 4px;
}

.dark-social a {
    background: rgba(255, 255, 255, 0.05);
    color: var(--bg-white);
}

.footer-links-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.footer-links-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.dark-footer .footer-links-col a {
    color: var(--text-muted-dark);
}

.footer-links-col a:hover {
    color: var(--action-blue);
}

.dark-footer .footer-links-col a:hover {
    color: var(--bg-white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.btn-icon {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    width: 44px;
    height: 44px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-main);
    transition: var(--transition-smooth);
}

.dark-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--bg-white);
    border-color: rgba(255, 255, 255, 0.1);
}

.btn-icon:hover {
    background: var(--action-blue);
    color: var(--bg-white);
    border-color: var(--action-blue);
}

/* Details Modals Utilities */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

/* Responsive adjustments */
.mobile-motto {
    display: none;
}

@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .grids-3 {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .nav {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 1.5rem;
        padding-top: 1.5rem;
    }

    .nav-active {
        display: flex !important;
    }

    .mobile-menu-toggle {
        display: block !important;
    }

    .header {
        flex-wrap: wrap;
    }

    .hero-actions {
        flex-direction: column;
    }
}

@media (max-width: 768px) {

    .hero-interface-img {
        max-width: 55%;
        margin: 1rem auto;
    }

    .mobile-motto {
        display: block !important;
        width: 85%;
        height: auto !important;
        margin: 0 auto 1.5rem auto !important;
    }

    .desktop-motto {
        display: none !important;
    }

    .grids-2,
    .grids-3,
    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .brochure-container {
        text-align: center;
        margin-top: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1 !important;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .hero-text-wrapper {
        align-items: center !important;
        text-align: center !important;
    }

    .hero-image-wrapper {
        margin-left: 0 !important;
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .hero-interface-img {
        transform: scale(1) !important;
        margin: 0 auto !important;
        max-width: 80% !important;
    }

    .hero-description {
        white-space: normal !important;
        max-width: 220px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hero-info-bar {
        flex-direction: column;
        gap: 1rem;
        text-align: center !important;
        align-items: center !important;
        border-radius: 20px;
        padding: 2rem;
    }

    .info-block {
        text-align: center !important;
    }

    .container {
        padding: 0 25px;
    }

    .header {
        padding: 1rem 15px;
        justify-content: space-between;
    }

    .hida-logo {
        max-height: 40px;
    }

    .header-register-btn {
        padding: 0.6rem 1.2rem !important;
        font-size: 0.9rem !important;
    }

    .hero-subtitle {
        font-size: 1.75rem !important;
        max-width: 90%;
        margin: 0 auto;
    }

    .ukaz-typo {
        width: 85vw;
        max-width: 90%;
        margin: 0 auto;
        display: block;
    }

    .section-padding {
        padding: 40px 0;
    }

    .historical-divider {
        margin: 1.5rem auto;
        /* Tighten spacer limits */
    }

    .hero-section {
        padding-top: 140px;
        padding-bottom: 40px;
    }

    .stats-bar {
        gap: 2rem 0;
    }

    .stat-item {
        flex: 1 1 45% !important;
        max-width: 50% !important;
        margin-bottom: 1rem;
    }

    .stat-number-wrapper {
        font-size: 2.5rem !important;
    }

    .stat-label {
        font-size: 0.85rem !important;
    }

    .spot-registration, 
    .registration-card {
        padding: 1.5rem !important;
    }

    .form-row-inline {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

/* Modal from before */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.digital-pass-card {
    width: 100%;
    max-width: 400px;
    padding: 2.5rem;
    position: relative;
    transform: scale(0.9);
    border: 2px solid var(--secondary-light-blue);
    background: var(--bg-white);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .digital-pass-card {
    transform: scale(1);
    box-shadow: 0 40px 80px rgba(0, 122, 255, 0.15);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
}

.pass-header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 1.5rem;
}

.pass-title {
    font-weight: 700;
    color: var(--action-blue);
    letter-spacing: 0.1em;
}

.pass-row {
    margin-bottom: 1.5rem;
}

.pass-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.pass-value {
    font-weight: 600;
    font-size: 1.2rem;
}

.barcode-mockup {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--border-color);
    display: flex;
    justify-content: center;
}

.barcode-bars {
    height: 60px;
    width: 100%;
    background: repeating-linear-gradient(90deg, #1D1D1F, #1D1D1F 2px, transparent 2px, transparent 5px, #1D1D1F 5px, #1D1D1F 8px, transparent 8px, transparent 10px);
}

.pass-footer-text {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
}

/* Typographic Social Buttons */
.social-links-text {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-links-text a {
    color: var(--bg-white);
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

.social-links-text a:hover {
    color: var(--antiquity-gold);
    transform: translateY(-2px);
}

/* Conclave Refinement Utilities */
:root {
    --bg-cream: #000000;
}

.bg-cream {
    background-color: var(--bg-cream) !important;
}

.hidden-session {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.social-text-link {
    color: var(--main-teal);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-underline-offset: 4px;
}

.social-text-link:hover {
    text-decoration: underline;
    color: var(--antiquity-gold);
}

.hida-logo {
    filter: brightness(0) invert(1);
}

.hero-interface-img {
    box-shadow: none !important;
}

/* Ambient Background System */
.ambient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -10;
    pointer-events: none;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    background: radial-gradient(circle, #FF6B00 0%, transparent 70%);
    animation: floatBlob 25s infinite alternate ease-in-out;
}

.blob-1 {
    width: 600px;
    height: 600px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 800px;
    height: 800px;
    bottom: -200px;
    right: -100px;
    animation-delay: -5s;
    animation-duration: 30s;
}

.blob-3 {
    width: 500px;
    height: 500px;
    top: 40%;
    left: 40%;
    animation-delay: -10s;
    animation-duration: 22s;
}

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(100px, -50px) scale(1.1); }
    66% { transform: translate(-50px, 100px) scale(0.9); }
    100% { transform: translate(50px, 50px) scale(1); }
}
/* Mobile Overrides & Proportion Refinements */
@media (max-width: 768px) {
    .hero-subtitle + p {
        font-size: 1.1rem !important;
        line-height: 1.5 !important;
    }
    
    .hero-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        gap: 1rem !important;
        padding: 0 1.5rem !important;
        box-sizing: border-box !important;
    }

    .hero-actions .btn-solid-blue, 
    .hero-actions .btn-outline {
        padding: 10px 16px !important;
        font-size: 0.85rem !important;
        border-radius: 8px !important;
        width: 75% !important;
        max-width: 260px !important;
        display: block !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 768px) {
    .footer .container {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 2rem 1rem !important;
    }
    .footer-col {
        display: flex;
        flex-direction: column;
    }
    .brand-col {
        grid-column: 1 / -1; /* Full width top */
        align-items: center !important;
        text-align: center !important;
    }
    .brand-col > div {
        justify-content: center !important;
    }
    .nav-col {
        align-items: flex-start !important;
        text-align: left !important;
    }
    .nav-col h4, .contact-col h4 {
        margin-bottom: 1rem !important;
        font-size: 1.1rem !important;
    }
    .nav-col a {
        font-size: 0.85rem !important;
    }
    .contact-col {
        align-items: flex-start !important;
        text-align: left !important;
    }
    .contact-col p {
        font-size: 0.8rem !important;
        margin-bottom: 0.25rem !important;
    }
    .footer-social-links {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
        margin-top: 0.5rem;
    }
    .footer-social-links a {
        font-size: 0.85rem !important;
    }
    .footer-bottom .container {
        display: flex !important;
        justify-content: center !important;
        flex-direction: column !important;
        text-align: center;
        gap: 0.5rem !important;
    }
}

@media (max-width: 768px) {
    .desktop-social-links {
        display: none !important;
    }
    .mobile-social-links {
        display: flex !important;
        margin-top: 1.5rem !important;
    }
}


/* --- HERO SECTION STRUCTURAL OVERHAUL --- */
.hero-split {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 4rem;
    margin-bottom: 3rem;
}

.hero-text-panel {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: 24px;
    padding: 40px;
    text-align: left;
}

.hero-image-panel {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.hero-image-panel img {
    max-width: 100%;
    height: auto;
    box-shadow: none !important;
}

@media (max-width: 768px) {
    .hero-split {
        flex-direction: column-reverse !important;
        gap: 2rem;
    }
    .hero-text-panel {
        padding: 24px !important;
    }
}


/* --- HERO ENERGY FIELD --- */
.hero-image-wrapper {
    position: relative;
}

.hero-image-wrapper::before {
    content: "";
    position: absolute;
    top: -10%;
    left: -10%;
    right: -10%;
    bottom: -10%;
    background: radial-gradient(circle at center, rgba(255, 107, 0, 0.45) 0%, rgba(255, 107, 0, 0) 80%);
    filter: blur(50px);
    z-index: 0;
    animation: energyFlow 8s ease-in-out infinite;
    pointer-events: none;
}

.hero-interface-img {
    position: relative;
    z-index: 1;
}

@keyframes energyFlow {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(15%, -15%) scale(1.2); }
    66% { transform: translate(-15%, 15%) scale(0.85); }
    100% { transform: translate(0, 0) scale(1); }
}


/* Hero Animations */
@keyframes glideFadeUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes glideFadeLeft {
    0% { opacity: 0; transform: translateX(-40px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes glideFadeRight {
    0% { opacity: 0; transform: translateX(40px); }
    100% { opacity: 1; transform: translateX(0); }
}

.hero-animate-up, .hero-animate-left, .hero-animate-right {
    opacity: 0;
}

.hero-animate-up.visible {
    animation: glideFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-animate-left.visible {
    animation: glideFadeLeft 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-animate-right.visible {
    animation: glideFadeRight 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-animate-left.delay-1.visible,
.hero-animate-up.delay-1.visible,
.hero-animate-right.delay-1.visible {
    animation-delay: 0.2s;
}

.hero-animate-left.delay-2.visible,
.hero-animate-up.delay-2.visible,
.hero-animate-right.delay-2.visible {
    animation-delay: 0.4s;
}


/* Spotlight Effect */
.interactive-card {
    position: relative;
}

.interactive-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255, 107, 0, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

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

@keyframes bounceInGlow {
    0% { transform: scale(0.5); opacity: 0; filter: drop-shadow(0 0 0px #FF6B00); }
    60% { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 0 10px #FF6B00); }
    100% { transform: scale(1); opacity: 1; filter: drop-shadow(0 0 5px #FF6B00); }
}

.success-icon-bounce {
    animation: bounceInGlow 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Mobile Registration Alignment Reconstruction */
@media (max-width: 767px) {
    #register .grids-2,
    #register .registration-row {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 1.5rem !important;
    }

    #register .spot-registration,
    #register .registration-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        box-sizing: border-box !important;
        padding: 1.5rem !important;
    }

    #register .form-group label {
        display: block !important;
        width: 100% !important;
        margin-bottom: 0.8rem !important;
        text-align: left !important;
    }

    #register .form-group input,
    #register .form-group select {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Special Feature Card Layout Adjustments */
.special-feature-card {
    grid-column: span 3;
}

@media (max-width: 1024px) {
    .special-feature-card {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .special-feature-card {
        grid-column: span 1;
    }
}

/* Instagram Live Gallery */
#instagram-gallery {
    background: #000000 !important;
}

#instagram-feed {
    width: 100%;
    min-height: 400px; /* Reserves clean visual space for the gallery grid */
    background: #050505;
    border: 1px dashed rgba(255, 107, 0, 0.2); /* Clean, low-contrast placeholder edge */
    border-radius: 8px;
}

.gallery-crop-box {
    position: relative;
    width: 100%;
    border: 1px solid rgba(255, 107, 0, 0.15);
    border-radius: 8px;
    background: #000000;
}

/* Desktop Precision Lock */
@media (min-width: 768px) {
    .gallery-crop-box {
        max-height: 360px; /* Precision cut to only display the top row */
        overflow: hidden; /* Drops any partially cut-off bottom elements */
    }
    .gallery-crop-box behold-widget {
        transform: scale(1.02); /* Slight zoom pushes the watermark past the safe container lip */
        margin-bottom: -45px; /* Compresses the bottom boundary where the logo anchors */
    }
}

/* Mobile Overrides & Responsive Viewport Alignment */
@media (max-width: 767px) {
    #instagram-gallery {
        width: 100% !important;
        display: block !important;
        margin: 0 auto !important;
        padding-left: 0px !important;
        padding-right: 0px !important;
        padding-bottom: 2.5rem !important; /* Elegant breathing space beneath the stream */
        margin-bottom: 1rem !important;
    }

    .gallery-crop-box {
        min-height: unset !important;
        height: auto !important;
        max-height: none !important;
        width: 100% !important;
        display: block !important;
        margin: 0 auto !important;
        margin-bottom: 1.5rem !important;
        border-left: none !important;  /* Cleans up outer borders for edge-to-edge flow */
        border-right: none !important;
        border-radius: 0px !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    #instagram-feed {
        min-height: unset !important;
        height: auto !important;
    }

    .gallery-crop-box behold-widget {
        width: 100% !important;
        display: block !important;
        transform: none !important;
        margin-bottom: 0 !important;
    }
}

/* Registration Closed Styling */
.registration-closed-card {
    text-align: center;
    padding: 3rem 2rem;
    background: #000000;
    border: 2px solid #FF6B00; /* Signature accent border */
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}
.closure-badge {
    display: inline-block;
    background: rgba(255, 107, 0, 0.15);
    color: #FF6B00;
    padding: 0.4rem 1rem;
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 107, 0, 0.3);
}
.registration-closed-card h2 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1rem;
}
.registration-closed-card p {
    color: #a0a0a0;
    line-height: 1.6;
    font-size: 1.05rem;
}


