/* ==========================================================================
   Hot Slice — brasil-hot-slice.com
   Pure HTML/CSS, no JS. Mobile-first, fully responsive.
   ========================================================================== */

:root{
  --bg: #1a0400;
  --bg-darker: #0f0200;
  --panel: #2a0a02;
  --panel-2: #350d03;
  --gold: #ffc94a;
  --gold-2: #ff9d2e;
  --red: #e2231a;
  --text: #f5ede4;
  --text-muted: #cbb8a8;
  --border: rgba(255,201,74,0.18);
  --max-width: 1180px;
  --radius: 10px;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ -webkit-text-size-adjust: 100%; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img{ max-width: 100%; height: auto; display: block; }

a{ color: var(--gold); }

.container{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------------------------------- Header ---------------------------------- */

.site-header{
  background: linear-gradient(180deg, var(--bg-darker), var(--panel));
  border-bottom: 2px solid var(--border);
}

.header-inner{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: nowrap;
}

.logo{
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo img{
  height: 46px;
  width: auto;
}

.nav-links{
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex: 1;
  justify-content: center;
}
.nav-links a{
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a[aria-current="page"]{
  color: var(--gold);
}

.header-actions{
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn{
  display: inline-block;
  padding: 0.5rem 1.1rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
  text-align: center;
}
.btn-login{
  color: var(--gold);
  border-color: var(--gold);
  background: transparent;
}
.btn-login:hover{ background: rgba(255,201,74,0.1); }

.btn-register{
  color: #2b0a00;
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
}
.btn-register:hover{ filter: brightness(1.08); }

/* Burger (checkbox hack, no JS) */
.burger-toggle{
  display: none;
}
.burger-label{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  padding: 4px;
  cursor: pointer;
  flex-shrink: 0;
}
.burger-label span{
  display: block;
  height: 3px;
  width: 100%;
  background: var(--gold);
  border-radius: 2px;
}

.mobile-nav{
  display: none;
  flex-direction: column;
  background: var(--bg-darker);
  border-top: 1px solid var(--border);
}
.mobile-nav a{
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav a:hover{ color: var(--gold); }

@media (max-width: 860px){
  .nav-links{ display: none; }
  .burger-label{ display: flex; }
  #burger-toggle:checked ~ .mobile-nav{ display: flex; }

  .logo img{ height: 34px; }
  .btn{ padding: 0.4rem 0.65rem; font-size: 0.75rem; }
  .header-inner{ padding: 0.55rem 0.85rem; gap: 0.4rem; }
  .header-actions{ gap: 0.35rem; }
}

@media (max-width: 380px){
  .logo img{ height: 28px; }
  .btn{ padding: 0.35rem 0.5rem; font-size: 0.68rem; }
  .header-inner{ gap: 0.3rem; }
}

/* ---------------------------------- Breadcrumbs ---------------------------------- */

.breadcrumbs{
  background: var(--bg-darker);
  border-bottom: 1px solid var(--border);
}
.breadcrumbs ol{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.6rem 1.25rem;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumbs li:not(:last-child)::after{
  content: "\203A";
  margin-left: 0.35rem;
  color: var(--text-muted);
}
.breadcrumbs a{
  color: var(--text-muted);
  text-decoration: none;
}
.breadcrumbs a:hover{ color: var(--gold); }
.breadcrumbs li[aria-current="page"]{ color: var(--gold); }

/* ---------------------------------- Hero ---------------------------------- */

.hero{
  background: var(--bg-darker);
  padding: 1.5rem 0;
}
.hero-inner{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.hero-banner{
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}
.hero-banner-img{
  display: block;
  width: 100%;
  height: auto;
}
.hero-text{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 1.5rem 2rem;
  background: linear-gradient(90deg, rgba(15,2,0,0.88) 0%, rgba(15,2,0,0.62) 42%, transparent 72%);
}
.hero-text-inner{
  max-width: 560px;
}
.hero h1{
  margin: 0 0 0.5rem;
  font-size: clamp(1.15rem, 3.2vw, 2.2rem);
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
.hero-subtitle{
  margin: 0 0 1.1rem;
  color: var(--text);
  font-size: clamp(0.8rem, 1.7vw, 1.02rem);
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}
.hero-actions{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
.hero-cta{
  font-size: 0.95rem;
  padding: 0.65rem 1.5rem;
}
.hero .updated{
  margin: 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}

@media (max-width: 700px){
  .hero-text{
    position: static;
    display: block;
    inset: auto;
    padding: 1.25rem 1.25rem 1.5rem;
    background: var(--panel);
  }
  .hero-text-inner{ max-width: none; }
  .hero-subtitle{ margin-bottom: 0.85rem; }
}

/* ---------------------------------- Article layout ---------------------------------- */

main{
  padding: 2rem 0 3rem;
}

.intro{
  font-size: 1.05rem;
  color: var(--text);
}

.notice{
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* TOC accordion — closed by default (no [open] attribute) */
details.toc{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 1.5rem 0 2rem;
  overflow: hidden;
}
details.toc summary{
  cursor: pointer;
  list-style: none;
  padding: 0.9rem 1.25rem;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
details.toc summary::-webkit-details-marker{ display: none; }
details.toc summary::after{
  content: "+";
  font-size: 1.3rem;
  line-height: 1;
  color: var(--gold);
}
details.toc[open] summary::after{ content: "\2212"; }
details.toc summary:hover{ background: rgba(255,201,74,0.06); }
details.toc ol{
  margin: 0;
  padding: 0.25rem 1.25rem 1.25rem 2.25rem;
}
details.toc li{ margin: 0.35rem 0; }
details.toc a{
  color: var(--text);
  text-decoration: none;
}
details.toc a:hover{ color: var(--gold); text-decoration: underline; }

article section{
  margin: 2.25rem 0;
}
article h2{
  color: var(--gold);
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.4rem;
}
article h3{
  color: var(--gold-2);
  font-size: 1.05rem;
}
article ul, article ol{
  padding-left: 1.4rem;
}
article li{ margin: 0.35rem 0; }

.table-wrap{
  overflow-x: auto;
  margin: 1rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
table{
  border-collapse: collapse;
  width: 100%;
  min-width: 640px;
  font-size: 0.9rem;
}
th, td{
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  white-space: nowrap;
}
thead th{
  background: var(--panel-2);
  color: var(--gold);
}
tbody tr:hover{ background: rgba(255,201,74,0.05); }

.faq dt{
  font-weight: 700;
  color: var(--gold);
  margin-top: 1rem;
}
.faq dd{
  margin: 0.25rem 0 0;
  color: var(--text);
}

.cta-box{
  background: linear-gradient(135deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: center;
}
.cta-box .btn{ margin-top: 0.75rem; font-size: 1rem; padding: 0.7rem 1.6rem; }


.helpline{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1rem 0;
}

/* ---------------------------------- Footer ---------------------------------- */

footer.site-footer{
  background: var(--bg-darker);
  border-top: 2px solid var(--border);
  padding: 2rem 0 1.25rem;
}
.footer-grid{
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}
.footer-col h2{
  font-size: 0.95rem;
  color: var(--gold);
  margin: 0 0 0.75rem;
}
.footer-col ul{
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li{ margin: 0.4rem 0; }
.footer-col a{
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-col a:hover{ color: var(--gold); }
.footer-note{
  max-width: 320px;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.footer-bottom{
  max-width: var(--max-width);
  margin: 1.75rem auto 0;
  padding: 1rem 1.25rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}
.footer-grid, .footer-bottom{
  max-width: var(--max-width);
}
footer.site-footer > .container .footer-grid{ padding: 0; }
