:root {
  color-scheme: light dark;
  --primary-yellow: #ffd700;
  --accent-yellow: #ffe76a;
  --deep-green: #276b46;
  --soft-white: #fcfcf6;
  --card-radius: 28px;
  --glass-bg: rgba(255,255,255,0.16);
  --gold-highlight: linear-gradient(90deg, #ffd700 15%, #ffa500 85%);
  --neon-gradient: linear-gradient(135deg, #00f2fe 0%, #e52e71 100%);
  --footer-gradient: linear-gradient(135deg, #232526 70%, #00f2fe 100%);
  --border-glass: rgba(244,215,63,0.20);
  --card-shadow: 0 8px 32px 0 rgba(0,242,254,0.18), 0 1.5px 6px 0 #e52e71;
  --main-bg: linear-gradient(135deg, #1e2024 0%, #232526 100%);
}
@media (prefers-color-scheme: dark) {
  :root {
    --soft-white: #181819;
    --deep-green: #f4d33f;
    --footer-gradient: linear-gradient(135deg, #232526 60%, #00f2fe 100%);
    --gold-highlight: linear-gradient(90deg, #ffa500 10%, #ffd700 85%);
  }
}
body {
  background: var(--main-bg), var(--soft-white);
  background-blend-mode: overlay;
  color: var(--deep-green);
  font-family: 'Montserrat', 'Poppins', 'Arial', sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 {
  margin-top: 2rem;
  font-size: 3rem;
  font-weight: 900;
  text-align: center;
  letter-spacing: 2px;
  background: var(--gold-highlight);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 20px #ffe76a33;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 2rem;
  padding: 2.5rem;
  margin: 3rem 0 2rem;
  background: linear-gradient(120deg, #ffe76a55 60%, #fff0 100%);
  border-radius: 35px;
  box-shadow: 0 8px 32px 0 rgba(244,215,63,0.18), 0 2px 12px 0 #e52e71;
  max-width: 1300px;
  width: 100%;
  backdrop-filter: blur(8px);
}

.grid-item {
  background: var(--glass-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  border: 2px solid var(--border-glass);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s, box-shadow 0.25s, border 0.25s;
  position: relative;
  backdrop-filter: blur(12px) saturate(160%);
}

.grid-item:hover {
  transform: scale(1.05) translateY(-8px);
  box-shadow: 0 16px 42px 0 #e52e7188, 0 2px 12px 0 #00f2fe;
  border: 2.8px solid #00f2fe;
}

.grid-image {
  width: 100%;
  height: 318px;
  object-fit: cover;
  border-bottom: 3px solid var(--primary-yellow);
  background: var(--neon-gradient);
  border-top-right-radius: 25px;
  border-top-left-radius: 25px;
}

.caption {
  padding: 1.05rem 1.3rem;
  background: linear-gradient(90deg, #232526 44%, #ffe76a11 100%);
  font-size: 1.15rem;
  color: var(--primary-yellow);
  font-weight: 700;
  text-align: center;
  letter-spacing: 1px;
  border-radius: 0 0 25px 25px;
  box-shadow: 0 2px 6px #ffa50011;
}

.cta-container {
  margin: 2.5rem 0 2.5rem;
  text-align: center;
}
.cta-button {
  font-size: 1.43rem;
  font-weight: 900;
  color: #232526;
  background: var(--neon-gradient), var(--gold-highlight);
  background-blend-mode: overlay;
  border-radius: 60px;
  box-shadow: 0 6px 20px #e52e7188, 0 3px 12px #efd91b55;
  padding: 1.13rem 3.2rem;
  letter-spacing: 1.5px;
  outline: none;
  border: none;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(.67,-0.55,.27,1.55);
  display: inline-block;
}
.cta-button:hover {
  transform: scale(1.08) translateY(-4px);
  background: linear-gradient(90deg, #ffd700 12%, #ff8a00 90%);
  color: #fff;
  box-shadow: 0 10px 35px #e52e71cc, 0 2px 8px #ffd70033;
}

footer {
  margin-top: 4rem;
  width: 100%;
  background: var(--footer-gradient);
  color: var(--primary-yellow);
  font-family: inherit;
  border-top-left-radius: 35px;
  border-top-right-radius: 35px;
  box-shadow: 0 -9px 40px #00f2fe18;
  padding: 2.5rem 1.5rem 1.5rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
footer::before, footer::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
footer::before {
  top: -80px; left: -80px;
  width: 190px; height: 190px;
  background: rgba(255,250,190,0.23);
  border-radius: 50%;
  filter: blur(42px);
}
footer::after {
  bottom: -85px; right: -85px;
  width: 190px; height: 190px;
  background: rgba(0,242,254,0.22);
  border-radius: 50%;
  filter: blur(55px);
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.3rem;
  z-index: 1;
}

.footer-logo {
  font-size: 2.06rem;
  font-weight: 900;
  background: var(--gold-highlight);
  letter-spacing: 2.3px;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.9rem;
  text-transform: uppercase;
  filter: drop-shadow(0 2px 10px #ffd70088);
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
}
.footer-socials a {
  font-size: 1.7rem;
  color: var(--primary-yellow);
  background: linear-gradient(135deg, #00f2fe 20%, #e52e71 90%);
  border-radius: 50%;
  padding: 0.7rem;
  margin: 0 0.3rem;
  transition: transform 0.32s, background 0.3s, color 0.2s;
  filter: drop-shadow(0 2px 9px #00f2fe33);
}
.footer-socials a:hover {
  background: linear-gradient(135deg, #e52e71 25%, #ffd700 70%);
  color: #232526;
  transform: scale(1.24) rotate(10deg);
  filter: drop-shadow(0 2px 19px #e52e71cc);
}
.footer-bottom {
  margin-top: 1.3rem;
  font-size: 1.04rem;
  color: var(--accent-yellow);
  opacity: 0.89;
  letter-spacing: 0.8px;
}

@media (max-width: 1000px) {
  .grid-container {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    padding: 1.1rem;
  }
  .grid-image { height: 180px; }
  h1 { font-size: 2.1rem; }
  .cta-button {
    font-size: 1.05rem;
    padding: 0.8rem 2rem;
  }
  footer {
    padding: 1.6rem 0.5rem 0.8rem;
  }
}
