/* Premium & Responsive Styling System for TEDx Event Platform */
:root {
    --primary-red: #e62b1e;
    --primary-red-glow: rgba(230, 43, 30, 0.45);
    --bg-black: #050505;
    --bg-card: rgba(18, 18, 18, 0.75);
    --text-white: #ffffff;
    --text-gray: #a8a8a8;
    --border-color: rgba(230, 43, 30, 0.15);
    --border-hover: rgba(230, 43, 30, 0.6);
    --font-main: 'Outfit', sans-serif;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Core defaults */
html,
body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: var(--font-main);
    line-height: 1.6;
}

/* Particles Backdrop */
.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(230, 43, 30, 0.35);
    border-radius: 50%;
    pointer-events: none;
    animation: floatUp 20s infinite linear;
}

/* Containers & Structures */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

.section-padding {
    padding: clamp(3rem, 8vw, 6rem) 2rem;
    box-sizing: border-box;
}

.section-subtitle {
    color: var(--primary-red);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 2.5rem;
}

/* Buttons styling */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--text-white);
    border: none;
    box-shadow: 0 4px 15px var(--primary-red-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 43, 30, 0.7);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-white);
    border: 1.5px solid var(--primary-red);
}

.btn-outline:hover {
    background-color: var(--primary-red);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--primary-red-glow);
}

/* Glowing blobbies */
.neon-glow {
    position: absolute;
    pointer-events: none;
    filter: blur(130px);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.55;
}

/* Navigation Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    background-color: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-red);
    text-decoration: none;
    display: flex;
    align-items: center;
    letter-spacing: -1px;
}

.logo span {
    color: var(--text-white);
}

.logo-x {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 800;
    margin-left: 2px;
    color: var(--primary-red);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-white);
}

.menu-toggle {
    display: none;
    color: var(--text-white);
    font-size: 1.4rem;
    cursor: pointer;
}

.lang-switch-btn {
    background: transparent;
    color: var(--text-white);
    border: 1.5px solid var(--primary-red);
    padding: 0.35rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lang-switch-btn:hover {
    background-color: var(--primary-red);
    box-shadow: 0 4px 12px var(--primary-red-glow);
}

/* Hero Landing Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 130px;
    padding-bottom: clamp(60px, 10vh, 120px);
    overflow: hidden;
}

.hero-bg-flowers {
    position: absolute;
    right: -2%;
    top: 50%;
    transform: translateY(-50%);
    width: 55%;
    height: 85%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    overflow: visible;
}

html[dir="rtl"] .hero-bg-flowers {
    right: auto;
    left: -2%;
    transform: translateY(-50%) scaleX(-1);
}

.hero-flower-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 500px;
    max-height: 500px;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Three.js canvas fills the hero-flower-wrap div, sits behind CSS rings */
.hero-flower-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero-flower-canvas canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none;
}

@keyframes flowerFloat {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-18px) scale(1.02);
    }
}

.flower-circle-glow {
    position: absolute;
    width: min(560px, 85vw);
    height: min(560px, 85vw);
    max-width: 560px;
    max-height: 560px;
    border-radius: 50%;
    border: 2px solid var(--primary-red);
    box-shadow: 0 0 50px rgba(230, 43, 30, 0.25), inset 0 0 50px rgba(230, 43, 30, 0.25);
    animation: rotateSwirl 25s linear infinite;
    z-index: 1;
    pointer-events: none;
}

.flower-circle-glow:nth-child(2) {
    width: min(480px, 75vw);
    height: min(480px, 75vw);
    max-width: 480px;
    max-height: 480px;
    border-style: dashed;
    animation: rotateSwirlReverse 35s linear infinite;
}

.flower-graphic {
    width: 100%;
    height: 100%;
    max-width: 500px;
    background: radial-gradient(circle, rgba(230, 43, 30, 0.22) 0%, rgba(5, 5, 5, 0) 75%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.flower-vector {
    position: relative;
    width: 280px;
    height: 280px;
    filter: drop-shadow(0 0 30px rgba(230, 43, 30, 0.85));
}

.flower-petal {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 95px;
    height: 165px;
    background: linear-gradient(180deg, #23012b 0%, #0d0011 75%, #ff2b20 100%);
    border-radius: 50% 50% 40% 40%;
    transform-origin: top center;
    border: 1px solid rgba(230, 43, 30, 0.35);
    mix-blend-mode: screen;
}

.flower-petal:nth-child(1) {
    transform: translate(-50%, -100%) rotate(0deg);
}

.flower-petal:nth-child(2) {
    transform: translate(-50%, -100%) rotate(60deg);
}

.flower-petal:nth-child(3) {
    transform: translate(-50%, -100%) rotate(120deg);
}

.flower-petal:nth-child(4) {
    transform: translate(-50%, -100%) rotate(180deg);
}

.flower-petal:nth-child(5) {
    transform: translate(-50%, -100%) rotate(240deg);
}

.flower-petal:nth-child(6) {
    transform: translate(-50%, -100%) rotate(300deg);
}

.flower-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #ffcbd1 10%, #e62b1e 65%, transparent 100%);
    border-radius: 50%;
    box-shadow: 0 0 40px #ff2b20;
    animation: pulseGlow 4s ease-in-out infinite;
}

.swirl-ring {
    position: absolute;
    border-radius: 50%;
    border-left: 3px solid var(--primary-red);
    border-right: 1.5px solid transparent;
    border-top: 2px solid var(--primary-red);
    border-bottom: 1.5px solid transparent;
    box-shadow: 0 0 20px rgba(230, 43, 30, 0.5), 0 0 40px rgba(230, 43, 30, 0.2);
    pointer-events: none;
    z-index: 3;
}

.ring-1 {
    width: clamp(400px, 55vw, 640px);
    height: clamp(200px, 28vw, 320px);
    transform: rotate(30deg);
    animation: swirlAround 15s linear infinite;
}

.ring-2 {
    width: clamp(340px, 48vw, 560px);
    height: clamp(160px, 22vw, 270px);
    transform: rotate(-25deg);
    animation: swirlAroundReverse 20s linear infinite;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 620px;
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-title .magic-text {
    color: var(--primary-red);
    background: linear-gradient(135deg, #ffffff 10%, #ff2b20 50%, #8b0000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
    animation: magicTextGlow 3s ease-in-out infinite;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.hero-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-info-icon {
    font-size: 1.8rem;
    color: var(--primary-red);
    filter: drop-shadow(0 0 5px var(--primary-red-glow));
}

.hero-info-text h4 {
    font-size: 1rem;
    font-weight: 600;
}

.hero-info-text p {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}


/* RTL Layout Adjustments */
[dir="rtl"] .team-section-header {
    justify-content: space-between;
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .hero-info-grid,
[dir="rtl"] .hero-buttons,
[dir="rtl"] .speakers-grid,
[dir="rtl"] .agenda-timeline-container {
    direction: rtl;
}

[dir="rtl"] .hero-info-item {
    justify-content: flex-end;
}

[dir="rtl"] .hero-buttons a {
    margin-left: 0.5rem;
    margin-right: 0;
}

[dir="rtl"] .hero-buttons a:first-child {
    margin-right: 0.5rem;
    margin-left: 0;
}

/* Ensure consistent horizontal padding for sections */
.section-padding {
    padding-left: 2rem;
    padding-right: 2rem;
}

.countdown-wrapper {
    position: relative;
    margin-top: 3.5rem;
    width: 100%;
    max-width: 1140px;
    z-index: 20;
    pointer-events: none;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.countdown-bar {
    background: rgba(10, 10, 10, 0.78);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    backdrop-filter: blur(25px);
    padding: 1.5rem 2.5rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    pointer-events: auto;
}

.countdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.countdown-icon {
    font-size: 1.8rem;
    color: var(--primary-red);
}

.countdown-number {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}

.countdown-label {
    font-size: 0.8rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Speakers Section Grid (Responsive Auto-fit) */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.speaker-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    padding: 2rem 1.8rem;
    position: relative;
    transition: var(--transition-smooth);
    cursor: pointer;
    height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    backdrop-filter: blur(10px);
}

.speaker-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(230, 43, 30, 0.15) 0%, transparent 65%);
    opacity: 0.5;
    transition: var(--transition-smooth);
    z-index: 0;
}

.speaker-card-glow {
    position: absolute;
    top: 25%;
    left: 20%;
    width: 10px;
    height: 10px;
    background: #ff2b20;
    border-radius: 50%;
    box-shadow: 0 0 25px 12px #ff2b20;
    opacity: 0.5;
    transition: var(--transition-smooth);
}

.speaker-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(180deg, rgba(230, 43, 30, 0.05) 0%, rgba(0, 0, 0, 0) 80%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.speaker-image-placeholder.has-img {
    background: transparent;
    padding: 1.5rem;
}

.speaker-card-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(230, 43, 30, 0.4);
    box-shadow: 0 0 25px rgba(230, 43, 30, 0.35);
    transition: var(--transition-smooth);
}

.speaker-card:hover .speaker-card-img {
    transform: scale(1.08);
    border-color: var(--primary-red);
    box-shadow: 0 0 35px rgba(230, 43, 30, 0.6);
}

.speaker-image-placeholder i {
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.03);
    transition: var(--transition-smooth);
}

.speaker-info {
    position: relative;
    z-index: 10;
}

.speaker-name {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    transition: var(--transition-smooth);
}

.speaker-designation {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 1.2rem;
}

.speaker-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 35px rgba(230, 43, 30, 0.25);
}

.speaker-card:hover .speaker-card-glow {
    transform: scale(1.8);
    box-shadow: 0 0 45px 20px #ff2b20;
    opacity: 0.9;
}

.speaker-card:hover .speaker-image-placeholder i {
    color: rgba(230, 43, 30, 0.1);
    transform: scale(1.1);
}

.speaker-card:hover .speaker-name {
    color: var(--primary-red);
}

/* Experience & Pedestal graphics section */
.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.exp-title-bold {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.exp-title-bold span {
    color: var(--primary-red);
    text-shadow: 0 0 20px var(--primary-red-glow);
}

.exp-graphics-container {
    position: relative;
    height: 440px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stage-3d-box {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat-cards-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.stat-cards-wrapper .stat-card {
    pointer-events: auto;
}

.pedestal {
    position: absolute;
    bottom: 30px;
    width: 260px;
    height: 28px;
    background: linear-gradient(90deg, #0a0a0a 0%, #2a2a2a 35%, #3a3a3a 50%, #2a2a2a 65%, #0a0a0a 100%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.9),
        0 0 40px rgba(230, 43, 30, 0.4),
        inset 0 1px 3px rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.pedestal-ring {
    position: absolute;
    bottom: 42px;
    width: 220px;
    height: 22px;
    background: transparent;
    border-radius: 50%;
    border: 2px solid var(--primary-red);
    box-shadow: 0 0 20px var(--primary-red), 0 0 40px rgba(230, 43, 30, 0.4);
    z-index: 2;
    filter: blur(0.5px);
}

.pedestal-light {
    position: absolute;
    bottom: 40px;
    width: 180px;
    height: 140px;
    background: radial-gradient(ellipse at bottom, rgba(230, 43, 30, 0.5) 0%, rgba(200, 30, 10, 0.2) 40%, transparent 75%);
    z-index: 3;
    pointer-events: none;
}

.glowing-x-3d {
    position: absolute;
    width: 160px;
    height: 230px;
    bottom: 60px;
    transform-style: preserve-3d;
    animation: rotate3dX 10s linear infinite;
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
}

.x-bar {
    position: absolute;
    width: 50px;
    height: 240px;
    background: linear-gradient(135deg,
            rgba(255, 80, 60, 0.8) 0%,
            rgba(230, 43, 30, 1) 25%,
            rgba(180, 10, 0, 0.95) 60%,
            rgba(100, 0, 0, 0.9) 100%);
    border-radius: 12px;
    box-shadow:
        0 0 40px rgba(230, 43, 30, 0.9),
        0 0 80px rgba(230, 43, 30, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.2),
        inset 2px 0 8px rgba(255, 200, 200, 0.15);
    border: 1px solid rgba(255, 150, 130, 0.3);
}

.x-bar::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 8px;
    right: 50%;
    bottom: 10px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0%, transparent 100%);
    border-radius: 8px 0 0 8px;
}

.x-bar-1 {
    transform: rotate(35deg);
}

.x-bar-2 {
    transform: rotate(-35deg);
}

.stat-card {
    position: absolute;
    background: rgba(18, 18, 18, 0.85);
    border: 1px solid var(--border-color);
    padding: 1.1rem 1.4rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(15px);
    z-index: 10;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
    width: 200px;
}

.stat-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-4px) scale(1.03);
}

.stat-card i {
    font-size: 1.6rem;
    color: var(--primary-red);
}

.stat-num {
    font-size: 1.3rem;
    font-weight: 800;
}

.stat-lbl {
    font-size: 0.75rem;
    color: var(--text-gray);
}

.sc-1 {
    top: 30px;
    left: -20px;
}

.sc-2 {
    bottom: 80px;
    left: -20px;
}

.sc-3 {
    top: 30px;
    right: -20px;
}

.sc-4 {
    bottom: 80px;
    right: -20px;
}

/* Timeline agenda track */
.agenda-timeline-container {
    position: relative;
    margin: 3rem 0;
    overflow-x: auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 1900px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red) 0%, rgba(230, 43, 30, 0.15) 100%);
    z-index: 1;
    transform: translateY(-50%);
}

.timeline-track {
    display: flex;
    gap: 2rem;
    position: relative;
    z-index: 2;
    width: max-content;
    padding: 0 1.5rem;
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    width: 200px;
    border-radius: 14px;
    padding: 1.5rem 1.2rem;
    text-align: center;
    position: relative;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    background: var(--text-white);
    border: 3px solid var(--primary-red);
    border-radius: 50%;
    margin: 1.5rem auto;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
    transition: var(--transition-smooth);
}

.timeline-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
    background: rgba(25, 10, 10, 0.4);
}

.timeline-card:hover .timeline-dot {
    background: var(--primary-red);
    border-color: var(--text-white);
    transform: scale(1.3);
    box-shadow: 0 0 15px var(--primary-red);
}

.timeline-card i {
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 0.8rem;
}

.timeline-time {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 0.95rem;
    font-weight: 600;
}

/* Sponsors styling */
.sponsors-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.sponsor-tier-row {
    background: rgba(18, 18, 18, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 2rem 3rem;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.sponsor-tier-row:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.tier-label {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    width: 200px;
    flex-shrink: 0;
}

.tier-platinum {
    color: #f39c12;
}

.tier-diamond {
    color: #5dade2;
}

.sponsor-logos {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.sponsor-logo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-white);
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.sponsor-logo-item i {
    font-size: 1.8rem;
    color: var(--primary-red);
}

.sponsor-logo-img {
    max-height: 48px;
    max-width: 130px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
    transition: var(--transition-smooth);
}

.sponsor-logo-item:hover {
    opacity: 1;
    transform: scale(1.05);
}

.sponsor-logo-item:hover .sponsor-logo-img {
    filter: drop-shadow(0 0 12px var(--primary-red-glow));
}

.sponsor-logo-desc {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-gray);
    display: block;
}

/* Organizing Team Committee Box layouts */
.team-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.team-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.team-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
    width: 100%;
}

.team-section-title {
    font-size: clamp(1.15rem, 4vw, 1.7rem);
    font-weight: 800;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
    flex: 1 1 auto;
    min-width: 0;
}

.carousel-arrows {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.carousel-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-white);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.carousel-arrow:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
    background: rgba(230, 43, 30, 0.05);
}

.team-carousel-outer {
    overflow: hidden;
    width: 100%;
}

.team-carousel-inner {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Universal Bottom Slider Controls */
.slider-bottom-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 1.8rem;
    width: 100%;
}

.slider-arrow-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-white);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.slider-arrow-btn:hover {
    border-color: var(--primary-red);
    color: var(--text-white);
    background: var(--primary-red);
    box-shadow: 0 0 20px rgba(230, 43, 30, 0.6);
    transform: scale(1.08);
}

.slider-arrow-btn:active {
    transform: scale(0.95);
}

.slider-track-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 6px;
}

.slider-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.slider-dot.active {
    width: 26px;
    border-radius: 12px;
    background: var(--primary-red);
    box-shadow: 0 0 12px rgba(230, 43, 30, 0.7);
}

/* RTL overrides for arrows */
[dir="rtl"] .slider-arrow-btn.prev-btn i {
    transform: scaleX(-1);
}

[dir="rtl"] .slider-arrow-btn.next-btn i {
    transform: scaleX(-1);
}

.team-card {
    background: rgba(15, 15, 15, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.2rem 1.5rem;
    text-align: center;
    min-width: calc(50% - 0.75rem);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.team-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-6px);
    background: rgba(25, 15, 15, 0.5);
}

.team-avatar-placeholder {
    width: 100%;
    height: 240px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(230, 43, 30, 0.15), rgba(0, 0, 0, 0.6));
    margin: 0 auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.team-avatar-placeholder.has-img {
    background: transparent;
    padding: 0;
}

.team-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.team-card:hover .team-avatar-img {
    transform: scale(1.05);
}

.team-card:hover .team-avatar-placeholder {
    border-color: var(--primary-red);
    box-shadow: 0 0 15px var(--primary-red-glow);
}

.team-avatar-placeholder i {
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
}

.team-card:hover .team-avatar-placeholder i {
    color: var(--primary-red);
}

.team-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.team-designation {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.team-socials {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
}

.team-socials a {
    color: var(--text-gray);
    font-size: 1.15rem;
    transition: var(--transition-smooth);
}

.team-socials a:hover {
    color: var(--primary-red);
    transform: translateY(-2px);
}

/* Reservation Portal graphics */
.portal-wrapper {
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

.portal-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    height: 440px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.portal-3d-canvas-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 900px;
    height: 480px;
    z-index: 1;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.portal-3d-canvas-wrapper canvas,
.hero-bg-flowers canvas {
    display: block;
    max-width: 100%;
    pointer-events: none;
}

.neon-portal {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(10, 5, 5, 0.4) 30%, rgba(200, 30, 20, 0.15) 70%, rgba(255, 43, 30, 0.3) 100%);
    border: 5px solid #ff2b20;
    box-shadow:
        0 0 15px rgba(255, 43, 32, 0.9),
        0 0 40px rgba(230, 43, 30, 0.8),
        0 0 80px rgba(180, 20, 10, 0.6),
        inset 0 0 40px rgba(255, 43, 30, 0.8),
        inset 0 0 100px rgba(150, 10, 0, 0.5);
    z-index: 1;
    animation: rotateSwirl 25s linear infinite, neonPulse 3s infinite alternate;
}

@keyframes neonPulse {
    0% {
        filter: brightness(1);
    }

    100% {
        filter: brightness(1.3);
    }
}

.portal-bg-circles {
    position: absolute;
    width: 550px;
    height: 550px;
    border: 1px solid rgba(230, 43, 30, 0.12);
    border-radius: 50%;
    z-index: 0;
}

.portal-bg-circles::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 1px dashed rgba(230, 43, 30, 0.08);
    border-radius: 50%;
    animation: rotateSwirlReverse 40s linear infinite;
}

.portal-flower-pot {
    position: absolute;
    bottom: -60px;
    z-index: 4;
    width: 280px;
    height: 520px;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

/* Canvas 2D portal flower fills the pot container */
.portal-flower-canvas {
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: transparent;
    border-radius: 8px;
}

.portal-flower-mirror {
    transform: scaleX(-1);
}

.portal-smoke {
    position: absolute;
    bottom: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(180, 10, 0, 0.35) 0%, transparent 70%);
    filter: blur(18px);
    animation: smokePulse 3s ease-in-out infinite;
}

.portal-smoke-left {
    left: 30%;
}

.portal-smoke-right {
    right: 30%;
}

@keyframes smokePulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1) translateY(0);
    }

    50% {
        opacity: 1;
        transform: scale(1.3) translateY(-10px);
    }
}

.pf-left {
    left: -60px;
}

.pf-right {
    right: -60px;
}

.pot-graphic {
    width: 70px;
    height: 60px;
    background: linear-gradient(135deg, #050505, #111);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px 12px 50% 50%;
    margin: 0 auto;
    position: absolute;
    bottom: 0;
    left: calc(50% - 35px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.9), inset 0 2px 5px rgba(255, 255, 255, 0.05);
}

.plant-graphic {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    height: 300px;
    background: radial-gradient(circle at center bottom, rgba(139, 0, 0, 0.25), transparent 70%);
}

.plant-leaf {
    position: absolute;
    width: 25px;
    height: 80px;
    background: linear-gradient(to top, #0a0010, #300040 60%, #1a0020);
    border-radius: 50% 50% 10% 10%;
    transform-origin: bottom center;
    opacity: 0.95;
    filter: drop-shadow(0 0 12px rgba(230, 43, 30, 0.4));
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
}

.plant-leaf:nth-child(1) {
    transform: rotate(-35deg);
    bottom: 10px;
    left: 60px;
    height: 130px;
    width: 30px;
}

.plant-leaf:nth-child(2) {
    transform: rotate(35deg);
    bottom: 10px;
    right: 60px;
    height: 130px;
    width: 30px;
}

.plant-leaf:nth-child(3) {
    transform: rotate(-55deg);
    bottom: 25px;
    left: 40px;
    height: 100px;
}

.plant-leaf:nth-child(4) {
    transform: rotate(55deg);
    bottom: 25px;
    right: 40px;
    height: 100px;
}

.plant-leaf:nth-child(5) {
    transform: rotate(-10deg);
    bottom: 30px;
    left: 85px;
    height: 160px;
    width: 35px;
}

/* 3D Pedestal */
.portal-pedestal {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 550px;
    height: 50px;
    background: radial-gradient(ellipse at top, rgba(200, 30, 20, 0.8) 0%, rgba(20, 5, 5, 1) 70%, #000 100%);
    border-radius: 50%;
    z-index: 2;
    box-shadow:
        0 -15px 40px rgba(255, 43, 30, 0.4),
        0 20px 40px rgba(0, 0, 0, 0.9);
    border-top: 2px solid rgba(255, 100, 100, 0.3);
}

.portal-content {
    position: relative;
    z-index: 5;
    max-width: 550px;
    padding: 2rem;
}

.portal-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    color: #ffffff;
    text-shadow: 0 5px 25px rgba(0, 0, 0, 0.9), 0 2px 5px rgba(255, 43, 30, 0.8);
    letter-spacing: 1px;
}

.portal-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
    font-weight: 400;
    line-height: 1.6;
}

/* Dedicated Content Styles for separate pages */
.themed-section {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
}

.themed-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.themed-card {
    background: rgba(20, 20, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.themed-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
    background: rgba(30, 10, 10, 0.2);
}

.themed-card i {
    font-size: 2.2rem;
    color: var(--primary-red);
    margin-bottom: 1.2rem;
}

.themed-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.themed-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.tickets-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.pricing-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.pricing-card {
    background: rgba(18, 18, 18, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.pricing-card:hover {
    border-color: var(--primary-red);
    background: rgba(25, 10, 10, 0.3);
    transform: translateY(-3px);
}

.pricing-details h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.pricing-details p {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.pricing-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-red);
}

.booking-card {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: clamp(2rem, 5vw, 3rem);
    box-shadow: 0 20px 45px rgba(230, 43, 30, 0.15);
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-white);
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.85rem 1.1rem;
    color: var(--text-white);
    font-family: var(--font-main);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-red);
    background: rgba(230, 43, 30, 0.04);
    box-shadow: 0 0 0 3px rgba(230, 43, 30, 0.12);
}

.form-group select option {
    background: #111;
    color: var(--text-white);
}

.total-price-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(230, 43, 30, 0.08);
    border: 1px solid rgba(230, 43, 30, 0.3);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    font-weight: 600;
}

.total-price-val {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-red);
}

/* Footer Section */
footer {
    border-top: 1px solid rgba(230, 43, 30, 0.1);
    padding: 3.5rem 0 2.5rem 0;
    background-color: #030303;
    margin-top: 5rem;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo-area {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 320px;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.footer-copyright {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.footer-socials {
    display: flex;
    gap: 1.2rem;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-white);
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.footer-social-link:hover {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    transform: translateY(-4px);
    box-shadow: 0 4px 12px var(--primary-red-glow);
}

/* Keyframes */
@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.3;
    }

    90% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-20vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes rotateSwirl {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotateSwirlReverse {
    0% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes swirlAround {
    0% {
        transform: rotate(30deg) translateY(0) scale(1);
    }

    50% {
        transform: rotate(210deg) translateY(15px) scale(1.05);
    }

    100% {
        transform: rotate(390deg) translateY(0) scale(1);
    }
}

@keyframes swirlAroundReverse {
    0% {
        transform: rotate(-25deg) translateY(0) scale(1);
    }

    50% {
        transform: rotate(-205deg) translateY(-15px) scale(0.96);
    }

    100% {
        transform: rotate(-385deg) translateY(0) scale(1);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 1;
    }
}

@keyframes magicTextGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 5px rgba(255, 43, 32, 0.4));
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(255, 43, 32, 0.8));
    }
}

@keyframes rotate3dX {
    0% {
        transform: rotateY(0deg) rotateX(12deg);
    }

    100% {
        transform: rotateY(360deg) rotateX(12deg);
    }
}

/* RTL Specific Overrides for proper layout directions */
html[dir="rtl"] {
    text-align: right;
}

html[dir="rtl"] .logo-x {
    margin-left: 0;
    margin-right: 2px;
}

html[dir="rtl"] .stat-card i {
    order: 2;
}

html[dir="rtl"] .stat-card div {
    order: 1;
    text-align: right;
}

html[dir="rtl"] .sc-1 {
    top: 30px;
    right: -20px;
    left: auto;
}

html[dir="rtl"] .sc-2 {
    bottom: 80px;
    right: -20px;
    left: auto;
}

html[dir="rtl"] .sc-3 {
    top: 30px;
    left: -20px;
    right: auto;
}

html[dir="rtl"] .sc-4 {
    bottom: 80px;
    left: -20px;
    right: auto;
}

/* ============================================================
   CINEMATIC 3D STORY TIMELINE SYSTEM (agenda.php)
   ============================================================ */

.story-timeline-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    position: relative;
    z-index: 5;
}

.story-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.45rem 1.2rem;
    background: rgba(230, 43, 30, 0.12);
    border: 1px solid rgba(230, 43, 30, 0.35);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ff5533;
    box-shadow: 0 0 25px rgba(230, 43, 30, 0.25);
    margin-bottom: 1.2rem;
}

.story-badge .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff2b20;
    box-shadow: 0 0 10px #ff2b20;
    animation: pulseDot 1.8s infinite ease-in-out;
}

@keyframes pulseDot {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.6);
        opacity: 0.4;
    }
}

.story-timeline-wrapper {
    position: relative;
    padding: 3rem 0;
    overflow: visible;
}

/* 3D WebGL Background Canvas Container */
.agenda-3d-bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    opacity: 0.75;
}

.story-chronicles {
    position: relative;
    z-index: 5;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

/* Center Glowing Neon Line */
.story-chronicles::before {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    background: linear-gradient(180deg,
            rgba(230, 43, 30, 0.2) 0%,
            #e62b1e 20%,
            #ff5533 50%,
            #e62b1e 80%,
            rgba(230, 43, 30, 0.1) 100%);
    box-shadow: 0 0 15px rgba(230, 43, 30, 0.6), 0 0 30px rgba(230, 43, 30, 0.3);
    z-index: 2;
}

/* Story Node Row */
.story-node {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.story-node-left {
    justify-content: flex-start;
}

.story-node-right {
    justify-content: flex-end;
}

/* Central Waypoint Beacon Dot */
.story-waypoint-beacon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #050505;
    border: 3px solid var(--primary-red);
    box-shadow: 0 0 20px #ff2b20, inset 0 0 8px #ff2b20;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.story-waypoint-beacon::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 8px #ffffff;
}

.story-node:hover .story-waypoint-beacon {
    transform: translate(-50%, -50%) scale(1.4);
    border-color: #ff5533;
    box-shadow: 0 0 35px #ff3311, inset 0 0 12px #ff3311;
}

/* Story Chapter Card */
.story-node-card {
    width: 44%;
    background: rgba(14, 14, 18, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.2rem 2.4rem;
    position: relative;
    transition: var(--transition-smooth);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
    cursor: default;
}

.story-node-card:hover {
    border-color: rgba(230, 43, 30, 0.6);
    background: rgba(22, 16, 26, 0.82);
    box-shadow: 0 20px 45px rgba(230, 43, 30, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.story-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.story-act-tag {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-red);
    background: rgba(230, 43, 30, 0.12);
    border: 1px solid rgba(230, 43, 30, 0.3);
    padding: 0.25rem 0.85rem;
    border-radius: 30px;
}

.story-time-pill {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffaa66;
    display: flex;
    align-items: center;
    gap: 6px;
}

.story-card-main {
    display: flex;
    align-items: flex-start;
    gap: 1.4rem;
}

.story-icon-holo {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(230, 43, 30, 0.25) 0%, rgba(20, 5, 25, 0.8) 100%);
    border: 1px solid rgba(230, 43, 30, 0.4);
    box-shadow: 0 8px 25px rgba(230, 43, 30, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transform: translateZ(35px);
    transition: var(--transition-smooth);
}

.story-icon-holo i {
    font-size: 1.8rem;
}

.story-node-card:hover .story-icon-holo {
    transform: translateZ(50px) scale(1.15);
    border-color: #ff5533;
    box-shadow: 0 12px 35px rgba(230, 43, 30, 0.6);
}

.story-card-details h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.35;
    margin-bottom: 0.6rem;
    transition: var(--transition-smooth);
}

.story-node-card:hover .story-card-details h3 {
    color: #ffaa88;
}

.story-card-details p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.story-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.story-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: #c0c0c0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.2rem 0.65rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.story-tag i {
    color: var(--primary-red);
    font-size: 0.75rem;
}

/* Track Pills Navigation */
.track-filter-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 10;
}

.track-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-gray);
    padding: 0.55rem 1.4rem;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.track-pill:hover,
.track-pill.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--text-white);
    box-shadow: 0 0 20px rgba(230, 43, 30, 0.5);
    transform: translateY(-2px);
}

/* RTL Support for Story Timeline */
[dir="rtl"] .story-node-left {
    justify-content: flex-end;
}

[dir="rtl"] .story-node-right {
    justify-content: flex-start;
}

[dir="rtl"] .story-time-pill {
    flex-direction: row-reverse;
}

[dir="rtl"] .story-card-details h3,
[dir="rtl"] .story-card-details p {
    text-align: right;
}

/* --- Home Page Horizontal Agenda Styles --- */
.agenda-section-container {
    margin-top: 6rem;
    position: relative;
    padding: 2rem 0;
    width: 100%;
}

.agenda-header-group {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3.5rem;
    width: 100%;
}

.timeline-track-wrapper {
    position: relative;
    padding: 2rem 0 4rem 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
}

.timeline-track-wrapper::-webkit-scrollbar {
    display: none;
}

.timeline-horizontal-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 2500px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red) 0%, rgba(230, 43, 30, 0.1) 100%);
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 2px;
}

.timeline-items-row {
    display: flex;
    gap: 3rem;
    position: relative;
    z-index: 2;
    width: max-content;
    padding: 0 1rem;
}

.timeline-card-h {
    background: var(--bg-card, rgba(18, 18, 18, 0.7));
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.8rem 1.5rem;
    width: 240px;
    text-align: center;
    position: relative;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.timeline-card-h:hover {
    transform: translateY(-8px);
    border-color: var(--primary-red);
    box-shadow: 0 12px 30px rgba(230, 43, 30, 0.25);
    background: rgba(25, 10, 10, 0.6);
}

.timeline-icon-h i {
    font-size: 2.2rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    transition: var(--transition-smooth);
}

.timeline-card-h:hover .timeline-icon-h i {
    color: var(--primary-red);
    transform: scale(1.1);
}

.timeline-dot-h {
    width: 18px;
    height: 18px;
    background: var(--text-white);
    border: 4px solid var(--primary-red);
    border-radius: 50%;
    margin: 1.5rem auto;
    box-shadow: 0 0 15px rgba(230, 43, 30, 0.6);
    transition: var(--transition-smooth);
    position: relative;
    z-index: 3;
}

.timeline-card-h:hover .timeline-dot-h {
    background: var(--primary-red);
    border-color: var(--text-white);
    transform: scale(1.3);
    box-shadow: 0 0 25px var(--primary-red);
}

.timeline-time-h {
    color: var(--primary-red);
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.timeline-title-h {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
    line-height: 1.4;
}

.agenda-btn-container {
    text-align: right;
    margin-top: 1rem;
    width: 100%;
}

[dir="rtl"] .agenda-header-group {
    flex-direction: row-reverse;
}

[dir="rtl"] .agenda-btn-container {
    text-align: left;
}

[dir="rtl"] .timeline-horizontal-line {
    left: auto;
    right: 0;
    background: linear-gradient(270deg, var(--primary-red) 0%, rgba(230, 43, 30, 0.1) 100%);
}

/* --- Themed Card Styles --- */
.themed-section {
    padding: 4rem 24px;
    box-sizing: border-box;
    width: 100%;
}

.themed-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.themed-card {
    background: var(--bg-card, rgba(18, 18, 18, 0.6));
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px var(--primary-red-glow);
}

.themed-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--primary-red-glow);
}

.themed-card i {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 0.8rem;
    transition: var(--transition-smooth);
}

.themed-card h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

[dir="rtl"] .themed-section,
[dir="rtl"] .themed-card {
    text-align: right;
}

[dir="rtl"] .themed-grid-3 {
    direction: rtl;
}

/* ============================================================
   3D ICON VIRTUALIZATION & HOLOGRAPHIC LIGHTING SYSTEM
   ============================================================ */

.speaker-card,
.stat-card,
.countdown-item,
.team-card,
.sponsor-logo-item,
.timeline-card,
.themed-card,
.hero-info-item {
    transform-style: preserve-3d;
    perspective: 1000px;
    will-change: transform;
}

.hero-info-icon,
.countdown-icon,
.stat-card i,
.speaker-image-placeholder i,
.team-avatar-placeholder i,
.sponsor-logo-item i,
.timeline-card i,
.themed-card i {
    display: inline-block;
    transform-style: preserve-3d;
    transform: translateZ(28px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.8)) drop-shadow(0 10px 22px rgba(230, 43, 30, 0.5)) drop-shadow(0 0 15px rgba(255, 80, 50, 0.55));
    background: linear-gradient(135deg, #ffffff 0%, #ff5238 35%, #e62b1e 70%, #800800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: iconFloat3D 4.5s ease-in-out infinite alternate;
}

.speaker-card:hover .speaker-image-placeholder i,
.stat-card:hover i,
.countdown-item:hover .countdown-icon,
.team-card:hover .team-avatar-placeholder i,
.sponsor-logo-item:hover i,
.timeline-card:hover i,
.themed-card:hover i {
    transform: translateZ(45px) scale(1.18);
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.9)) drop-shadow(0 15px 35px rgba(230, 43, 30, 0.8)) drop-shadow(0 0 25px rgba(255, 100, 70, 0.85));
}

@keyframes iconFloat3D {
    0% {
        transform: translateZ(24px) translateY(0px) rotateX(0deg) rotateY(0deg);
    }

    50% {
        transform: translateZ(32px) translateY(-5px) rotateX(6deg) rotateY(-6deg);
    }

    100% {
        transform: translateZ(24px) translateY(0px) rotateX(-4deg) rotateY(4deg);
    }
}

.countdown-item {
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.countdown-item:hover {
    background: rgba(230, 43, 30, 0.08);
    border-color: rgba(230, 43, 30, 0.35);
    box-shadow: 0 10px 30px rgba(230, 43, 30, 0.2);
}

.countdown-icon {
    font-size: 2.2rem;
    margin-right: 0.8rem;
    flex-shrink: 0;
}

[dir="rtl"] .countdown-icon {
    margin-right: 0;
    margin-left: 0.8rem;
}

.stat-card {
    background: rgba(18, 18, 18, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(230, 43, 30, 0.2);
    border-radius: 14px;
    padding: 1.2rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    border-color: var(--primary-red);
    box-shadow: 0 15px 40px rgba(230, 43, 30, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.stat-card i {
    font-size: 2.4rem;
}

/* ============================================================
   RESPONSIVE MEDIA QUERIES (AT VERY END OF CASCADE)
   ============================================================ */

/* 1. Desktops & Laptops (1025px - 1200px) */
@media (max-width: 1200px) {
    .exp-graphics-container {
        max-width: 460px;
    }

    .sc-1 {
        top: 20px;
        left: -10px;
    }

    .sc-2 {
        bottom: 60px;
        left: -10px;
    }

    .sc-3 {
        top: 20px;
        right: -10px;
    }

    .sc-4 {
        bottom: 60px;
        right: -10px;
    }

    html[dir="rtl"] .sc-1 {
        top: 20px;
        right: -10px;
        left: auto;
    }

    html[dir="rtl"] .sc-2 {
        bottom: 60px;
        right: -10px;
        left: auto;
    }

    html[dir="rtl"] .sc-3 {
        top: 20px;
        left: -10px;
        right: auto;
    }

    html[dir="rtl"] .sc-4 {
        bottom: 60px;
        left: -10px;
        right: auto;
    }
}

/* 2. Tablets & Small Laptops (769px - 1024px) */
@media (max-width: 1024px) {
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .exp-graphics-container {
        max-width: 500px;
        height: 420px;
        margin: 1rem auto 0 auto;
    }

    .hero-bg-flowers {
        opacity: 0.25;
        width: 70%;
    }

    .hero-flower-img {
        width: clamp(250px, 60vw, 480px);
    }

    .team-container {
        grid-template-columns: 1fr;
    }
}

/* 3. Small Tablets (769px - 900px) */
@media (max-width: 900px) {
    .hero-bg-flowers {
        opacity: 0.15;
        width: 85%;
    }

    .portal-flower-pot {
        display: none;
    }

    .story-chronicles::before {
        left: 24px;
    }

    .story-waypoint-beacon {
        left: 24px;
    }

    .story-node {
        justify-content: flex-end;
    }

    .story-node-card {
        width: calc(100% - 55px);
        padding: 1.8rem 1.5rem;
    }

    [dir="rtl"] .story-chronicles::before {
        left: auto;
        right: 24px;
    }

    [dir="rtl"] .story-waypoint-beacon {
        left: auto;
        right: 24px;
    }

    [dir="rtl"] .story-node {
        justify-content: flex-start;
    }
}

/* 4. Mobile Phones (max-width: 768px) - Full Optimization */
@media (max-width: 768px) {

    html,
    body {
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 1rem !important;
        box-sizing: border-box !important;
    }

    .section-padding {
        padding: clamp(2.2rem, 6vw, 3.5rem) 1rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    /* Main Navigation & Mobile Menu */
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 1.2rem);
        left: 0;
        right: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        padding: 1.8rem 1.2rem;
        border-radius: 0 0 16px 16px;
        border: 1px solid var(--border-color);
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.9);
        gap: 1.2rem;
        z-index: 1000;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 0.5rem 0;
        font-size: 1.05rem;
    }

    .menu-toggle {
        display: block;
    }

    /* Hero Section */
    .hero-section {
        padding-top: 100px !important;
        padding-bottom: 2.5rem !important;
        min-height: auto !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    .hero-content {
        max-width: 100% !important;
        text-align: center !important;
        margin: 0 auto !important;
    }

    .hero-title {
        font-size: clamp(1.9rem, 7.5vw, 2.7rem) !important;
        line-height: 1.25 !important;
        word-break: break-word !important;
    }

    .hero-subtitle {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.5rem !important;
    }

    .hero-info-grid {
        justify-content: center !important;
        grid-template-columns: 1fr !important;
        gap: 0.8rem !important;
        margin-left: 55px !important;
        width: 100% !important;
    }

    .hero-buttons {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 0.8rem !important;
        margin: 1.5rem 0 0 0 !important;
    }

    .hero-buttons .btn {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 0.85rem 1.2rem !important;
        box-sizing: border-box !important;
    }

    /* Floating Countdown Bar (4 items fully contained) */
    .countdown-wrapper {
        position: relative !important;
        margin: 2.2rem auto 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        display: block !important;
    }

    .countdown-bar {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.6rem !important;
        padding: 0.9rem 0.6rem !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
        border-radius: 14px !important;
    }

    .countdown-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 0.6rem 0.4rem !important;
        gap: 4px !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border-radius: 10px !important;
    }

    .countdown-icon {
        font-size: 1.3rem !important;
        margin: 0 auto !important;
    }

    .countdown-number {
        font-size: 1.35rem !important;
        font-weight: 800 !important;
        line-height: 1.1 !important;
    }

    .countdown-label {
        font-size: 0.68rem !important;
        text-transform: uppercase !important;
    }

    /* Section Headers on Mobile */
    .team-section-header {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.8rem !important;
        width: 100% !important;
        margin-bottom: 1.8rem !important;
    }

    .team-section-header>div {
        width: 100% !important;
    }

    .team-section-header .btn {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        margin: 0 !important;
    }

    .team-section-title {
        font-size: clamp(1.15rem, 4.5vw, 1.5rem) !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        width: 100% !important;
    }

    .carousel-arrows {
        display: flex !important;
        justify-content: flex-end !important;
        gap: 10px !important;
    }

    .speakers-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)) !important;
        gap: 1.5rem !important;
    }

    .speaker-card {
        height: auto !important;
        min-height: 380px !important;
    }

    /* 3D Rotating X Sign & Pedestal on Mobile */
    .experience-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
        width: 100% !important;
    }

    .exp-graphics-container {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 1.5rem !important;
        padding: 0.5rem 0 1.5rem 0 !important;
        position: relative !important;
    }

    .stage-3d-box {
        position: relative !important;
        width: 100% !important;
        height: 220px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .glowing-x-3d {
        position: relative !important;
        bottom: auto !important;
        margin: 0 auto !important;
        width: 110px !important;
        height: 160px !important;
        transform: scale(0.8) !important;
    }

    .x-bar {
        width: 38px !important;
        height: 170px !important;
    }

    .pedestal {
        position: absolute !important;
        bottom: 12px !important;
        top: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: min(220px, 70vw) !important;
        height: 22px !important;
    }

    .pedestal-ring {
        position: absolute !important;
        bottom: 22px !important;
        top: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: min(180px, 60vw) !important;
        height: 16px !important;
    }

    .pedestal-light {
        position: absolute !important;
        bottom: 18px !important;
        top: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: min(140px, 50vw) !important;
        height: 90px !important;
    }

    /* Reposition Stat Cards into clean 2-column mobile layout */
    .stat-cards-wrapper {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.7rem !important;
        box-sizing: border-box !important;
    }

    .stat-cards-wrapper .stat-card {
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0.8rem 0.6rem !important;
        border-radius: 12px !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }

    .stat-cards-wrapper .stat-card i {
        font-size: 1.3rem !important;
    }

    .stat-cards-wrapper .stat-num {
        font-size: 1.1rem !important;
    }

    .stat-cards-wrapper .stat-lbl {
        font-size: 0.68rem !important;
    }

    /* Agenda Teaser Section on Mobile */
    .agenda-section-container {
        margin-top: 3rem !important;
        padding: 1rem 0 !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    .agenda-header-group {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
        margin-bottom: 2rem !important;
        width: 100% !important;
    }

    .agenda-btn-container {
        text-align: center !important;
        width: 100% !important;
        margin-top: 1.5rem !important;
    }

    .agenda-btn-container .btn {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }

    .timeline-track-wrapper {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 1.5rem 0 3rem 0 !important;
    }

    .timeline-card-h {
        width: clamp(190px, 65vw, 220px) !important;
        padding: 1.4rem 1.1rem !important;
    }

    /* Team Carousel on Mobile */
    .team-container {
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }

    .team-carousel-outer {
        width: 100% !important;
        overflow: hidden !important;
    }

    .team-carousel-inner {
        gap: 1rem !important;
    }

    .team-card {
        min-width: min(280px, 85vw) !important;
        max-width: 320px !important;
        width: min(280px, 85vw) !important;
        padding: 1.5rem 1.1rem !important;
    }

    .team-avatar-placeholder {
        height: 180px !important;
    }

    /* Reservation Portal Sign on Mobile */
    .portal-wrapper {
        overflow: hidden !important;
        padding: 3rem 1rem !important;
        width: 100% !important;
    }

    .portal-container {
        width: 100% !important;
        padding: 0 !important;
    }

    .neon-portal {
        width: min(320px, 88vw) !important;
        height: min(320px, 88vw) !important;
        max-width: 320px !important;
        max-height: 320px !important;
        border-radius: 50% !important;
        border-width: 3px !important;
    }

    .portal-pedestal {
        width: min(340px, 90vw) !important;
        height: 30px !important;
        bottom: -8px !important;
    }

    .portal-bg-circles {
        width: min(340px, 90vw) !important;
        height: min(340px, 90vw) !important;
    }

    .portal-content {
        max-width: 100% !important;
        padding: 1.2rem 0.5rem !important;
    }

    .portal-title {
        font-size: clamp(1.8rem, 6vw, 2.4rem) !important;
    }

    .portal-subtitle {
        font-size: 0.95rem !important;
        margin-bottom: 1.8rem !important;
    }

    .portal-content .btn {
        width: 100% !important;
        justify-content: center !important;
    }

    .tickets-layout {
        grid-template-columns: 1fr !important;
    }

    .sponsor-tier-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
        padding: 1.5rem !important;
    }

    .tier-label {
        width: 100% !important;
    }

    .themed-grid-3,
    .grid-2 {
        grid-template-columns: 1fr !important;
    }

    /* Story Chronicles on Mobile (agenda.php) */
    .story-chronicles {
        gap: 2rem !important;
    }

    .story-chronicles::before {
        left: 16px !important;
    }

    .story-waypoint-beacon {
        left: 16px !important;
        width: 18px !important;
        height: 18px !important;
    }

    .story-node-card {
        width: calc(100% - 40px) !important;
        padding: 1.4rem 1.1rem !important;
        border-radius: 16px !important;
    }

    .story-card-main {
        flex-direction: column !important;
        gap: 0.8rem !important;
    }

    .story-icon-holo {
        width: 48px !important;
        height: 48px !important;
        border-radius: 12px !important;
    }

    .story-icon-holo i {
        font-size: 1.4rem !important;
    }

    .story-card-details h3 {
        font-size: 1.15rem !important;
    }

    .story-act-tag {
        font-size: 0.72rem !important;
        padding: 0.2rem 0.65rem !important;
    }

    .story-time-pill {
        font-size: 0.85rem !important;
    }

    [dir="rtl"] .story-chronicles::before {
        left: auto !important;
        right: 16px !important;
    }

    [dir="rtl"] .story-waypoint-beacon {
        left: auto !important;
        right: 16px !important;
    }
}

/* 5. Extra Small Mobile Screens (max-width: 480px) */
@media (max-width: 480px) {
    .logo {
        font-size: 1.45rem !important;
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.4rem) !important;
    }

    .hero-subtitle {
        font-size: 0.9rem !important;
    }

    .countdown-bar {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
        padding: 0.7rem 0.5rem !important;
    }

    .countdown-number {
        font-size: 1.25rem !important;
    }

    .countdown-label {
        font-size: 0.65rem !important;
    }

    .countdown-icon {
        font-size: 1.2rem !important;
    }

    .glowing-x-3d {
        transform: scale(0.72) !important;
        margin: 0 auto !important;
    }

    .neon-portal {
        width: min(290px, 86vw) !important;
        height: min(290px, 86vw) !important;
    }

    .portal-title {
        font-size: 1.65rem !important;
    }

    .portal-subtitle {
        font-size: 0.9rem !important;
    }

    .stat-cards-wrapper {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.5rem !important;
    }

    .stat-cards-wrapper .stat-card {
        padding: 0.7rem 0.5rem !important;
    }

    .stat-cards-wrapper .stat-num {
        font-size: 1rem !important;
    }

    .stat-cards-wrapper .stat-lbl {
        font-size: 0.65rem !important;
    }

    .stat-cards-wrapper .stat-card i {
        font-size: 1.15rem !important;
    }
}