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

:root {
  --green: #1B7A3D;
  --green-light: #22994D;
  --green-dark: #145C2E;
  --gold: #C5961B;
  --gold-light: #D4A82E;
  --gold-glow: rgba(197, 150, 27, 0.4);
  --cream: #FFF8E1;
  --white: #FFFFFF;
  --dark: #0a0f0a;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ══════ SLIDESHOW ══════ */
.slideshow { position: fixed; inset: 0; z-index: 0; }

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}

.slide.active { opacity: 1; }

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: kenburns 12s ease-in-out infinite alternate;
}

@keyframes kenburns {
  0% { transform: scale(1.0) translate(0, 0); }
  100% { transform: scale(1.2) translate(-2%, -1%); }
}

.slide:nth-child(2) img { animation-duration: 14s; animation-direction: alternate-reverse; }
.slide:nth-child(3) img { animation-duration: 11s; }
.slide:nth-child(4) img { animation-duration: 13s; animation-direction: alternate-reverse; }
.slide:nth-child(5) img { animation-duration: 15s; }
.slide:nth-child(6) img { animation-duration: 12s; animation-direction: alternate-reverse; }
.slide:nth-child(7) img { animation-duration: 14s; }
.slide:nth-child(8) img { animation-duration: 11s; animation-direction: alternate-reverse; }
.slide:nth-child(9) img { animation-duration: 13s; }

/* Dark gradient overlay */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(10,15,10,0.3) 0%,
    rgba(10,15,10,0.5) 30%,
    rgba(10,15,10,0.7) 60%,
    rgba(10,15,10,0.85) 100%
  );
}

/* Film grain */
.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
}

/* ══════ MAIN CONTENT ══════ */
.content {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 2rem 5rem;
  text-align: center;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(197, 150, 27, 0.35);
  border-radius: 100px;
  background: rgba(197, 150, 27, 0.08);
  backdrop-filter: blur(10px);
  margin-bottom: 2rem;
  animation: fadeSlideDown 1s ease 0.3s both;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
}

.badge span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--gold-glow); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px transparent; }
}

/* Organisation name */
.org-name {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 0.5rem;
  animation: fadeSlideDown 1s ease 0.5s both;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.org-name .highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Acronym */
.acronym {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2.5rem;
  animation: fadeSlideDown 1s ease 0.7s both;
}

/* Divider */
.divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 2.5rem;
  animation: fadeIn 1s ease 0.9s both;
}

/* Tagline */
.tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.75rem;
  animation: fadeSlideDown 1s ease 1s both;
  text-shadow: 0 2px 15px rgba(0,0,0,0.4);
}

.subtitle {
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 4rem;
  animation: fadeSlideDown 1s ease 1.2s both;
}

/* ══════ COUNTDOWN ══════ */
.countdown {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  margin-bottom: 4rem;
  animation: fadeSlideUp 1s ease 1.4s both;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.countdown-number {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  line-height: 1;
  min-width: clamp(60px, 12vw, 100px);
  padding: 0.5rem 0.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(197, 150, 27, 0.2);
  border-radius: 12px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  text-shadow: 0 0 40px var(--gold-glow);
  transition: transform 0.3s ease;
}

.countdown-number::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
}

.countdown-number.flip {
  animation: countFlip 0.6s ease;
}

@keyframes countFlip {
  0% { transform: perspective(400px) rotateX(0); }
  50% { transform: perspective(400px) rotateX(-8deg); opacity: 0.7; }
  100% { transform: perspective(400px) rotateX(0); }
}

.countdown-label {
  font-size: clamp(0.6rem, 1.2vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.8;
}

.countdown-sep {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--gold);
  opacity: 0.4;
  align-self: flex-start;
  padding-top: 0.5rem;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.1; }
}

/* ══════ NOTIFY ══════ */
.notify-section {
  animation: fadeSlideUp 1s ease 1.6s both;
  margin-bottom: 2rem;
}

.notify-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.notify-form {
  display: flex;
  gap: 0;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 100px;
  overflow: hidden;
  border: 1px solid rgba(197, 150, 27, 0.25);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.notify-form:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 150, 27, 0.15);
}

.notify-form input {
  flex: 1;
  padding: 0.85rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
}

.notify-form input::placeholder {
  color: rgba(255,255,255,0.35);
}

.notify-form button {
  padding: 0.85rem 1.75rem;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: var(--white);
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.notify-form button:hover {
  background: linear-gradient(135deg, var(--green-light), var(--green));
  box-shadow: 0 4px 20px rgba(27, 122, 61, 0.4);
}

.notify-success {
  display: none;
  padding: 0.75rem 1.5rem;
  background: rgba(27, 122, 61, 0.15);
  border: 1px solid rgba(27, 122, 61, 0.3);
  border-radius: 100px;
  color: var(--green-light);
  font-size: 0.85rem;
  font-weight: 500;
  animation: fadeIn 0.5s ease;
}

/* ══════ SOCIAL ══════ */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  animation: fadeSlideUp 1s ease 1.8s both;
}

.social-link {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
}

.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(197, 150, 27, 0.2);
}

/* ══════ SLIDE INDICATORS ══════ */
.slide-indicators {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: fadeIn 1s ease 2s both;
}

.indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.5s ease;
  cursor: pointer;
}

.indicator.active {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
  height: 20px;
  border-radius: 3px;
}

/* ══════ LOCATION ══════ */
.location {
  position: fixed;
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: fadeIn 1s ease 2.2s both;
}

.location svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: rgba(255,255,255,0.3);
  stroke-width: 2;
}

/* ══════ PARTICLES ══════ */
.particles {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: float-up linear infinite;
}

@keyframes float-up {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 0.6; }
  90% { opacity: 0.2; }
  100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

/* ══════ ANIMATIONS ══════ */
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ══════ RESPONSIVE ══════ */

/* Large tablets and small laptops */
@media (max-width: 1024px) {
  .slide-indicators { right: 1rem; }
}

/* Tablets */
@media (max-width: 768px) {
  .content { padding: 1.5rem 1.5rem 6rem; }
  .org-name { font-size: clamp(1.6rem, 5vw, 2.8rem); }
  .tagline { font-size: clamp(1rem, 3vw, 1.6rem); }
  .subtitle { font-size: 0.9rem; max-width: 400px; }
  .countdown { gap: 0.6rem; }
  .countdown-number { min-width: 70px; font-size: 2.8rem; }
  .countdown-sep { font-size: 2rem; }
  .slide-indicators { display: none; }
  .social-links { gap: 0.75rem; }
  .social-link { width: 38px; height: 38px; }
  .location { font-size: 0.6rem; letter-spacing: 0.1em; }
  .splash-title { font-size: clamp(2rem, 5vw, 3rem); }
  .splash-logo { font-size: 1.4rem; }
  .splash-subtitle { font-size: 0.85rem; }
  .splash-hint { font-size: 0.75rem; max-width: 300px; }
  .enter-btn { padding: 1rem 2.5rem; font-size: 1.1rem; }
}

/* Mobile phones */
@media (max-width: 480px) {
  .content { padding: 1rem 1rem 6rem; }
  .badge { padding: 0.4rem 1rem; margin-bottom: 1.5rem; }
  .badge span { font-size: 0.7rem; }
  .org-name { font-size: 1.6rem; margin-bottom: 0.3rem; }
  .acronym { font-size: 0.8rem; letter-spacing: 0.3em; margin-bottom: 1.5rem; }
  .divider { margin-bottom: 1.5rem; }
  .tagline { font-size: 1.1rem; margin-bottom: 0.5rem; }
  .subtitle { font-size: 0.8rem; margin-bottom: 2rem; line-height: 1.6; }
  .countdown { gap: 0.4rem; margin-bottom: 2rem; }
  .countdown-number {
    min-width: 55px;
    font-size: 2rem;
    padding: 0.4rem 0.15rem;
    border-radius: 8px;
  }
  .countdown-sep { font-size: 1.5rem; padding-top: 0.3rem; }
  .countdown-label { font-size: 0.55rem; letter-spacing: 0.15em; }
  .notify-section { margin-bottom: 1.5rem; }
  .notify-text { font-size: 0.75rem; }
  .notify-form {
    flex-direction: column;
    border-radius: 16px;
    max-width: 300px;
  }
  .notify-form input {
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }
  .notify-form button {
    border-radius: 0 0 14px 14px;
    padding: 0.75rem;
    font-size: 0.8rem;
  }
  .social-links { gap: 0.6rem; margin-top: 0.5rem; }
  .social-link { width: 36px; height: 36px; }
  .location {
    font-size: 0.55rem;
    letter-spacing: 0.08em;
    bottom: 3.5rem;
    gap: 0.3rem;
  }
  .dev-credit {
    font-size: 0.6rem;
    padding: 0.5rem 0.75rem;
    gap: 0.4rem;
  }
  .uk-flag svg { width: 16px; height: 11px; }
  .splash-title { font-size: 1.8rem; }
  .splash-logo { font-size: 1.2rem; letter-spacing: 0.3em; margin-bottom: 1.5rem; }
  .splash-line { margin-bottom: 1.5rem; }
  .splash-subtitle { font-size: 0.75rem; margin-bottom: 2rem; letter-spacing: 0.12em; }
  .splash-hint { font-size: 0.7rem; max-width: 260px; }
  .enter-btn { padding: 0.9rem 2rem; font-size: 1rem; }
  .music-toggle { bottom: 3.5rem; right: 1rem; width: 36px; height: 36px; font-size: 0.9rem; }
}

/* Very small phones */
@media (max-width: 360px) {
  .org-name { font-size: 1.4rem; }
  .countdown-number { min-width: 48px; font-size: 1.7rem; }
  .countdown-sep { font-size: 1.3rem; }
  .notify-form { max-width: 260px; }
  .subtitle { font-size: 0.75rem; }
  .splash-title { font-size: 1.5rem; }
  .splash-logo { font-size: 1rem; }
  .splash-hint { font-size: 0.65rem; max-width: 240px; }
  .enter-btn { padding: 0.8rem 1.8rem; font-size: 0.9rem; }
}

/* Short screens (landscape phones) */
@media (max-height: 650px) {
  .badge { margin-bottom: 1rem; }
  .org-name { font-size: 1.5rem; }
  .acronym { margin-bottom: 1rem; }
  .divider { margin-bottom: 1rem; }
  .tagline { font-size: 1rem; margin-bottom: 0.3rem; }
  .subtitle { font-size: 0.8rem; margin-bottom: 1.5rem; }
  .countdown { margin-bottom: 1.5rem; }
  .countdown-number { font-size: 2rem; min-width: 55px; }
  .notify-section { margin-bottom: 0.5rem; }
  .splash-title { font-size: 1.8rem; }
  .splash-logo { margin-bottom: 1rem; }
  .splash-line { margin-bottom: 1rem; }
  .splash-subtitle { margin-bottom: 1.5rem; }
  .splash-hint { font-size: 0.7rem; margin-top: 1rem; }
}

/* ══════ DEVELOPER CREDIT ══════ */
.dev-credit {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.4);
}

.dev-credit strong {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.uk-flag {
  display: inline-flex;
  align-items: center;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ══════ SPLASH SCREEN ══════ */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  background-image: url('../images/9.jpeg');
  background-size: cover;
  background-position: center;
  transition: opacity 1s ease, visibility 1s ease;
}

.splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.splash-content {
  position: relative;
  z-index: 2;
  text-align: center;
  animation: splashFadeIn 1.5s ease;
}

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

.splash-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.5em;
  color: rgba(197, 150, 27, 0.6);
  margin-bottom: 2rem;
}

.splash-line {
  width: 60px;
  height: 2px;
  background: #C5961B;
  margin: 0 auto 2rem;
}

.splash-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.splash-subtitle {
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 3rem;
}

.enter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.2rem 3rem;
  background: rgba(197, 150, 27, 0.15);
  border: 2px solid #C5961B;
  border-radius: 50px;
  color: #C5961B;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: all 0.4s ease;
}

.enter-btn:hover {
  background: rgba(197, 150, 27, 0.1);
  border-color: #C5961B;
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(197, 150, 27, 0.2);
}

.enter-icon {
  font-size: 0.8rem;
}

.splash-hint {
  margin-top: 2rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.8);
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ══════ MUSIC TOGGLE ══════ */
.music-toggle {
  position: fixed;
  bottom: 4.5rem;
  right: 1.5rem;
  z-index: 100;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #C5961B;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.music-toggle:hover {
  background: rgba(197, 150, 27, 0.15);
  transform: scale(1.1);
}

.music-toggle.muted {
  color: rgba(255, 255, 255, 0.3);
}

/* Pulsing animation when music is playing */
@keyframes musicPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(197, 150, 27, 0.3); }
  50% { box-shadow: 0 0 0 8px rgba(197, 150, 27, 0); }
}

.music-toggle.playing {
  animation: musicPulse 2s ease infinite;
}