/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: rgb(27, 103, 235);
  text-shadow: none;
}

::selection {
  background: rgb(27, 103, 235);
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

:root {
  --primary-bg: #000000;
  --secondary-bg: #000000;
  --text-main: #ffffff;
  --text-light: #ffffff;
  --accent-color: rgb(27, 103, 235); /* Betting yellow/gold */
  --divider-color: #333333;
}

body {
  margin: 0;
  background: var(--primary-bg) !important;
  font-family: 'Open Sans', sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text-main);
}

.sportsbook-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.sportsbook-wrapper__body {
  padding: 0;
  background: var(--secondary-bg);
  max-width: none;
  flex: 1;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.center-text {
  text-align: center;
}

.condensed {
  font-family: 'Saira Condensed', sans-serif;
  font-weight: 700;
}

.bold {
  font-weight: 700;
}

.upper {
  text-transform: uppercase;
}

/* Logo Section */
.android-download__logo-section {
  background-color: var(--primary-bg);
  padding: 20px;
  display: flex;
  justify-content: center;
}

.android-download__logo-img {
  height: 40px;
  width: auto;
}

/* Hero Banner */
.android-download__banner {
  background-image: url('../img/app_banner.png');
  background-size: cover;
  background-position: center;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

/* Header (Hero content) */
.android-download__header {
  padding: 0;
  background-color: transparent;
}

.android-download__header-title {
  font-size: 40px;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  font-family: 'Bebas Neue', 'Saira Condensed', sans-serif;
  letter-spacing: 1px;
  line-height: 1.05;
}

.android-download__header-title div {
  line-height: 1;
}

.android-download__header-title div:nth-child(1) {
  font-size: 20px;
  letter-spacing: 2px;
}

.android-download__header-title div:nth-child(2) {
  font-size: 18px;
  letter-spacing: 3px;
}

.android-download__header-title div:nth-child(3) {
  font-size: 56px;
  letter-spacing: 1px;
}

.android-download__header-title div:nth-child(4) {
  font-size: 46px;
  letter-spacing: 2px;
}

.android-download__content-download {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.download-button-link {
  text-decoration: none;
}

.download-button-android {
  background-color: var(--accent-color);
  color: #fff;
  border: none;
  padding: 15px 30px;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.download-button-android:hover {
  background-color: rgb(27, 103, 235);
}

.download-button-android:active {
  transform: translateY(2px);
}

.android-icon {
  width: 24px;
  height: 24px;
}

.step-number-circle {
  width: 60px;
  height: 60px;
  background-color: var(--accent-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  font-family: 'Saira Condensed', sans-serif;
}

.android-download__divider {
  height: 1px;
  background-color: var(--divider-color);
  margin: 0 20px;
}

/* Content */
.android-download__content {
  padding: 40px 20px;
  background-color: var(--secondary-bg);
}

.android-download__content-header {
  margin-bottom: 40px;
}

.android-download__content-header-question {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-light);
}

.android-download__content-header-answer {
  font-size: 14px;
  line-height: 1.6;
  color: #ccc;
}

/* Steps */
.android-download__content-steps {
  gap: 40px;
}

.android-download__content-steps-step {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.android-download__content-steps-step-number {
  order: -1;
}

.android-download__content-steps-step-text {
  flex: 1;
}

.android-download__content-steps-step-text-title {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--text-light);
}

.android-download__content-steps-step-text-desc {
  font-size: 13px;
  line-height: 1.5;
  color: #aaa;
}

.android-download__content-steps-step-number-img {
  width: 60px;
  height: auto;
}

/* Footer */
.sportsbook-footer {
  background-color: var(--primary-bg);
  color: var(--text-light);
  padding: 40px 20px;
}

.footer-section {
  margin-bottom: 30px;
}

.company-name {
  font-weight: 700;
  font-size: 16px;
}

.location {
  font-size: 12px;
  color: #aaa;
}

.legal {
  font-size: 11px;
  line-height: 1.6;
  color: #888;
}

.legal-terms {
  margin: 15px 0 0;
  padding-left: 18px;
  color: #888;
}

.legal-terms li {
  margin-bottom: 10px;
}

.legal-terms ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.legal-terms-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 11px;
  color: #888;
}

.legal-terms-table th,
.legal-terms-table td {
  border: 1px solid #333;
  padding: 8px;
  vertical-align: top;
}

.legal-terms-table th {
  font-weight: 700;
  color: #aaa;
  text-align: left;
}

.sub-footer {
  border-top: 1px solid #333;
  padding-top: 20px;
  font-size: 11px;
  color: #666;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .android-download__header-title {
    font-size: 28px;
  }

  .android-download__header-title div:nth-child(1) {
    font-size: 16px;
  }

  .android-download__header-title div:nth-child(2) {
    font-size: 14px;
  }

  .android-download__header-title div:nth-child(3) {
    font-size: 38px;
  }

  .android-download__header-title div:nth-child(4) {
    font-size: 32px;
  }

  .android-download__content-steps-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .step-number-circle {
    width: 50px;
    height: 50px;
    font-size: 20px;
    margin-bottom: 10px;
  }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

