@import url('https://fonts.googleapis.com/css2?family=VT323&family=IBM+Plex+Sans:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --white: #f0f0f0;
  --white-dim: #a0a0a0;
  --black: #0a0a0a;
  --black-light: #1a1a1a;
  --red: #cc2222;
  --red-bright: #ff3333;
  --red-dark: #8b0000;
  --gray: #2a2a2a;
  --gray-light: #404040;
  --content-bg: rgba(15, 15, 15, 0.95);
  --body-font: 'IBM Plex Sans', sans-serif;
  --mono-font: 'JetBrains Mono', monospace;
  --headline-font: 'VT323', monospace;
}

[data-theme="light"] {
  --white: #1a1a1a;
  --white-dim: #4a4a4a;
  --black: #ffffff;
  --black-light: #f5f5f5;
  --red: #cc2222;
  --red-bright: #ff3333;
  --red-dark: #8b0000;
  --gray: #e0e0e0;
  --gray-light: #c0c0c0;
  --content-bg: rgba(255, 255, 255, 0.98);
}

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

html {
  height: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  background-color: var(--black);
  color: var(--white);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    var(--black-light) 0%,
    var(--black) 70%,
    #000000 100%
  );
  pointer-events: none;
  z-index: 0;
}

#gol-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.4;
}

.theme-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 100;
  background: var(--content-bg);
  border: 2px solid var(--gray);
  border-radius: 8px;
  padding: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  border-color: var(--red);
  box-shadow: 0 0 15px rgba(204, 34, 34, 0.3);
}

.theme-toggle svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
  transition: fill 0.2s ease;
}

.theme-toggle:hover svg {
  fill: var(--red-bright);
}

.gol-toggle {
  position: fixed;
  top: 1rem;
  right: 4.5rem;
  z-index: 100;
  background: var(--content-bg);
  border: 2px solid var(--gray);
  border-radius: 8px;
  padding: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gol-toggle:hover {
  border-color: var(--red);
  box-shadow: 0 0 15px rgba(204, 34, 34, 0.3);
}

.gol-toggle svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
  transition: fill 0.2s ease;
}

.gol-toggle:hover svg {
  fill: var(--red-bright);
}

.content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.logo-container {
  position: relative;
  margin-bottom: 1.5rem;
}

.logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  box-shadow: 
    0 0 30px rgba(204, 34, 34, 0.3),
    0 0 60px rgba(204, 34, 34, 0.1),
    inset 0 0 20px rgba(0, 0, 0, 0.5);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { 
    box-shadow: 
      0 0 30px rgba(204, 34, 34, 0.3),
      0 0 60px rgba(204, 34, 34, 0.1),
      inset 0 0 20px rgba(0, 0, 0, 0.5);
  }
  50% { 
    box-shadow: 
      0 0 40px rgba(204, 34, 34, 0.5),
      0 0 80px rgba(204, 34, 34, 0.2),
      inset 0 0 20px rgba(0, 0, 0, 0.5);
  }
}

.logo-ring {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 150px;
  border: 2px dashed var(--red);
  border-radius: 50%;
  opacity: 0.3;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: translateX(-50%) rotate(0deg); }
  to { transform: translateX(-50%) rotate(360deg); }
}

.name {
  font-family: var(--headline-font);
  font-size: 4rem;
  letter-spacing: 0.4em;
  text-shadow: 
    0 0 10px var(--red),
    0 0 20px var(--red-dark),
    0 0 40px rgba(204, 34, 34, 0.5);
  margin-bottom: 0.3rem;
  color: var(--white);
}

.tagline {
  font-family: var(--headline-font);
  font-size: 1.4rem;
  color: var(--white-dim);
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
}

.warning-stripe {
  width: 200px;
  height: 8px;
  background: repeating-linear-gradient(
    45deg,
    var(--red),
    var(--red) 10px,
    var(--black) 10px,
    var(--black) 20px
  );
  margin-bottom: 2rem;
  opacity: 0.7;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.social-links a {
  font-family: var(--body-font);
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  padding: 0.5rem 1.2rem;
  border: 2px solid var(--gray-light);
  background: var(--content-bg);
  transition: all 0.15s ease;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 6px;
}

.social-links a svg {
  flex-shrink: 0;
}

.social-links a:hover {
  border-color: var(--red);
  color: var(--red-bright);
  box-shadow: 0 0 10px rgba(204, 34, 34, 0.5);
}

.nav-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.nav-btn {
  font-family: var(--body-font);
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  border: 3px solid var(--white);
  background: var(--content-bg);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  min-width: 280px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.nav-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    transparent, 
    rgba(204, 34, 34, 0.3), 
    rgba(255, 51, 51, 0.5), 
    rgba(204, 34, 34, 0.3), 
    transparent
  );
  transition: left 0.5s ease;
}

.nav-btn:hover::before {
  left: 100%;
}

.nav-btn:hover {
  background-color: var(--white);
  color: var(--black);
  border-color: var(--white);
  box-shadow: 
    0 0 25px rgba(240, 240, 240, 0.4),
    0 0 50px rgba(204, 34, 34, 0.3),
    0 8px 25px rgba(0, 0, 0, 0.4);
  transform: scale(1.05) translateY(-2px);
}

.toys-btn {
  border-color: var(--red);
}

.toys-btn:hover {
  background-color: var(--red);
  border-color: var(--red);
  box-shadow: 
    0 0 35px rgba(204, 34, 34, 0.6),
    0 0 70px rgba(204, 34, 34, 0.4),
    0 8px 25px rgba(0, 0, 0, 0.4);
}

.toy-icons {
  display: block;
  font-size: 1.2rem;
  margin-top: 0.3rem;
  letter-spacing: 0.5rem;
  opacity: 0.7;
}

.toys-btn:hover .toy-icons {
  animation: bounce 0.4s ease-in-out infinite, wiggle 0.4s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-3deg); }
  75% { transform: rotate(3deg); }
}

.page-content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 5rem 2rem 3rem;
  max-width: 900px;
  margin: 0 auto;
  overflow-y: auto;
}

.back-link {
  font-family: var(--body-font);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  padding: 0.6rem 1.2rem;
  border: 2px solid var(--gray-light);
  border-radius: 8px;
  background: var(--content-bg);
  transition: all 0.2s ease;
  margin-bottom: 2rem;
}

.back-link:hover {
  border-color: var(--red);
  color: var(--red-bright);
  box-shadow: 0 0 15px rgba(204, 34, 34, 0.3);
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 3px solid var(--gray);
}

.page-title {
  font-family: var(--headline-font);
  font-size: 3rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
  color: var(--white);
  text-shadow: 0 0 20px rgba(204, 34, 34, 0.3);
}

.page-subtitle {
  font-family: var(--headline-font);
  font-size: 1.3rem;
  color: var(--white-dim);
}

.post-card, .toy-card {
  font-family: var(--body-font);
  background: var(--content-bg);
  border: 2px solid var(--gray);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  transition: all 0.25s ease;
  text-decoration: none;
  color: var(--white);
  display: block;
}

.post-card:hover, .toy-card:hover {
  border-color: var(--red);
  box-shadow: 0 0 25px rgba(204, 34, 34, 0.3);
  transform: translateY(-3px);
}

.post-date {
  font-family: var(--mono-font);
  font-size: 0.9rem;
  color: var(--red);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.post-title, .toy-title {
  font-family: var(--headline-font);
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  color: var(--white);
}

.post-card:hover .post-title, .toy-card:hover .toy-title {
  color: var(--red-bright);
}

.post-excerpt, .toy-desc {
  font-family: var(--body-font);
  font-size: 1rem;
  color: var(--white-dim);
  line-height: 1.6;
}

.post-tag, .toy-tag {
  font-family: var(--mono-font);
  font-size: 0.85rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--gray-light);
  border-radius: 4px;
  color: var(--white-dim);
  background: var(--black-light);
}

.post-tags, .toy-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.post-body {
  font-family: var(--body-font);
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--white);
  background: var(--content-bg);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--gray);
}

.post-body h1, .post-body h2, .post-body h3, .post-body h4 {
  font-family: var(--headline-font);
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.post-body h2 {
  font-size: 2rem;
  border-bottom: 1px solid var(--gray);
  padding-bottom: 0.5rem;
}

.post-body h3 {
  font-size: 1.5rem;
  color: var(--red-bright);
}

.post-body p {
  margin-bottom: 1.2rem;
}

.post-body a {
  color: var(--red-bright);
  text-decoration: none;
  border-bottom: 1px solid var(--red);
  transition: all 0.2s ease;
}

.post-body a:hover {
  color: var(--white);
  background: var(--red);
}

.post-body code {
  font-family: var(--mono-font);
  background: var(--black-light);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--red-bright);
}

.post-body pre {
  background: var(--black-light);
  border: 1px solid var(--gray);
  border-radius: 8px;
  padding: 1.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.post-body pre code {
  font-family: var(--mono-font);
  background: none;
  padding: 0;
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.5;
}

.post-body ul, .post-body ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.post-body li {
  margin-bottom: 0.5rem;
}

.post-body blockquote {
  border-left: 4px solid var(--red);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--white-dim);
}

.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.post-body hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  margin: 2rem 0;
}

.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.post-body th, .post-body td {
  border: 1px solid var(--gray);
  padding: 0.8rem;
  text-align: left;
}

.post-body th {
  background: var(--black-light);
  color: var(--red-bright);
  font-family: var(--headline-font);
}

.post-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--gray);
}

.post-header .post-title {
  font-family: var(--headline-font);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.post-header .post-date {
  font-family: var(--mono-font);
  font-size: 1rem;
  color: var(--red);
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  html {
    overflow-y: auto;
  }
  
  body {
    font-size: 15px;
  }
  
  .page-content {
    padding: 4rem 1rem 2rem;
  }
  
  .name {
    font-size: 2.5rem;
    letter-spacing: 0.3em;
  }
  
  .tagline {
    font-size: 1.1rem;
  }
  
  .logo {
    width: 90px;
    height: 90px;
  }
  
  .logo-ring {
    width: 120px;
    height: 120px;
    top: -10px;
  }
  
  .social-links {
    gap: 0.8rem;
  }
  
  .social-links a {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }
  
  .nav-btn {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    min-width: 220px;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .post-body {
    font-size: 1rem;
    padding: 1.5rem;
  }
}

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

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-light);
  border-radius: 5px;
  border: 2px solid var(--black);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--red);
}
