/* GMA Brand Theme — Global Marketing Association */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --gma-navy: #002E5D;
  --gma-navy-deep: #011E4A;
  --gma-navy-mid: #045184;
  --gma-blue: #116DFF;
  --gma-red: #E21C21;
  --gma-white: #FFFFFF;
  --gma-off-white: #F4F6F9;
  --gma-muted: #6B7280;
  --gma-success: #16A34A;
  --gma-radius: 12px;
  --gma-radius-lg: 18px;
  --gma-shadow: 0 8px 28px rgba(1, 30, 74, 0.28);
  --gma-font: 'Montserrat', 'Segoe UI', sans-serif;

  /* Aliases for legacy vars used across pages */
  --primary: #002E5D;
  --accent: #E21C21;
  --cyan: #116DFF;
}

html, body {
  font-family: var(--gma-font);
}

.gma-bg {
  background:
    radial-gradient(ellipse 90% 55% at 15% 0%, rgba(17, 109, 255, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(226, 28, 33, 0.18), transparent 50%),
    linear-gradient(165deg, #011E4A 0%, #002E5D 42%, #045184 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

.gma-logo {
  display: block;
  margin: 0 auto;
  width: 160px;
  max-width: 55vw;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.35));
}

.gma-logo-sm {
  width: 92px;
  height: auto;
  object-fit: contain;
}

.gma-brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gma-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.gma-brand-text small {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.85;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gma-brand-text span {
  font-size: 13px;
}

.gma-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: 8px;
  font-family: var(--gma-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
}

.gma-btn:active {
  transform: scale(0.98);
}

.gma-btn-primary {
  background: var(--gma-navy);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 46, 93, 0.4);
}

.gma-btn-primary:hover {
  background: var(--gma-navy-deep);
}

.gma-btn-secondary {
  background: #fff;
  color: var(--gma-navy);
  border: 2px solid #fff;
}

.gma-btn-secondary:hover {
  background: var(--gma-off-white);
}

.gma-btn-accent {
  background: var(--gma-red);
  color: #fff;
  box-shadow: 0 6px 18px rgba(226, 28, 33, 0.35);
}

.gma-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--gma-radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--gma-shadow);
}

.gma-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(1, 30, 74, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}

.gma-tabbar {
  display: flex;
  justify-content: space-around;
  position: fixed;
  bottom: 0;
  width: 100%;
  background: linear-gradient(180deg, #002E5D 0%, #011E4A 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 50;
  box-shadow: 0 -6px 24px rgba(1, 30, 74, 0.45);
}

.gma-tabbar .tabbar-item,
.gma-tabbar-item {
  flex: 1;
  text-align: center;
  padding: 8px 0 10px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}

.gma-tabbar .tabbar-item.active,
.gma-tabbar .tabbar-item:hover,
.gma-tabbar-item.active {
  color: #fff;
}

.gma-tabbar .tabbar-item img,
.gma-tabbar-item img {
  width: 24px;
  height: 24px;
  margin: 0 auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.75;
}

.gma-tabbar .tabbar-item.active img,
.gma-tabbar-item.active img {
  opacity: 1;
}

.gma-tabbar .tabbar-item span,
.gma-tabbar-item span {
  font-size: 11px;
  display: block;
  margin-top: 3px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.gma-accent {
  color: var(--gma-red);
}

.gma-input {
  position: relative;
  background: #fff;
  border-radius: 10px;
  margin: 12px 0;
  display: flex;
  align-items: center;
  padding: 12px 15px;
  box-shadow: 0 4px 14px rgba(1, 30, 74, 0.12);
  border: 1px solid rgba(0, 46, 93, 0.08);
}

.gma-input .icon {
  color: var(--gma-navy);
  font-size: 16px;
  min-width: 20px;
  text-align: center;
}

.gma-input input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 14px;
  margin-left: 10px;
  background: transparent;
  font-family: var(--gma-font);
  color: #111827;
}

@keyframes gmaFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes gmaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(226, 28, 33, 0.35); }
  50% { box-shadow: 0 0 0 10px rgba(226, 28, 33, 0); }
}

.gma-animate-in {
  animation: gmaFadeUp 0.55s ease both;
}

.gma-animate-in-delay {
  animation: gmaFadeUp 0.55s ease 0.12s both;
}
