@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap');

:root {
  --bg: #0d1117;
  --text: #dbeafe;
  --primary: #60a5fa;
  --accent: #89f3c7;
  --glow: #3b82f6;
}

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

body {
  font-family: 'JetBrains Mono', monospace;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

section {
  padding: 5rem 2rem;
  max-width: 100%;
  margin: auto;
}

h1, h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}

p {
  line-height: 1.6;
}

a {
  color: var(--accent)
}

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle, #132235 0%, #0d1117 30%);
}

.hero h1 {
  font-size: 3rem;
  animation: fadeIn 2s ease forwards;
}

.hero p {
  font-size: 1.25rem;
  margin-top: 1rem;
  animation: fadeIn 3s ease forwards;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.card {
  background: #1e293b;
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid #334155;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}

footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  background: #0f172a;
}

.socials {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding-top: 1rem;
}

.socials li a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.socials li a:hover {
  color: var(--glow);
}

/* Bottom Menu */
.bottom-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0);
  display: none;
  z-index: 1000;
  padding: 1rem 0;
  animation: slideUp 0.6s ease-in-out forwards;
}

.bottom-menu.active {
  display: block;
}

.bottom-menu ul {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
}

.bottom-menu a {
  color: var(--accent);
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.bottom-menu a:hover {
  color: var(--glow);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}


.fade-in {
  animation: fadeIn 2s ease forwards;
}

.fade-in-delay {
  animation: fadeIn 3s ease forwards;
}

.fade-slide-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeSlide 1s ease-out forwards;
  animation-delay: 0.5s;
}

.beats {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 0;
}

.beats span {
  display: block;
  width: 30px;
  height: 30px;
  background: var(--primary);
  border-radius: 3px;
  animation: beat 1s infinite ease-in-out;
}

.beats span:nth-child(2) {
  animation-delay: 0.2s;
}
.beats span:nth-child(3) {
  animation-delay: 0.4s;
}
.beats span:nth-child(4) {
  animation-delay: 0.6s;
}
.beats span:nth-child(5) {
  animation-delay: 0.8s;
}
.beats span:nth-child(6) {
  animation-delay: 0.1s;
}
.beats span:nth-child(7) {
  animation-delay: 0.2s;
}
.beats span:nth-child(8) {
  animation-delay: 0.4s;
}
.beats span:nth-child(10) {
  animation-delay: 0.6s;
}
.beats span:nth-child(11) {
  animation-delay: 0.8s;
}
.beats span:nth-child(12) {
  animation-delay: 0.1s;
}
.beats span:nth-child(13) {
  animation-delay: 0.2s;
}
.beats span:nth-child(14) {
  animation-delay: 0.4s;
}
.beats span:nth-child(15) {
  animation-delay: 0.6s;
}
.beats span:nth-child(16) {
  animation-delay: 0.8s;
}.beats span:nth-child(17) {
  animation-delay: 0.1s;
}
.beats span:nth-child(18) {
  animation-delay: 0.2s;
}
.beats span:nth-child(19) {
  animation-delay: 0.4s;
}
.beats span:nth-child(20) {
  animation-delay: 0.6s;
}
.beats span:nth-child(21) {
  animation-delay: 0.8s;
}
.beats span:nth-child(22) {
  animation-delay: 0.1s;
}
.beats span:nth-child(23) {
  animation-delay: 0.2s;
}
.beats span:nth-child(24) {
  animation-delay: 0.4s;
}
.beats span:nth-child(25) {
  animation-delay: 0.6s;
}
.beats span:nth-child(26) {
  animation-delay: 0.8s;
}
.beats span:nth-child(27) {
  animation-delay: 0.1s;
}
.beats span:nth-child(28) {
  animation-delay: 0.2s;
}
.beats span:nth-child(29){
  animation-delay: 0.4s;
}
.beats span:nth-child(30) {
  animation-delay: 0.6s;
}
.beats span:nth-child(31) {
  animation-delay: 0.8s;
}
.beats span:nth-child(32) {
  animation-delay: 0.1s;
}
.beats span:nth-child(33) {
  animation-delay: 0.2s;
}
.beats span:nth-child(34) {
  animation-delay: 0.4s;
}
.beats span:nth-child(35) {
  animation-delay: 0.6s;
}
.beats span:nth-child(36) {
  animation-delay: 0.8s;
}
.beats span:nth-child(37) {
  animation-delay: 0.1s;
}
.beats span:nth-child(38) {
  animation-delay: 0.2s;
}
.beats span:nth-child(39) {
  animation-delay: 0.4s;
}
.beats span:nth-child(40) {
  animation-delay: 0.6s;
}

@keyframes beat {
  0%, 100% { height: 30px; opacity: 0.6; }
  50% { height: 60px; opacity: 1; }
}

#blog h4 {
  padding-top: 2rem;
  color: var(--accent);
  text-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

.socials {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding-top: 1rem;
}

.socials li a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.socials li a:hover {
  color: var(--glow);
}