/* A Formulation of Truth - Single Theme (Tamas) */

/* ============================================ */
/* BASE RESET & COMMON STYLES */
/* ============================================ */

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

:root {
  /* Theme transition */
  --transition-speed: 0.3s;
}

body {
  font-family: 'Georgia', serif;
  min-height: 100vh;
  transition: background-color var(--transition-speed) ease,
              color var(--transition-speed) ease;
}

/* ============================================ */
/* TAMAS THEME (Default and Only) */
/* ============================================ */

body {
  --bg-primary: #000000;      /* Pure black void */
  --bg-secondary: #0a0a0a;    /* Near-black surface */
  --bg-card: rgba(10, 10, 10, 0.9);
  --text-primary: #e0e0ff;    /* Very light lavender */
  --text-secondary: #00d9ff;  /* Electric blue */
  --accent-1: #00d9ff;        /* Electric blue */
  --accent-2: #8b00ff;        /* Deep psychedelic purple */
  --accent-3: #00ff41;        /* Toxic neon green */
  --border-color: rgba(0, 217, 255, 0.3);
  --shadow-color: rgba(0, 0, 0, 0.9);
  --glow-1: rgba(0, 217, 255, 0.8);
  --glow-2: rgba(139, 0, 255, 0.8);
  --glow-3: rgba(0, 255, 65, 0.8);

  background-color: var(--bg-primary);
  color: var(--text-primary);
}

/* ============================================ */
/* TYPOGRAPHY */
/* ============================================ */

h1, h2, h3 {
  font-family: 'Orbitron', sans-serif;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 600;
}

p {
  line-height: 1.8;
  font-size: 1.1rem;
}

a {
  color: var(--accent-1);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  text-shadow: 0 0 8px var(--glow-1);
}

/* ============================================ */
/* HERO SECTION */
/* ============================================ */

.hero {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 4rem 1rem;
  position: relative;
}

/* Tamas gradient - Psychedelic void */
.hero {
  background: radial-gradient(
    1200px 600px at 50% 10%,
    rgba(139, 0, 255, 0.3) 0%,
    rgba(0, 217, 255, 0.2) 40%,
    rgba(0, 255, 65, 0.1) 60%,
    transparent 80%
  );
}

.hero-title {
  text-align: center;
  margin: 0 0 0.5rem;
  text-shadow: 0 0 16px var(--glow-1);
}

/* ============================================ */
/* OM SYMBOLS */
/* ============================================ */

.oms {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin: 0.5rem 0 1.5rem;
  font-size: clamp(1.2rem, 2.6vw, 1.8rem);
  font-weight: 700;
}

.om {
  font-weight: bold;
  color: var(--accent-2);
  filter: drop-shadow(0 0 6px var(--glow-2));
  animation: pulse 3s ease-in-out infinite;
}

.oms .sup {
  position: relative;
  top: -0.4em;
}

.oms .sub {
  position: relative;
  top: 0.4em;
}

.oms .at {
  color: var(--accent-1);
  filter: drop-shadow(0 0 6px var(--glow-1));
}

.irendu {
  position: relative;
  top: -0.6em;
  font-size: 2rem;
  color: var(--accent-3);
  filter: drop-shadow(0 0 8px var(--glow-3));
}

/* ============================================ */
/* LOCKUP SECTION */
/* ============================================ */

.lockup {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 2.5rem 1rem;
}

.lockup-center {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  text-align: center;
  font-size: clamp(1.4rem, 3.8vw, 2.5rem);
  line-height: 1.15;
  white-space: nowrap;
  text-shadow: 0 0 10px var(--glow-1);
}

.lockup-tamil {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-weight: 700;
  font-size: clamp(1.2rem, 3.2vw, 2.1rem);
  color: var(--accent-2);
  text-align: center;
  opacity: 0.95;
  text-shadow: 0 0 10px var(--glow-2);
}

.lockup-ukr {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: clamp(1.1rem, 3vw, 2rem);
  color: var(--accent-3);
  text-align: center;
  text-shadow: 0 0 10px var(--glow-3);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.flag-ua {
  width: 28px;
  height: 18px;
  display: inline-block;
  border-radius: 2px;
  background: linear-gradient(#0057b7 0 50%, #ffd700 50% 100%);
  box-shadow: 0 0 10px var(--glow-1);
  animation: flag-wave 2.2s ease-in-out infinite;
}

/* ============================================ */
/* CARDS & GRID */
/* ============================================ */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1000px;
  width: 100%;
  padding: 0 1rem;
}

.card {
  display: block;
  padding: 2.5rem 2rem;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  color: var(--text-primary);
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  min-height: 200px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px var(--shadow-color);
}

.card:hover {
  border-color: #ff6600;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 32px rgba(255, 102, 0, 0.8), 0 0 60px rgba(255, 102, 0, 0.6);
}

.card h3 {
  color: var(--accent-1);
  margin-bottom: 1rem;
}

/* ============================================ */
/* BUTTONS */
/* ============================================ */

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--bg-card);
  border: 2px solid var(--accent-1);
  border-radius: 50px;
  color: var(--accent-1);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn:hover {
  background: var(--accent-1);
  color: var(--bg-primary);
  box-shadow: 0 0 20px var(--glow-1);
  transform: scale(1.05);
}

.btn-primary {
  background: var(--accent-1);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent-1);
}

/* ============================================ */
/* ANIMATIONS */
/* ============================================ */

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes flag-wave {
  0%, 100% { transform: rotate(0deg) skewY(0deg); }
  50% { transform: rotate(-4deg) skewY(-2deg); }
}

/* ============================================ */
/* RESPONSIVE */
/* ============================================ */

@media (max-width: 768px) {
  .lockup {
    padding: 2rem 0.5rem;
  }

  .lockup-tamil,
  .lockup-ukr {
    font-size: 0.85rem;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ============================================ */
/* NEON NEXUS THEME - Futuristic & Classy */
/* Uncomment body.neon-nexus to activate */
/* ============================================ */

/*
body.neon-nexus {
  --bg-primary: #0a0e1a;
  --bg-secondary: #0f1420;
  --bg-card: rgba(15, 20, 32, 0.85);
  --text-primary: #e8f1ff;
  --text-secondary: #00f0ff;
  --accent-1: #00f0ff;
  --accent-2: #ff00e5;
  --accent-3: #ffd700;
  --accent-4: #7b2ff7;
  --border-color: rgba(0, 240, 255, 0.3);
  --shadow-color: rgba(0, 0, 0, 0.8);
  --glow-cyan: rgba(0, 240, 255, 0.8);
  --glow-magenta: rgba(255, 0, 229, 0.7);
  --glow-gold: rgba(255, 215, 0, 0.6);
  --glow-purple: rgba(123, 47, 247, 0.7);

  background: linear-gradient(135deg, #0a0e1a 0%, #0f1420 50%, #1a0e2e 100%);
  color: var(--text-primary);
  position: relative;
  overflow-x: hidden;
}

body.neon-nexus::before,
body.neon-nexus::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  animation: cloud-pulse 8s ease-in-out infinite;
}

body.neon-nexus::before {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--glow-cyan) 0%, transparent 70%);
  top: -200px;
  left: -200px;
  animation-delay: 0s;
}

body.neon-nexus::after {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--glow-magenta) 0%, transparent 70%);
  bottom: -300px;
  right: -300px;
  animation-delay: 4s;
}

body.neon-nexus .hero {
  background: none;
  position: relative;
  z-index: 1;
}

body.neon-nexus .hero::before,
body.neon-nexus .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0;
  pointer-events: none;
  animation: cloud-drift 12s ease-in-out infinite;
}

body.neon-nexus .hero::before {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--glow-purple) 0%, transparent 70%);
  top: 20%;
  right: 10%;
  animation-delay: 2s;
}

body.neon-nexus .hero::after {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--glow-gold) 0%, transparent 70%);
  top: 60%;
  left: 5%;
  animation-delay: 6s;
}

body.neon-nexus .card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 240, 255, 0.2);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

body.neon-nexus .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 240, 255, 0.1),
    transparent
  );
  transition: left 0.7s ease;
}

body.neon-nexus .card:hover::before {
  left: 100%;
}

body.neon-nexus .card:hover {
  border-color: var(--accent-1);
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 16px 48px var(--glow-cyan),
    0 0 80px rgba(0, 240, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

body.neon-nexus .card h3 {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  letter-spacing: 0.05em;
}

body.neon-nexus .hero-title {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-3), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 20px var(--glow-cyan));
  animation: title-shimmer 3s ease-in-out infinite;
}

body.neon-nexus .lockup-center {
  color: var(--text-primary);
  text-shadow:
    0 0 10px var(--glow-cyan),
    0 0 20px var(--glow-cyan),
    0 0 30px var(--glow-purple);
}

body.neon-nexus .lockup-tamil {
  color: var(--accent-2);
  text-shadow:
    0 0 15px var(--glow-magenta),
    0 0 30px var(--glow-magenta);
}

body.neon-nexus .lockup-ukr {
  color: var(--accent-3);
  text-shadow:
    0 0 15px var(--glow-gold),
    0 0 30px var(--glow-gold);
}

@keyframes cloud-pulse {
  0%, 100% {
    opacity: 0.2;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.2);
  }
}

@keyframes cloud-drift {
  0%, 100% {
    opacity: 0.15;
    transform: translate(0, 0) scale(1);
  }
  33% {
    opacity: 0.3;
    transform: translate(30px, -20px) scale(1.1);
  }
  66% {
    opacity: 0.25;
    transform: translate(-20px, 30px) scale(0.95);
  }
}

@keyframes title-shimmer {
  0%, 100% {
    filter: drop-shadow(0 0 20px var(--glow-cyan)) brightness(1);
  }
  50% {
    filter: drop-shadow(0 0 30px var(--glow-magenta)) brightness(1.2);
  }
}

body.neon-nexus a {
  color: var(--accent-1);
  transition: all 0.3s ease;
}

body.neon-nexus a:hover {
  color: var(--accent-2);
  text-shadow: 0 0 10px var(--glow-magenta);
}

body.neon-nexus .btn {
  background: linear-gradient(135deg, var(--accent-4), var(--accent-2));
  border: none;
  color: white;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  box-shadow: 0 4px 20px rgba(123, 47, 247, 0.4);
}

body.neon-nexus .btn:hover {
  background: linear-gradient(135deg, var(--accent-2), var(--accent-1));
  box-shadow:
    0 6px 30px var(--glow-magenta),
    0 0 60px rgba(255, 0, 229, 0.4);
  transform: scale(1.08) translateY(-2px);
}
*/
