:root {
  --bg-dark: #050505;
  --text-main: #ffffff;
  --text-muted: #rgba(255, 255, 255, 0.7);
  --accent-primary: #00f2ea;
  --accent-secondary: #ff0050;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  overflow-x: hidden;
}

/* Dynamic Background */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: radial-gradient(circle at 10% 20%, rgba(0, 242, 234, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 0, 80, 0.15) 0%, transparent 40%);
  filter: blur(60px);
  animation: bg-pulse 10s ease-in-out infinite alternate;
}

@keyframes bg-pulse {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.2);
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section */
.hero {
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: 5rem;
  font-weight: 800;
  margin: 0;
  background: linear-gradient(135deg, #fff 0%, var(--accent-primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  letter-spacing: -2px;
  animation: fade-up 1s ease-out;
}

.hero p {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1rem;
  font-weight: 300;
  animation: fade-up 1.2s ease-out;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  justify-content: center;
}

.social-links a {
  color: #fff;
  transition: transform 0.2s, color 0.2s;
  opacity: 0.8;
}

.social-links a:hover {
  transform: translateY(-3px);
  color: var(--accent-primary);
  opacity: 1;
}

.social-links svg {
  width: 32px;
  height: 32px;
}


.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  animation: bounce 2s infinite;
  opacity: 0.7;
}

/* Works Section */
.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin: 4rem auto 3rem;
  position: relative;
  display: block;
  width: fit-content;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background: var(--accent-primary);
  margin: 10px auto 0;
  border-radius: 2px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 6rem;
}

.card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card:hover::before {
  opacity: 1;
}

.card h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.card p {
  color: #ccc;
  line-height: 1.6;
}

/* Timeline Section */
.timeline-container {
  max-width: 600px;
  margin: 0 auto 6rem;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  text-align: center;
}

/* Contact Form */
.contact-section {
  max-width: 600px;
  margin: 0 auto 8rem;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
}

.form-group {
  margin-bottom: 1.5rem;
}

input,
textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.1);
}

.btn-send {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  border: none;
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.2s;
}

.btn-send:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

/* Animations */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

.live-badge {
  background: #ff0050;
  color: white;
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 0.5rem;
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 0, 80, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(255, 0, 80, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 80, 0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Admin Styles (merged for simplicity) */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

th,
td {
  padding: 1rem;
  border-bottom: 1px solid #333;
  text-align: left;
}

th {
  color: var(--accent-primary);
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000c;
  z-index: 999;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #1a1a1a;
  padding: 2rem;
  width: 90%;
  max-width: 600px;
  border-radius: 12px;
  position: relative;
}

.close-btn {
  position: absolute;
  right: 1rem;
  top: 1rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.reply-btn {
  display: inline-block;
  background: var(--accent-primary);
  padding: 0.5rem 1rem;
  color: #000;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 1rem;
  font-weight: bold;
}