html, body{ height: 100%; }
/* ====================================
   CSS VARIABLES - Dance Festival Theme
   ==================================== */
:root {
    /* Primary Colors - Light Purple Theme */
    --primary-light: #f3e5f5;
    --primary: #ce93d8;
    --primary-medium: #ba68c8;
    --primary-dark: #9c27b0;
    --primary-darker: #7b1fa2;
    --accent: #ab47bc;
    --accent-dark: #8e24aa;
    --accent-light: #ce93d8;

    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e0e0e0;
    --gray-300: #bdbdbd;
    --gray-400: #9e9e9e;
    --gray-500: #757575;
    --gray-600: #616161;
    --gray-700: #424242;
    --gray-800: #303030;
    --gray-900: #212121;

    /* Text Colors */
    --text-primary: #2d2d2d;
    --text-secondary: #616161;
    --text-muted: #9e9e9e;
    --text-dark: #1a1a1a;

    /* Background */
    --bg-primary: #ffffff;
    --bg-secondary: #faf8fc;
    --bg-card: #ffffff;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.6);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 64px;
    --spacing-2xl: 96px;
    --spacing-3xl: 128px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Container */
    --container-max: 1400px;
    --container-padding: 24px;
}

/* ====================================
   RESET & BASE STYLES
   ==================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    position: relative;
    font-family: var(--font-family);
    color: var(--text-primary);
    background: linear-gradient(135deg, #e1bee7 0%, #e1bee7 50%, #e1bee7 100%);
        line-height: var(--line-height-base);
    overflow-x: hidden;
    min-width: 320px;
    -webkit-overflow-scrolling: touch;
}

/* ====================================
   GLOBAL FIXED BACKGROUND
   Always visible while scrolling
   ==================================== */






.site-bg__logo{
    position:absolute;
    inset:0;
    background-image: url('../logo/logofest.png');
    background-repeat: repeat;
    background-position: center top;
    /* keep logo visible on all screen sizes */
    background-size: clamp(260px, 32vw, 520px) auto;
    opacity: 0.08;
    filter: saturate(0.9) contrast(1.05);
    transform: translateZ(0);
}

@media (max-width: 520px){
    .site-bg__logo{
        background-size: clamp(260px, 32vw, 520px) auto;
        opacity: 0.07;
    }
}



@keyframes sparkleMove{
    0%{ transform: translate3d(0,0,0); }
    100%{ transform: translate3d(-60px, -60px, 0); }
}





/* ====================================
   GLASS CARDS + SCROLL REVEAL
   ==================================== */
.glass-card{
    background: rgba(255,255,255,0.55);
    border: 1px solid rgba(255,79,216,0.18);
    box-shadow: 0 12px 40px rgba(124,58,237,0.10);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: var(--radius-xl);
}

.reveal{
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 700ms cubic-bezier(0.4,0,0.2,1), transform 700ms cubic-bezier(0.4,0,0.2,1);
}

.reveal.visible{
    opacity: 1;
    transform: translateY(0);
}

/* ====================================
   HERO ORBIT TILES (Dynamic hero)
   ==================================== */
.hero{
    position: relative;
    overflow: hidden;
}

.hero-background{
    position:absolute;
    inset:0;
    background:
      radial-gradient(900px 520px at 50% 25%, rgba(255,79,216,0.18), transparent 60%),
      radial-gradient(700px 420px at 25% 70%, rgba(124,58,237,0.16), transparent 62%);
    opacity: 0.9;
}

.hero-orbit{
    position:absolute;
    inset:0;
    pointer-events:none;
}

.hero-tile{
    position:absolute;
    width: clamp(140px, 18vw, 500px);
    aspect-ratio: 16/10;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 18px 55px rgba(124,58,237,0.20);
    border: 1px solid rgba(255,79,216,0.22);
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.hero-tile-inner{
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-tile-video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.02);
}

/* Placement like the provided sketch */
.hero-tile--1{ left: 6%; top: 12%; transform: rotate(-8deg); animation: tileFloat1 7.8s ease-in-out infinite; }
.hero-tile--2{ right: 6%; top: 14%; transform: rotate(7deg);  animation: tileFloat2 8.6s ease-in-out infinite; }
.hero-tile--3{ left: 6%; bottom: 10%; transform: rotate(6deg);  animation: tileFloat3 8.1s ease-in-out infinite; }
.hero-tile--4{ right: 6%; bottom: 10%; transform: rotate(-6deg); animation: tileFloat4 9.2s ease-in-out infinite; }

/* "Not around its axis" feeling: micro-rotate + drift + gentle pulse */
@keyframes tileFloat1{
  0%{ transform: translate3d(0,0,0) rotate(-8deg) scale(1); }
  50%{ transform: translate3d(0,-12px,0) rotate(-5deg) scale(1.03); }
  100%{ transform: translate3d(0,0,0) rotate(-8deg) scale(1); }
}
@keyframes tileFloat2{
  0%{ transform: translate3d(0,0,0) rotate(7deg) scale(1); }
  50%{ transform: translate3d(0,-10px,0) rotate(4deg) scale(1.03); }
  100%{ transform: translate3d(0,0,0) rotate(7deg) scale(1); }
}
@keyframes tileFloat3{
  0%{ transform: translate3d(0,0,0) rotate(6deg) scale(1); }
  50%{ transform: translate3d(0,10px,0) rotate(3deg) scale(1.03); }
  100%{ transform: translate3d(0,0,0) rotate(6deg) scale(1); }
}
@keyframes tileFloat4{
  0%{ transform: translate3d(0,0,0) rotate(-6deg) scale(1); }
  50%{ transform: translate3d(0,10px,0) rotate(-3deg) scale(1.03); }
  100%{ transform: translate3d(0,0,0) rotate(-6deg) scale(1); }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .site-bg__sparkles,
  .hero-tile--1,
  .hero-tile--2,
  .hero-tile--3,
  .hero-tile--4{ animation: none !important; }
  .reveal{ transition: none !important; opacity: 1; transform: none; }
}

/* Mobile: hide orbit tiles to keep hero clean */
@media (max-width: 820px){
    .hero-orbit{ display:none; }
}

/* ====================================
   TYPOGRAPHY
   ==================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input,
button,
textarea,
select {
    font: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

/* ====================================
   UTILITIES
   ==================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    white-space: nowrap;
    font-family: var(--font-family);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

.btn-primary {
    background: var(--primary-dark);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(156, 39, 176, 0.3);
}

.btn-primary:hover {
    background: var(--primary-darker);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(156, 39, 176, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
}

.btn-secondary:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.1rem;
}

/* Section Titles */
.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.section-title.align-left {
    text-align: left;
}

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

/* ====================================
   HEADER & NAVIGATION
   ==================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 16px rgba(156, 39, 176, 0.1);
    transition: var(--transition-normal);
}

.header.scrolled {
    box-shadow: 0 4px 24px rgba(156, 39, 176, 0.15);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-dark);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--primary-dark);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.nav-cta {
    padding: 10px 24px;
    background: var(--primary-dark);
    color: var(--white);
    border-radius: var(--radius-sm);
}

.nav-link.nav-cta::after {
    display: none;
}

.nav-link.nav-cta:hover {
    background: var(--primary-darker);
    transform: translateY(-2px);
}

/* Mobile Menu Button */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    -webkit-tap-highlight-color: transparent;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ====================================
   HERO SECTION
   ==================================== */
.hero {
    min-height: 110vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 140px 0 var(--spacing-2xl);
    overflow: hidden;
    margin-top: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, rgba(243, 229, 245, 0.6) 100%, rgba(206, 147, 216, 0.5) 100%, rgba(186, 104, 200, 0.45) 100%),
        url('../logo/logofest.png') center/cover no-repeat;
    z-index: -1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(243, 229, 245, 0.3) 0%, rgba(243, 229, 245, 0.1) 50%, rgba(243, 229, 245, 0.4) 100%);
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: var(--spacing-sm);
    color: var(--primary-darker);
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    animation: fadeInUp 1s ease 0.3s backwards;
    font-weight: 500;
}

.hero-date {
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: var(--spacing-xl);
    animation: fadeInUp 1s ease 0.4s backwards;
}

/* Countdown Timer */
.countdown {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    animation: fadeInUp 1s ease 0.5s backwards;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(156, 39, 176, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    min-width: 100px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(156, 39, 176, 0.15);
}

.countdown-value {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--primary-darker);
    line-height: 1;
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: var(--spacing-xs);
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s backwards;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ====================================
   STATS SECTION
   ==================================== */
.stats {
    padding: var(--spacing-2xl) 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.stat-card {
    aspect-ratio: 1.2;
    background-size: cover;
    background-position: center top;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    transition: var(--transition-normal);
    cursor: default;
    min-height: 280px;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(156, 39, 176, 0.3);
}

.stat-card-wide {
    grid-column: span 1;
    aspect-ratio: 1.2;
}

.stat-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-lg);
    text-align: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
}

.stat-value {
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--spacing-xs);
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
    line-height: 1.2;
    white-space: nowrap;
}

.stat-label {
    font-size: clamp(0.82rem, 1.3vw, 1rem);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
    line-height: 1.4;
    white-space: nowrap;
}

/* ====================================
   PROGRAM SECTION
   ==================================== */
.program {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.program-card {
    aspect-ratio: 4/5;
    background-size: cover;
    background-position: center top;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    transition: var(--transition-normal);
    cursor: pointer;
}

.program-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 40px rgba(156, 39, 176, 0.3);
}

.program-card-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--spacing-lg);
}

.program-card-title {
    font-size: clamp(1rem, 1.4vw, 1.35rem);
    color: var(--white);
    margin-bottom: var(--spacing-xs);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.program-card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

/* ====================================
   FUTURE FORMATS SECTION
   ==================================== */
.future-formats {
    padding: var(--spacing-3xl) 0;
    background: var(--white);
}

.formats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.format-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.format-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(156, 39, 176, 0.2);
}

.format-image {
    width: 100%;
    height: 280px;
    background-size: cover;
    background-position: center top;
}

.format-content {
    padding: var(--spacing-lg);
}

.format-title {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
}

.format-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ====================================
   JURY SECTION
   ==================================== */
.jury {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
}

.jury-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.jury-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.jury-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(156, 39, 176, 0.2);
}

.jury-photo {
    width: 100%;
    height: 320px;
    background-size: cover;
    background-position: center top;
}

.jury-info {
    padding: var(--spacing-lg);
}

.jury-name {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

.jury-title {
    color: var(--primary-dark);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.jury-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ====================================
   ABOUT SECTION
   ==================================== */
.about {
    padding: var(--spacing-3xl) 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.about-paragraph strong {
    color: var(--primary-dark);
    font-weight: 700;
}

.about-features {
    margin-top: var(--spacing-xl);
    display: grid;
    gap: var(--spacing-md);
}

.about-feature-item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.feature-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    min-width: 60px;
}

.feature-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-images {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-md);
    height: 600px;
}

.about-image-large {
    background-size: cover;
    background-position: center top;
    border-radius: var(--radius-lg);
}

.about-image-small {
    background-size: cover;
    background-position: center top;
    border-radius: var(--radius-lg);
}

/* ====================================
   GALLERY SECTION
   ==================================== */
.gallery {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.gallery-item {
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center top;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: 0 4px 16px rgba(156, 39, 176, 0.15);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(156, 39, 176, 0.25);
}

.gallery-item-large {
    grid-column: span 1;
    aspect-ratio: 4/3;
}

.gallery-item-wide {
    grid-column: span 1;
    aspect-ratio: 4/3;
}

.gallery-overlay {
    display: none;
}

.gallery-label {
    display: none;
}

/* Video Section */
.video-section {
    margin-top: var(--spacing-2xl);
}

.video-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.video-card {
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center top;
    border-radius: var(--radius-lg);
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: 0 4px 16px rgba(156, 39, 176, 0.15);
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(156, 39, 176, 0.25);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.video-card:hover .video-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
}

.video-play-button {
    position: relative;
    z-index: 2;
    transition: var(--transition-normal);
}

.video-card:hover .video-play-button {
    transform: scale(1.15);
}

.video-caption {
    position: absolute;
    bottom: var(--spacing-md);
    left: 0;
    right: 0;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    z-index: 2;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16/9;
    background: transparent;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 3rem;
    cursor: pointer;
    z-index: 10001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.video-modal-close:hover {
    transform: scale(1.2);
    color: var(--primary);
}

#videoFrame {
    border: none;
}

/* ====================================
   APPLICATION SECTION
   ==================================== */
.application {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--primary-light) 100%);
}

.application-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-xl);
}

.application-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.application-requirements {
    background: var(--primary-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin: var(--spacing-lg) 0;
    border-left: 4px solid var(--primary-dark);
}

.requirements-title {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
}

.requirements-list {
    list-style: none;
    padding: 0;
}

.requirements-list li {
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-md);
    position: relative;
    color: var(--text-secondary);
}

.requirements-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--primary-dark);
}

.application-contact {
    margin-top: var(--spacing-lg);
    color: var(--text-secondary);
}

.application-contact p {
    margin-bottom: var(--spacing-xs);
}

/* Form Styles */
.application-form {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(156, 39, 176, 0.12);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    font-family: var(--font-family);
    color: var(--text-primary);
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-dark);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(156, 39, 176, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
    max-height: 300px;
}

select.form-input {
    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='%23616161' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    padding-right: 40px;
}

.form-error {
    display: block;
    color: #d32f2f;
    font-size: 0.85rem;
    margin-top: var(--spacing-xs);
    min-height: 20px;
}

/* File Upload */
.file-upload {
    position: relative;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.file-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 16px 20px;
    background: var(--gray-50);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.file-label:hover {
    border-color: var(--primary-dark);
    background: var(--primary-light);
}

.file-icon {
    color: var(--primary-dark);
}

.file-text {
    color: var(--text-secondary);
    font-weight: 500;
}

.file-name {
    display: block;
    margin-top: var(--spacing-xs);
    font-size: 0.9rem;
    color: var(--primary-dark);
    font-weight: 500;
}

.btn-submit {
    width: 100%;
    margin-top: var(--spacing-md);
}

.form-message {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border: 1px solid #4caf50;
}

.form-message.error {
    display: block;
    background: transparent;
    color: #c62828;
    border: 1px solid #e57373;
}

/* ====================================
   FOOTER
   ==================================== */
.footer {
    background: rgba(255, 255, 255, 0.2) !important;
    padding: var(--spacing-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 -8px 26px rgba(124, 58, 237, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
}

.footer-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer-logo {
    max-width: 86px;
    height: auto;
}

.footer-tagline {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.4;
}

.footer-contacts,
.footer-social {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer-contacts p {
    margin-bottom: 0;
    color: #6b7280;
    font-size: 0.9rem;
    white-space: nowrap;
}

.footer-title {
    font-size: 1rem;
    margin-bottom: 0;
    color: #4b5563;
    font-weight: 700;
    white-space: nowrap;
}

.footer-link {
    color: #6b7280;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    text-decoration: none;
}

.footer-link:hover {
    color: #374151;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    color: #6b7280;
    font-size: 0.85rem;
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */

/* Large Tablets */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stat-card-wide {
        grid-column: span 3;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-images {
        height: 500px;
    }

    .application-content {
        grid-template-columns: 1fr;
    }
}

/* Tablets */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding: var(--spacing-xl) var(--spacing-lg);
        gap: var(--spacing-md);
        transition: left var(--transition-normal);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        left: 0;
    }

    .burger {
        display: flex;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-card-wide {
        grid-column: span 1;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item-large {
        grid-column: span 1;
    }

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

    .footer-content {
        justify-content: center;
        gap: var(--spacing-md);
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --spacing-xs: 6px;
        --spacing-sm: 12px;
        --spacing-md: 20px;
        --spacing-lg: 32px;
        --spacing-xl: 48px;
        --spacing-2xl: 64px;
        --spacing-3xl: 80px;
        --container-padding: 16px;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Hero Section */
    .hero {
        min-height: 100vh;
        padding: 100px 0 var(--spacing-xl);
    }

    .hero-content {
        padding: 0 var(--spacing-sm);
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 3.5rem);
        line-height: 1.1;
        margin-bottom: var(--spacing-sm);
    }

    .hero-subtitle {
        font-size: clamp(0.95rem, 4vw, 1.2rem);
        margin-bottom: var(--spacing-sm);
    }

    .hero-date {
        font-size: clamp(1.1rem, 5vw, 1.5rem);
        margin-bottom: var(--spacing-md);
    }

    /* Countdown */
    .countdown {
        gap: var(--spacing-xs);
        flex-wrap: wrap;
        justify-content: center;
    }

    .countdown-item {
        min-width: 70px;
        max-width: 80px;
        padding: var(--spacing-sm);
        border-width: 1px;
    }

    .countdown-value {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .countdown-label {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: var(--spacing-sm);
    }

    .hero-actions .btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 1rem;
    }

    /* Stats Section */
    .stats {
        padding: var(--spacing-xl) 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .stat-card {
        aspect-ratio: 16/9;
        min-height: auto;
    }

    .stat-card-wide {
        grid-column: span 1;
        aspect-ratio: 16/9;
    }

    .stat-value {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
    }

    .stat-label {
        font-size: clamp(0.85rem, 3.5vw, 1rem);
        letter-spacing: 1px;
    }

    /* Section Titles */
    .section-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: var(--spacing-md);
    }

    .section-subtitle {
        font-size: clamp(0.95rem, 4vw, 1.1rem);
        margin-bottom: var(--spacing-lg);
    }

    /* Program Section */
    .program {
        padding: var(--spacing-xl) 0;
    }

    .program-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .program-card-title {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
    }

    .program-card-desc {
        font-size: clamp(0.9rem, 3.5vw, 1rem);
    }

    /* Future Formats */
    .future-formats {
        padding: var(--spacing-xl) 0;
    }

    .formats-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    /* Jury Section */
    .jury {
        padding: var(--spacing-xl) 0;
    }

    .jury-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .jury-name {
        font-size: 1.3rem;
    }

    .jury-title {
        font-size: 0.9rem;
    }

    .jury-description {
        font-size: 0.9rem;
    }

    /* About Section */
    .about {
        padding: var(--spacing-xl) 0;
    }

    .about-content {
        gap: var(--spacing-lg);
    }

    .about-images {
        grid-template-columns: 1fr;
        height: auto;
        gap: var(--spacing-sm);
    }

    .about-image-large,
    .about-image-small {
        height: 250px;
    }

    .about-paragraph {
        font-size: 0.95rem;
    }

    .feature-number {
        font-size: 2rem;
    }

    .feature-text {
        font-size: 0.9rem;
    }

    /* Gallery Section */
    .gallery {
        padding: var(--spacing-xl) 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .gallery-item {
        aspect-ratio: 16/9;
    }

    .gallery-item-large {
        grid-column: span 1;
        aspect-ratio: 16/9;
    }

    .gallery-item-wide {
        grid-column: span 1;
    }

    /* Video Section */
    .video-section {
        margin-top: var(--spacing-lg);
    }

    .video-title {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-md);
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .video-caption {
        font-size: 1rem;
        padding: 0 var(--spacing-sm);
    }

    .video-modal-content {
        width: 95%;
    }

    .video-modal-close {
        top: -40px;
        font-size: 2.5rem;
    }

    /* Application Section */
    .application {
        padding: var(--spacing-xl) 0;
    }

    .application-content {
        gap: var(--spacing-lg);
    }

    .application-form {
        padding: var(--spacing-md);
    }

    .form-input,
    .form-textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px 16px;
    }

    .btn-submit {
        padding: 14px 24px;
        font-size: 1rem;
    }

    /* Footer */
    .footer {
        padding: var(--spacing-lg) 0 var(--spacing-md);
    }

    .footer-content {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    .footer-info {
        flex-direction: column;
        align-items: center;
    }

    .footer-contacts,
    .footer-social {
        flex-direction: column;
    }

    .footer-logo {
        max-width: 100px;
    }

    .footer-tagline,
    .footer-contacts p,
    .footer-link {
        font-size: 0.85rem;
    }

    .footer-title {
        font-size: 0.95rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    :root {
        --spacing-xs: 4px;
        --spacing-sm: 10px;
        --spacing-md: 16px;
        --spacing-lg: 28px;
        --spacing-xl: 40px;
        --spacing-2xl: 56px;
        --spacing-3xl: 72px;
    }

    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    /* Hero */
    .hero {
        min-height: 100vh;
        padding: 90px 0 var(--spacing-lg);
    }

    .hero-title {
        font-size: clamp(1.8rem, 12vw, 2.8rem);
        margin-bottom: 8px;
    }

    .hero-subtitle {
        font-size: clamp(0.85rem, 4.5vw, 1rem);
        margin-bottom: 8px;
    }

    .hero-date {
        font-size: clamp(1rem, 5.5vw, 1.3rem);
        margin-bottom: 16px;
    }

    /* Countdown - Extra Small */
    .countdown {
        gap: 6px;
    }

    .countdown-item {
        min-width: 60px;
        max-width: 70px;
        padding: 8px 6px;
    }

    .countdown-value {
        font-size: clamp(1.3rem, 7vw, 1.8rem);
    }

    .countdown-label {
        font-size: 0.65rem;
        letter-spacing: 0.3px;
    }

    /* Stats */
    .stat-value {
        font-size: clamp(1.3rem, 7vw, 1.8rem);
    }

    .stat-label {
        font-size: clamp(0.8rem, 4vw, 0.95rem);
    }

    /* Section Titles */
    .section-title {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }

    .section-subtitle {
        font-size: clamp(0.85rem, 4.5vw, 1rem);
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    /* Video */
    .video-play-button svg {
        width: 60px;
        height: 60px;
    }

    .video-caption {
        font-size: 0.9rem;
    }

    /* Form */
    .form-input,
    .form-textarea {
        font-size: 16px;
        padding: 10px 14px;
    }

    .form-label {
        font-size: 0.9rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    /* Footer */
    .footer-logo {
        max-width: 80px;
    }
}

/* Extra Small Mobile (iPhone SE, small Android) */
@media (max-width: 375px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .hero-title {
        font-size: clamp(1.6rem, 13vw, 2.5rem);
    }

    .countdown {
        gap: 4px;
    }

    .countdown-item {
        min-width: 55px;
        max-width: 65px;
        padding: 6px 4px;
    }

    .countdown-value {
        font-size: clamp(1.2rem, 8vw, 1.6rem);
    }

    .countdown-label {
        font-size: 0.6rem;
    }

    .stat-value {
        font-size: clamp(1.2rem, 8vw, 1.6rem);
    }

    .stat-label {
        font-size: clamp(0.75rem, 4.5vw, 0.9rem);
    }

    .section-title {
        font-size: clamp(1.4rem, 9vw, 1.8rem);
    }

    .video-play-button svg {
        width: 50px;
        height: 50px;
    }
}


/* ===============================
   FULLSCREEN LOGO BACKGROUND
   =============================== */

.site-bg{
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background: var(--black);
}

.site-bg__media{
    position: absolute;
    inset: -6vh -6vw;
    background-image: url('../logo/vid1.gif');
    background-size: cover;
    background-position: center;
    filter: saturate(1.05) contrast(1.08) brightness(0.92);
    transform: scale(1.08);
    animation: bgFloat 10s ease-in-out infinite;
}

.site-bg__sparkles{
    position: absolute;
    inset: -10%;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,209,90,0.16), transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(255,42,42,0.12), transparent 42%),
        radial-gradient(circle at 70% 80%, rgba(255,255,255,0.10), transparent 46%),
        radial-gradient(circle at 30% 85%, rgba(255,42,42,0.10), transparent 44%);
    mix-blend-mode: screen;
    filter: blur(18px);
    opacity: 0.9;
    animation: sparkleDrift 12s ease-in-out infinite;
}

.site-bg__overlay{
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.22);
}



.site-bg__vignette{
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.04);
}



@keyframes bgFloat{
    0%,100%{ transform: scale(1.08) translate3d(0,0,0); }
    50%{ transform: scale(1.12) translate3d(-1.2vw, 1.2vh, 0); }
}

@keyframes sparkleDrift{
    0%,100%{ transform: translate3d(0,0,0) scale(1); opacity: 0.9; }
    50%{ transform: translate3d(1.5vw,-1vh,0) scale(1.04); opacity: 0.75; }
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1280px; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }


section,
header,
footer,
.hero,
.about,
.program,
.jury,
.gallery,
.application,
.stats,
.future-formats{
    background: transparent !important;
}

.glass,
.glass-card,
.card,
.about-card,
.jury-card,
.application-card{
    background: rgba(255,255,255,0.35) !important;
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.45);
    box-shadow: 0 10px 30px rgba(124,58,237,0.08);
}


/* ===============================
   UNIFORM SECTION SPACING / NO COLOR BANDING
   =============================== */
:root{
  --section-pad-y: 88px;
  --section-pad-y-mobile: 64px;
}

section{
  padding-top: var(--section-pad-y) !important;
  padding-bottom: var(--section-pad-y) !important;
  background: transparent !important;
}

@media (max-width: 768px){
  section{
    padding-top: var(--section-pad-y-mobile) !important;
    padding-bottom: var(--section-pad-y-mobile) !important;
  }
}

/* Ensure header/footer don't introduce blocks */
header, footer{
  background: transparent !important;
}

/* Make any section-specific wrappers transparent to keep background uniform */
.hero, .about, .program, .jury, .gallery, .application, .stats, .future-formats{
  background: transparent !important;
}

/* Keep cards consistent (no sudden shade changes) */
.glass, .glass-card, .card, .about-card, .jury-card, .application-card{
  background: rgba(255,255,255,0.30) !important;
  border: 1px solid rgba(255,255,255,0.45) !important;
  backdrop-filter: blur(18px);
}

/* ===============================
   WIDER LAYOUT + OVERFLOW SAFETY
   =============================== */
.container {
  max-width: 1320px !important;
  margin: 0 auto;
  padding: 0 28px;
}
.container-wide { max-width: 1440px !important; }

@media (max-width: 768px){
  .container { padding: 0 16px; }
}

/* Prevent content from spilling outside cards/sections */
*, *::before, *::after { box-sizing: border-box; }
img, video { max-width: 100%; height: auto; }
.glass, .glass-card, .card, .hero-content, .about-card, .program-card, .jury-card, .application-card{
  overflow: hidden;
}

/* Flexible rows should wrap */
.row, .grid, .cards, .stats-grid, .program-grid, .jury-grid, .gallery-grid, .hero-grid{
  flex-wrap: wrap;
}

/* Safety for long text/links */
p, h1, h2, h3, h4, a, li {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Inputs shouldn't overflow */
input, select, textarea, button {
  max-width: 100%;
}

/* ===============================
   FINAL LAYOUT CONSISTENCY
   =============================== */
:root{
  --info-block-gap: 24px;
  --info-block-padding: 24px;
}

.about-content,
.stats-grid,
.program-grid,
.formats-grid,
.jury-grid,
.gallery-grid,
.application-content{
  gap: var(--info-block-gap);
}

.section-title{
  margin-bottom: 16px;
}

.section-subtitle{
  margin-bottom: 40px;
}

/* Unified glass look for informational cards */
.stat-card,
.format-card,
.jury-card,
.application-info,
.application-form,
.about-image-large,
.about-image-small,
.gallery-item,
.video-card{
  background-color: rgba(255,255,255,0.34);
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow: 0 10px 30px rgba(124,58,237,0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Keep program images visible and readable */
.program-card{
  background-color: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow: 0 10px 30px rgba(124,58,237,0.12);
  aspect-ratio: 1 / 1.12;
}

.program-card-content{
  background: linear-gradient(to top, rgba(20,14,28,0.74), rgba(20,14,28,0.28));
}

.program-card-desc{
  color: rgba(255,255,255,0.92);
}

.program-grid{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.future-formats .section-title{
  margin-bottom: 52px;
}

.future-formats .formats-grid{
  margin-top: 8px;
}

.format-content,
.jury-info,
.application-info,
.application-form{
  padding: var(--info-block-padding);
}

.format-content{
  background: transparent !important;
  border-top: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.doc-download{
  width: 188px;
  height: 188px;
  margin-top: var(--spacing-md);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.34);
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow: 0 10px 28px rgba(124,58,237,0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--primary-darker);
  font-weight: 700;
  line-height: 1.35;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.doc-download:hover{
  transform: translateY(-4px);
  background: rgba(255,255,255,0.42);
  box-shadow: 0 14px 34px rgba(124,58,237,0.2);
}

.doc-download-icon{
  width: 44px;
  height: 44px;
  opacity: 0.96;
}

.doc-download-text{
  display: block;
  font-size: 0.92rem;
}

@media (max-width: 768px){
  :root{
    --info-block-gap: 16px;
    --info-block-padding: 18px;
  }

  .section-subtitle{
    margin-bottom: 28px;
  }

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

  .doc-download{
    width: 100%;
    max-width: 280px;
    height: 140px;
    gap: 8px;
  }

  .doc-download-icon{
    width: 36px;
    height: 36px;
  }
}
