/* Global styles for slowhell.xyz */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #0d0d0d;
  color: #f0f0f0;
  line-height: 1.6;
}

h1 {
  font-size: 2em;
  margin-bottom: 1em;
  letter-spacing: 1px;
  border-bottom: 1px solid #444;
  padding-bottom: 0.25em;
}

a {
  color: #f0f0f0;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #aaa;
}

/* Navigation and buttons */
.button, .back {
  display: inline-block;
  padding: 0.75em 1.5em;
  border: 2px solid #f0f0f0;
  border-radius: 6px;
  color: #f0f0f0;
  text-decoration: none;
  transition: all 0.3s ease;
}

.button:hover, .back:hover {
  background-color: #f0f0f0;
  color: #0d0d0d;
}

.back {
  margin-top: 2em;
  padding: 0.5em 1em;
}

.button-container {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Content containers */
.content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2em;
  background: rgba(13, 13, 13, 0.6);
  border-radius: 8px;
  backdrop-filter: blur(5px);
}

/* Landing page styles */
.landing-body {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

/* Text animation styles */
.rain-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.rain-text {
  position: absolute;
  color: rgba(240, 240, 240, 0.6);
  top: -60px;
  user-select: none;
  font-weight: 300;
  animation-name: rain-fall;
  animation-timing-function: linear;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  font-size: 1.4em;
}

.rain-text.blood {
  color: rgba(220, 20, 20, 0.8);
  text-shadow: 0 0 8px rgba(220, 20, 20, 0.4);
}

.english {
  font-family: 'Segoe UI', sans-serif;
}

.arabic {
  font-family: 'Amiri', serif;
}

.sanskrit {
  font-family: 'Noto Sans Devanagari', sans-serif;
}

@keyframes rain-fall {
  to {
    transform: translateY(100vh);
    opacity: 0;
  }
}

/* Projects page styles */
.projects-body {
  padding: 2em;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.project-card {
  background-color: #181818;
  border-radius: 8px;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 220px;
  position: relative;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.project-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

.project-desc {
  font-size: 0.95rem;
  color: #ccc;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.project-links {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  margin-top: auto;
}

.project-link {
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.85rem;
  background-color: #333;
  transition: background-color 0.3s ease;
}

.project-link:hover {
  background-color: #555;
}

.project-symbol {
  font-size: 1.5rem;
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* About page styles */
.about-body {
  padding: 2em;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Terminal page styles */
.terminal-body {
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.terminal {
  background-color: #0a0a0a;
  flex-grow: 1;
  overflow: auto;
  padding: 1em;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  position: relative;
}

.terminal-output {
  white-space: pre-wrap;
  color: #f0f0f0;
  margin-bottom: 1em;
}

.terminal-prompt {
  display: flex;
  align-items: center;
}

.terminal-prompt-symbol {
  color: rgb(255, 0, 0);
  margin-right: 0.5em;
}

.terminal-input {
  background: transparent;
  border: none;
  color: #ff0000;
  font-family: inherit;
  font-size: inherit;
  flex-grow: 1;
  outline: none;
  caret-color: rgb(255, 0, 0);
}

/* Glyph/Sigil */
.site-sigil {
  position: fixed;
  bottom: 1em;
  right: 1em;
  width: 40px;
  height: 40px;
  opacity: 0.3;
  z-index: 100;
  transition: opacity 0.3s ease;
}

.site-sigil:hover {
  opacity: 0.7;
}

/* Audio Controls */
.cta {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    justify-content: center;
}

.audio-btn {
    background-color: #222;
    color: #aaa;
    border: 1px solid #444;
    padding: 12px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.audio-btn:hover {
    background-color: #333;
    color: #ddd;
    border-color: #666;
}

.audio-btn.active {
    background-color: #1a1a1a;
    color: rgba(220, 20, 20, 0.8);
    border-color: rgba(220, 20, 20, 0.8);
    text-shadow: 0 0 8px rgba(220, 20, 20, 0.4);
}

.audio-controls {
    margin: 20px auto;
    padding: 15px;
    max-width: 400px;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid #333;
    border-radius: 4px;
}

.audio-control-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.audio-control-wrapper label {
    flex: 0 0 100px;
    color: #aaa;
    font-size: 14px;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: #333;
    outline: none;
    border-radius: 2px;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.slider::-webkit-slider-thumb:hover {
    background: #888;
    box-shadow: 0 0 10px rgba(220, 20, 20, 0.3);
}

.slider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.slider::-moz-range-thumb:hover {
    background: #888;
    box-shadow: 0 0 10px rgba(220, 20, 20, 0.3);
}

.audio-status {
    text-align: center;
    font-size: 12px;
    color: #666;
    font-style: italic;
    padding: 5px 0;
}

.void-status {
    transition: all 0.5s ease;
}

.void-status.active {
    color: rgba(220, 20, 20, 0.8);
    text-shadow: 0 0 5px rgba(220, 20, 20, 0.4);
}

/* Animation for void pulse effect */
@keyframes void-pulse {
    0% {
        box-shadow: inset 0 0 30px rgba(220, 20, 20, 0);
    }
    50% {
        box-shadow: inset 0 0 30px rgba(220, 20, 20, 0.3);
    }
    100% {
        box-shadow: inset 0 0 30px rgba(220, 20, 20, 0);
    }
}

.void-pulse {
    animation: void-pulse 1s ease;
}

/* Animation for void active effects */
@keyframes void-active-ambient {
    0% {
        text-shadow: 0 0 3px rgba(220, 20, 20, 0.2);
    }
    50% {
        text-shadow: 0 0 5px rgba(220, 20, 20, 0.4);
    }
    100% {
        text-shadow: 0 0 3px rgba(220, 20, 20, 0.2);
    }
}

.void-status.active {
    color: rgba(220, 20, 20, 0.8);
    text-shadow: 0 0 5px rgba(220, 20, 20, 0.4);
    animation: void-active-ambient 4s infinite;
} 