:root{
  --ink:#0d1b2a; --muted:#5c6b7a; --bg:#f6f8fb; --card:#ffffff; --line:#e6edf5;
  --primary:#0b5ed7; --primary-dark:#0849a6; --accent:#d40000;
}
*{box-sizing:border-box} html,body{margin:0;padding:0}
body{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,'Helvetica Neue',Arial,sans-serif;
  color:var(--ink);
  background: radial-gradient(1000px 600px at 10% -10%, #eaf2ff 0%, #f6f8fb 60%, #f6f8fb 100%) fixed, var(--bg);
  line-height:1.55;
}
img{max-width:100%;height:auto;display:block}
.container{max-width:1140px;margin:0 auto;padding:0 20px}

/* Header */
.masthead{background:linear-gradient(180deg, #0e2a55 0%, #143a77 100%); color:#fff; border-bottom:4px solid var(--accent);}
.mast-inner{display:flex; align-items:center; gap:18px; padding:22px 0; justify-content:center;}
.mast-logo{height:88px;width:auto;filter:drop-shadow(0 3px 8px rgba(0,0,0,.3))}
.mast-title{display:flex; flex-direction:column; line-height:1.05; text-align:left}
.mast-line1{font-size:2.1rem; font-weight:900; letter-spacing:.2px}
.mast-line2{font-size:1.5rem; font-weight:800; opacity:.96}

/* Sections + cards */
.hero-welcome{
  background:#fff; border:1px solid var(--line); border-radius:14px; margin:22px auto 10px;
  padding:18px 20px; text-align:center; box-shadow:0 6px 18px rgba(20,58,119,.06);
}
.hero-welcome .headline{font-family:Georgia,'Times New Roman',serif; font-size:2rem; font-weight:700; color:#0e2a55;}
.feature-split{margin:36px 0}
.feature-wrap{display:flex; flex-wrap:wrap; gap:28px; justify-content:center; align-items:center;}
.feature-left, .feature-right{flex:1 1 380px; max-width:520px}
.flyer{
  border-radius:12px;
  border:1px solid var(--line);
  box-shadow:0 8px 22px rgba(14,42,85,.15);
  width:90%;
  max-height:80vh;
  object-fit:contain;
  margin:0 auto;
}
.card{background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:0 10px 24px rgba(14,42,85,.10); padding:26px; text-align:center;}
.card h2{margin:0 0 14px;font-size:1.75rem;color:#0e2a55}
.stack-12>*+*{margin-top:12px} .stack-16>*+*{margin-top:16px} .stack-20>*+*{margin-top:20px}

/* Buttons */
.btn{display:inline-block; text-decoration:none; font-weight:800; padding:12px 20px; border-radius:10px;
    transition:transform .05s ease, box-shadow .2s ease, background .2s ease; box-shadow:0 6px 14px rgba(11,94,215,.18);}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--primary); color:#fff;} .btn-primary:hover{background:var(--primary-dark)}
.btn-ghost{background:#fff; color:#143a77; border:2px solid #143a77; box-shadow:none;} .btn-ghost:hover{background:#f0f6ff}

/* Countdown footer */
.countdown-bar{background:linear-gradient(180deg, #143a77 0%, #0e2a55 100%); color:#fff; border-top:4px solid var(--accent); margin-top:42px;}
.countdown-inner{padding:26px 0; text-align:center}
.countdown-title{font-size:1.15rem; font-weight:900; letter-spacing:.02em; opacity:.92}
.countdown-time{font-size:2.1rem; font-weight:1000; margin:10px 0 16px}
.addcal{display:inline-block; background:#fff; color:#143a77; font-weight:900; border-radius:10px; padding:12px 18px; text-decoration:none; border:2px solid #fff}
.addcal:hover{background:#e6f0ff; color:#0e2a55}

footer{border-top:1px solid var(--line); background:#fff}
footer .container{padding:16px 0; color:#5c6b7a; font-size:.95rem}

/* Mobile tweaks */
@media (max-width: 480px){
  .mast-logo{height:56px}
  .mast-line1{font-size:1.6rem}
  .mast-line2{font-size:1.2rem}
  .card h2{font-size:1.35rem}
  .countdown-time{font-size:1.6rem}

/* Red Outline Clear Orders Button */
.btn-clear-danger {
    background-color: #ffffff !important;  /* white background */
    color: #004aad !important;              /* blue text */
    border: 3px solid #c00000 !important;  /* red outline */
    border-radius: 8px !important;
    padding: 10px 16px !important;
}
.btn-clear-danger:hover {
    background-color: #ffe5e5 !important;
    border-color: #a00000 !important;
    color: #004aad !important;
}
/* Larger Ticket Button */
.btn-big-ticket {
    font-size: 1.4rem !important;
    padding: 18px 28px !important;
}

/* Bigger ticket button */
.btn-big-ticket {
    font-size: 1.4rem !important;
    padding: 18px 28px !important;
}

/* Gentle glowing pulse around the ticket button */
@keyframes pulse {
    0%  { box-shadow: 0 0 0px rgba(192, 0, 0, 0.0); }
    50%  { box-shadow: 0 0 18px rgba(192, 0, 0, 0.7); }
    100% { box-shadow: 0 0 0px rgba(192, 0, 0, 0.0); }
}

.pulse-button {
    animation: pulse 1.6s infinite;
}

/* Mobile – stack flyer and event highlights */
@media (max-width: 600px) {
  .feature-wrap {
    flex-direction: column !important;
    align-items: center !important;
  }

  .feature-left,
  .feature-right {
    max-width: 100% !important;
    flex: 1 1 100% !important;
    margin-bottom: 20px !important;
  }

  .flyer {
    width: 100% !important;
    max-width: 500px !important;
  }

  .card {
    width: 100% !important;
    max-width: 900px !important;
  }
/* Keep Date/Time column on one line in admin tables */
table th:first-child,
table td:first-child {
    white-space: nowrap;
}

