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

:root {
  --color-bg:             #000000;
  --color-text:           #f4f4f4;
  --color-text-muted:     rgba(244, 244, 244, 0.72);
  --color-primary:        #0f509d;
  --color-primary-bright: #0062FF;
  --color-border:         rgba(244, 244, 244, 0.08);
  --gradient:             linear-gradient(135deg, #0f509d, #0062FF);
  --shadow-glass:         0 8px 32px rgba(0, 0, 0, 0.8);
  --radius:               12px;
  --radius-lg:            20px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior: none;
  -webkit-overflow-scrolling: touch;
}

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

/* =============================================
   ANIMATED BACKGROUND
============================================= */
.bg-animated {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg-animated::before,
.bg-animated::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  animation: bgDrift 12s ease-in-out infinite alternate;
}

.bg-animated::before {
  width: 60vw;
  height: 60vw;
  top: -20vw;
  left: -20vw;
  background: #0f509d;
}

.bg-animated::after {
  width: 50vw;
  height: 50vw;
  bottom: -15vw;
  right: -15vw;
  background: #0062FF;
  animation-delay: -6s;
}

@keyframes bgDrift {
  0%   { transform: scale(1) translate(0, 0); opacity: 0.10; }
  100% { transform: scale(1.15) translate(4%, 4%); opacity: 0.18; }
}

/* =============================================
   LAYOUT
============================================= */
.page-wrapper {
  position: relative;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* =============================================
   GLASS CARD
============================================= */
.glass-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
}

/* =============================================
   GRADIENT TEXT
============================================= */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =============================================
   HEADER
============================================= */
.header {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.header__logo {
  height: 32px;
  width: auto;
}

.lang-switcher {
  display: flex;
  gap: 0.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  padding: 0.2rem;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: var(--gradient);
  color: #fff;
}

/* =============================================
   HERO
============================================= */
.hero {
  padding: 0.75rem 0 2rem;
  text-align: center;
}

.hero__kicker {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 9999px;
}

.hero__logo {
  max-width: 420px;
  width: 100%;
  height: auto;
  margin: 0 auto 1rem;
}

.hero__tagline {
  font-size: clamp(0.95rem, 3vw, 1.15rem);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 2.5rem;
  font-style: italic;
}

/* =============================================
   DEADLINE CARD
============================================= */
.deadline-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.5rem 2rem;
  font-size: clamp(1rem, 3.5vw, 1.25rem);
  font-weight: 500;
  color: var(--color-text);
  text-align: center;
}

.deadline-card strong {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  font-size: clamp(1.4rem, 5vw, 1.8rem);
  line-height: 1;
}

/* =============================================
   SECTIONS
============================================= */
.section {
  padding: 2rem 0;
}

.section__label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-primary-bright);
  margin-bottom: 0.75rem;
}

.section__title {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

/* =============================================
   CALL FOR FILMS
============================================= */
.call-card {
  padding: 1.75rem;
}

.rules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.75rem;
}

.rules-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-text);
  line-height: 1.5;
}

.rules-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gradient);
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.prize-block {
  background: linear-gradient(135deg, rgba(15, 80, 157, 0.18), rgba(0, 98, 255, 0.08));
  border: 1px solid rgba(0, 98, 255, 0.25);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  margin-bottom: 0;
}

.prize-amount {
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.prize-label {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.deadline-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 1rem 0 0;
  margin-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
}

.deadline-badge strong {
  color: var(--color-text);
  font-weight: 700;
}

/* =============================================
   VIDEO
============================================= */
.video-section {
  padding: 2rem 0;
}

.video-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 16 / 9;
  background: #050505;
  box-shadow: var(--shadow-glass);
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* =============================================
   MANIFESTO
============================================= */
.manifesto-card {
  padding: 2rem 1.75rem;
}

.manifesto-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
}

.manifesto-text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.85;
  margin-bottom: 0.9rem;
}

.manifesto-text em {
  color: var(--color-text);
  font-style: italic;
}

.values-title {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-primary-bright);
  margin: 2rem 0 1rem;
}

/* =============================================
   KEY DATES
============================================= */
.dates-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.date-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
}

.date-item__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient);
  flex-shrink: 0;
  margin-top: 0.45rem;
}

.date-item__date {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary-bright);
  margin-bottom: 0.2rem;
}

.date-item__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
}

.date-item__sub {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 0.15rem;
}

/* =============================================
   PARTNERS
============================================= */
.partners-section {
  padding: 2rem 0;
}

.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.75rem 1.5rem;
}

.partner-logo {
  height: 36px;
  width: auto;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.partner-logo:hover { opacity: 1; }

.partner-logo--lg { height: 64px; }
.partner-logo--sm { height: 22px; }
.partner-logo--invert { filter: brightness(0) invert(1); }

.partner-divider {
  width: 1px;
  height: 32px;
  background: var(--color-border);
  flex-shrink: 0;
}

/* =============================================
   SOCIAL MEDIA
============================================= */
.social-section {
  padding: 2rem 0;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(244, 244, 244, 0.2);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-text);
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.06);
}

.social-link:hover {
  border-color: rgba(0, 98, 255, 0.5);
  color: var(--color-text);
  background: rgba(0, 98, 255, 0.07);
}

/* =============================================
   FOOTER
============================================= */
.footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--color-border);
  margin-top: 2rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer__logo {
  height: 26px;
  width: auto;
  opacity: 0.7;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer__contact-link {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

.footer__contact-link:hover { color: var(--color-primary-bright); }

.footer__location {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.footer__copy {
  font-size: 0.65rem;
  color: rgba(244, 244, 244, 0.42);
}

/* =============================================
   SCROLL ANIMATIONS
============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* =============================================
   SCROLLBAR
============================================= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: #1c1c1c; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #2a2a2a; }

/* =============================================
   TABLET & DESKTOP
============================================= */
@media (min-width: 600px) {
  .container { padding: 0 2rem; }
  .hero { padding: 1rem 0 3rem; }
  .call-card, .manifesto-card { padding: 2.5rem; }

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer__contacts { align-items: flex-end; }
}

@media (min-width: 1024px) {
  .container { max-width: 860px; }
}
