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

body {
  font-family: 'Raleway', sans-serif;
  background: #fff;
  color: #222;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Header ── */
header {
  padding: 20px 40px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
}

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

.logo-small {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.club-name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.black { color: #222; }
.red   { color: #c0392b; }

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.header-right .email-reveal,
.header-right a:not(.btn-login-header) {
  font-size: 0.85rem;
  color: #c0392b;
  text-decoration: none;
}

.header-right a:not(.btn-login-header):hover {
  text-decoration: underline;
}

.btn-login-header {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fff;
  background: #c0392b;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 999px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
  box-shadow: 0 4px 12px rgba(192,57,43,0.25);
}

.btn-login-header:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(192,57,43,0.38);
}

.header-line {
  border: none;
  border-top: 1px solid #ddd;
}

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 80px 24px 40px;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.03em;
  color: #111;
}

.tagline {
  margin-top: 24px;
  font-size: 1.1rem;
  color: #c0392b;
  font-weight: 400;
}

.btn-contact {
  display: inline-block;
  margin-top: 32px;
  color: #c0392b;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.btn-contact:hover {
  border-bottom-color: #c0392b;
}

/* ── Logo section ── */
.logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px 24px 60px;
}

.logo-large {
  margin-bottom: 6px;
  width: min(420px, 80vw);
  height: auto;
}

/* ── Footer ── */
footer {
  margin-top: auto;
  text-align: center;
  padding: 20px;
  font-size: 0.8rem;
  color: #888;
  border-top: 1px solid #eee;
}

footer a {
  color: #888;
  text-decoration: none;
}

footer a:hover {
  color: #c0392b;
}

/* ── Game button ── */
.btn-game {
  display: inline-block;
  margin-top: 10px;
  padding: 17px 46px;
  background: #c0392b;
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(192,57,43,0.30);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-game:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(192,57,43,0.42);
}

.game-hint {
  margin-top: 10px;
  font-size: 0.82rem;
  color: #aaa;
  letter-spacing: 0.04em;
}

/* ── Walking Santa ── */
#walking-santa {
  position: fixed;
  width: 70px;
  z-index: 8888;
  pointer-events: none;
  transition: transform 0.15s ease;
}

#walking-santa img {
  width: 100%;
  height: auto;
  display: block;
  animation: santa-walk 0.4s ease-in-out infinite;
  filter: drop-shadow(2px 4px 4px rgba(0,0,0,0.15));
}

@keyframes santa-walk {
  0%   { transform: translateY(0)   rotate(-2deg); }
  50%  { transform: translateY(-6px) rotate(2deg);  }
  100% { transform: translateY(0)   rotate(-2deg); }
}

/* ── Loader ── */
#loader {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease;
}

#loader.hide {
  opacity: 0;
  pointer-events: none;
}

.loader-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  animation: logo-pulse 1.2s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

.loader-ring {
  position: absolute;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  border: 4px solid #eee;
  border-top-color: #c0392b;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes logo-pulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%       { transform: scale(1.07); opacity: 0.85; }
}

/* ── Responsive ── */
@media (max-width: 480px) {
  header {
    padding: 16px 20px 0;
  }

  .club-name {
    font-size: 0.8rem;
  }
}
