/* General Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Figtree', sans-serif;
  background-color: #14120f;
  color: #f3e7d9;
}

/* Main Container */
.kin-do-dia {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
}

/* Tabs Navigation */
.tabs {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  border-bottom: 1px solid #40382f;
}

.tabs-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.tabs-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.5rem 227px;
  width: 100%;
}

.tab-group-left, .tab-group-right {
  flex: 1 0 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 100%;
}

.tab-group-left {
  justify-content: flex-end;
}

.tab-group-right {
  justify-content: flex-start;
}

.input-container {
  background-color: #221e1a;
  position: relative;
  border-radius: 8px;
  width: 100%;
}

.input-container::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #40382f;
  border-radius: 8px;
  pointer-events: none;
}

.input-container-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
  width: 100%;
  height: 100%;
}

.input-text {
  font-size: 14px;
  font-weight: normal;
  color: #bfb19f;
  padding: 0.25rem 0.5rem;
  line-height: 24px;
  white-space: nowrap;
}

.tab-label {
  font-size: 14px;
  font-weight: 600;
  color: #bfb19f;
  text-align: right;
  white-space: nowrap;
}

.icon {
  position: relative;
  width: 16px;
  height: 16px;
  overflow: hidden;
}

.vector {
  position: absolute;
  inset: 8.33% 12.5%;
}

/* Kin Symbol */
.kin-symbol {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 1.209px;
  height: 41px;
  align-items: flex-start;
  justify-content: center;
  padding: 3px;
  position: relative;
  border-radius: 8px;
  flex-shrink: 0;
  width: 30px;
  cursor: pointer;
}

.tom-base {
  display: flex;
  flex-direction: column;
  gap: 2.418px;
  height: 32px;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  width: 80px;
}

.pontos {
  display: flex;
  gap: 1.209px;
  align-items: center;
  justify-content: center;
  position: relative;
}

.circle {
  position: relative;
  width: 2.418px;
  height: 2.418px;
  background-color: #7a6a57;
  border-radius: 50%;
}

.tracos {
  display: flex;
  flex-direction: column;
  gap: 1.209px;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

.rectangle {
  height: 8px;
  position: relative;
  flex-shrink: 0;
  width: 64px;
}

.rectangle::before {
  content: "";
  position: absolute;
  background-color: #40382f;
  height: 1.813px;
  left: 0;
  right: 0;
  border-radius: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.rectangle:nth-child(2)::before {
  background-color: #7a6a57;
}

.selos {
  background-color: #d9a641;
  position: relative;
  border-radius: 100000000px;
  flex-shrink: 0;
  width: 24.178px;
  height: 24.178px;
}

.semente, .guerreiro, .espelho, .estrela, .macaco, .caminhante, .dragao {
  position: absolute;
  width: 24.178px;
  height: 24.178px;
  left: 0.01px;
  top: -0.03px;
}

.border-overlay {
  position: absolute;
  inset: 0;
  border: 1.209px solid #221e1a;
  border-radius: 100000000px;
  pointer-events: none;
}

.kin-text {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  height: 24px;
  justify-content: center;
  line-height: 24px;
  position: relative;
  flex-shrink: 0;
  color: #bfb19f;
  font-size: 14px;
  width: 189px;
}

/* Moon Icon and Text */
.moon-icon {
  display: flex;
  height: 100%;
  align-items: flex-end;
  justify-content: center;
  padding: 5px 0;
  position: relative;
  flex-shrink: 0;
  width: 21px;
}

.moon-disk {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  background-image: url('assets/imgMoonFullDisk10241.png');
}

.lunar-text {
  background-color: #1f1f1f;
  position: relative;
  border-radius: 8px;
  flex-shrink: 0;
  width: 100%;
}

.lunar-text::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #444444;
  border-radius: 8px;
  pointer-events: none;
}

.lunar-text-inner {
  font-size: 14px;
  font-weight: normal;
  color: #bfb19f;
  padding: 0.25rem 0.5rem;
  line-height: 24px;
  white-space: nowrap;
}

/* Content Section */
.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding-top: 3rem;
  gap: 2rem;
}

/* Pagination */
.header-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.pagination {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.pagination-buttons {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  position: relative;
}

.btn {
  background-color: #2b2722;
  height: 100%;
  position: relative;
  flex-shrink: 0;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f3e7d9;
  font-size: 14px;
  font-weight: normal;
  text-align: center;
  white-space: nowrap;
  line-height: 24px;
}

.btn::after {
  content: "";
  position: absolute;
  inset: -0.5px;
  border: 1px solid #14120f;
  pointer-events: none;
}

.page-list {
  background-color: #2b2722;
  display: flex;
  height: 44px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
  flex-shrink: 0;
}

.arrow-left, .arrow-right {
  background-color: #877864;
  box-sizing: border-box;
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4px;
  position: relative;
  width: 23px;
}

.arrow-left {
  transform: rotate(180deg) scaleY(-1);
}

.arrow-icon {
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.counter {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  width: 92px;
}

.counter-number {
  font-family: 'Figtree', sans-serif;
  font-weight: bold;
  height: 24px;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  color: #f3e7d9;
  font-size: 25.375px;
  text-align: center;
  width: 55px;
  line-height: 43.5px;
}

.counter-grid {
  display: grid;
  grid-template-columns: max-content;
  grid-template-rows: max-content;
  place-items: start;
  position: relative;
  flex-shrink: 0;
}

/* Main Display Area */
.main-display {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 1rem;
  position: relative;
  flex-shrink: 0;
  width: 100%;
}

.orbitais-container {
  box-sizing: border-box;
  display: flex;
  height: 329px;
  align-items: center;
  justify-content: center;
  margin-right: -16px;
  position: relative;
  border-radius: 118115px;
  flex-shrink: 0;
  width: 379px;
}

.orbitais {
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  width: 355px;
  height: 355px;
}

.kin-center {
  position: absolute;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 4.167px;
  align-items: flex-start;
  justify-content: center;
  left: 128px;
  padding: 8.333px;
  border-radius: 8.333px;
  top: 97px;
}

.tom-atual {
  position: absolute;
  background-color: #6c925c;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  left: 241.5px;
  padding: 0.375rem 0.625rem;
  border-radius: 99999px;
  width: 26.865px;
  height: 26.865px;
  top: 112px;
  font-weight: bold;
  color: #f3e7d9;
  font-size: 12px;
  text-align: center;
  white-space: nowrap;
}

.selo-atual {
  position: absolute;
  background-color: #789e68;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  left: 288.8px;
  padding: 0 0 0.375rem;
  border-radius: 10000000px;
  width: 26.865px;
  height: 26.865px;
  top: 164.07px;
  font-weight: bold;
  color: #f3e7d9;
  font-size: 12px;
  text-align: center;
  white-space: nowrap;
}

.kin-number {
  position: absolute;
  background-color: #789e68;
  bottom: 12px;
  left: 115.5px;
  border-radius: 99999px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #f3e7d9;
  font-size: 12px;
  text-align: center;
  white-space: nowrap;
}

.orbita-tom, .tons, .orbita-selos, .selos-orbit, .kins-orbit {
  position: absolute;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.orbita-tom {
  inset: 24.324%;
  background-image: url('assets/imgOrbitaTom.svg');
}

.tons {
  inset: 24.324%;
  background-image: url('assets/imgTons.svg');
}

.orbita-selos {
  inset: 14.865%;
  background-image: url('assets/imgOrbitaSelos.svg');
}

.selos-orbit {
  inset: 14.865%;
  background-image: url('assets/imgSelos.svg');
}

.kins-orbit {
  inset: 5.405%;
  background-image: url('assets/imgKins.svg');
}

/* Info Block */
.info-block {
  flex: 1 0 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
  align-items: center;
  justify-content: center;
  margin-right: -16px;
  position: relative;
  flex-shrink: 0;
}

.nome {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nome-text {
  box-sizing: border-box;
  display: flex;
  gap: 7.874px;
  align-items: center;
  justify-content: center;
  padding: 7.874px;
  position: relative;
  width: 100%;
  flex-direction: column;
  font-family: 'Faculty Glyphic', sans-serif;
  text-align: center;
}

.nome-main {
  color: #f7e2bd;
  font-size: 32px;
}

.nome-space {
  font-size: 28.558px;
}

.nome-sub {
  color: #e8b451;
  font-size: 24px;
}

.poema-container {
  display: flex;
  flex-direction: column;
  gap: 11px;
  height: 184px;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  width: 100%;
}

.poema {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  flex-shrink: 0;
  width: 100%;
}

.poema-line {
  display: flex;
  gap: 0.625rem;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.poema-text {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  position: relative;
  flex-shrink: 0;
  color: #f3e7d9;
  font-size: 12px;
  text-align: center;
  white-space: nowrap;
  line-height: 1;
}

.aspas-left, .aspas-right {
  display: flex;
  flex-direction: column;
  height: 10px;
  align-items: flex-end;
  justify-content: flex-end;
  position: relative;
  flex-shrink: 0;
  width: 12px;
}

.aspas-left img, .aspas-right img {
  width: 20px;
  height: 15px;
}

/* Segmented Control */
.segmented-section {
  flex: 1 0 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  align-self: stretch;
}

.segmented-control {
  background-color: black;
  box-sizing: border-box;
  display: flex;
  gap: 0.25rem;
  align-items: center;
  justify-content: center;
  max-height: 48px;
  overflow: hidden;
  padding: 4px;
  position: relative;
  border-radius: 12px;
  flex-shrink: 0;
}

.tab {
  box-sizing: border-box;
  display: flex;
  gap: 0.25rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0.25rem 0.5rem 0.25rem 0.5rem;
  position: relative;
  border-radius: 8px;
  flex-shrink: 0;
}

.tab.active {
  background-color: #221e1a;
}

.tab-text {
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  justify-content: center;
  line-height: 0;
  position: relative;
  flex-shrink: 0;
  font-size: 12px;
  white-space: nowrap;
  color: #40382f;
}

.tab.active .tab-text {
  color: #bfb19f;
}

.tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  width: 24px;
}

/* Plasmas Grid */
.plasmas-grid {
  box-sizing: border-box;
  gap: 4.106px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0px, 1fr));
  grid-template-rows: repeat(1, minmax(0px, 1fr));
  height: 220.798px;
  padding: 10.949px;
  position: relative;
  border-radius: 10.949px;
  flex-shrink: 0;
  width: 302px;
}

.plasma-column {
  display: flex;
  flex-direction: column;
  gap: 4.106px;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  align-self: flex-start;
  flex-shrink: 0;
  width: 36.495px;
}

.plasma-radial {
  overflow: hidden;
  position: relative;
  border-radius: 999999px;
  flex-shrink: 0;
  width: 36.495px;
  height: 36.495px;
}

.plasma-background {
  position: absolute;
  left: 0;
  border-radius: 36px;
  width: 80px;
  height: 80px;
  top: 0;
}

.plasma-background.yellow {
  background-color: #d9a641;
}

.plasma-background.red {
  background-color: #bf5656;
}

.plasma-background.white {
  background-color: #f3e7d9;
}

.plasma-background.blue {
  background-color: #6690c1;
}

.selo-box {
  aspect-ratio: 157.478/157.478;
  position: relative;
  border-radius: 10.985px;
  flex-shrink: 0;
  width: 100%;
}

.selo-box::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.825px solid #14120f;
  border-radius: 10.985px;
  pointer-events: none;
}

.selo-box.red {
  background-color: #bf5656;
}

.selo-box.white {
  background-color: #f3e7d9;
}

.selo-box.blue {
  background-color: #6690c1;
}

.selo-box.yellow {
  background-color: #e9a538;
}

/* Family Oracles */
.family-oracles {
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.5rem 0;
  position: relative;
  flex-shrink: 0;
  width: 100%;
}

.oracle-box {
  flex: 1 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 1px;
  min-width: 1px;
  position: relative;
  flex-shrink: 0;
}

.oracle-title {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  justify-content: center;
  line-height: 0;
  min-width: 100%;
  position: relative;
  flex-shrink: 0;
  color: #f7e2bd;
  font-size: 10px;
  text-align: center;
  text-transform: uppercase;
  width: min-content;
  line-height: 1.32;
}

.oracle-kin {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  flex-shrink: 0;
}

.oracle-symbols {
  display: flex;
  gap: 0.5rem;
  height: 80px;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.symbol-red {
  background-color: #b1494a;
  position: relative;
  border-radius: 100000000px;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
}

.symbol-red::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.7px solid #221e1a;
  border-radius: 100000000px;
  pointer-events: none;
}

.kin-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 0;
  position: relative;
  flex-shrink: 0;
  text-align: center;
}

.kin-label {
  font-family: 'Faculty Glyphic', sans-serif;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  color: #bfb19f;
  font-size: 14px;
  text-nowrap: nowrap;
  line-height: 1.32;
}

.kin-number {
  font-family: 'Figtree', sans-serif;
  font-weight: bold;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  color: #f3e7d9;
  font-size: 20px;
  width: 50px;
  line-height: 1.32;
}

/* Details Section */
.details-section {
  background-color: rgba(217, 166, 65, 0.33);
  height: 114px;
  position: relative;
  flex-shrink: 0;
  width: 100%;
}

.details-container {
  box-sizing: border-box;
  display: flex;
  gap: 0.625rem;
  height: 114px;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
  width: 100%;
}

.detail-column {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  height: 73px;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  flex-shrink: 0;
  width: 120px;
}

.detail-title {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  justify-content: center;
  line-height: 0;
  min-width: 100%;
  position: relative;
  flex-shrink: 0;
  color: #f7e2bd;
  font-size: 10px;
  text-align: center;
  text-transform: uppercase;
  width: min-content;
  line-height: 1.32;
}

.detail-info {
  display: flex;
  flex-direction: column;
  font-family: 'Figtree', sans-serif;
  font-weight: bold;
  align-items: center;
  justify-content: flex-start;
  line-height: 0;
  position: relative;
  flex-shrink: 0;
  color: #e8b451;
  font-size: 12px;
  text-align: center;
  text-nowrap: nowrap;
}

.detail-info div {
  line-height: 1.32;
}

.detail-property {
  display: flex;
  gap: 0.125rem;
  align-items: flex-start;
  justify-content: flex-start;
  line-height: 0;
  position: relative;
  flex-shrink: 0;
  font-size: 12px;
  text-align: center;
  text-nowrap: nowrap;
}

.property-name {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  color: #f7e2bd;
  line-height: 1.32;
}

.property-value {
  font-family: 'Figtree', sans-serif;
  font-weight: bold;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  color: #e8b451;
  line-height: 1.32;
}

/* Custom font for Faculty Glyphic - This would need to be properly included */
@font-face {
  font-family: 'Faculty Glyphic';
  src: url('fonts/FacultyGlyphic-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .tabs-content {
    padding: 0.5rem 2rem;
  }
  
  .main-display {
    flex-direction: column;
  }
  
  .details-container {
    flex-direction: column;
    gap: 1rem;
    height: auto;
    padding: 1rem;
  }
}

@media (max-width: 768px) {
  .tabs-content {
    flex-direction: column;
    gap: 1rem;
  }
  
  .family-oracles {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .pagination {
    flex-direction: column;
  }
}
/* === RESET BÁSICO === */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #14120f;
  color: #f3e7d9;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  padding: 2rem;
}

/* === ORBITAIS === */
.orbitais-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 360px;
  height: 360px;
  position: relative;
  background: rgba(217, 166, 65, 0.1);
  border-radius: 50%;
}

.orbitais {
  position: relative;
  width: 100%;
  height: 100%;
}

.kin-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}

.tom-atual,
.selo-atual,
.kin-number {
  position: absolute;
  border-radius: 50%;
  font-weight: bold;
  background: #6c925c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tom-atual { top: 20%; left: 70%; width: 40px; height: 40px; }
.selo-atual { top: 50%; left: 85%; width: 40px; height: 40px; }
.kin-number { bottom: 15%; left: 40%; width: 50px; height: 50px; }

/* === POEMA === */
.info-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.nome-main {
  font-size: 2rem;
  color: #f7e2bd;
  font-weight: bold;
}

.nome-sub {
  font-size: 1.5rem;
  color: #e8b451;
}

.poema-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 400px;
}

.poema-container p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

/* === TZOLKIN GRID === */
.segmented-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.section-title {
  font-size: 1.2rem;
  color: #e8b451;
}

.plasmas-grid {
  display: grid;
  grid-template-columns: repeat(7, 40px);
  grid-template-rows: repeat(5, 40px);
  gap: 6px;
  background: #221e1a;
  padding: 10px;
  border-radius: 12px;
}

.selo-box {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  border: 1px solid #14120f;
}

.selo-box.red { background-color: #bf5656; }
.selo-box.white { background-color: #f3e7d9; }
.selo-box.blue { background-color: #6690c1; }
.selo-box.yellow { background-color: #e9a538; }

/* === CRONO-PSI === */
.oracle-box {
  background: rgba(217, 166, 65, 0.15);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
}

.oracle-title {
  color: #f7e2bd;
  margin-bottom: 0.5rem;
}

.kin-info {
  font-size: 1.2rem;
  font-weight: bold;
  color: #e8b451;
}

/* === FAMÍLIA, CLÃ, ONDA === */
.details-section {
  width: 100%;
  background: rgba(217, 166, 65, 0.25);
  padding: 1rem 0;
  border-radius: 12px;
}

.details-container {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.detail-column {
  text-align: center;
  min-width: 120px;
}

.detail-column h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: #f7e2bd;
}

/* === ORÁCULO === */
.oraculo-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.oraculo-list li {
  margin: 0.3rem 0;
  font-size: 0.95rem;
}

.oraculo-list span:first-child {
  color: #e8b451;
  font-weight: bold;
}
