/* ===============================
   ANURAG PORTFOLIO — style.css
   =============================== */

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

:root {
  --bg: #080808;
  --bg2: #0f0f0f;
  --bg3: #141414;
  --card: #111111;
  --card-hover: #181818;
  --border: rgba(255, 255, 255, 0.07);
  --accent: #22c55e;
  --accent-light: #4ade80;
  --accent-glow: rgba(34, 197, 94, 0.25);
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.45);
  --text: rgba(255, 255, 255, 0.88);
  --radius: 20px;
  --radius-sm: 12px;
  --font: 'Inter', system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 6px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

/* ========== CONTAINER ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== NAVBAR ========== */
#navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1100px;
  z-index: 100;
  background: rgba(15, 15, 15, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all var(--transition);
}

.nav-inner {
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--accent-light);
}

.nav-cta {
  background: var(--accent);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
  filter: brightness(1.1);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}

/* ========== HERO ========== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.15) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
  animation: float-glow 10s ease-in-out infinite;
}

@keyframes float-glow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 40px) scale(1.1); }
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.6; }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-title .green {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--accent-glow);
  filter: brightness(1.1);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent);
  transform: translateY(-3px);
}

/* Hero Avatar */
.hero-right {
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-content-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
}

.about-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  width: 100%;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  text-align: left;
}

.about-card:hover {
  border-color: rgba(34, 197, 94, 0.4);
  background: var(--card-hover);
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}

.about-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.about-icon {
  font-size: 1.5rem;
}

.about-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}

.about-card p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
}

.avatar-wrapper {
  position: relative;
  width: 240px;
  height: 240px;
}

.avatar-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  border: 4px solid var(--accent);
  animation: blob 8s ease-in-out infinite;
  box-shadow: 0 0 50px var(--accent-glow);
}

@keyframes blob {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  50% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

.avatar-ring {
  position: absolute;
  inset: -15px;
  border: 2px dashed rgba(34, 197, 94, 0.3);
  border-radius: 50%;
  animation: spin 15s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Stats Bar */
.stats-bar {
  max-width: 1200px;
  margin: 40px auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 40px 24px;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 5;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 120px;
}

.stat-num {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1px;
}

.stat-suffix {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 900;
  color: var(--accent);
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.section-header .line {
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 0 auto;
  border-radius: 2px;
}

/* ========== BEST VIDEOS ========== */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.grid-3x2 {
  grid-template-columns: repeat(3, 1fr);
}

.video-card {
  aspect-ratio: 9/16;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.video-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.video-card iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ========== CLIENTS ========== */
.clients-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.client-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 30px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 320px;
  transition: all var(--transition);
}

.client-card:hover {
  background: var(--card-hover);
  border-color: var(--accent);
  transform: translateY(-5px);
}

.client-pfp {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  padding: 4px;
}

.client-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.client-link {
  color: var(--accent-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.client-link:hover {
  text-decoration: underline;
}

/* ========== CONTACT ========== */
.contact-section {
  padding-bottom: 120px;
}

.contact-card {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, #0a0a0a 100%);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 40px;
  padding: 80px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.contact-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.contact-info h3 {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.contact-info p {
  color: var(--muted);
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.discord-badge-wrapper {
  margin-top: 24px;
}

.discord-badge {
  background: #23272a; /* Discord Darker Grey */
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 10px 24px 10px 10px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition);
}

.discord-badge:hover {
  background: #5865F2; /* Discord Blurple */
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.discord-logo-box {
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s ease;
}

.discord-mini-logo {
  width: 24px;
  height: 24px;
}

.discord-badge:hover .discord-logo-box {
  transform: rotateX(360deg);
}

.discord-username {
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: var(--radius-sm);
  color: white;
  font-family: inherit;
  font-size: 1rem;
  transition: all var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
}

textarea.form-input {
  min-height: 150px;
}

.submit-btn {
  background: var(--accent);
  color: white;
  border: none;
  padding: 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px var(--accent-glow);
}

/* ========== FOOTER ========== */
footer {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 10px;
  display: block;
  text-decoration: none;
  color: white;
}

.footer-logo span {
  color: var(--accent);
}

.footer-text {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-copy {
  margin-top: 30px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.2);
}

/* ========== ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-card {
    grid-template-columns: 1fr;
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-right {
    order: -1;
  }
  .avatar-wrapper {
    width: 260px;
    height: 260px;
  }
  .hero-btns {
    justify-content: center;
  }
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

@media (max-width: 480px) {
  .videos-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .input-row {
    grid-template-columns: 1fr;
  }
}

/* ========== CUSTOM VIDEO CONTROLS ========== */
.video-container {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
}

.video-container video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.custom-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 20;
}

.video-container:hover .custom-controls {
  opacity: 1;
}

@media (max-width: 1024px) {
  .custom-controls {
    opacity: 1;
  }
}

.control-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.control-btn:hover {
  transform: scale(1.1);
}

.control-btn svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}


