/*
 * Crusaders Super Bowl Squares - Main Stylesheet


 */

/* CSS Variables */
:root {
  --primary-color: #b71c1c;
  --primary-dark: #7f0000;
  --primary-light: #e53935;
  --accent-color: #c9a227;
  --accent-light: #ffecb3;
  --success-color: #2e7d32;
  --warning-color: #ef6c00;
  --danger-color: #c62828;
  --neutral-100: #f8f9fa;
  --neutral-200: #e9ecef;
  --neutral-300: #dee2e6;
  --neutral-400: #ced4da;
  --neutral-600: #6c757d;
  --neutral-800: #343a40;
  --neutral-900: #212529;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.15);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, #d32f2f 100%);
  min-height: 100vh;
  color: var(--neutral-900);
  line-height: 1.5;
}

/* Container */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Flash Messages */
.flash {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  text-align: center;
}

.flash-notice {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.flash-alert {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Site Header */
.site-header {
  text-align: center;
  margin-bottom: 1rem;
  padding: 2rem;
  background: var(--neutral-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.site-logo {
  max-width: 300px;
  height: auto;
  margin: 0 auto 1rem;
  display: block;
}

.site-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.site-subtitle {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gradient-text {
  background: linear-gradient(90deg, var(--accent-color) 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Promotional Banner */
.promo-banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 3px solid var(--accent-color);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.5);
  }
  50% {
    box-shadow: 0 0 30px rgba(201, 162, 39, 0.8);
  }
}

.promo-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-heading);
  color: white;
}

.promo-price {
  font-size: 1.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.promo-divider {
  font-size: 1.5rem;
  opacity: 0.6;
}

.promo-prize {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.promo-subheader {
  margin-top: 0.75rem;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.5px;
}

/* How to Play Section */
.how-to-play {
  background: var(--neutral-100);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}

.how-to-play h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--primary-color);
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.how-to-play p {
  margin: 0 0 0.75rem;
  color: var(--neutral-800);
}

.how-to-play .payouts {
  background: var(--accent-light);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent-color);
}

.how-to-play .note {
  font-size: 0.9rem;
  color: var(--neutral-600);
  margin-bottom: 0;
}

/* Board Section */
.board-section {
  background: var(--neutral-100);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--neutral-200);
}

.board-header h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 0;
  text-transform: uppercase;
}

.board-stats {
  font-size: 1rem;
  color: var(--neutral-600);
  margin: 0;
}

.board-stats .sold-count {
  font-weight: 700;
  color: var(--primary-color);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-open {
  background: var(--success-color);
  color: white;
}

.badge-filled {
  background: var(--neutral-600);
  color: white;
}

.badge-success {
  background: var(--success-color);
  color: white;
}

.badge-warning {
  background: var(--warning-color);
  color: white;
}

.badge-secondary {
  background: var(--neutral-400);
  color: var(--neutral-800);
}

/* Board Navigation */
.board-nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.board-nav-item {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--primary-color);
  background: var(--neutral-200);
  transition: all 0.2s ease;
}

.board-nav-item:hover {
  background: var(--primary-light);
  color: white;
}

.board-nav-item.active {
  background: var(--primary-color);
  color: white;
  font-weight: 600;
}

/* Squares Grid Container */
.squares-grid-container {
  position: relative;
  padding: 2rem 0 0 2rem;
}

.team-label {
  position: absolute;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team-label-top {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.team-label-left {
  left: 0;
  top: 50%;
  transform: rotate(-90deg) translateX(-50%);
  transform-origin: left center;
  white-space: nowrap;
}

/* Squares Grid */
.squares-grid {
  display: grid;
  grid-template-columns: 40px repeat(10, 1fr);
  grid-template-rows: 40px repeat(10, 1fr);
  gap: 2px;
  background: var(--neutral-400);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.grid-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  min-height: 55px;
  font-size: 0.8rem;
}

.corner-cell {
  background: var(--primary-color);
}

.header-cell {
  background: var(--primary-color);
  color: white;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
}

.hidden-label {
  color: rgba(255,255,255,0.5);
}

/* Square Cells */
.square-cell {
  padding: 4px;
  transition: all 0.2s ease;
}

.square-cell.available {
  background: var(--neutral-100);
}

.square-cell.available:hover {
  background: var(--accent-light);
}

.square-cell.sold {
  background: linear-gradient(135deg, var(--success-color) 0%, #1b5e20 100%);
  color: white;
}

.square-cell.pending {
  background: var(--warning-color);
  color: white;
}

.purchaser-name {
  font-weight: 600;
  font-size: 0.7rem;
  text-align: center;
  word-break: break-word;
  line-height: 1.2;
}

.pending-label {
  font-size: 0.7rem;
  font-style: italic;
}

/* Buy Button */
.buy-button {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  color: var(--primary-color);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px;
  transition: all 0.2s ease;
  text-transform: uppercase;
}

.buy-button:hover {
  color: var(--accent-color);
  transform: scale(1.05);
}

.labels-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--neutral-600);
  margin-top: 1rem;
  margin-bottom: 0;
}

/* Floating Cart Toggle Button */
.cart-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: all 0.3s ease;
}

.cart-toggle:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

.cart-toggle.has-items {
  animation: bounce 0.5s ease;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.cart-icon {
  width: 28px;
  height: 28px;
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--accent-color);
  color: var(--neutral-900);
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all 0.2s ease;
}

.cart-badge.has-items {
  opacity: 1;
  transform: scale(1);
}

/* Cart Overlay */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-overlay.visible {
  opacity: 1;
  visibility: visible;
}

/* Slide-out Cart Panel */
.cart-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 350px;
  max-width: 90vw;
  height: 100vh;
  background: white;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}

.cart-panel.open {
  right: 0;
}

.cart-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: var(--primary-color);
  color: white;
}

.cart-panel-header h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cart-close {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.cart-close:hover {
  opacity: 1;
}

.cart-timer-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background: var(--neutral-100);
  border-bottom: 1px solid var(--neutral-200);
}

.timer-label {
  font-size: 0.85rem;
  color: var(--neutral-600);
}

.cart-timer {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
}

.cart-timer.urgent {
  color: var(--danger-color);
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--neutral-100);
  border-radius: var(--radius-md);
  margin-bottom: 0.5rem;
}

.cart-item-label {
  font-weight: 500;
  color: var(--neutral-800);
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--neutral-600);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0 0.25rem;
  line-height: 1;
  transition: color 0.2s;
}

.cart-item-remove:hover {
  color: var(--danger-color);
}

.cart-empty {
  text-align: center;
  color: var(--neutral-600);
  padding: 2rem 1rem;
  line-height: 1.6;
}

.cart-footer {
  padding: 1.25rem;
  border-top: 2px solid var(--neutral-200);
  background: var(--neutral-100);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cart-footer .btn {
  width: 100%;
  margin-bottom: 0.5rem;
}

.cart-footer .btn:last-child {
  margin-bottom: 0;
}

/* Square Button States */
.square-btn {
  width: 100%;
  height: 100%;
  border: none;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px;
  transition: all 0.2s ease;
  text-transform: uppercase;
  border-radius: 2px;
}

.square-btn.buy-button {
  background: transparent;
  color: var(--primary-color);
}

.square-btn.buy-button:hover {
  background: var(--primary-light);
  color: white;
}

.square-btn.in-cart-btn {
  background: var(--primary-color);
  color: white;
}

.square-btn.in-cart-btn:hover {
  background: var(--primary-dark);
}

.square-btn.taken-btn {
  background: var(--neutral-300);
  color: var(--neutral-600);
  cursor: not-allowed;
}

.square-btn.loading {
  opacity: 0.7;
  cursor: wait;
}

.square-cell.in_cart {
  background: var(--neutral-200);
}

.square-cell.my-cart {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.square-cell.my-cart .in-cart-btn {
  background: transparent;
  color: white;
}

/* Site Footer */
.site-footer {
  text-align: center;
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
}

.site-footer p {
  margin: 0 0 1rem;
  color: white;
}

.admin-link {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  text-decoration: none;
}

.admin-link:hover {
  color: white;
  text-decoration: underline;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: var(--neutral-200);
  color: var(--neutral-800);
}

.btn-secondary:hover {
  background: var(--neutral-300);
}

.btn-small {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
}

/* Checkout Result Pages */
.checkout-result {
  background: var(--neutral-100);
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.checkout-result .result-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
}

.checkout-result.success .result-icon {
  background: var(--success-color);
  color: white;
}

.checkout-result.cancelled .result-icon {
  background: var(--danger-color);
  color: white;
}

.checkout-result h2 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  margin: 0 0 1rem;
}

.checkout-result p {
  color: var(--neutral-600);
  margin: 0 0 1rem;
}

.purchase-details {
  background: var(--neutral-200);
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
}

.purchase-details p {
  margin: 0.25rem 0;
}

.confirmation-note {
  font-style: italic;
  font-size: 0.9rem;
}

/* No Event Page */
.no-event-message {
  background: var(--neutral-100);
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.no-event-message h3 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  margin: 0 0 1rem;
}

/* Login Form */
.login-form-section {
  background: var(--neutral-100);
  padding: 2rem;
  border-radius: var(--radius-lg);
  max-width: 400px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.login-form-section h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 0 0 1.5rem;
  text-align: center;
  text-transform: uppercase;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--neutral-800);
  font-size: 0.9rem;
}

.form-input {
  padding: 0.75rem 1rem;
  border: 2px solid var(--neutral-300);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-actions {
  margin-top: 0.5rem;
}

.btn-full {
  width: 100%;
}

.back-link {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
  color: var(--neutral-600);
  text-decoration: none;
  font-size: 0.9rem;
}

.back-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Event Form */
.event-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 500px;
}

.payout-info {
  display: flex;
  gap: 2rem;
  padding: 1rem;
  background: var(--neutral-200);
  border-radius: var(--radius-md);
}

.payout-info p {
  margin: 0;
}

/* ========================================
   ADMIN STYLES
   ======================================== */

.admin-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.admin-header {
  background: var(--neutral-100);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-header h1 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  margin: 0;
  font-size: 1.75rem;
  text-transform: uppercase;
}

.admin-user {
  font-size: 0.9rem;
  color: var(--neutral-600);
}

.admin-nav {
  display: flex;
  gap: 0.5rem;
}

/* Admin Stats */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--neutral-100);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--neutral-600);
  margin-top: 0.25rem;
}

/* Admin Sections */
.admin-section {
  background: var(--neutral-100);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.admin-section h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--primary-color);
  margin: 0 0 1rem;
  text-transform: uppercase;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--neutral-200);
}

/* Admin Tables */
.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--neutral-200);
}

.admin-table th {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--neutral-600);
  background: var(--neutral-200);
}

.admin-table tbody tr:hover {
  background: var(--neutral-200);
}

.empty-message {
  text-align: center;
  color: var(--neutral-600);
  font-style: italic;
  padding: 2rem;
}

/* Boards List */
.boards-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.board-card {
  background: white;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-200);
  transition: box-shadow 0.2s ease;
}

.board-card:hover {
  box-shadow: var(--shadow-md);
}

.board-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--primary-color);
  margin: 0 0 0.75rem;
}

.board-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--neutral-600);
}

/* Board Actions */
.board-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--neutral-200);
  border-radius: var(--radius-md);
}

.board-status {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}

.board-actions-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Admin Grid */
.admin-grid-container {
  position: relative;
  padding: 2rem 0 0 2rem;
  overflow-x: auto;
}

.admin-squares-grid {
  display: grid;
  grid-template-columns: 50px repeat(10, minmax(80px, 1fr));
  grid-template-rows: 40px repeat(10, minmax(60px, auto));
  gap: 2px;
  background: var(--neutral-400);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-width: 700px;
}

.admin-square {
  flex-direction: column;
  gap: 2px;
  padding: 6px;
}

.admin-square .purchaser-email {
  font-size: 0.6rem;
  opacity: 0.8;
  word-break: break-all;
}

.admin-square .available-label {
  color: var(--neutral-400);
}

.admin-square .cart-label {
  color: var(--warning-color);
  font-weight: 600;
  font-size: 0.7rem;
}

.admin-square.in_cart {
  background: var(--accent-light);
}

/* Button Warning Style */
.btn-warning {
  background: var(--warning-color);
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-warning:hover {
  background: #d56000;
}

/* Responsive */
@media (max-width: 768px) {
  .site-logo {
    max-width: 200px;
  }
  
  .site-title {
    font-size: 1.75rem;
  }
  
  .site-subtitle {
    font-size: 1.1rem;
  }
  
  .squares-grid {
    grid-template-columns: 30px repeat(10, 1fr);
    grid-template-rows: 30px repeat(10, 1fr);
  }
  
  .grid-cell {
    min-height: 40px;
    font-size: 0.7rem;
  }
  
  .buy-button {
    font-size: 0.55rem;
  }
  
  .purchaser-name {
    font-size: 0.6rem;
  }
  
  .header-cell {
    font-size: 0.9rem;
  }
  
  .board-header {
    flex-direction: column;
    text-align: center;
  }
  
  .admin-header {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1rem 0.5rem;
  }
  
  .squares-grid-container {
    padding: 1.5rem 0 0 1.5rem;
  }
  
  .team-label {
    font-size: 0.7rem;
  }
  
  .grid-cell {
    min-height: 32px;
  }
  
  .squares-grid {
    grid-template-columns: 25px repeat(10, 1fr);
    grid-template-rows: 25px repeat(10, 1fr);
  }
  
  /* Mobile Promo Banner */
  .promo-banner {
    padding: 1rem 1.5rem;
  }
  
  .promo-content {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .promo-price {
    font-size: 1.5rem;
  }
  
  .promo-divider {
    display: none;
  }
  
  .promo-prize {
    font-size: 1.75rem;
  }
  
  .promo-subheader {
    font-size: 0.95rem;
    margin-top: 0.5rem;
  }
  
  /* Mobile Cart Styles */
  .cart-toggle {
    bottom: 15px;
    right: 15px;
    width: 55px;
    height: 55px;
  }
  
  .cart-panel {
    width: 100%;
    max-width: 100vw;
  }
  
  .cart-panel-header h3 {
    font-size: 1.1rem;
  }
}
