@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Fraunces:wght@600;700&family=Gochi+Hand&display=swap');

:root {
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23f8dc7a'/%3E%3Cstop offset='1' stop-color='%23d9a21b'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M10 1L12.6 7.3L19.4 7.6L14.1 11.9L15.9 18.5L10 14.8L4.1 18.5L5.9 11.9L0.6 7.6L7.4 7.3Z' fill='url(%23g)' stroke='%23c48a14' stroke-width='0.6' stroke-linejoin='round'/%3E%3C/svg%3E");
}

body, p, li { font-family: 'DM Sans', sans-serif; }

#nav a { font-family: 'DM Sans', sans-serif; font-weight: 500; color: #6b6b7b; }
#nav a:hover { color: #245283; }

/* Striped page background */
#content {
  background: repeating-linear-gradient(180deg,
    #fbf6ea 0px, #fbf6ea 40px,
    #e3eef7 40px, #e3eef7 80px,
    #e3ebdf 80px, #e3ebdf 120px);
}

.as-page { max-width: 1050px; margin: 0 auto; padding: 2em 0 3em; }

/* Header */
.as-head { text-align: center; padding: 1em 0 0; }
.as-title {
  font-family: 'Gochi Hand', cursive;
  font-size: 4.4em;
  line-height: 1.1;
  color: #3f5a45;
}
.as-sub {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 1.2em;
  letter-spacing: 0.06em;
  color: #245283;
  margin-top: 0.3em;
}

/* Gold star divider */
.star-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 1.6em 0;
}
.star-row span {
  display: block;
  width: 26px;
  height: 26px;
  background: var(--star) no-repeat center / contain;
}
.star-row span:nth-child(2) { width: 38px; height: 38px; transform: rotate(8deg); }

/* 5-photo gallery: 1 big + 4 small */
.as-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 18px;
  margin: 1em 0 3em;
}
.as-photo {
  position: relative;
  margin: 0;
  border: 5px solid #d9a21b;
  border-radius: 6px;
  background: #fffaf0;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(36, 82, 131, 0.2);
  transition: transform 0.2s;
}
.as-photo img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.as-big { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.as-photo:nth-child(3) { transform: rotate(1deg); }
.as-photo:nth-child(4) { transform: rotate(-1deg); }
.as-photo:nth-child(6) { transform: rotate(1deg); }
.as-photo:hover { transform: rotate(0deg) translateY(-4px); }

/* Taped notes */
.as-note {
  position: relative;
  max-width: 46em;
  margin: 3em auto;
  padding: 2em 2.2em;
  background: #fffaf0;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(36, 82, 131, 0.15);
  transform: rotate(-1deg);
}
.as-note-right { transform: rotate(1deg); }
.as-note::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  width: 100px;
  height: 28px;
  margin-left: -50px;
  transform: rotate(3deg);
}
.as-note-pink::before { background: rgba(192, 105, 125, 0.5); }
.as-note-sage::before {
  transform: rotate(-3deg);
  background:
    repeating-linear-gradient(0deg, rgba(63, 90, 69, 0.4) 0px, rgba(63, 90, 69, 0.4) 7px, transparent 7px, transparent 14px),
    repeating-linear-gradient(90deg, rgba(63, 90, 69, 0.4) 0px, rgba(63, 90, 69, 0.4) 7px, transparent 7px, transparent 14px),
    #eef3ea;
}
.as-note-title {
  font-family: 'Gochi Hand', cursive;
  font-size: 2.4em;
  line-height: 1.1;
  color: #3f5a45;
  margin-bottom: 0.3em;
}
.as-note p { font-size: 1.12em; line-height: 1.85; color: #4a4a5a; margin: 0; }

/* Tournament info */
.as-tourney {
  background: #fffaf0;
  border: 1px solid #efe3c8;
  border-radius: 14px;
  padding: 2em 2.2em;
  box-shadow: 0 10px 24px rgba(36, 82, 131, 0.12);
}
.as-h {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 2em;
  line-height: 1.2;
  color: #245283;
  text-align: center;
  margin-bottom: 0.7em;
}
.as-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0;
  margin: 0 0 1.6em;
}
.as-facts li {
  background: #e3eef7;
  border-radius: 999px;
  padding: 0.5em 1.1em;
  font-size: 1em;
  color: #245283;
  margin: 0;
}
.as-facts strong {
  font-size: 0.75em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-right: 0.6em;
  color: #3f5a45;
}
.as-rounds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.as-round {
  background: #fff;
  border: 1px solid #efe3c8;
  border-radius: 12px;
  padding: 1.2em 1.4em;
}
.as-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: var(--star) no-repeat center / contain;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  color: #5a3d00;
  margin-bottom: 0.5em;
}
.as-round-title {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.2em;
  line-height: 1.25;
  color: #3f5a45;
  margin-bottom: 0.4em;
}
.as-round p { font-size: 1em; line-height: 1.7; color: #4a4a5a; margin: 0; }

/* Phones */
@media (max-width: 736px) {
  .as-title { font-size: 3em; }
  .as-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 150px; }
  .as-big { grid-column: 1 / span 2; grid-row: auto; height: 230px; }
  .as-rounds { grid-template-columns: 1fr; }
}