@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* --- Design Tokens & Variables --- */
:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Colors */
  --bg-darker: #080503;
  --bg-dark: #120b06;
  --bg-card: rgba(26, 17, 10, 0.55);
  --bg-card-hover: rgba(36, 23, 14, 0.8);
  --border-color: rgba(255, 255, 255, 0.07);
  --border-glow: rgba(255, 107, 0, 0.25);

  /* Neon Accents (Re-mapped to Orange & Gold theme) */
  --neon-cyan: #ff7700;       /* Primary Neon Orange */
  --neon-purple: #ff2a00;     /* Secondary Deep Red-Orange */
  --neon-magenta: #ffcc00;    /* Neon Gold / Accent Yellow */
  --neon-orange: #ff4500;     /* Extra Hot Orange */
  
  /* Text */
  --text-main: #fcf8f5;
  --text-muted: #e0d5cd;
  --text-dim: #9c8e85;

  /* Gradients */
  --grad-cyan-purple: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  --grad-purple-magenta: linear-gradient(135deg, var(--neon-purple), var(--neon-magenta));
  --grad-dark: linear-gradient(180deg, var(--bg-darker), var(--bg-dark));
  
  /* Layout & Shadows */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-neon: 0 0 20px rgba(255, 119, 0, 0.2);
  --shadow-neon-lg: 0 0 35px rgba(255, 42, 0, 0.4);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: #080503;
  scroll-behavior: smooth;
}

body {
  background-color: transparent;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: #1c1e2a;
  border-radius: var(--radius-sm);
  border: 2px solid var(--bg-darker);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-cyan);
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-cyan-purple);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 119, 0, 0.2);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--grad-purple-magenta);
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 42, 0, 0.4);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--neon-cyan);
  transform: translateY(-2px);
  text-shadow: 0 0 10px rgba(255, 119, 0, 0.5);
}

/* --- Navigation Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  transition: var(--transition);
}

.header.scrolled {
  padding: 12px 0;
  background: rgba(5, 5, 8, 0.75);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad-cyan-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo span {
  color: var(--neon-magenta);
  -webkit-text-fill-color: initial;
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.4s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-cyan-purple);
  transition: width 0.4s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--neon-cyan);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  border: none;
  background: none;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 100px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(5,5,8,0.95) 0%, rgba(5,5,8,0.8) 50%, rgba(5,5,8,0.2) 100%);
  z-index: 1;
}

.hero-bg-img {
  position: absolute;
  top: 50%;
  right: 12%;
  transform: translateY(-50%);
  width: 38%;
  height: 85%;
  max-width: 460px;
  max-height: 640px;
  object-fit: contain;
  opacity: 0.85;
  mask-image: linear-gradient(225deg, rgba(0,0,0,1) 45%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(225deg, rgba(0,0,0,1) 45%, rgba(0,0,0,0) 100%);
  z-index: 2;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 25px rgba(255, 42, 0, 0.25));
  transition: var(--transition);
}

.hero-bg-img:hover {
  transform: translateY(-52%) scale(1.02);
  opacity: 0.95;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 30px rgba(255, 119, 0, 0.35));
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 650px;
}

.hero-tag {
  display: inline-flex;
  padding: 6px 16px;
  background: rgba(255, 119, 0, 0.1);
  border: 1px solid rgba(255, 119, 0, 0.3);
  border-radius: 100px;
  color: var(--neon-cyan);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 0 15px rgba(255, 119, 0, 0.1);
}

.hero-title {
  font-size: clamp(40px, 6vw, 64px);
  margin-bottom: 24px;
  color: #fff;
  text-shadow: 0 0 40px rgba(0,0,0,0.8);
}

.hero-title span {
  background: var(--grad-cyan-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.8;
}

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

/* --- Section Styling --- */
.section {
  padding: 100px 0;
  position: relative;
}

.first-section {
  padding-top: 140px;
}

.section-header {
  margin-bottom: 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.section-title-wrap {
  max-width: 600px;
}

.section-tag {
  font-family: var(--font-heading);
  color: var(--neon-magenta);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: #fff;
}

.section-title span {
  background: var(--grad-purple-magenta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Glassmorphic Article Cards --- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 32px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  backdrop-filter: blur(12px);
  position: relative;
}

.article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255, 119, 0, 0.15) 0%, rgba(255, 42, 0, 0.15) 100%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
  z-index: 1;
}

.article-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 119, 0, 0.4);
  box-shadow: var(--shadow-neon), 0 20px 40px rgba(0,0,0,0.6);
}

.article-card:hover::before {
  opacity: 1;
}

.article-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.article-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-card:hover .article-img {
  transform: scale(1.08);
}

.article-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(5, 5, 8, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  color: var(--neon-cyan);
  font-size: 11px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

.article-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.article-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-title {
  font-size: 20px;
  margin-bottom: 12px;
  color: #fff;
  line-height: 1.4;
}

.article-title a:hover {
  color: var(--neon-cyan);
}

.article-excerpt {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--neon-purple);
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

.author-role {
  font-size: 11px;
  color: var(--text-dim);
}

/* --- Filter Buttons --- */
.filters-wrapper {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 8px 20px;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  border-radius: 100px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--grad-cyan-purple);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.filter-btn:hover, .filter-btn.active {
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(255, 119, 0, 0.25);
  transform: translateY(-2px);
}

.filter-btn:hover::before, .filter-btn.active::before {
  opacity: 1;
}

/* --- Issues / Magazine Carousel --- */
.issues-slider {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  padding: 20px 0 40px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
}

.issues-slider::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.issue-slide {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  backdrop-filter: blur(12px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.issue-slide:hover {
  transform: translateY(-8px);
  border-color: var(--neon-magenta);
  box-shadow: 0 10px 30px rgba(255, 204, 0, 0.2);
}

.issue-cover-box {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  position: relative;
}

.issue-cover-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.issue-slide:hover .issue-cover-box img {
  transform: scale(1.05);
}

.issue-date {
  font-size: 13px;
  color: var(--neon-magenta);
  font-weight: 600;
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

.issue-title {
  color: #fff;
  font-size: 20px;
  margin-bottom: 16px;
}

/* --- About Segment --- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 24px;
}

.about-text p {
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.feature-item {
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--neon-purple);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.feature-title {
  color: #fff;
  font-size: 16px;
  margin-bottom: 6px;
}

.feature-desc {
  color: var(--text-dim);
  font-size: 13px;
}

.about-visual {
  position: relative;
}

.about-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: var(--grad-cyan-purple);
  filter: blur(80px);
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

.about-img-box {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

/* --- Newsletter Section --- */
.newsletter-card {
  background: linear-gradient(135deg, rgba(18, 20, 32, 0.8) 0%, rgba(10, 11, 16, 0.95) 100%);
  border: 1px solid rgba(255, 119, 0, 0.2);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-neon);
}

.newsletter-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 42, 0, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.newsletter-icon {
  font-size: 40px;
  margin-bottom: 20px;
  display: inline-block;
  background: var(--grad-cyan-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulseGlow 3s infinite ease-in-out;
}

.newsletter-title {
  font-size: 32px;
  margin-bottom: 16px;
  color: #fff;
}

.newsletter-desc {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  padding: 8px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.newsletter-form:focus-within {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(255, 119, 0, 0.2);
}

.newsletter-input {
  flex-grow: 1;
  background: none;
  border: none;
  padding: 12px 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
}

.newsletter-input:focus {
  outline: none;
}

.newsletter-input::placeholder {
  color: var(--text-dim);
}

.newsletter-submit {
  background: var(--grad-cyan-purple);
  color: #fff;
  border: none;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-submit:hover {
  box-shadow: 0 0 15px var(--neon-cyan);
  transform: scale(1.02);
}

.hsub {
  animation: fadeOutDown 0.5s forwards;
}

/* --- Footer --- */
.footer {
  background: #030305;
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-about .logo {
  margin-bottom: 20px;
}

.footer-desc {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.8;
  max-width: 320px;
}

.footer-title {
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  font-family: var(--font-heading);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--neon-cyan);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy {
  color: var(--text-dim);
  font-size: 13px;
}

.footer-copy a:hover {
  color: var(--neon-magenta);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 18px;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--grad-cyan-purple);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px) rotate(8deg);
  box-shadow: 0 5px 15px rgba(255, 119, 0, 0.3);
}

/* --- Mobile Navigation --- */
@media (max-width: 1024px) {
  .hero-bg-img {
    width: 34%;
    right: 8%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    z-index: 101;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: rgba(5, 5, 8, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  .menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero {
    text-align: center;
    padding-top: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: auto;
    padding-bottom: 60px;
  }

  .hero .container {
    order: 1;
  }

  .hero-bg-img {
    position: relative;
    top: 0;
    right: 0;
    transform: none;
    width: 60%;
    max-width: 260px;
    height: auto;
    margin: 40px auto 0;
    opacity: 0.95;
    mask-image: none;
    -webkit-mask-image: none;
    order: 2;
    z-index: 2;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.7)) drop-shadow(0 0 20px rgba(255, 42, 0, 0.25));
  }

  .hero-actions {
    justify-content: center;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* --- Animations --- */
@keyframes pulseGlow {
  0%, 100% {
    filter: drop-shadow(0 0 2px rgba(255, 119, 0, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 12px rgba(255, 119, 0, 0.9));
  }
}

@keyframes fadeOutDown {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
    height: 0;
    padding: 0;
    margin: 0;
  }
}

/* --- Admin Panel Styles --- */
.admin-page {
  padding-top: 120px;
  min-height: 100vh;
  background-color: var(--bg-darker);
}

.admin-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  margin-top: 30px;
}

@media (max-width: 992px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }
}

.admin-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  height: fit-content;
  backdrop-filter: blur(12px);
}

.admin-user-info {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.admin-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--neon-cyan);
  object-fit: cover;
}

.admin-name {
  font-weight: 700;
  color: #fff;
  font-size: 16px;
}

.admin-role {
  font-size: 12px;
  color: var(--neon-cyan);
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  text-align: left;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  width: 100%;
}

.admin-nav-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--grad-cyan-purple);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.admin-nav-btn:hover {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.admin-nav-btn.active {
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(255, 119, 0, 0.2);
}

.admin-nav-btn.active::before {
  opacity: 1;
}

.admin-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  backdrop-filter: blur(12px);
}

.admin-card-title {
  font-size: 24px;
  color: #fff;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-card-title span {
  background: var(--grad-cyan-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Forms CSS */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  margin-bottom: 8px;
}

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

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(255, 119, 0, 0.15);
  background: rgba(255, 255, 255, 0.04);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Image Upload Container */
.upload-container {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

@media (max-width: 576px) {
  .upload-container {
    flex-direction: column;
  }
}

.file-upload-box {
  flex-grow: 1;
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  background: rgba(255, 255, 255, 0.01);
}

.file-upload-box:hover, .file-upload-box.dragover {
  border-color: var(--neon-cyan);
  background: rgba(255, 119, 0, 0.02);
}

.file-upload-box i {
  font-size: 32px;
  color: var(--text-muted);
  margin-bottom: 8px;
  transition: var(--transition);
}

.file-upload-box:hover i {
  color: var(--neon-cyan);
  transform: translateY(-2px);
}

.file-upload-box span {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
}

.file-upload-box input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-preview {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-preview .no-preview {
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
  padding: 10px;
}

.upload-preview .remove-preview {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--neon-magenta);
  color: #fff;
  border: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
  transition: var(--transition);
}

.upload-preview .remove-preview:hover {
  transform: scale(1.1);
  background: var(--neon-orange);
}

/* Admin Dashboard Table */
.admin-table-container {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.admin-table th {
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

.admin-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-muted);
  vertical-align: middle;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.01);
  color: #fff;
}

.table-article-title {
  font-weight: 600;
  color: #fff;
}

.table-article-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.table-article-img {
  width: 64px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

.admin-badge {
  display: inline-flex;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-badge.oyunlar {
  background: rgba(255, 119, 0, 0.1);
  color: var(--neon-cyan);
  border: 1px solid rgba(255, 119, 0, 0.2);
}

.admin-badge.gelistiriciler {
  background: rgba(255, 204, 0, 0.1);
  color: var(--neon-magenta);
  border: 1px solid rgba(255, 204, 0, 0.2);
}

.admin-badge.analiz {
  background: rgba(255, 42, 0, 0.1);
  color: var(--neon-purple);
  border: 1px solid rgba(255, 42, 0, 0.2);
}

.admin-badge.haberler {
  background: rgba(0, 255, 136, 0.1);
  color: #00ff88;
  border: 1px solid rgba(0, 255, 136, 0.2);
}

.table-actions {
  display: flex;
  gap: 8px;
}

.btn-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,0.02);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-icon:hover {
  color: #fff;
}

.btn-icon.edit:hover {
  border-color: var(--neon-cyan);
  background: rgba(255, 119, 0, 0.1);
  box-shadow: 0 0 10px rgba(255, 119, 0, 0.2);
}

.btn-icon.delete:hover {
  border-color: var(--neon-magenta);
  background: rgba(255, 204, 0, 0.1);
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.2);
}

/* Admin Alert System */
.admin-alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInDown 0.3s ease-out;
}

.admin-alert.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.admin-alert.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

@keyframes slideInDown {
  from {
    transform: translateY(-15px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Simulated Security / Login Screen */
.login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-card {
  width: 100%;
  max-width: 400px;
}

.login-logo {
  text-align: center;
  margin-bottom: 32px;
}

.login-logo .logo {
  justify-content: center;
  font-size: 36px;
}

.admin-badge.administrator {
  background: rgba(255, 119, 0, 0.1);
  color: var(--neon-cyan);
  border: 1px solid rgba(255, 119, 0, 0.2);
}

.admin-badge.editor {
  background: rgba(255, 204, 0, 0.1);
  color: var(--neon-magenta);
  border: 1px solid rgba(255, 204, 0, 0.2);
}

/* Select dropdown browser visibility fixes for macOS */
select.form-control {
  appearance: auto !important;
  -webkit-appearance: auto !important;
  background-color: #0d0e15 !important;
  color: #fff !important;
}

select.form-control option {
  background-color: #0a0b10 !important;
  color: #fff !important;
}

/* --- Cyberpunk / RPG HUD Detail Overlay System --- */
/* --- Cyberpunk / RPG HUD Detail Overlay System --- */
.hud-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(5, 5, 8, 0.4);
  backdrop-filter: blur(10px) saturate(120%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hud-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.hud-wrapper {
  width: 92%;
  max-width: 1200px;
  height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hud-container {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(8, 5, 3, 0.72) 0%, rgba(20, 12, 6, 0.8) 100%);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-radius: var(--radius-md);
  position: relative;
  display: flex;
  flex-direction: column;
  
  /* Modern Centered Zoom Pop-up Transition */
  transform: scale(0.95) translateY(10px);
  transform-origin: center center;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9), 0 0 50px rgba(255, 119, 0, 0.1);

  /* Rounded Border with Subtle Neon Outline */
  border: 1px solid rgba(255, 119, 0, 0.22);
}

.hud-overlay.active .hud-container {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Holographic Matrix Grid Background */
.hud-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 119, 0, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 119, 0, 0.012) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Modern Fading Corner Widgets (Edges vanish transparently) */
.hud-border {
  position: absolute;
  width: 60px;
  height: 60px;
  pointer-events: none;
  z-index: 10;
}

/* Corners fade away to transparency toward the center using linear-gradients */
.hud-border.top-left {
  top: 0;
  left: 0;
  border-top: 2px solid var(--neon-cyan);
  border-left: 2px solid var(--neon-cyan);
  border-image: linear-gradient(135deg, var(--neon-cyan) 0%, transparent 70%) 1;
}

.hud-border.top-right {
  top: 0;
  right: 0;
  border-top: 2px solid var(--neon-purple);
  border-right: 2px solid var(--neon-purple);
  border-image: linear-gradient(225deg, var(--neon-purple) 0%, transparent 70%) 1;
}

.hud-border.bottom-left {
  bottom: 0;
  left: 0;
  border-bottom: 2px solid var(--neon-purple);
  border-left: 2px solid var(--neon-purple);
  border-image: linear-gradient(45deg, var(--neon-purple) 0%, transparent 70%) 1;
}

.hud-border.bottom-right {
  bottom: 0;
  right: 0;
  border-bottom: 2px solid var(--neon-cyan);
  border-right: 2px solid var(--neon-cyan);
  border-image: linear-gradient(315deg, var(--neon-cyan) 0%, transparent 70%) 1;
}

/* Status indicator bar */
.hud-screen-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-family: monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  z-index: 2;
}

.hud-status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
}
.hud-status-indicator.online {
  background: var(--neon-cyan);
  color: var(--neon-cyan);
  /* Yavaş ve hafif nabız — "canlı bağlantı" hissi */
  animation: hud-status-pulse 3.2s ease-in-out infinite;
}

@keyframes hud-status-pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 8px currentColor;
  }
  50% {
    opacity: 0.35;
    box-shadow: 0 0 2px currentColor;
  }
}

/* Hareket azaltma tercihi olan kullanıcılarda animasyonu durdur */
@media (prefers-reduced-motion: reduce) {
  .hud-status-indicator.online {
    animation: none;
  }
}

/* Close/Abort Button (Retro Sci-Fi style) */
.hud-close-btn {
  position: absolute;
  top: 8px;
  right: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-family: monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  cursor: pointer;
  z-index: 20;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.hud-close-btn:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
  text-shadow: none;
  transform: scale(1.03);
}

/* HUD Inner Content Scrollable body */
.hud-body {
  flex: 1;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  z-index: 1;
}

/* Scrollbar styling for HUD */
.hud-body::-webkit-scrollbar {
  width: 6px;
}
.hud-body::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.2);
}
.hud-body::-webkit-scrollbar-thumb {
  background: rgba(255, 119, 0, 0.2);
  border-radius: 3px;
}
.hud-body::-webkit-scrollbar-thumb:hover {
  background: var(--neon-cyan);
}

/* Article Styling in HUD */
.hud-article-header {
  margin-bottom: 30px;
  border-left: 3px solid var(--neon-cyan);
  padding-left: 20px;
}

.hud-article-title {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 119, 0, 0.25);
  margin-top: 10px;
}

.hud-article-meta-side {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--text-muted);
}

.hud-meta-badge {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}
.hud-meta-badge.oyunlar { color: var(--neon-cyan); border-color: rgba(255, 119, 0, 0.2); }
.hud-meta-badge.gelistiriciler { color: var(--neon-magenta); border-color: rgba(255, 204, 0, 0.2); }
.hud-meta-badge.analiz { color: var(--neon-purple); border-color: rgba(255, 42, 0, 0.2); }
.hud-meta-badge.haberler { color: #00ff88; border-color: rgba(0, 255, 136, 0.2); }

/* Large Image View */
.hud-article-cover {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 40px;
}

.hud-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hud-cover-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 50%, rgba(5,5,8,0.9) 100%);
  pointer-events: none;
}

/* Two-column layout */
.hud-article-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}

.hud-excerpt-lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-main);
  font-weight: 500;
  margin-bottom: 30px;
  border-bottom: 1px dashed rgba(255,255,255,0.1);
  padding-bottom: 24px;
}

.hud-full-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
}

.hud-full-text h3 {
  color: #fff;
  font-size: 1.35rem;
  margin-top: 32px;
  margin-bottom: 16px;
  text-shadow: 0 0 10px rgba(255,255,255,0.1);
}

.hud-full-text p {
  margin-bottom: 20px;
}

/* HUD Sidebar widgets */
.hud-article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hud-sidebar-card {
  background: rgba(18, 20, 32, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
}

.hud-card-title {
  font-family: monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--neon-cyan);
  margin-bottom: 16px;
}

.hud-author-box {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hud-author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 119, 0, 0.3);
}

.hud-author-details {
  display: flex;
  flex-direction: column;
}

.hud-author-name {
  font-weight: 700;
  color: #fff;
}

.hud-author-role {
  font-size: 12px;
  color: var(--text-dim);
}

/* Mission Stats Widget styling */
.hud-stats-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: monospace;
  font-size: 12px;
}

.hud-stats-list li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  padding-bottom: 8px;
}

.hud-stats-list li span:first-child {
  color: var(--text-dim);
}

.hud-stats-list li .val {
  color: #fff;
}

/* --- HUD Paylaşım Satırı (MISSION_DETAILS kartı içinde) --- */
.hud-stats-list li.hud-share-row {
  align-items: center;
  padding-top: 10px;
  padding-bottom: 0;
  border-bottom: none;
}

.hud-share-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hud-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--neon-cyan);
  font-family: monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.hud-share-btn i {
  font-size: 15px;
}

.hud-share-btn.icon-only {
  padding: 5px 8px;
}

.hud-share-btn:hover {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.25);
  transform: translateY(-1px);
}

.hud-share-btn.copied {
  border-color: #10b981;
  color: #10b981;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

/* Kopyalandı bildirimi — kartın altında belirir */
.hud-share-toast {
  display: block;
  margin-top: 12px;
  color: #10b981;
  font-family: monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.hud-share-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustment for detailed view grid */
@media (max-width: 992px) {
  .hud-article-grid {
    grid-template-columns: 1fr;
  }
  .hud-wrapper {
    height: 94vh;
  }
  .hud-body {
    padding: 24px;
  }
  .hud-article-cover {
    height: 240px;
  }
}

/* Çok dar ekranda paylaşım satırını alt alta al */
@media (max-width: 400px) {
  .hud-stats-list li.hud-share-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}


