/* ===== Variables ===== */
:root {
  --gp-bg-color: #ffffff;
  --gp-text-color: #333333;
  --gp-header-bg: linear-gradient(135deg, #007bff, #0056b3);
  --gp-card-bg: #ffffff;
  --gp-card-shadow: rgba(0,0,0,0.08);
  --gp-title-color: #007bff;
  --gp-border-color: #dddddd;
  --gp-note-bg: #fff3cd;
  --gp-note-border: #ffc107;
  --gp-note-text: #856404;
  --gp-dl-box-bg: #f1f8ff;
  --gp-dl-title: #0056b3;
  --gp-info-bg: #e9ecef;
  --gp-caption-color: #555555;
  --gp-footer-border: #dddddd;
}

body.dark-mode {
  --gp-bg-color: #1a1a1a;
  --gp-text-color: #f5f5f5;
  --gp-header-bg: linear-gradient(135deg, #6c757d, #495057);
  --gp-card-bg: #2c2c2c;
  --gp-card-shadow: rgba(0,0,0,0.5);
  --gp-title-color: #adb5bd;
  --gp-border-color: #444444;
  --gp-note-bg: #4a401c;
  --gp-note-border: #a08d3c;
  --gp-note-text: #ffeb99;
  --gp-dl-box-bg: #333333;
  --gp-dl-title: #adb5bd;
  --gp-info-bg: #3a3a3a;
  --gp-caption-color: #aaaaaa;
  --gp-footer-border: #444444;
}

/* ===== Base ===== */
.gp-wrapper, .gp-wrapper * { box-sizing: border-box; }
.gp-wrapper {
  font-family: Arial, sans-serif;
  background-color: var(--gp-bg-color);
  color: var(--gp-text-color);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}
.gp-wrapper p { margin: 0 0 12px; color: inherit; }
.gp-wrapper img { max-width: 100%; height: auto; }

/* Links & buttons - Modern UI */
.gp-wrapper a.gp-btn,
.gp-wrapper a.gp-btn:hover,
.gp-wrapper a.gp-btn:visited,
.gp-wrapper a.gp-btn:active,
.gp-btn { 
  color: #ffffff !important; /* Text color forced to white */
  text-decoration: none !important; 
}

.gp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600; 
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  line-height: 1.5;
  letter-spacing: 0.5px;
  border: none;
}

/* Primary Button - Modern GP Blue Gradient */
.gp-btn-primary {
  background: linear-gradient(135deg, #007bff, #0056b3);
  padding: 15px 40px;
  font-size: 18px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}
.gp-btn-primary:hover {
  background: linear-gradient(135deg, #0069d9, #004494);
  transform: translateY(-3px); 
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.45);
}

/* Secondary Button - Soft Teal/Cyan */
.gp-btn-secondary {
  background: linear-gradient(135deg, #20c997, #17a2b8);
  padding: 12px 30px;
  font-size: 16px;
  border-radius: 8px; 
  box-shadow: 0 4px 12px rgba(23, 162, 184, 0.2);
}
.gp-btn-secondary:hover {
  background: linear-gradient(135deg, #1ba87e, #138496);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(23, 162, 184, 0.35);
}

/* Footer Button - Elegant Dark */
.gp-btn-footer {
  background: linear-gradient(135deg, #6c757d, #495057);
  padding: 10px 25px;
  font-size: 16px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}
.gp-btn-footer:hover {
  background: linear-gradient(135deg, #5a6268, #343a40);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Header */
.gp-header {
  background: var(--gp-header-bg);
  padding: 40px 20px;
  text-align: center;
  color: #fff;
}
.gp-wrapper .gp-header h1 {
  margin: 0;
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  border: 0;
}
.gp-wrapper .gp-header p { margin-top: 10px; font-size: 18px; opacity: 0.9; color: #fff; }

/* Note */
.gp-note {
  background-color: var(--gp-note-bg);
  border-left: 5px solid var(--gp-note-border);
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 25px;
  color: var(--gp-note-text);
}

/* Card */
.gp-card {
  background: var(--gp-card-bg);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px var(--gp-card-shadow);
  border: 1px solid var(--gp-border-color);
  margin-bottom: 30px;
}
.gp-wrapper .gp-title {
  color: var(--gp-title-color);
  border-bottom: 2px solid var(--gp-title-color);
  padding-bottom: 10px;
  margin: 0 0 15px;
  font-size: 22px;
  background: none;
}

.gp-center { text-align: center; }
.gp-mt { margin-top: 20px; }

/* QR */
.gp-qr {
  width: 250px;
  border: 1px solid var(--gp-border-color);
  border-radius: 8px;
  padding: 5px;
  background: #fff;
}
.gp-wrapper .gp-caption { font-size: 13px; color: var(--gp-caption-color); margin-top: 8px; }

/* Download box */
.gp-dl-box {
  background: var(--gp-dl-box-bg);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  margin-top: 25px;
}
.gp-wrapper .gp-dl-box h3 { margin: 0 0 8px; color: var(--gp-dl-title); font-size: 18px; }

/* Images */
.gp-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}
.gp-flex-item { text-align: center; width: 45%; }
.gp-wrapper .gp-flex-item p { font-size: 13px; color: var(--gp-caption-color); margin-top: 6px; }
.gp-shot {
  width: 320px;
  border-radius: 8px;
  border: 1px solid var(--gp-border-color);
}
.gp-single {
  width: 320px;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 2px 10px var(--gp-card-shadow);
}

/* Info box */
.gp-wrapper .gp-info {
  background-color: var(--gp-info-bg);
  padding: 12px;
  border-radius: 5px;
  font-size: 15px;
  margin-top: 20px;
}

/* Video */
.gp-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
}
.gp-video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* Footer */
.gp-footer {
  text-align: center;
  padding: 20px;
  border-top: 1px solid var(--gp-footer-border);
  margin-top: 20px;
}