/*
Theme Name: Tatacasino SEO Landing
Theme URI: https://tatatoto.id/
Author: Codex
Author URI: https://tatatoto.id/
Description: WordPress native landing theme based on the Tatacasino editorial design. Posts, featured images, profile image, contact links, and text are editable from WordPress.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: tatacasino-seo-landing
*/

:root {
  --tat-bg: #0d0d0d;
  --tat-bg-deep: #080808;
  --tat-text: #f5f5f0;
  --tat-muted: #a0a0a0;
  --tat-accent: #c9a84c;
  --tat-border: #2a2a2a;
  --tat-panel: #111111;
  --tat-font: "Space Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--tat-bg);
  color: var(--tat-text);
  font-family: var(--tat-font);
  font-size: 13px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

::selection {
  background: var(--tat-text);
  color: var(--tat-bg);
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--tat-border);
  border-radius: 999px;
}

.tat-topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 0 24px;
  background: rgba(13, 13, 13, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}

.tat-brand {
  color: var(--tat-accent);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tat-toplinks {
  display: flex;
  align-items: center;
  gap: 18px;
}

.tat-toplinks a {
  color: var(--tat-text);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.tat-toplinks a:hover,
.tat-link:hover,
.tat-post-title:hover {
  color: var(--tat-accent);
}

.tat-layout {
  display: flex;
  min-height: 100vh;
  padding-top: 40px;
}

.tat-left {
  position: sticky;
  top: 40px;
  width: 21%;
  min-width: 240px;
  height: calc(100vh - 40px);
  border-right: 1px solid var(--tat-border);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 10%, rgba(201, 168, 76, 0.13), transparent 24%),
    linear-gradient(180deg, rgba(8, 8, 8, 0.74), rgba(8, 8, 8, 0.96)),
    var(--tat-left-bg, none) center / cover;
}

.tat-left::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    radial-gradient(circle, rgba(201, 168, 76, 0.22) 1px, transparent 1px);
  background-size: 9px 9px;
  opacity: 0.18;
}

.tat-left-inner,
.tat-right-inner,
.tat-main-inner {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.tat-left-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tat-kicker,
.tat-right-title,
.tat-archive-title {
  margin: 0;
  color: var(--tat-accent);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.tat-left .tat-kicker {
  color: var(--tat-text);
  margin-bottom: 18px;
}

.tat-left-wordmark {
  max-width: 100%;
  margin: 0 0 28px;
  color: var(--tat-accent);
  font-size: clamp(28px, 2.45vw, 38px);
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 1;
  overflow-wrap: normal;
  white-space: nowrap;
  text-transform: uppercase;
}

.tat-contact {
  display: grid;
  gap: 4px;
  margin-bottom: 34px;
}

.tat-link {
  color: var(--tat-text);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.tat-about {
  max-width: 240px;
  margin: 0;
  color: var(--tat-text);
  font-size: 12px;
  line-height: 1.84;
  text-align: justify;
}

.tat-left-bottom {
  margin-top: auto;
  padding-bottom: 22px;
}

.tat-main {
  flex: 1;
  min-width: 0;
  min-height: calc(100vh - 40px);
  border-right: 1px solid var(--tat-border);
}

.tat-main-inner {
  padding-bottom: 96px;
}

.tat-section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.tat-post {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--tat-border);
}

.tat-post-image {
  display: block;
  overflow: hidden;
  margin-bottom: 13px;
  border: 1px solid var(--tat-border);
  background: var(--tat-panel);
}

.tat-post-image img {
  width: 100%;
  height: auto;
  transition: filter 220ms ease, transform 220ms ease;
}

.tat-post:hover .tat-post-image img {
  filter: grayscale(100%) brightness(0.9);
  transform: scale(1.015);
}

.tat-post-title {
  display: block;
  margin: 0 0 2px;
  color: var(--tat-text);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
}

.tat-post-excerpt {
  margin: 0 0 4px;
  color: var(--tat-muted);
  font-size: 12px;
  line-height: 1.5;
}

.tat-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--tat-muted);
  font-size: 11px;
}

.tat-meta span:nth-child(even) {
  color: var(--tat-border);
}

.tat-empty {
  display: grid;
  min-height: 280px;
  place-items: center;
  color: var(--tat-accent);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tat-right {
  position: sticky;
  top: 40px;
  width: 25%;
  min-width: 280px;
  height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--tat-bg-deep);
}

.tat-right-title {
  margin-bottom: 48px;
}

.tat-portrait {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  margin-bottom: 40px;
  border: 1px solid var(--tat-border);
  background: var(--tat-panel);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.16);
}

.tat-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.tat-widget {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--tat-border);
}

.tat-widget h3 {
  margin: 0 0 10px;
  color: var(--tat-muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tat-category-list,
.tat-tag-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tat-category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--tat-text);
  font-size: 12px;
}

.tat-count {
  color: var(--tat-accent);
  font-size: 11px;
}

.tat-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tat-tag-list a {
  display: inline-flex;
  border: 1px solid var(--tat-border);
  padding: 3px 8px;
  color: var(--tat-muted);
  font-size: 10px;
}

.tat-footer-note {
  margin: 32px 0 0;
  color: var(--tat-muted);
  font-size: 11px;
}

.tat-single {
  min-height: 100vh;
  padding: 80px 24px;
}

.tat-single-inner {
  max-width: 680px;
  margin: 0 auto;
}

.tat-single-image {
  overflow: hidden;
  margin-bottom: 32px;
  border: 1px solid var(--tat-border);
}

.tat-single h1 {
  margin: 0 0 6px;
  color: var(--tat-text);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.32;
}

.tat-single-excerpt {
  margin: 0 0 32px;
  color: var(--tat-muted);
  font-size: 13px;
  line-height: 1.55;
}

.tat-rule {
  height: 1px;
  margin: 32px 0;
  background: var(--tat-border);
}

.tat-content {
  color: var(--tat-text);
  font-size: 13px;
  line-height: 1.85;
}

.tat-content p {
  margin: 0 0 20px;
}

.tat-content a {
  color: var(--tat-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.tat-back {
  display: inline-flex;
  margin-top: 26px;
  color: var(--tat-text);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

@media (max-width: 960px) {
  .tat-layout {
    display: block;
  }

  .tat-left,
  .tat-right {
    position: relative;
    top: auto;
    width: 100%;
    min-width: 0;
    height: auto;
  }

  .tat-left {
    min-height: 420px;
    border-right: 0;
    border-bottom: 1px solid var(--tat-border);
  }

  .tat-left-inner {
    min-height: 420px;
  }

  .tat-main {
    border-right: 0;
    border-bottom: 1px solid var(--tat-border);
  }

  .tat-right-title {
    margin-bottom: 24px;
  }

  .tat-portrait {
    max-width: 360px;
  }
}

@media (max-width: 640px) {
  .tat-topbar {
    padding: 0 16px;
  }

  .tat-toplinks {
    gap: 10px;
  }

  .tat-toplinks a {
    font-size: 11px;
  }

  .tat-left-inner,
  .tat-right-inner,
  .tat-main-inner {
    padding: 20px;
  }

  .tat-section-row {
    margin-bottom: 24px;
  }

  .tat-single {
    padding-right: 20px;
    padding-left: 20px;
  }
}
