@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Crimson+Text:wght@400;600&display=swap');

body {
  background: linear-gradient(135deg, #1a472a 0%, #2d5016 50%, #1a472a 100%);
  background-attachment: fixed;
  font-family: "Crimson Text", "Georgia", serif;
  text-align: center;
  margin: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

/* Tartan overlay pattern */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(90deg, transparent 0%, rgba(220, 38, 38, 0.1) 50%, transparent 100%),
    linear-gradient(0deg, transparent 0%, rgba(220, 38, 38, 0.05) 50%, transparent 100%),
    repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255, 255, 255, 0.02) 20px, rgba(255, 255, 255, 0.02) 40px);
  pointer-events: none;
  z-index: 1;
}

.content {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  padding: 60px 50px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 3px solid #dc2626;
  max-width: 500px;
}

h1 {
  color: #dc2626;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 2.8rem;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
  color: #1a472a;
  font-size: 1.1rem;
  margin-bottom: 30px;
  font-style: italic;
  letter-spacing: 0.5px;
}

button {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
  border: 2px solid #991b1b;
  padding: 15px 35px;
  font-size: 1.2rem;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

button:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.shake {
  animation: shake 0.4s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 20;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 71, 42, 0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: linear-gradient(135deg, #ffffff 0%, #fef7f0 100%);
  padding: 40px 50px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  border: 3px solid #dc2626;
  font-size: 1.4rem;
  color: #1a472a;
  max-width: 450px;
  font-family: "Crimson Text", serif;
}

.close {
  display: inline-block;
  margin-top: 25px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
  border: 2px solid #991b1b;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.close:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
  transform: translateY(-1px);
}

.counter {
  margin-top: 25px;
  font-style: italic;
  color: #1a472a;
  opacity: 0.9;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

/* Walker's branding elements */
.brand-accent {
  color: #dc2626;
  font-weight: 600;
}

/* Scottish thistle decoration */
.thistle {
  font-size: 1.5rem;
  color: #1a472a;
  margin: 0 10px;
  opacity: 0.6;
}
