@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600&display=swap');

:root {
  /* Colors */
  --c-purple: #9769E0;
  --c-white: #FFFFFF;
  --c-off-white: #F7F7F7;
  --c-black: #2E2E2E;
  --c-black-75: rgba(46, 46, 46, 0.75);
  --c-green: #94C11E;
  --c-light-purple: #F6F3FC;
  
  /* Typography */
  --font-family: 'Rubik', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Rubik', sans-serif;
  font-family: var(--font-family);
  background-color: #F7F7F7;
  background-color: var(--c-off-white);
  color: #2E2E2E;
  color: var(--c-black);
  line-height: 1.3;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.3s ease;
}

button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

button:focus-visible, a:focus-visible {
  outline: 2px solid #9769E0;
  outline: 2px solid var(--c-purple);
  outline-offset: 4px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 15px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Layout */
.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 15px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.header-left, .header-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header-left {
  flex: 1;
}

.header-right {
  flex: 1;
  justify-content: flex-end;
}

.nav-link {
  font-weight: 400;
  font-size: 1rem;
  color: #2E2E2E;
  color: var(--c-black);
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus,
.nav-link:focus-visible {
  color: #9769E0;
  color: var(--c-purple);
}

#prizes,
#about,
#participate {
  scroll-margin-top: 20px;
}

.header-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex: 1;
}

@media (min-width: 1024px) {
  .header-logos {
    gap: 50px;
  }
}

.logo-main {
  display: flex;
  align-items: flex-start;
  position: relative;
  height: 40px;
}

.logo-main-img {
  display: block;
  width: 193px;
  height: 40px;
}

.logo-leaf {
  width: 40px;
  height: auto;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  margin-left: 3px;
  margin-top: 4px;
}

.logo-text {
  width: 150px;
}

.logo-subtitle {
  width: 86px;
  margin-top: 2px;
  align-self: flex-end;
}

.logo-secondary {
  height: 40px;
  width: auto;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 6px;
  z-index: 100;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #2E2E2E;
  background-color: var(--c-black);
  transition: all 0.3s ease;
}

/* Mobile Menu State */
@media (max-width: 1023px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .header-logos {
    flex: 1;
    justify-content: flex-start;
  }

  .header-left, .header-right {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 0;
  }
  
  .site-header.is-menu-open {
    background-color: #FFFFFF;
    background-color: var(--c-white);
    height: 100vh;
    position: fixed;
  }

  .site-header.is-menu-open .header-inner {
    align-items: flex-start;
  }

  .site-header.is-menu-open .header-left,
  .site-header.is-menu-open .header-right {
    display: flex;
  }
  
  .site-header.is-menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .site-header.is-menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  
  .site-header.is-menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media (max-width: 767px) {
  .mobile-menu-toggle {
    display: none;
  }

  .header-inner {
    justify-content: center;
  }

  .header-logos {
    flex: 0 0 100%;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }

  .logo-main {
    height: 33px;
  }

  .logo-main-img {
    width: 160px;
    height: auto;
  }

  .logo-secondary {
    height: 32px;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  background-color: #FFFFFF;
  background-color: var(--c-white);
  height: 650px;
  width: 100%;
  overflow: hidden;
}

.hero-bg-floral {
  position: absolute;
  top: -662px;
  left: 50%;
  margin-left: -1363px;
  width: 2589px;
  height: 1974px;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-floral img {
  position: absolute;
  top: -21.78%;
  right: -19.31%;
  bottom: -13.78%;
  left: -19.31%;
  width: 138.62%;
  height: 135.56%;
  max-width: none;
}

.hero-bg-blur {
  position: absolute;
  top: -41.84px;
  left: 50%;
  margin-left: -870.2px;
  width: 1819px;
  height: 1074.689px;
  opacity: 0.8;
  z-index: 2;
  pointer-events: none;
}

.hero-bg-blur-rotation {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1778.646px;
  height: 1000.999px;
  transform: translate(-50%, -50%) rotate(-177.6deg) scaleY(-1);
}

.hero-bg-blur img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.hero-bg-glow {
  position: absolute;
  top: -21px;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: #FFFFFF;
  background-color: var(--c-white);
  filter: blur(40px);
  z-index: 3;
}

.hero-content {
  position: absolute;
  top: 150px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  max-width: 850px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.hero-title {
  font-size: 2rem;
  font-weight: 500;
  color: #2E2E2E;
  color: var(--c-black);
  line-height: 1.2;
  margin-bottom: 10px;
  white-space: pre-wrap;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.5rem; /* 40px */
  }
}

.hero-desc {
  font-size: 1rem;
  color: rgba(46, 46, 46, 0.75);
  color: var(--c-black-75);
  max-width: 550px;
  margin: 0 auto;
}

.hero-desc span.bold {
  font-weight: 500;
  color: #2E2E2E;
  color: var(--c-black);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #94C11E;
  background-color: var(--c-green);
  color: #FFFFFF;
  color: var(--c-white);
  font-weight: 500;
  font-size: 1rem;
  height: 50px;
  padding: 0 30px;
  border-radius: 100px;
  min-width: 250px;
}

@media (min-width: 768px) {
  .btn-primary {
    min-width: 300px;
  }
}

/* ==========================================================================
   Prizes Section
   ========================================================================== */
.prizes-section {
  padding-top: 50px;
  padding-bottom: 50px;
}

.prizes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.prize-card {
  background-color: var(--c-white);
  border-radius: 10px;
  height: 150px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  position: relative;
  width: 100%;
}

@media (min-width: 1024px) {
  .prize-card {
    width: calc(33.333% - 13.333px);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .prize-card {
    width: calc(50% - 10px);
  }
}

.prize-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--c-black);
  line-height: 1.2;
  position: relative;
  z-index: 2;
  max-width: 60%;
  word-break: break-word;
}

.prize-img-wrap {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  z-index: 1;
}

.prize-img {
  position: absolute;
  max-width: none;
  pointer-events: none;
}

/* Specific image positioning matching Figma values */
.prize-img-wrap-1 { width: 222px; }
.prize-img-1 { width: 366px; height: 280px; left: -15px; top: -46px; opacity: 0.7; border-radius: 5px; object-fit: contain; }

.prize-img-wrap-2 { width: 219px; }
.prize-img-2 { width: 315px; height: 245px; left: -48px; top: -68px; opacity: 0.8; border-radius: 5px; object-fit: cover; }

.prize-img-wrap-3 { width: 201.5px; }
.prize-img-3 { width: 273px; height: 230px; left: -19.5px; top: -60px; opacity: 0.8; border-radius: 5px; object-fit: cover; }

.prize-img-wrap-4 { width: 201.5px; }
.prize-img-4 { width: 273px; height: 230px; left: -19.5px; top: -73px; opacity: 0.7; border-radius: 5px; object-fit: cover; }

.prize-img-wrap-5 { width: 201.5px; }
.prize-img-5 { width: 349px; height: 294px; left: -74.5px; top: -135px; opacity: 0.6; border-radius: 5px; object-fit: cover; }

.prize-img-wrap-6 { width: 201.5px; }
.prize-img-6 { width: 291px; height: 246px; left: -28.5px; top: -68px; border-radius: 5px; object-fit: cover; }

/* ==========================================================================
   Organizers Section
   ========================================================================== */
.organizers-section {
  padding-top: 50px;
  padding-bottom: 50px;
}

.organizers-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 1024px) {
  .organizers-grid {
    flex-direction: row;
  }
}

.org-card {
  flex: 1;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  color: var(--c-white);
}

.org-card-purple {
  background-color: var(--c-purple);
}

.org-card-image {
  background-color: #2E2E2E;
}

/* Card 1 Background */
.org-card-bg-img-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 685px;
  height: 650px;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.org-card-bg-img-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.org-card-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.5;
  max-width: none;
}

/* Card 2 Backgrounds */
.org-card-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: 10px;
  overflow: hidden;
}

.org-card-bg-layer1-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.org-card-bg-layer1 {
  position: absolute;
  top: -2.92%;
  left: -30.78%;
  width: 134.16%;
  height: 102.92%;
  max-width: none;
}

.org-card-bg-layer2,
.org-card-bg-layer3 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.org-card-bg-gradient {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 15%, rgba(0, 0, 0, 0.25) 70%), linear-gradient(180deg, rgba(0, 0, 0, 0.2) 20%, rgba(0, 0, 0, 0) 100%);
}

/* Card Content */
.org-card-content, .org-card-footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.org-card-content {
  gap: 30px;
}

.org-card-footer {
  gap: 20px;
  margin-top: 30px;
}

/* Header */
.org-card-header {
  background-color: var(--c-light-purple);
  padding: 20px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
}

.org-logo-group {
  display: flex;
  align-items: flex-start;
  height: 40px;
}

.org-logo-leaf-sm {
  width: 40px;
  height: 40px;
}

.org-logo-text-sm-group {
  display: flex;
  flex-direction: column;
  margin-left: 3px;
  margin-top: 4px;
}

.org-logo-text-sm {
  width: 150px;
}

.org-logo-sub-sm {
  width: 86px;
  margin-top: 2px;
  align-self: flex-end;
}

.org-card-header-2 {
  height: 80px;
  padding: 15px 20px;
}

.org-card-header-logo-2 {
  width: 120px;
  height: 50px;
  object-fit: cover;
}

/* Text */
.org-card-title {
  font-size: 35px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 10px;
  max-width: 400px;
  color: var(--c-white);
  word-break: break-word;
}

.org-card-desc {
  font-size: 16px;
  color: var(--c-off-white);
  line-height: 1.3;
  max-width: 400px;
}

/* Features */
.org-features {
  display: flex;
  gap: 10px;
  flex-direction: column;
}

@media (min-width: 768px) {
  .org-features {
    flex-direction: row;
  }
}

.org-feature {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  overflow: hidden;
}

.org-feature-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--c-white);
}

.org-feature-desc {
  font-size: 16px;
  color: var(--c-off-white);
  line-height: 1.3;
}

/* Buttons */
.btn-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 30px;
  border-radius: 100px;
  background: linear-gradient(90deg, #8c62d0 0%, #7653af 62.15%, #432f63 100%);
  color: var(--c-white);
  font-size: 16px;
  font-weight: 500;
  width: 100%;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.3s ease;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
  padding-top: 50px;
  padding-bottom: 50px;
}

.contact-box {
  position: relative;
  background-color: var(--c-light-purple);
  border-radius: 10px;
  overflow: hidden;
  padding: 50px 30px;
  min-height: 400px;
}

.contact-bg-main {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  pointer-events: none;
  z-index: 1;
}

.contact-bg-floral {
  position: absolute;
  top: 94px;
  left: -31px;
  width: 937px;
  height: 527px;
  opacity: 0.8;
  pointer-events: none;
  z-index: 2;
}

.contact-bg-floral img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 1024px) {
  .contact-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px; /* actually justified space handles it */
  }
}

.contact-text-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 504px;
}

.contact-title {
  font-size: 25px;
  font-weight: 600;
  color: var(--c-black);
  line-height: 1.2;
}

.contact-desc {
  font-size: 16px;
  color: var(--c-black-75);
  line-height: 1.3;
  opacity: 0.7;
}

.contact-form-col {
  width: 100%;
}

@media (min-width: 1024px) {
  .contact-form-col {
    max-width: 640px;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-inputs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-input {
  width: 100%;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(7.5px);
  -webkit-backdrop-filter: blur(7.5px);
  border: none;
  border-radius: 5px;
  padding: 16px 20px;
  font-family: inherit;
  font-size: 16px;
  color: var(--c-black-75);
  transition: outline 0.2s ease, background-color 0.2s ease;
}

.form-input::placeholder {
  color: var(--c-black-75);
  opacity: 1;
}

.form-input:focus {
  outline: 2px solid var(--c-purple);
  outline-offset: -2px;
  background-color: rgba(255, 255, 255, 0.6);
}

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

.form-consent {
  display: flex;
}

.custom-checkbox-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.custom-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.custom-checkbox-box {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 4px;
  background-color: transparent;
  border: 1px solid var(--c-black-75);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.custom-checkbox-input:checked + .custom-checkbox-box {
  background-color: var(--c-purple);
  border-color: var(--c-purple);
}

.custom-checkbox-input:focus-visible + .custom-checkbox-box {
  outline: 2px solid var(--c-black);
  outline-offset: 2px;
}

.custom-checkbox-icon {
  width: 20px;
  height: 20px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.custom-checkbox-input:checked + .custom-checkbox-box .custom-checkbox-icon {
  opacity: 1;
}

.custom-checkbox-text {
  font-size: 12px;
  color: var(--c-black-75);
  line-height: normal;
  margin-top: 2px;
}

.contact-submit-btn {
  width: 100%;
  max-width: 300px;
}

.contact-submit-btn:disabled {
  cursor: wait;
  opacity: 0.65;
}

.contact-form-status {
  max-width: 420px;
  margin-top: 12px;
  color: #9e1b32;
  font-size: 14px;
  line-height: 1.4;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 767px) {
  .contact-submit-btn {
    max-width: 100%;
  }
}

/* Footer Area */
.site-footer-area {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
}

.footer-huge-text {
  width: 397px;
  height: 182px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 105px;
  font-weight: 500;
  color: #9769E0;
  color: var(--c-purple);
  line-height: 1.2;
  text-align: center;
  margin-bottom: -50px;
  position: relative;
  z-index: 5;
  white-space: nowrap;
}

.footer-huge-text span {
  display: block;
}

.footer-huge-text span + span {
  margin-top: -70px;
  text-shadow: 0 -10px 10px rgba(0, 0, 0, 0.12);
}

@media (min-width: 768px) {
  .footer-huge-text {
    width: auto;
    height: auto;
    display: block;
    font-size: 8rem;
    margin-bottom: -80px;
  }

  .footer-huge-text span {
    display: inline;
  }

  .footer-huge-text span + span {
    margin-top: 0;
  }
}

@media (min-width: 1024px) {
  .footer-huge-text {
    font-size: 225px;
    margin-bottom: -100px;
  }
}

.footer-cards-container {
  width: 100%;
  background-color: rgba(247, 247, 247, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 100px 0 30px;
  position: relative;
  z-index: 10;
}

.footer-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .footer-cards {
    flex-direction: row;
  }
}

.footer-card {
  flex: 1;
  position: relative;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
}

.card-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.card-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.card-title {
  color: #F6F3FC;
  color: var(--c-light-purple);
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  z-index: 2;
}

@media (min-width: 768px) {
  .card-title {
    font-size: 25px;
  }
}

.social-icons-container {
  height: 70px;
  width: 156px;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
}

.social-icon-link {
  position: relative;
  display: block;
  width: 70px;
  height: 70px;
  overflow: hidden;
  border-radius: 8px;
}

.social-icons-img {
  position: absolute;
  top: 0;
  width: 156px;
  max-width: none;
  height: 70px;
}

.social-icon-vk .social-icons-img {
  left: 0;
}

.social-icon-instagram .social-icons-img {
  left: -86px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  font-size: 0.875rem; /* 14px */
  color: rgba(46, 46, 46, 0.75);
  color: var(--c-black-75);
}

@media (min-width: 1024px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-disclaimer {
  max-width: 364px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

@media (min-width: 1024px) {
  .footer-links {
    align-items: flex-end;
    text-align: right;
  }
}

.footer-links a:hover {
  color: #9769E0;
  color: var(--c-purple);
}

/* IE11: flex-gap is unsupported, so margins reproduce the same spacing. */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .header-left > * + *,
  .header-right > * + * {
    margin-left: 30px;
  }

  .nav-link.has-icon .nav-icon,
  .header-logos > * + * {
    margin-left: 4px;
  }

  .hero-content > * + * {
    margin-top: 30px;
  }

  .prizes-grid > * + * {
    margin-left: 20px;
  }

  .organizers-grid > * + * {
    margin-top: 10px;
  }
  @media (min-width: 1024px) {
    .organizers-grid > * + * {
      margin-top: 0;
      margin-left: 10px;
    }
  }

  .org-features > * + * {
    margin-top: 10px;
  }
  @media (min-width: 768px) {
    .org-features > * + * {
      margin-top: 0;
      margin-left: 10px;
    }
  }

  .footer-cards > * + * {
    margin-left: 10px;
  }

  .footer-card > * + *,
  .footer-links > * + * {
    margin-top: 5px;
  }

  .contact-content > * + * {
    margin-top: 40px;
  }
  @media (min-width: 1024px) {
    .contact-content > * + * {
      margin-top: 0;
      margin-left: 20px;
    }
  }

  .contact-text-col > * + * {
    margin-top: 10px;
  }

  .contact-form > * + * {
    margin-top: 30px;
  }

  .form-inputs > * + * {
    margin-top: 10px;
  }

  .custom-checkbox-label > * + * {
    margin-left: 10px;
  }

}

@media all and (max-width: 767px) and (-ms-high-contrast: none),
       all and (max-width: 767px) and (-ms-high-contrast: active) {
  .header-logos > * + * {
    margin-left: 10px;
    margin-top: 0;
  }

  .footer-cards > * + * {
    margin-left: 0;
    margin-top: 10px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Privacy Page
   ========================================================================== */
.privacy-page-wrapper {
  background-color: #F7F7F7;
  background-color: var(--c-off-white);
  padding-top: 130px;
  padding-bottom: 100px;
  flex: 1;
}

@media (min-width: 768px) {
  .privacy-page-wrapper {
    padding-top: 90px;
    padding-bottom: 100px;
  }
}

.privacy-container {
  width: calc(100% - 30px);
  max-width: 1380px;
  margin: 0 auto;
}

/* Breadcrumbs */
.privacy-breadcrumbs {
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--c-black-75);
}

.privacy-breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 0;
  margin: 0;
}

.privacy-breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.privacy-breadcrumbs a {
  transition: color 0.2s ease;
  color: var(--c-black-75);
}

.privacy-breadcrumbs a:hover {
  color: var(--c-purple);
}

.privacy-breadcrumbs .separator {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Content Card */
.privacy-card {
  background-color: #FFFFFF;
  background-color: var(--c-white);
  border-radius: 10px;
  padding: 40px 20px;
}

.privacy-title {
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 30px;
  color: #2E2E2E;
  color: var(--c-black);
  line-height: 1.2;
}

@media (min-width: 768px) {
  .privacy-title {
    font-size: 35px;
  }
}

.privacy-content h2 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 20px;
  color: #2E2E2E;
  color: var(--c-black);
  line-height: 1.2;
}

.privacy-content {
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.privacy-content h2:first-child {
  margin-top: 0;
}

.privacy-content p {
  font-size: 16px;
  line-height: 1.3;
  color: var(--c-black-75);
  margin-bottom: 10px;
}

/* Table */
.privacy-table-wrapper {
  margin: 20px 0;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.privacy-table {
  width: 100%;
  min-width: 1000px;
  border-collapse: collapse;
  border-spacing: 0;
}

.privacy-table th,
.privacy-table td {
  border: 1px solid #B4B6AF;
  padding: 15px;
  text-align: left;
  font-size: 16px;
  line-height: 1.3;
  color: var(--c-black-75);
  vertical-align: top;
}

.privacy-table th {
  font-weight: 500;
}

/* Inline Link */
.inline-link {
  color: var(--c-purple);
  text-decoration: underline;
  text-decoration-skip-ink: auto;
  text-underline-offset: 2px;
  transition: opacity 0.2s ease;
}

.inline-link:hover {
  opacity: 0.8;
}

/* IE11 fallbacks for privacy page */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .privacy-breadcrumbs ol > * + * {
    margin-left: 10px;
  }
  .privacy-breadcrumbs li > * + * {
    margin-left: 10px;
  }
}

/* ==========================================================================
   Success Dialog
   ========================================================================== */
.success-dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  /* hidden state handled via HTML hidden attribute */
}

.success-dialog-overlay[hidden] {
  display: none !important;
}

.success-dialog-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(7.5px);
  -webkit-backdrop-filter: blur(7.5px);
}

.success-dialog-card {
  position: relative;
  width: 345px;
  height: 470px;
  background-color: var(--c-white);
  border-radius: 10px;
  overflow: hidden;
  z-index: 1;
  /* shifted 25px upward relative to center */
  transform: translateY(-25px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.success-dialog-bg-glow {
  position: absolute;
  width: 2589px;
  height: 1974px;
  left: -643px;
  top: -662px;
  pointer-events: none;
}

.success-dialog-bg-gradient {
  position: absolute;
  top: -21.78%;
  right: -19.31%;
  bottom: -13.78%;
  left: -19.31%;
  width: 138.62%;
  height: 135.56%;
  max-width: none;
}

.success-dialog-bg-floral {
  position: absolute;
  left: -434px;
  top: 10px;
  width: 1213.883px;
  height: 717.179px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.success-dialog-bg-floral-inner {
  position: relative;
  width: 1186.932px;
  height: 668.004px;
  transform: rotate(-177.6deg) scaleY(-1);
  flex: none;
}

.success-dialog-floral-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  max-width: none;
}

.success-dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 50px;
  height: 50px;
  z-index: 10;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.success-dialog-close img {
  width: 100%;
  height: 100%;
  display: block;
}

.success-dialog-content {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: 315px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  z-index: 5;
}

.success-dialog-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  width: 100%;
}

.success-dialog-title {
  font-family: var(--font-family, 'Rubik', sans-serif);
  font-size: 25px;
  font-weight: 500;
  color: var(--c-black, #2E2E2E);
  line-height: 1.2;
  margin: 0;
}

.success-dialog-desc {
  font-family: var(--font-family, 'Rubik', sans-serif);
  font-size: 16px;
  font-weight: 400;
  color: var(--c-black-75, rgba(46, 46, 46, 0.75));
  line-height: 1.3;
  margin: 0;
}

.success-dialog-vk-btn {
  display: flex;
  gap: 8px;
  padding: 0 30px;
  border-radius: 100px;
  font-family: var(--font-family, 'Rubik', sans-serif);
  font-weight: 500;
  font-size: 16px;
  white-space: nowrap;
  width: auto;
  min-width: unset;
}

.vk-icon {
  width: 20px;
  height: 12.48px;
  flex-shrink: 0;
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
  .success-dialog-overlay:not([hidden]) .success-dialog-card {
    animation: dialogSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .success-dialog-overlay.is-closing .success-dialog-card {
    animation: dialogSlideDown 0.2s ease forwards;
  }
}

@keyframes dialogSlideUp {
  from { transform: translateY(0) scale(0.98); }
  to { transform: translateY(-25px) scale(1); }
}

@keyframes dialogSlideDown {
  from { transform: translateY(-25px) scale(1); }
  to { transform: translateY(0) scale(0.98); }
}

/* Fallback for IE11 variables */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .success-dialog-card {
    background-color: #FFFFFF;
  }
  .success-dialog-backdrop {
    background-color: rgba(0, 0, 0, 0.8); /* Darker since blur is not supported */
  }
  .success-dialog-title { color: #2E2E2E; font-family: 'Rubik', sans-serif; }
  .success-dialog-desc { color: rgba(46, 46, 46, 0.75); font-family: 'Rubik', sans-serif; }
  .success-dialog-vk-btn { font-family: 'Rubik', sans-serif; }
  
  .success-dialog-content > * + * {
    margin-top: 30px;
  }
  .success-dialog-text > * + * {
    margin-top: 10px;
  }
  .success-dialog-vk-btn .vk-icon {
    margin-left: 8px;
  }
}

