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

:root {
  --color-white: #ffffff;
  --color-black: #000000;
  --color-gray-text: #656a70;
  --color-gray-border: #d9d9d9;
  --color-gray-bg: #fafafa;
  --font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --content-max-width: 600px;
  --footer-height: 130px;
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-weight: 400;
  background-color: var(--color-black);
  min-height: 100vh;
  color: var(--color-black);
  line-height: 1.5;
}

/* Container */
.mobile-container {
  width: 100%;
  background-color: var(--color-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: var(--footer-height);
}

/* Hero Image */
.hero-image {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  height: 180px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Title Section */
.title-section {
  padding: 50px 30px 30px;
  max-width: var(--content-max-width);
  margin: 0 auto;
  width: 100%;
}

.title-section h1 {
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--color-black);
  margin-bottom: 14px;
  line-height: 1.1;
}

.title-section p {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-gray-text);
  line-height: 1.6;
}

/* Brand List */
.brand-list {
  padding: 0 30px;
  flex-grow: 1;
  max-width: var(--content-max-width);
  margin: 0 auto;
  width: 100%;
}

.divider {
  height: 1px;
  background-color: var(--color-gray-border);
}

/* Brand Item */
.brand-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 8px;
  margin: 0 -8px;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-smooth);
  cursor: pointer;
  border-radius: 6px;
  animation: fadeInUp 0.4s ease backwards;
}

/* Hover effects only on devices with mouse/trackpad */
@media (hover: hover) {
  .brand-item:hover {
    background-color: rgba(0, 0, 0, 0.015);
    padding-left: 12px;
  }
  
  .brand-item:active {
    background-color: rgba(0, 0, 0, 0.025);
  }
}

.brand-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-logo {
  height: 24px;
  display: flex;
  align-items: center;
}

.brand-logo img {
  height: 100%;
  width: auto;
  max-width: 100px;
  object-fit: contain;
}

.brand-url {
  font-size: 0.75rem;
  color: var(--color-gray-text);
}

.chevron {
  width: 6px;
  height: 12px;
  color: var(--color-black);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

@media (hover: hover) {
  .brand-item:hover .chevron {
    transform: translateX(2px);
  }
}

/* Footer */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.support-section {
  padding: 24px 30px;
  position: relative;
}

.support-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--content-max-width);
  height: 1px;
  background-color: var(--color-gray-border);
}

.support-section p {
  font-size: 0.875rem;
  color: var(--color-gray-text);
  line-height: 1.6;
  text-align: center;
}

.support-section a {
  color: var(--color-gray-text);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

@media (hover: hover) {
  .support-section a:hover {
    color: var(--color-black);
  }
}

.copyright-section {
  background-color: var(--color-black);
  padding: 20px 30px;
}

.copyright-section p {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-white);
  text-align: center;
  line-height: 1.5;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Focus states for accessibility */
.brand-item:focus-visible {
  outline: 2px solid var(--color-black);
  outline-offset: 2px;
}

/* Mobile Styles - Consolidated */
@media (max-width: 767px) {
  .mobile-container {
    padding-bottom: 0;
  }
  
  .hero-image {
    max-width: 100%;
  }
  
  .footer {
    position: static;
  }
  
  .support-section {
    background-color: var(--color-gray-bg);
  }
  
  .support-section::before {
    display: none;
  }
}
