/* Neo-Brutalist Design System */
:root {
  --bg-color: #f0f0f0;
  --text-color: #000000;
  --accent-primary: #ccff00;
  /* Neon Green */
  --accent-secondary: #ff0099;
  /* Hot Pink */
  --accent-tertiary: #00ffff;
  /* Cyan */
  --border-width: 3px;
  --shadow-offset: 6px;
  --font-main: 'Space Mono', monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-main);
  min-height: 100vh;
  padding: 20px;
  background-image: radial-gradient(#000 1px, transparent 1px);
  background-size: 20px 20px;
  overflow-x: hidden;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  border: var(--border-width) solid #000;
  background: #fff;
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0px #000;
  position: relative;
}

/* Header */
header {
  border-bottom: var(--border-width) solid #000;
  padding: 40px 20px;
  background: var(--accent-primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.lang-switch {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
}

.lang-btn {
  background: #000;
  color: #fff;
  border: none;
  padding: 5px 10px;
  font-family: var(--font-main);
  font-weight: bold;
  cursor: pointer;
  font-size: 0.8rem;
  text-transform: uppercase;
  transition: all 0.2s;
}

.lang-btn:hover {
  background: #fff;
  color: #000;
}

h1 {
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.subtitle {
  font-weight: bold;
  text-transform: uppercase;
  background: #000;
  color: #fff;
  display: inline-block;
  padding: 5px 10px;
  transform: rotate(-2deg);
}

.brand-tag {
  margin-top: 15px;
  font-size: 0.7rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #000;
  opacity: 0.8;
}

/* Main Content */
main {
  padding: 40px 20px;
}

/* Input Section */
.input-section {
  margin-bottom: 40px;
}

.input-group {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  border: var(--border-width) solid #000;
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0px #000;
  transition: transform 0.1s;
}

.input-group:active {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0px #000;
}

input#spotifyUrl {
  flex: 1;
  padding: 20px;
  border: none;
  font-family: var(--font-main);
  font-size: 1.1rem;
  background: #fff;
  color: #000;
  outline: none;
}

input#spotifyUrl::placeholder {
  color: #888;
  text-transform: uppercase;
}

button#extractBtn {
  padding: 0 40px;
  background: #000;
  color: #fff;
  border: none;
  border-left: var(--border-width) solid #000;
  font-family: var(--font-main);
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  letter-spacing: 1px;
}

button#extractBtn:hover {
  background: var(--accent-primary);
  color: #000;
  padding-left: 50px;
  padding-right: 50px;
}

button:disabled {
  background: #555 !important;
  cursor: not-allowed;
  color: #888 !important;
}

/* Radio Buttons */
.image-type-selector {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.radio-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  border: var(--border-width) solid #000;
  padding: 10px 20px;
  background: #fff;
  font-weight: bold;
  transition: all 0.2s;
  box-shadow: 4px 4px 0px #000;
}

.radio-label:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px #000;
  background: var(--accent-tertiary);
}

.radio-label input {
  display: none;
}

.radio-label span {
  margin-left: 10px;
  text-transform: uppercase;
}

.radio-indicator {
  width: 20px;
  height: 20px;
  border: 2px solid #000;
  display: inline-block;
  position: relative;
}

.radio-label input:checked+.radio-indicator::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  background: #000;
}

.radio-label input:checked~span {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--accent-secondary);
}

/* Instructions */
.instructions {
  border: var(--border-width) solid #000;
  padding: 20px;
  background: #fff;
  position: relative;
}

.instructions::before {
  content: 'HOW_TO';
  position: absolute;
  top: -15px;
  left: 20px;
  background: #000;
  color: #fff;
  padding: 0 10px;
  font-weight: bold;
}

.instructions ul {
  list-style: none;
  margin-top: 10px;
}

.instructions li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.instructions li::before {
  content: '>';
  position: absolute;
  left: 0;
  font-weight: bold;
  color: var(--accent-secondary);
}

.instructions code {
  background: #eee;
  padding: 2px 5px;
  border: 1px solid #000;
  font-size: 0.9em;
}

/* Loading */
.loading {
  display: none;
  text-align: center;
  padding: 40px;
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  animation: blink 1s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* Error */
.error {
  display: none;
  background: var(--accent-secondary);
  color: #fff;
  padding: 15px;
  border: var(--border-width) solid #000;
  margin-bottom: 20px;
  font-weight: bold;
  text-transform: uppercase;
  box-shadow: 4px 4px 0px #000;
}

/* Results */
.result-section {
  display: none;
  margin-top: 40px;
  border-top: var(--border-width) dashed #000;
  padding-top: 40px;
}

.artist-name {
  font-size: 2.5rem;
  text-transform: uppercase;
  margin-bottom: 10px;
  background: #000;
  color: #fff;
  display: inline-block;
  padding: 5px 15px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-sizing: border-box;
}

.artist-details {
  font-size: 0.9rem;
  margin-bottom: 30px;
  font-style: italic;
}

.image-card {
  border: var(--border-width) solid #000;
  padding: 10px;
  background: #fff;
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0px #000;
}

.image-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 2px solid #000;
  display: block;
  margin-bottom: 15px;
  /* Brutalist filter */
  filter: contrast(1.1) saturate(1.1);
}

.image-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 0.8rem;
  border-bottom: 2px solid #000;
  padding-bottom: 10px;
}

.download-btn {
  width: 100%;
  padding: 15px;
  background: var(--accent-primary);
  border: var(--border-width) solid #000;
  color: #000;
  font-family: var(--font-main);
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.2s;
  box-shadow: 4px 4px 0px #000;
}

.download-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px #000;
  background: #fff;
}

.search-albums-btn {
  display: block;
  width: 100%;
  padding: 12px 15px;
  background: var(--accent-secondary);
  border: var(--border-width) solid #000;
  color: #fff;
  font-family: var(--font-main);
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
  box-shadow: 4px 4px 0px #000;
  text-decoration: none;
  text-align: center;
  margin-top: 10px;
}

.search-albums-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px #000;
  background: #000;
  color: var(--accent-secondary);
}

.method-badge {
  display: inline-block;
  margin-top: 15px;
  padding: 5px 10px;
  border: 2px solid #000;
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: bold;
}

.method-badge.api {
  background: #eee;
}

.method-badge.puppeteer {
  background: var(--accent-tertiary);
}

.method-badge.fallback {
  background: var(--accent-secondary);
  color: #fff;
}

/* Responsive Design - Multiple Breakpoints */
/* Mobile-First Complete Reorganization - Based on Instructables Principles */
/* Ultra Small Devices (Phones < 320px) - Complete Mobile-First Layout */
@media (max-width: 319px) {

  /* Complete Header Reorganization */
  .header {
    padding: 12px 8px;
    text-align: center;
  }

  .lang-btn {
    position: relative;
    top: 0;
    right: 0;
    float: none;
    margin-bottom: 10px;
    padding: 6px 10px;
    font-size: 0.7rem;
    width: 60px;
    height: auto;
  }

  h1 {
    font-size: 1.3rem;
    line-height: 1.1;
    padding: 8px 5px;
    margin: 0;
  }

  .subtitle {
    font-size: 0.8rem;
    margin: 5px 0;
  }

  .brand-tag {
    font-size: 0.6rem;
    margin: 5px 0;
    line-height: 1.2;
  }

  /* Instructions - Collapsed by Default */
  .instructions {
    order: 4;
    padding: 10px 8px;
    margin-top: 15px;
    border-top: 1px dashed #000;
    max-height: 40px;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
  }

  .instructions.show {
    max-height: 500px;
  }

  .instructions h3 {
    font-size: 0.9rem;
    margin-bottom: 8px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .instructions ul {
    font-size: 0.7rem;
    padding-left: 12px;
    margin: 5px 0;
  }

  .instructions li {
    padding: 3px 0;
    line-height: 1.3;
  }

  .instructions p {
    font-size: 0.6rem;
    margin: 8px 0;
    line-height: 1.2;
  }

  /* Input Section - Stacked Completely */
  .input-section {
    order: 1;
    padding: 15px 8px;
  }

  .input-group {
    flex-direction: column;
    gap: 8px;
  }

  .input-field {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.8rem;
    border-radius: 4px;
  }

  .extract-btn {
    width: 100%;
    padding: 12px 15px;
    font-size: 0.9rem;
    margin-top: 5px;
    border-radius: 4px;
  }

  /* Image Type Selector - Mobile-First Card Layout */
  .image-type-selector {
    order: 2;
    flex-direction: column;
    gap: 6px;
    padding: 10px 8px;
    margin: 10px 0;
  }

  .radio-label {
    width: 100%;
    border: 1px solid #000;
    border-radius: 4px;
    background: #f8f8f8;
    transition: all 0.2s;
  }

  .radio-label:hover {
    background: #e8e8e8;
    transform: none;
  }

  .radio-indicator {
    width: 16px;
    height: 16px;
    border: 2px solid #000;
    margin-right: 8px;
  }

  .radio-indicator.checked {
    background: #000;
  }

  .radio-label span {
    font-size: 0.8rem;
    padding: 8px 10px;
  }

  /* Results Section - Simplified for Mobile */
  .result-section {
    order: 3;
    padding: 15px 8px;
    margin-top: 15px;
  }

  .artist-info {
    text-align: center;
    padding: 10px 8px;
  }

  .artist-name {
    font-size: 1.6rem;
    padding: 6px 10px;
    line-height: 1.2;
    text-align: center;
  }

  .artist-details {
    font-size: 0.7rem;
    margin-bottom: 15px;
    text-align: center;
  }

  .image-card {
    margin: 8px 4px;
    padding: 8px;
    text-align: center;
  }

  .download-btn {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.8rem;
    margin-top: 8px;
    border-radius: 4px;
  }

  .search-albums-btn {
    padding: 8px 10px;
    font-size: 0.7rem;
    margin-top: 6px;
  }

  /* Loading and Error States */
  .loading {
    font-size: 0.9rem;
    padding: 10px 8px;
  }

  .error {
    font-size: 0.8rem;
    padding: 8px;
    margin: 10px 0;
  }

  /* Footer - Simplified (Mobile First overrides handled at bottom of file) */
  /* Removed specific footer overrides to rely on Mobile-First base styles */

  /* Modal - Ultra Compact */
  .modal-container {
    width: 99%;
    max-width: 98vw;
    padding: 10px 8px;
    box-shadow: 4px 4px 0px #000;
  }

  .modal-close {
    top: 2px;
    right: 2px;
    width: 25px;
    height: 25px;
    font-size: 1rem;
  }

  .modal-header h2 {
    font-size: 1.5rem;
    margin-bottom: 5px;
  }

  .modal-subtitle {
    font-size: 0.8rem;
  }

  .modal-intro {
    font-size: 0.7rem;
    padding: 8px 10px;
  }

  .modal-benefits li {
    font-size: 0.6rem;
    padding: 6px 4px;
    margin: 1px 0;
  }

  .modal-cta {
    font-size: 0.8rem;
    padding: 10px;
    margin: 8px 10px;
  }

  .modal-checkbox {
    font-size: 0.6rem;
    padding: 6px 10px;
  }
}

/* Small Devices (Phones 360px - 480px) */
@media (min-width: 360px) and (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
    line-height: 1.3;
    padding: 18px 15px;
  }

  .header {
    padding: 18px 15px;
  }

  .container {
    padding: 25px 20px;
  }

  .lang-btn {
    top: 8px;
    right: 8px;
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .input-field {
    padding: 14px 18px;
    font-size: 1rem;
  }

  .extract-btn {
    padding: 18px 25px;
    font-size: 1.1rem;
  }

  .type-option {
    padding: 12px 18px;
    font-size: 0.95rem;
  }

  .instructions {
    padding: 18px 15px;
  }

  .instructions h2 {
    font-size: 1.2rem;
  }

  .instructions li {
    font-size: 0.85rem;
    padding: 10px 15px;
  }

  .artist-name {
    font-size: 2rem;
    padding: 10px 15px;
  }

  .artist-details {
    font-size: 0.85rem;
  }

  .search-albums-btn {
    padding: 10px 12px;
    font-size: 0.8rem;
  }

  /* Footer overrides removed to rely on Mobile-First base styles */
}

/* Medium Devices (Phones 481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
    line-height: 1.4;
    padding: 20px 18px;
  }

  .header {
    padding: 20px 18px;
  }

  .container {
    padding: 30px 25px;
  }

  .lang-btn {
    top: 10px;
    right: 10px;
    padding: 12px 18px;
  }

  .input-field {
    padding: 16px 20px;
    font-size: 1.1rem;
  }

  .extract-btn {
    padding: 20px 30px;
    font-size: 1.2rem;
  }

  .type-option {
    padding: 14px 20px;
    font-size: 1rem;
  }

  .instructions {
    padding: 20px 18px;
  }

  .instructions h2 {
    font-size: 1.3rem;
  }

  .footer-divider {
    display: none;
  }

  .instructions li {
    font-size: 0.9rem;
    padding: 12px 18px;
  }

  .artist-name {
    font-size: 2.2rem;
    padding: 12px 18px;
  }

  .artist-details {
    font-size: 0.9rem;
  }

  .search-albums-btn {
    padding: 11px 14px;
    font-size: 0.85rem;
  }

  .footer-content {
    font-size: 0.9rem;
  }
}

/* Large Mobile and Small Tablet (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  h1 {
    font-size: 2.5rem;
    padding: 25px 20px;
  }

  .container {
    padding: 35px 30px;
  }

  .lang-btn {
    padding: 15px 25px;
    font-size: 1rem;
  }

  .type-option {
    padding: 16px 25px;
    font-size: 1.1rem;
  }

  .instructions li {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .artist-name {
    font-size: 2.5rem;
    padding: 15px 20px;
  }

  .search-albums-btn {
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  .footer-content {
    font-size: 1rem;
  }
}

/* Original breakpoint for very small screens - Keep for compatibility */
@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }

  .input-group {
    flex-direction: column;
  }

  .image-type-selector {
    flex-direction: column;
    gap: 10px;
  }

  .separator {
    color: #555;
  }
}

/* Footer */
footer {
  margin-top: 40px;
  border-top: var(--border-width) solid #000;
  padding: 20px;
  background: #000;
  color: #fff;
  text-align: center;
}

.footer-content {
  font-size: 0.9rem;
  font-weight: bold;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.footer-brand,
.footer-social {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

/* Old footer-social rules removed to use Mobile-First section at the bottom */

.footer-tagline {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent-primary);
  font-weight: bold;
  letter-spacing: 1px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.3);
}

.brand-link,
.social-link {
  color: var(--accent-primary);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  transition: all 0.2s;
}

.brand-link:hover,
.social-link:hover {
  background: var(--accent-primary);
  color: #000;
  box-shadow: 4px 4px 0px #fff;
  transform: translate(-2px, -2px);
}

/* Instagram Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
  backdrop-filter: blur(4px);
}

.modal-overlay.show {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-container {
  background: #fff;
  border: var(--border-width) solid #000;
  box-shadow: 12px 12px 0px #000;
  max-width: 500px;
  width: 90%;
  position: relative;
  animation: slideUp 0.4s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #000;
  color: #fff;
  border: none;
  width: 35px;
  height: 35px;
  font-size: 1.5rem;
  cursor: pointer;
  font-family: var(--font-main);
  font-weight: bold;
  transition: all 0.2s;
  z-index: 10;
}

.modal-close:hover {
  background: var(--accent-secondary);
  transform: rotate(90deg);
}

.modal-header {
  background: var(--accent-primary);
  border-bottom: var(--border-width) solid #000;
  padding: 30px 20px;
  text-align: center;
}

.modal-header h2 {
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 10px;
  line-height: 1;
}

.modal-subtitle {
  background: #000;
  color: #fff;
  display: inline-block;
  padding: 5px 15px;
  font-weight: bold;
  text-transform: uppercase;
  transform: rotate(-1deg);
  font-size: 0.9rem;
}

.modal-body {
  padding: 30px 25px;
}

.modal-intro {
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-size: 1rem;
  text-align: center;
}

.modal-benefits {
  list-style: none;
  margin-bottom: 30px;
  border: var(--border-width) solid #000;
  background: #f9f9f9;
  padding: 20px;
}

.modal-benefits li {
  padding: 12px 10px;
  margin-bottom: 10px;
  background: #fff;
  border: 2px solid #000;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: all 0.2s;
  position: relative;
  padding-left: 15px;
}

.modal-benefits li:last-child {
  margin-bottom: 0;
}

.modal-benefits li:hover {
  transform: translateX(5px);
  background: var(--accent-tertiary);
  box-shadow: 4px 4px 0px #000;
}

.modal-cta {
  display: block;
  width: 100%;
  padding: 18px;
  background: var(--accent-secondary);
  color: #fff;
  border: var(--border-width) solid #000;
  text-align: center;
  font-family: var(--font-main);
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 6px 6px 0px #000;
  text-decoration: none;
  margin-bottom: 20px;
}

.modal-cta:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0px #000;
  background: #000;
  color: var(--accent-primary);
}

.modal-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: bold;
  justify-content: center;
  gap: 8px;
}

.modal-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 2px solid #000;
  cursor: pointer;
  appearance: none;
  background: #fff;
  position: relative;
}

.modal-checkbox input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: -2px;
  left: 2px;
  font-size: 14px;
  font-weight: bold;
  color: #000;
}

.modal-checkbox:hover input[type="checkbox"] {
  background: var(--accent-primary);
}

/* Responsive Modal - Multiple Breakpoints */
/* Extra Small Devices (Phones < 360px) */
@media (max-width: 359px) {
  .modal-container {
    width: 98%;
    max-width: 95vw;
    box-shadow: 6px 6px 0px #000;
    padding: 15px 10px;
  }

  .modal-close {
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
  }

  .modal-header {
    padding: 20px 15px;
  }

  .modal-header h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }

  .modal-subtitle {
    font-size: 0.9rem;
  }

  .modal-intro {
    font-size: 0.8rem;
    padding: 10px 15px;
  }

  .modal-benefits {
    gap: 5px;
  }

  .modal-benefits li {
    font-size: 0.7rem;
    padding: 8px 6px;
    margin: 2px 0;
  }

  .modal-cta {
    font-size: 0.9rem;
    padding: 12px;
    margin: 10px 15px;
  }

  .modal-checkbox {
    font-size: 0.7rem;
    padding: 8px 15px;
  }
}

/* Small Devices (Phones 360px - 480px) */
@media (min-width: 360px) and (max-width: 480px) {
  .modal-container {
    width: 95%;
    box-shadow: 8px 8px 0px #000;
  }

  .modal-header h2 {
    font-size: 2rem;
  }

  .modal-benefits li {
    font-size: 0.75rem;
    padding: 10px 8px;
  }

  .modal-cta {
    font-size: 1rem;
    padding: 15px;
  }
}

/* Medium Devices (Phones 481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .modal-container {
    width: 90%;
    max-width: 480px;
  }

  .modal-header h2 {
    font-size: 2.2rem;
  }

  .modal-benefits li {
    font-size: 0.85rem;
    padding: 12px 10px;
  }

  .modal-cta {
    font-size: 1.1rem;
    padding: 18px;
  }
}

/* Large Mobile and Small Tablet (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .modal-container {
    max-width: 520px;
  }

  .modal-header h2 {
    font-size: 2.4rem;
  }

  .modal-benefits li {
    font-size: 0.95rem;
    padding: 15px 12px;
  }

  .modal-cta {
    font-size: 1.2rem;
    padding: 20px;
  }
}

/* =========================================
   FOOTER - MOBILE FIRST REFACTOR (2025)
   ========================================= */
footer {
  padding: 20px;
  margin-top: 40px;
  background: #000;
  color: #fff;
  border-top: var(--border-width) solid #000;
}

.footer-content {
  display: flex;
  flex-direction: column;
  /* Default: Stacked (Mobile) */
  align-items: center;
  gap: 15px;
  font-weight: bold;
  font-size: 0.8rem;
}

.footer-brand,
.footer-social {
  display: flex;
  flex-direction: column;
  /* Default: Stacked (Mobile) */
  align-items: center;
  gap: 5px;
}

.footer-social {
  padding-left: 0;
  /* Default: No padding */
}

.footer-social::before {
  display: none;
  /* Default: HIDDEN on all mobile devices */
  content: '|';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
}

.brand-link,
.social-link {
  color: #ccff00;
  /* Accent Primary (Neon Green) */
  text-decoration: none;
  background: #333;
  padding: 2px 5px;
  transition: all 0.2s;
}

.brand-link:hover,
.social-link:hover {
  background: var(--accent-secondary);
  color: #fff;
}

.footer-tagline {
  text-align: center;
  margin-top: 20px;
  font-size: 0.7rem;
  opacity: 1;
  color: #ccff00;
  /* Accent Primary */
  font-weight: bold;
}

/* DESKTOP OVERRIDES (min-width: 769px) */
@media (min-width: 769px) {
  .footer-content {
    flex-direction: row;
    /* Desktop: Row */
    justify-content: center;
    gap: 20px;
  }

  .footer-brand,
  .footer-social {
    flex-direction: row;
    /* Desktop: Row */
    gap: 10px;
  }

  .footer-social {
    padding-left: 15px;
    /* Desktop: Space for divider */
  }

  .footer-social::before {
    display: block;
    /* Desktop: Visible */
  }
}