/*
Theme Name: Into The Ground
Theme URI: https://intotheground.net
Description: Minimal theme with full-screen background and circular navigation menu
Version: 1.0
Author: Tom S
Author URI: https://intotheground.net
Text Domain: into-the-ground
*/

/* Color variables */
:root {
  --color-dark-gray: rgb(58, 58, 58);
  --color-purple: rgb(85, 70, 150);        /* Deeper, richer purple */
  --color-purple-light: rgb(110, 95, 170); /* Brighter but still saturated */
  --color-black: rgb(0, 0, 0);
  --color-white: rgb(255, 255, 255);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

/* Full-screen background */
.site-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('background.jpg');
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  z-index: -1;
}

/* Navigation circles */
.nav-circles {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 100;
}

/* Mobile: vertical layout */
@media (max-width: 768px) {
  .nav-circles {
    flex-direction: column;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

/* Desktop: horizontal layout */
@media (min-width: 769px) {
  .nav-circles {
    flex-direction: row;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

.nav-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-circle:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.nav-circle.active {
  transform: scale(0.95);
}

.nav-circle a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  padding: 10px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-circle-download {
  padding: 0;
}

.nav-circle-download a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

/* Title and tagline */
.site-title {
  position: fixed;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
  z-index: 100;
}

.site-tagline {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
  z-index: 100;
}

.site-title p {
  color: var(--color-black);
  font-size: 32px;
  text-shadow: 
    0 0 10px rgba(255, 255, 255, 0.9),
    0 0 20px rgba(255, 255, 255, 0.7),
    0 0 30px rgba(255, 255, 255, 0.5);
}

.site-tagline p {
  color: var(--color-white);
  font-size: 20px;
  text-shadow: 
    0 0 10px rgba(0, 0, 0, 0.9),
    0 0 20px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(0, 0, 0, 0.5);
}

/* Modal popup */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(50, 50, 50, 0.75);
  backdrop-filter: blur(5px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  padding: 40px;
  max-width: 768px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  width: 90%;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  color: var(--color-dark-gray);
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--color-purple);
}

.modal-body h1,
.modal-body h2,
.modal-body h3 {
  color: var(--color-dark-gray);
  margin-bottom: 20px;
}

.modal-body h1 {
  font-size: 32px;
  border-bottom: 2px solid var(--color-purple);
  padding-bottom: 10px;
}

.modal-body p {
  color: var(--color-dark-gray);
  line-height: 1.8;
  margin-bottom: 15px;
}

.modal-body a {
  color: var(--color-purple);
  text-decoration: none;
}

.modal-body a:hover {
  color: var(--color-purple-light);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .modal-content {
    padding: 30px 20px;
    max-width: 95%;
  }
  
  .modal-body h1 {
    font-size: 24px;
  }
}

/* Scrollbar styling */
.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(150, 150, 150, 0.2);
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: var(--color-purple);
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: var(--color-purple-light);
}

/* Download page */
.page-wrapper {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 768px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 10px;
    z-index: 300;
}

.page-wrapper h1 {
  font-size: 32px;
  border-bottom: 2px solid var(--color-purple);
  padding-bottom: 10px;
}

.page-wrapper h1, .page-wrapper p, .page-wrapper .dlm_tc_form {
	color: var(--color-dark-gray);
	margin-bottom: 20px;
}

.page-wrapper a {
  color: var(--color-purple);
  text-decoration: none;
}

.page-wrapper a:hover {
  color: var(--color-purple-light);
  text-decoration: underline;
}

label[for^="tc_accepted_"]::before {
    content: "I agree";
	font-size: 16px;
}

label[for^="tc_accepted_"] {
    font-size: 0;
}

