/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --flame-red: #ff3300;
  --flame-orange: #ff6600;
  --flame-yellow: #ff9900;
  --dark-red: #cc0000;
  --deep-red: #990000;
  --black: #1a1a1a;
  --dark-gray: #2a2a2a;
  --light-gray: #f5f5f5;
  --text-white: #ffffff;
  --text-light: #f8f8f8;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-light);
  background: linear-gradient(135deg, #1a0000 0%, #330000 50%, #1a0000 100%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header Styles */
.site-header {
  width: 100%;
  max-width: 100vw;
  background-color: var(--black);
  overflow: hidden;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__link {
  display: block;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.site-header__picture {
  display: block;
  width: 100%;
}

.site-header__image {
  width: 100%;
  height: auto;
  max-height: 560px;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}

/* Banner Styles */
.hero-banner__link {
  display: block;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.hero-banner {
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.hero-banner__single,
.hero-banner__panel {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 0;
}

.hero-banner__image,
.hero-banner__panel img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
  filter: saturate(1.05) contrast(1.05);
}

.hero-banner__pair {
    display: none;
  gap: 0;
  align-items: stretch;
}

.hero-banner__panel {
  flex: 1;
  position: relative;
}

.hero-banner__panel--left,
.hero-banner__panel--right {
  border-radius: 0;
}



@media (min-width: 1280px) {
  .hero-banner__single {
    display: none;
  }
  
  .hero-banner__pair {
    display: flex;
  }
}

/* Main Content */
main {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(26, 26, 26, 0.7);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 30px rgba(255, 51, 0, 0.2);
}

section {
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(42, 42, 42, 0.9) 100%);
  border-radius: 10px;
  border: 1px solid rgba(255, 102, 0, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5),
              inset 0 1px 0 rgba(255, 153, 0, 0.1);
  transition: all 0.3s ease;
  scroll-margin-top: 160px;
}

section:hover {
  border-color: rgba(255, 102, 0, 0.6);
  box-shadow: 0 6px 20px rgba(255, 51, 0, 0.4),
              inset 0 1px 0 rgba(255, 153, 0, 0.2);
  transform: translateY(-2px);
}

h1 {
  color: var(--flame-yellow);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(255, 153, 0, 0.5),
               0 0 20px rgba(255, 102, 0, 0.3),
               2px 2px 4px rgba(0, 0, 0, 0.8);
  border-bottom: 3px solid var(--flame-orange);
  padding-bottom: 0.5rem;
}

h2 {
  color: var(--flame-orange);
  font-size: 2rem;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
  text-shadow: 0 0 8px rgba(255, 102, 0, 0.4),
               2px 2px 4px rgba(0, 0, 0, 0.7);
  border-left: 4px solid var(--flame-red);
  padding-left: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
  text-align: justify;
  line-height: 1.8;
}

ul, ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

strong {
  color: var(--flame-yellow);
  font-weight: 600;
}

/* Table Styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: rgba(26, 26, 26, 0.8);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

thead {
  background: linear-gradient(135deg, var(--flame-red) 0%, var(--flame-orange) 100%);
}

th {
  padding: 1rem;
  text-align: left;
  color: var(--text-white);
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  border-bottom: 2px solid var(--dark-red);
}

td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 102, 0, 0.2);
  color: var(--text-light);
}

tbody tr {
  transition: background 0.3s ease;
}

tbody tr:hover {
  background: rgba(255, 102, 0, 0.15);
}

tbody tr:last-child td {
  border-bottom: none;
}

/* Definition List (FAQ) */
dl {
  margin: 1.5rem 0;
}

dt {
  color: var(--flame-orange);
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--flame-red);
  text-shadow: 0 0 5px rgba(255, 102, 0, 0.3);
}

dd {
  margin-left: 2rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  padding: 0.5rem;
  background: rgba(42, 42, 42, 0.5);
  border-radius: 5px;
}

/* Footer Styles */
.site-footer {
  width: 100%;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.6) 100%);
  border-top: 1px solid rgba(255, 102, 0, 0.25);
  margin-top: 4rem;
  padding: 2.5rem 1.5rem;
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: start;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer__logo {
  font-size: 1.25rem;
}

.site-footer__name {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  color: var(--flame-yellow);
}

.site-footer__tagline {
  font-size: 0.95rem;
  color: rgba(248, 248, 248, 0.75);
  line-height: 1.5;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.site-footer__links a {
  color: var(--text-light);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: var(--flame-orange);
}

.site-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-footer__copyright {
  font-size: 0.95rem;
  color: rgba(248, 248, 248, 0.8);
}

.site-footer__disclaimer {
  font-size: 0.85rem;
  color: rgba(248, 248, 248, 0.6);
  line-height: 1.6;
}

.site-footer__legal-link {
  color: var(--flame-orange);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__legal-link:hover,
.site-footer__legal-link:focus-visible {
  color: var(--flame-yellow);
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 102, 0, 0.2);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  display: flex;
  justify-content: center;
}

.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--flame-red), var(--flame-orange));
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(255, 102, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 120;
}

.scroll-top:hover,
.scroll-top:focus-visible {
  transform: translateY(-4px);
}

.scroll-top--visible {
  opacity: 1;
  pointer-events: auto;
}

body.has-promo .scroll-top {
  bottom: calc(1.5rem + 64px);
}

@media (max-width: 768px) {
  .site-footer {
    padding: 2rem 1.25rem;
  }

  .site-footer__inner {
    gap: 1.5rem;
  }

  .scroll-top {
    bottom: 1rem;
    right: 1rem;
  }

  body.has-promo .scroll-top {
    bottom: calc(1rem + 60px);
  }
}

/* 404 Page */
.not-found {
  margin: 4rem auto;
  max-width: 600px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.not-found h1 {
  font-size: 2.75rem;
  color: var(--flame-yellow);
}

.not-found p {
  font-size: 1.05rem;
  color: var(--text-light);
  text-align: center;
}

.btn-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.5rem;
  font-weight: 600;
  color: var(--text-white);
  background: linear-gradient(135deg, var(--flame-red), var(--flame-orange));
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 30px rgba(255, 102, 0, 0.35);
}

.btn-home:hover,
.btn-home:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(255, 102, 0, 0.45);
}

.promo-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.96), rgba(42, 42, 42, 0.96));
  border-top: 1px solid rgba(255, 102, 0, 0.3);
  backdrop-filter: blur(6px);
  padding: 0.75rem 1.25rem;
  z-index: 110;
  display: none;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.promo-cta__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.promo-cta__text {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 600;
}

.promo-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--flame-red), var(--flame-orange));
  color: var(--text-white);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 30px rgba(255, 102, 0, 0.35);
}

.promo-cta__button:hover,
.promo-cta__button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(255, 102, 0, 0.45);
}

body.has-promo .promo-cta {
  display: block;
}

.promo-cta--visible {
  transform: translateY(0);
  opacity: 1;
}

body.has-promo {
  padding-bottom: 80px;
}

@media (max-width: 768px) {
  .promo-cta {
    padding: 0.65rem 1rem;
  }

  .promo-cta__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0.6rem;
  }

  .promo-cta__text {
    font-size: 0.95rem;
  }

  .promo-cta__button {
    width: 100%;
    padding: 0.58rem 1.1rem;
  }

  body.has-promo {
    padding-bottom: 72px;
  }
}

@media (max-width: 480px) {
  .promo-cta {
    padding: 0.6rem 0.85rem;
  }

  .promo-cta__text {
    font-size: 0.9rem;
  }

  .promo-cta__button {
    padding: 0.5rem 0.9rem;
  }

  body.has-promo {
    padding-bottom: 68px;
  }

  body.has-promo .scroll-top {
    bottom: calc(0.9rem + 108px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  main {
    padding: 1rem;
  }

  section {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  table {
    font-size: 0.9rem;
  }

  th, td {
    padding: 0.5rem;
  }

  footer {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  main {
    padding: 0.75rem;
  }

  section {
    padding: 0.75rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  ul, ol {
    margin-left: 1.5rem;
  }

  table {
    font-size: 0.8rem;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  th, td {
    padding: 0.4rem;
    font-size: 0.85rem;
  }

  dt {
    font-size: 1rem;
  }

  dd {
    margin-left: 1rem;
    font-size: 0.9rem;
  }
}

/* Print Styles */
@media print {
  header, footer {
    background: #ffffff;
    color: #000000;
  }

  section {
    background: #ffffff;
    border: 1px solid #cccccc;
  }

  h1, h2 {
    color: #000000;
    text-shadow: none;
  }
}

