@font-face {
  font-family: "Sansation";
  src: url("assets/fonts/Sansation_Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Sansation";
  src: url("assets/fonts/Sansation_Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Sansation";
  src: url("assets/fonts/Sansation_Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body,
a,
button,
.interactive-console,
.social-btn {
  cursor: none !important;
}

body {
  background-color: #000000;
  color: #ffffff;
  font-family: "Sansation", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* Custom Scrollbar styling for a premium look */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #000000;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  font-family: "Sansation", monospace, sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #ffffff;
  line-height: 1;
  pointer-events: none;
  z-index: 10000;
  transform: translate3d(-50%, -50%, 0);
  will-change: transform;
  opacity: 0;
  transition:
    opacity 0.3s ease,
    transform 0.04s linear,
    color 0.3s ease;
}

body.cursor-active .custom-cursor {
  opacity: 1;
}

body.cursor-hovering .custom-cursor {
  color: rgba(255, 255, 255, 0.4);
  transform: translate3d(-50%, -50%, 0) scale(1.4) rotate(45deg);
}

.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    transform 1.2s cubic-bezier(0.85, 0, 0.15, 1),
    opacity 1.2s ease;
  will-change: transform, opacity;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.loader-text {
  font-size: 0.65rem;
  font-weight: bold;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.7);
  font-family: monospace;
  animation: pulseText 1.4s infinite ease-in-out;
}

.loader-bar-container {
  width: 160px;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.loader-progress-bar {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #ffffff;
  animation: progressFill 1.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

body.loaded .page-loader {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: #000000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 2s ease 0.6s;
}

body.loaded #bg-canvas {
  opacity: 1;
}

.site-header {
  position: relative;
  width: 100%;
  padding: 28px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.8s,
    transform 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.8s;
}

body.loaded .site-header {
  opacity: 1;
  transform: translateY(0);
}

.tagline {
  font-family: "Sansation", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  text-transform: lowercase;
  transition: color 0.4s ease;
}

.tagline:hover {
  color: rgba(255, 255, 255, 0.9);
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1 0 auto;
  width: 100%;
  padding: 40px 20px;
  z-index: 1;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.logo-wrapper {
  width: 100%;
  padding: 10px 0 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 16px;
  transition: border-color 0.4s ease;
}

.interactive-console:hover .logo-wrapper {
  border-color: rgba(255, 255, 255, 0.12);
}

.logo {
  max-width: 100%;
  width: 290px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.console-description {
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  padding: 0 8px;
}

.interactive-console {
  position: relative;
  width: 100%;
  max-width: 380px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform-style: preserve-3d;
  opacity: 0;
  transform: perspective(1000px) translateY(30px);
  transition:
    border-color 0.4s ease,
    background 0.4s ease,
    transform 0.1s linear,
    opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
  will-change: transform, opacity;
}

body.loaded .interactive-console {
  opacity: 1;
  transform: perspective(1000px) translateY(0);
}

body.loaded .interactive-console:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.corner-mark {
  position: absolute;
  width: 8px;
  height: 8px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.25);
  transition: border-color 0.4s ease;
}

.interactive-console:hover .corner-mark {
  border-color: rgba(255, 255, 255, 0.7);
}

.top-left {
  top: -1px;
  left: -1px;
  border-width: 1px 0 0 1px;
}
.top-right {
  top: -1px;
  right: -1px;
  border-width: 1px 1px 0 0;
}
.bottom-left {
  bottom: -1px;
  left: -1px;
  border-width: 0 0 1px 1px;
}
.bottom-right {
  bottom: -1px;
  right: -1px;
  border-width: 0 1px 1px 0;
}

.social-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  min-height: 44px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 4px;
  transition:
    color 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease,
    transform 0.35s ease;
}

.social-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-2px);
}

.social-label {
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  white-space: nowrap;
  font-weight: 400;
}

.footer-minimal {
  position: relative;
  text-align: center;
  width: 100%;
  padding: 28px 20px;
  z-index: 10;
  opacity: 0;
  transition: opacity 1.4s ease 1s;
}

body.loaded .footer-minimal {
  opacity: 1;
}

.footer-minimal p {
  font-family: "Sansation", sans-serif;
  font-size: 0.6rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  transition: color 0.4s ease;
}

.footer-minimal p:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* Ambient Glowing Blobs */
.blob {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
  transition: opacity 1.5s ease;
}

.blob-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
}

.blob-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 70%);
}

/* Legal Page Styling */
.legal-console {
  max-width: 720px;
  text-align: left;
}

.legal-heading-main {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.last-updated {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 32px;
  font-family: monospace;
}

.legal-section {
  margin-bottom: 24px;
}

.legal-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  border-left: 2px solid rgba(255, 255, 255, 0.3);
  padding-left: 10px;
}

.legal-section h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-section p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.legal-section a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.3s ease;
}

.legal-section a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.legal-separator {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 32px 0;
}

.contact-info-list {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.contact-info-list li {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
}

.legal-actions {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
}

.footer-link {
  text-decoration: none;
  color: inherit;
}

@keyframes pulseText {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

@keyframes progressFill {
  0% {
    left: -100%;
  }
  50% {
    left: 0;
  }
  100% {
    left: 100%;
  }
}

@media (hover: none) and (pointer: coarse) {
  .custom-cursor {
    display: none !important;
  }
  html,
  body,
  a,
  button,
  .interactive-console,
  .social-btn {
    cursor: auto !important;
  }
}

@media (max-width: 768px) {
  .interactive-console {
    max-width: 320px;
    padding: 20px;
  }
  body.loaded .interactive-console {
    transform: perspective(1000px) translateY(0);
  }
  .logo {
    width: 230px;
  }
  .logo-wrapper {
    padding-bottom: 16px;
    margin-bottom: 12px;
  }
  .console-description {
    font-size: 0.72rem;
    margin-bottom: 16px;
  }
  .social-buttons {
    gap: 12px;
  }
  .social-btn {
    padding: 8px 12px;
    min-height: 38px;
    font-size: 0.85rem;
    gap: 6px;
  }
  .social-label {
    font-size: 0.75rem;
  }
  .site-header {
    padding: 22px 24px;
  }
  .tagline {
    font-size: 0.72rem;
  }
  .footer-minimal {
    padding: 20px 16px;
  }
  .footer-minimal p {
    font-size: 0.52rem;
  }
  .legal-heading-main {
    font-size: 1.4rem;
  }
  .legal-section h2 {
    font-size: 1.1rem;
    margin-bottom: 14px;
  }
  .legal-section h3 {
    font-size: 0.88rem;
    margin-top: 16px;
  }
  .legal-section p,
  .contact-info-list li {
    font-size: 0.78rem;
    margin-bottom: 12px;
  }
  .legal-actions {
    margin-top: 24px;
    padding-top: 16px;
  }
}

@media (max-width: 480px) {
  .interactive-console {
    padding: 16px;
  }
  .logo {
    width: 200px;
  }
  .console-description {
    font-size: 0.7rem;
    padding: 0;
    margin-bottom: 18px;
  }
  .social-buttons {
    gap: 8px;
  }
  .social-btn {
    padding: 6px 10px;
    min-height: 34px;
    font-size: 0.8rem;
    gap: 4px;
  }
  .social-label {
    font-size: 0.7rem;
  }
  .site-header {
    padding: 16px 20px;
  }
  .tagline {
    font-size: 0.65rem;
  }
  .footer-minimal {
    padding: 20px 16px;
  }
  .legal-heading-main {
    font-size: 1.25rem;
  }
  .legal-section h2 {
    font-size: 1rem;
    margin-bottom: 12px;
  }
  .legal-section h3 {
    font-size: 0.82rem;
    margin-top: 14px;
  }
  .legal-section p,
  .contact-info-list li {
    font-size: 0.74rem;
    margin-bottom: 10px;
  }
  .legal-actions {
    margin-top: 20px;
    padding-top: 12px;
  }
}

/* Simple & Plain Legal Page Styles */
body.legal-page {
  background-color: #0b0b0b;
  color: #dddddd;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  padding: 60px 20px;
  min-height: 100vh;
  display: block;
  overflow-y: auto;
  cursor: auto !important;
}

body.legal-page a,
body.legal-page button {
  cursor: auto !important;
}

.legal-header {
  max-width: 800px;
  margin: 0 auto 40px auto;
  text-align: left;
}

.logo-simple {
  width: 180px;
  height: auto;
  display: block;
}

.legal-container-simple {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 0 40px 0;
}

.legal-heading-simple {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 8px;
  font-weight: 600;
}

.last-updated-simple {
  font-size: 0.85rem;
  color: #888888;
  margin-bottom: 40px;
}

.legal-section-simple h2 {
  font-size: 1.4rem;
  color: #ffffff;
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 600;
}

.legal-section-simple h3 {
  font-size: 1rem;
  color: #ffffff;
  margin-top: 24px;
  margin-bottom: 10px;
  font-weight: 600;
}

.legal-section-simple p {
  color: #bbbbbb;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.legal-section-simple a {
  color: #ffffff;
  text-decoration: underline;
}

.legal-separator-simple {
  border: 0;
  height: 1px;
  background-color: #222222;
  margin: 40px 0;
}

.contact-info-simple {
  list-style: none;
  padding-left: 0;
  margin-top: 15px;
}

.contact-info-simple li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: #bbbbbb;
}

.legal-actions-simple {
  margin-top: 40px;
  border-top: 1px solid #222222;
  padding-top: 20px;
}

.back-link-simple {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s ease;
}

.back-link-simple:hover {
  opacity: 0.8;
}

.footer-minimal-simple {
  max-width: 800px;
  margin: 60px auto 0 auto;
  border-top: 1px solid #222222;
  padding-top: 20px;
  color: #555555;
  font-size: 0.8rem;
  text-align: left;
}

.footer-minimal-simple p {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.legal-bullet-list {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 24px;
}

.legal-bullet-list li {
  font-size: 0.95rem;
  color: #bbbbbb;
  margin-bottom: 10px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .legal-bullet-list li {
    font-size: 0.78rem;
    margin-bottom: 8px;
  }
}

@media (max-width: 480px) {
  .legal-bullet-list li {
    font-size: 0.74rem;
    margin-bottom: 6px;
  }
}
