/* Homepage layout helpers (from design index.html inline styles) */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.cat-preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }
.winner-preview { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
.event-strip { display: flex; flex-wrap: wrap; gap: var(--space-3xl); justify-content: center; align-items: center; padding: var(--space-2xl) 0; }
.event-strip__item { display: flex; align-items: center; gap: var(--space-md); transition: transform var(--duration-fast); }
.event-strip__item:hover { transform: translateY(-2px); }
.event-strip__icon { width: 44px; height: 44px; min-width: 44px; border-radius: 50%; background: rgba(212,169,78,0.06); display: flex; align-items: center; justify-content: center; color: var(--champagne); transition: transform var(--duration-base) var(--ease-spring), background var(--duration-base); }
.event-strip__item:hover .event-strip__icon { background: rgba(212,169,78,0.13); transform: scale(1.05); }
.event-strip__icon svg { width: 18px; height: 18px; stroke: currentColor; }
.cat-preview-viewall {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(212,169,78,0.03);
  border-color: rgba(212,169,78,0.09);
  font-weight: 600;
  color: var(--champagne);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  text-decoration: none;
}
.cat-preview-viewall:hover { color: var(--gold-specular); }
.category-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-md);
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1.25;
}
.category-card__desc {
  font-size: var(--text-xs);
  color: var(--grey-500);
  line-height: 1.55;
  margin: 0;
}
.category-card__more-list {
  font-size: var(--text-xs);
  color: var(--grey-500);
  margin-top: var(--space-sm);
  line-height: 1.5;
}
.cat-preview-viewall svg { display: inline; vertical-align: middle; margin-left: 4px; }

.hero { position: relative; overflow: hidden; }
.hero__bg-image { position: absolute; inset: 0; z-index: 0; background: url('../img/hero/hero-bg-v5.png') center/cover no-repeat; animation: heroBgPulse 10s ease-in-out infinite; will-change: transform; }
@keyframes heroBgPulse { 0%, 100% { transform: scale(1); opacity: 1; } 40% { transform: scale(1.05); opacity: 0.88; } 70% { transform: scale(1.02); opacity: 0.94; } }
.hero__bg-image::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 55%, rgba(38,11,50,0.28) 0%, rgba(20,6,24,0.52) 45%, rgba(6,2,10,0.90) 100%); }
.hero__canvas { z-index: 1; opacity: 0.85; mix-blend-mode: screen; }
.hero__content { position: relative; z-index: 3; }
.hero__float-element { z-index: 2; }
.hero__sparkle-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.6; mix-blend-mode: screen; }
.hero__sweep { position: absolute; top: -50%; left: 0; width: 60%; height: 200%; background: linear-gradient(105deg, transparent 40%, rgba(247,239,200,0.05) 45%, rgba(247,239,200,0.10) 50%, rgba(247,239,200,0.05) 55%, transparent 60%); z-index: 2; pointer-events: none; animation: heroSweep 8s ease-in-out infinite; transform: skewX(-15deg) translateX(-100%); will-change: transform; }
@keyframes heroSweep { 0% { transform: skewX(-15deg) translateX(-100%); } 55% { transform: skewX(-15deg) translateX(220%); } 100% { transform: skewX(-15deg) translateX(220%); } }

.hero__event-info { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-xl); align-items: center; justify-content: center; margin-top: var(--space-xl); padding: var(--space-lg) var(--space-2xl); border: 1px solid rgba(212,169,78,0.12); border-radius: var(--radius-sm); background: rgba(10,4,16,0.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero__event-item { display: flex; align-items: center; gap: var(--space-sm); font-family: var(--font-ui); font-size: var(--text-xs); color: var(--grey-400); letter-spacing: 0.02em; transition: color var(--duration-fast); }
.hero__event-item:hover { color: var(--white); }
.hero__event-item strong { color: var(--white); font-weight: 600; }
.hero__event-icon { width: 28px; height: 28px; min-width: 28px; border-radius: 50%; background: rgba(212,169,78,0.06); display: flex; align-items: center; justify-content: center; color: var(--champagne); transition: background var(--duration-fast), transform var(--duration-fast); }
.hero__event-item:hover .hero__event-icon { background: rgba(212,169,78,0.14); transform: scale(1.06); }
.hero__event-icon svg { width: 14px; height: 14px; }

.video-placeholder:hover .video-placeholder__play { transform: scale(1.08); box-shadow: 0 0 40px rgba(212,169,78,0.25); }
.video-placeholder__play { transition: transform var(--duration-base) var(--ease-spring), box-shadow var(--duration-base); }

.about-reel {
  margin-top: var(--space-2xl);
}
.about-reel__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(10, 4, 16, 0.6);
  border: 1px solid rgba(212, 169, 78, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.about-reel__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(212, 169, 78, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.about-reel__content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.about-reel__play {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--champagne);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}
.about-reel__play svg {
  margin-left: 4px;
}
.about-reel__label {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: var(--champagne);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

@media (max-width: 768px) {
  .about-reel {
    margin-left: calc(-1 * var(--space-lg));
    margin-right: calc(-1 * var(--space-lg));
    width: calc(100% + 2 * var(--space-lg));
    max-width: none;
  }
  .about-reel__media {
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
}

@media (max-width: 1024px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .winner-preview { grid-template-columns: repeat(2, 1fr); }
  .hero__event-info { gap: var(--space-sm) var(--space-md); padding: var(--space-md) var(--space-lg); }
}
@media (max-width: 768px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .cat-preview-grid { grid-template-columns: 1fr; }
  .winner-preview { grid-template-columns: 1fr 1fr; }
  .event-strip { gap: var(--space-xl); }
  .hero__event-info { flex-direction: column; align-items: flex-start; gap: var(--space-sm); padding: var(--space-md); }
}
@media (max-width: 480px) {
  .winner-preview { grid-template-columns: 1fr; }
}

/* Bridge: keep Grav modular page wrappers neutral */
html.MMAwards,
html.MMAwards body {
  background: var(--dark-purple);
  color: var(--grey-200);
  font-family: var(--font-body);
}

html.MMAwards .site-main,
html.MMAwards main {
  min-height: 50vh;
}

/* Legacy mmawards section helpers → WIRA section tones */
html.MMAwards .section-dark,
html.MMAwards .section-elevated {
  background: var(--dark-purple);
  color: var(--grey-200);
  padding: var(--space-section) 0;
}
html.MMAwards .section-label,
html.MMAwards .solid-bronze {
  color: var(--champagne);
}
html.MMAwards .solid-bronze {
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html.MMAwards .text-content a {
  color: var(--gold-light);
}
html.MMAwards .categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
@media (max-width: 1024px) {
  html.MMAwards .categories-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  html.MMAwards .categories-grid { grid-template-columns: 1fr; }
}
html.MMAwards .categories-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-2xl);
}
html.MMAwards .category-card-number {
  font-family: var(--font-display);
  color: rgba(212,169,78,0.25);
  font-size: var(--text-2xl);
  line-height: 1;
  margin-bottom: var(--space-sm);
}
html.MMAwards .card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
html.MMAwards .btn--outline-sm {
  padding: 0.55rem 1rem;
  font-size: var(--text-xs);
}
html.MMAwards .btn--large,
html.MMAwards .btn--primary--lg {
  padding-inline: 1.75rem;
}
html.MMAwards .modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,6,11,0.82);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: var(--space-xl);
}
html.MMAwards .modal-overlay.is-open,
html.MMAwards .modal-overlay.open,
html.MMAwards .modal-overlay:not(.hidden)[aria-hidden="false"] {
  display: flex;
  opacity: 1;
  pointer-events: all;
}
html.MMAwards .modal-dialog {
  background: var(--gradient-card);
  border: 1px solid rgba(212,169,78,0.18);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
  max-width: 720px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow: auto;
}
html.MMAwards .modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: 0;
  color: var(--champagne);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Badge variants for category preview */
.category-card__badge--leadership { background: rgba(113,0,101,0.2); color: #E8A0D0; }
.category-card__badge--agency { background: rgba(58,14,42,0.5); color: var(--champagne-light); }
.category-card__badge--rising-star { background: rgba(212,169,78,0.12); color: var(--gold-bright); }
.category-card__badge--team { background: rgba(38,11,50,0.7); color: var(--champagne); }
.category-card__badge--individual { background: rgba(212,169,78,0.08); color: var(--gold-light); }

/* Loader must not block the page if third-party assets hang */
html.js-ready .page-loader,
.page-loader--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ==========================================================================
   TICKET PRICING (home modular)
   ========================================================================== */
html.MMAwards .ticket-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
  width: 100%;
}

html.MMAwards .ticket-grid .category-card--ticket {
  flex: 1 1 280px;
  width: 100%;
  max-width: 360px;
  cursor: default;
}

html.MMAwards .category-card--ticket {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: center;
  align-items: center;
}

html.MMAwards .category-card--ticket.category-card--disabled {
  opacity: 0.55;
  pointer-events: none;
}

html.MMAwards .ticket-sold-out {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 6, 11, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

html.MMAwards .ticket-sold-out__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: var(--gradient-button);
  color: var(--midnight-plum, #1C0A26);
  font-family: var(--font-ui);
  font-size: 0.71875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html.MMAwards .category-card .ticket-price.category-card-number {
  font-size: 2.25rem;
  color: var(--champagne);
  opacity: 1;
  margin-bottom: var(--space-sm);
}

html.MMAwards .category-card:hover .ticket-price.category-card-number {
  color: var(--gold-bright);
  text-shadow: 0 0 40px rgba(212, 169, 78, 0.2);
}

html.MMAwards .ticket-gst {
  font-size: 0.8125rem;
  font-family: var(--font-ui);
  font-weight: 500;
  font-style: normal;
  color: var(--grey-400);
  letter-spacing: 0;
}

html.MMAwards .ticket-price .ticket-gst {
  margin: 0;
  display: inline;
}

html.MMAwards .ticket-card-cta {
  margin-top: var(--space-lg);
  padding-top: 0;
  text-align: center;
}

html.MMAwards .ticket-notes {
  list-style: none;
  margin: var(--space-lg) 0 0;
  padding: var(--space-md) 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  width: 100%;
  text-align: center;
}

html.MMAwards .ticket-notes li {
  font-size: 0.8125rem;
  color: var(--grey-400);
  line-height: 1.55;
  font-style: italic;
  margin: 0 0 4px;
}

html.MMAwards .ticket-notes li:last-child {
  margin-bottom: 0;
}

html.MMAwards .category-card--ticket > .category-card__title,
html.MMAwards .category-card--ticket > h3 {
  margin-top: 0;
  margin-bottom: var(--space-md);
}

html.MMAwards .ticket-desc,
html.MMAwards .ticket-modular-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 0;
  flex: 1;
  width: 100%;
}

@media (max-width: 768px) {
  html.MMAwards .ticket-grid .category-card--ticket {
    flex: 1 1 100%;
    max-width: 500px;
  }
}
