/* ==================== RESET & ROOT ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #050505;
  --bg2: #0f0f11;
  --bg3: #1a1a1e;
  --surface: rgba(15, 15, 17, 0.6);
  --surface2: rgba(26, 26, 30, 0.6);
  --border: rgba(255, 255, 255, 0.08);
  --border2: rgba(255, 255, 255, 0.15);
  --gold: #8b5cf6; /* Violet */
  --gold2: #a78bfa;
  --gold3: #c4b5fd;
  --text: #ffffff;
  --text2: #a1a1aa;
  --text3: #71717a;
  --accent: #ec4899; /* Pink */
  --accent2: #f472b6;
  --red: #f43f5e;
  --green: #10b981;
  --font-main: 'Outfit', system-ui, sans-serif;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 24px;
  --radius-sm: 12px;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 30px rgba(139, 92, 246, 0.25);
  --pattern-color: rgba(255, 255, 255, 0.02);
  --surface-alpha: rgba(5, 5, 5, 0.75);
}

.light-theme {
  --bg: #fafafa;
  --bg2: #f4f4f5;
  --bg3: #e4e4e7;
  --surface: rgba(255, 255, 255, 0.7);
  --surface2: rgba(244, 244, 245, 0.7);
  --border: rgba(0, 0, 0, 0.06);
  --border2: rgba(0, 0, 0, 0.12);
  --gold: #6366f1; /* Indigo */
  --gold2: #4f46e5;
  --gold3: #4338ca;
  --text: #09090b;
  --text2: #52525b;
  --text3: #a1a1aa;
  --accent: #d946ef; /* Fuchsia */
  --accent2: #c026d3;
  --shadow: 0 8px 32px rgba(0,0,0,0.06);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.1);
  --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.15);
  --pattern-color: rgba(0, 0, 0, 0.03);
  --surface-alpha: rgba(255, 255, 255, 0.85);
}

html { scroll-behavior: smooth; background-color: var(--bg); transition: background-color var(--transition); }
body {
  font-family: var(--font-main);
  background-color: transparent; /* Changed to transparent so 3D canvas is visible */
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  transition: background-color var(--transition), color var(--transition);
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .hero-title, .section-title, .post-title, .profile-name {
  font-family: var(--font-display);
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold2); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; }

/* Custom cursor */
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.5;
  top: 0; left: 0;
  transition: width 0.2s, height 0.2s, opacity 0.2s;
  transform: translate(-50%, -50%);
}
body:hover .cursor-ring { opacity: 0.7; }

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

/* ==================== LAYOUT ==================== */
.container { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 3rem 0; }

/* ==================== NAVBAR ==================== */
.navbar {
  position: sticky; 
  top: 1.5rem; 
  z-index: 100;
  background: var(--surface);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0 1.5rem;
  margin: 0 auto 3rem auto;
  max-width: 1200px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.navbar-inner {
  display: flex; align-items: center; gap: 1.5rem;
  height: 64px;
}
.navbar-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text) !important;
  white-space: nowrap;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.site-logo-img {
  height: 48px;
  width: 48px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: 0 4px 12px rgba(96, 165, 250, 0.2);
}
.site-brand-text {
  background: linear-gradient(135deg, var(--gold), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  font-size: 1.4rem;
}
.navbar-brand span { color: var(--text2); font-size: 0.75rem; display: block; font-family: var(--font-body); font-weight: 400; letter-spacing: 0.05em; }
.nav-tabs {
  display: flex; align-items: center; gap: 0.25rem;
  overflow-x: auto; scrollbar-width: none; flex: 1;
}
.nav-tabs::-webkit-scrollbar { display: none; }
.nav-tab {
  color: var(--text2);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all var(--transition);
  letter-spacing: 0.02em;
}
.nav-tab:hover { color: var(--text); background: var(--surface); }
.nav-tab.active { color: var(--gold); background: rgba(201,168,76,0.12); }

.hamburger-btn { display: none; background: transparent; border: none; font-size: 1.5rem; color: var(--text); cursor: pointer; }
.navbar-collapse { display: flex; align-items: center; gap: 1rem; flex: 1; justify-content: space-between; }

.navbar-actions { margin-left: auto; display: flex; gap: 0.75rem; align-items: center; }
.btn-admin {
  padding: 0.4rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 20px;
  color: var(--text2);
  font-size: 0.82rem;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-admin:hover { color: var(--gold); border-color: var(--gold); }

.search-container { position: relative; display: flex; align-items: center; }
#search-input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.4rem 1rem;
  color: var(--text);
  font-size: 0.85rem;
  width: 150px;
  transition: width 0.3s, border-color var(--transition);
}
#search-input:focus { width: 200px; outline: none; border-color: var(--gold); }

.cursor-dropdown-container { position: relative; display: inline-block; }
.cursor-dropdown-menu {
  display: none; position: absolute; right: 0; top: 100%; margin-top: 0.5rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 0.5rem; box-shadow: var(--shadow); z-index: 1000; min-width: 150px;
}
.cursor-dropdown-menu.show { display: flex; flex-direction: column; }
.cursor-option { background: transparent; border: none; padding: 0.5rem 1rem; text-align: left; color: var(--text); cursor: pointer; transition: background var(--transition); border-radius: 4px; font-size: 0.85rem; }
.cursor-option:hover { background: var(--surface2); }

.btn-icon {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.2rem;
  opacity: 0.8;
  transition: opacity var(--transition);
}
.btn-icon:hover { opacity: 1; }

/* ==================== HERO SECTION ==================== */
.hero-section {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  padding: 6rem 4rem;
  display: flex;
  align-items: center;
  gap: 4rem;
  min-height: 500px;
  margin-bottom: 4rem;
  background: radial-gradient(circle at 100% 0%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 0% 100%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
              var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}
.hero-content { flex: 1; z-index: 2; position: relative; transform: translateZ(50px); }
.hero-category {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(139, 92, 246, 0.1);
  color: var(--gold);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(139, 92, 246, 0.2);
}
.hero-title {
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--text), var(--text2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}
.hero-excerpt {
  color: var(--text2);
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
  line-height: 1.8;
}
.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/10;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-placeholder {
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.hero-pattern {
  width: 100%; height: 100%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(201,168,76,0.03) 20px,
    rgba(201,168,76,0.03) 40px
  );
}

/* ==================== SECTION TITLES ==================== */
.section-title {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  margin-bottom: 1.75rem;
  color: var(--text);
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 2.5rem; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.grid-header { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.75rem; }
.grid-header .section-title { margin-bottom: 0; }
.post-count { color: var(--text3); font-size: 0.85rem; }

/* ==================== POSTS GRID ==================== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.post-card {
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.1s ease-out, box-shadow 0.4s ease;
  position: relative;
  display: flex; flex-direction: column;
  transform-style: preserve-3d;
}
.post-card > * {
  transform: translateZ(30px);
}
.card-image {
  transform: translateZ(0px); /* Image stays flat as background */
}
.post-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 10;
}
.post-card:hover {
  /* scale is handled by JS tilt now, just add glow */
  box-shadow: var(--shadow-glow);
  border-color: var(--border2);
}
.post-card:hover::before {
  opacity: 1;
}
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.card-link:hover { color: inherit; }
.card-image {
  width: 100%; height: 200px;
  overflow: hidden;
  position: relative;
}
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-card:hover .card-image img { transform: scale(1.04); }
.card-image--placeholder {
  background: var(--surface2);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 0.75rem;
}
.card-type-icon { font-size: 2rem; opacity: 0.4; }
.card-pattern {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    135deg,
    transparent,
    transparent 12px,
    rgba(255,255,255,0.02) 12px,
    rgba(255,255,255,0.02) 24px
  );
}
.card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: 0.6rem; }
.card-meta { display: flex; align-items: center; justify-content: space-between; }
.card-cat {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.card-date { font-size: 0.75rem; color: var(--text3); }
.card-title {
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--text);
  transition: color var(--transition);
}
.post-card:hover .card-title { color: var(--gold2); }
.card-excerpt {
  font-size: 0.88rem;
  color: var(--text2);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-read-more {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 500;
  margin-top: 0.5rem;
  transition: gap var(--transition);
}
.post-card:hover .card-read-more { color: var(--gold2); }

/* ==================== CATEGORY CHIPS ==================== */
.categories-section { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cat-chips { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cat-chip {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.cat-chip:hover {
  border-color: var(--gold);
  background: var(--surface2);
  transform: translateY(-2px);
  color: inherit;
}
.cat-chip-name { font-size: 0.9rem; font-weight: 500; color: var(--text); }
.cat-chip-count {
  font-size: 0.75rem;
  color: var(--gold);
  background: rgba(201,168,76,0.12);
  padding: 0.1rem 0.45rem;
  border-radius: 10px;
  font-weight: 600;
}

/* ==================== POST ARTICLE ==================== */
.post-article {
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.post-header {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.post-back {
  display: inline-block;
  color: var(--text3);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  transition: color var(--transition);
}
.post-back:hover { color: var(--gold); }
.post-meta-top { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.post-type-badge {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.2rem 0.65rem; border-radius: 20px;
}
.post-type-badge.article { background: rgba(74,158,255,0.15); color: var(--accent); }
.post-type-badge.video { background: rgba(224,85,85,0.15); color: var(--red); }
.post-type-badge.gallery { background: rgba(201,168,76,0.15); color: var(--gold); }
.post-date { font-size: 0.85rem; color: var(--text3); }
.post-title { margin-bottom: 1rem; background: linear-gradient(135deg, var(--text), var(--gold3)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.post-excerpt { font-size: 1.1rem; color: var(--text2); margin-bottom: 1rem; line-height: 1.8; font-style: italic; }
.post-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.65rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text3);
}
.post-hero-image { width: 100%; border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; }
.post-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-container {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  border-radius: var(--radius); margin-bottom: 2rem;
  box-shadow: var(--shadow-lg);
}
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.post-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text2);
}
.post-body h2, .post-body h3 { color: var(--text); margin: 2rem 0 1rem; font-family: var(--font-display); }
.post-body p { margin-bottom: 1.25rem; }
.post-body img { border-radius: var(--radius-sm); margin: 1.5rem 0; }
.post-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 0.75rem 1.5rem;
  background: var(--surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text);
}
.post-body ul, .post-body ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.post-body li { margin-bottom: 0.4rem; }
.post-body strong { color: var(--text); font-weight: 600; }
.post-footer { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.btn-back {
  display: inline-block;
  color: var(--text3);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.btn-back:hover { color: var(--gold); }

/* ==================== COMMENTS SECTION ==================== */
.comments-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.comments-section h3, .comments-section h4 {
  font-family: var(--font-display);
  margin-bottom: 1.5rem;
  color: var(--text);
}
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.no-comments {
  color: var(--text3);
  font-style: italic;
}
.comment-card {
  background: var(--surface2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.comment-header strong {
  color: var(--gold);
  font-weight: 600;
  font-size: 1.05rem;
}
.comment-date {
  font-size: 0.8rem;
  color: var(--text3);
}
.comment-body {
  color: var(--text2);
  line-height: 1.6;
  white-space: pre-wrap;
}
.comment-form-wrap {
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group.full {
  grid-column: 1 / -1;
  margin-bottom: 1.5rem;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text2);
}
.form-group input, .form-group textarea, .form-group select {
  padding: 0.8rem;
  background: rgba(15, 15, 17, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-main);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.15);
}
.btn-primary, .btn-secondary, .btn-hero {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 100px; /* Pill shaped buttons */
  font-weight: 600;
  font-family: var(--font-main);
  transition: var(--transition);
  border: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--accent));
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}
.btn-secondary {
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--bg3);
  border-color: var(--border2);
  transform: translateY(-2px);
}
.btn-hero {
  background: linear-gradient(135deg, var(--gold), var(--accent));
  color: #fff !important;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}
.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5);
}
.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ==================== EMPTY STATE ==================== */
.empty-state {
  text-align: center;
  padding: 5rem 1rem;
  color: var(--text2);
}
.empty-icon { font-size: 4rem; margin-bottom: 1rem; }

/* ==================== FOOTER ==================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  color: var(--text3);
  font-size: 0.85rem;
  margin-top: 4rem;
}
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.footer-admin-link { color: var(--text3); font-size: 0.85rem; transition: color var(--transition); }
.footer-admin-link:hover { color: var(--gold); }

/* ==================== HEADER ==================== */
.site-header {
  padding: 3.5rem 1.5rem 0;
  text-align: center;
}
.site-header .site-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  background: linear-gradient(135deg, var(--gold), var(--gold3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}
.site-header .site-tagline {
  color: var(--text3);
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}

/* ==================== SCROLL ENHANCEMENT ==================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--border2); }

/* ==================== MOBILE ==================== */
@media (max-width: 768px) {
  .hamburger-btn { display: block; }
  .navbar-collapse {
    display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10, 13, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
    gap: 1.5rem;
    align-items: center;
  }
  @keyframes slideDownMobile {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .navbar-collapse.show { display: flex; animation: slideDownMobile 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
  .navbar-actions { flex-direction: column; width: 100%; align-items: stretch; gap: 1rem; }
  .nav-tabs { flex-direction: column; width: 100%; align-items: stretch; margin-bottom: 0; background: transparent; padding: 0; gap: 0.5rem; }
  .nav-tab { padding: 0.85rem; text-align: center; border-radius: var(--radius-sm); border: 1px solid var(--border); background: rgba(255, 255, 255, 0.02); }
  .nav-tab.active { background: rgba(139, 92, 246, 0.15); border-color: var(--gold); }
  .search-container { flex: 1; margin: 0 0.25rem; display: flex; justify-content: flex-end; }
  #search-input { width: 100%; max-width: 250px; }
  #search-input:focus { width: 100%; }
  .cursor-dropdown-menu { left: 0; right: auto; }
  
  .hero-section { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 0; }
  .hero-image { aspect-ratio: 16/9; }
  .posts-grid { grid-template-columns: 1fr; }
  .navbar-inner { gap: 0.75rem; justify-content: space-between; }
  .navbar-brand span { display: none; }
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .cat-chips { gap: 0.5rem; }
  .cat-chip { padding: 0.5rem 0.9rem; }
}

/* Profile Section Styles */
.profile-section {
  max-width: 1000px;
  margin: 0 auto;
}

.profile-header {
  text-align: center;
  margin-bottom: 3rem;
}

.profile-image-wrap {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border: 4px solid transparent;
  background-image: linear-gradient(var(--bg), var(--bg)), linear-gradient(135deg, var(--gold), var(--accent));
  background-origin: border-box;
  background-clip: content-box, border-box;
  box-shadow: 0 12px 30px rgba(96, 165, 250, 0.25);
}

.profile-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.profile-name {
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

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

/* Timeline Styles */
.timeline {
  position: relative;
  padding-left: 2rem;
  margin-top: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: 0.2rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--gold);
}

.timeline-date {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.timeline-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.timeline-content p {
  font-size: 0.95rem;
  color: var(--text3);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin: 4rem 0;
}
.btn-page {
  padding: 0.6rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text2);
  font-weight: 500;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.btn-page:hover {
  background: var(--gold);
  color: #ffffff;
  border-color: var(--gold);
  transform: translateY(-2px);
}
.page-info {
  color: var(--text3);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ==================== AUTH MODAL ==================== */
.auth-modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.auth-modal.show {
  opacity: 1;
  pointer-events: auto;
}
.auth-modal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  width: 90%;
  max-width: 400px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.auth-modal.show .auth-modal-content {
  transform: translateY(0);
}
.auth-close {
  position: absolute;
  top: 15px; right: 15px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text3);
  cursor: pointer;
  transition: color var(--transition);
}
.auth-close:hover {
  color: var(--text);
}
.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.5rem 0;
  color: var(--text3);
  font-size: 0.85rem;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border);
}
.auth-divider span {
  padding: 0 10px;
}
.auth-links a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}
.auth-links a:hover {
  color: var(--gold2);
  text-decoration: underline;
}

/* ==================== SCROLL WIDGET ==================== */
.scroll-widget {
  position: fixed;
  top: auto;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  right: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  background: rgba(18, 18, 20, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  transition: transform var(--transition), opacity var(--transition);
}

.light-theme .scroll-widget {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.scroll-time {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  margin-right: 0.25rem;
}

#sw-time {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
}

#sw-date {
  font-size: 0.65rem;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 1px;
}

.scroll-circle {
  position: relative;
  width: 44px;
  height: 44px;
  background: var(--surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.light-theme .scroll-circle {
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.scroll-circle svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.circle-bg {
  fill: none;
  stroke: var(--border);
  stroke-width: 2.5;
}

.circle-progress {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  transition: stroke-dasharray 0.2s ease-out;
}

.scroll-text {
  position: relative;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-display);
}

@media (max-width: 768px) {
  .scroll-widget {
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    padding: 0.4rem 0.4rem 0.4rem 1rem;
    gap: 0.5rem;
  }
  .scroll-time {
    display: flex;
  }
  .scroll-circle {
    width: 38px;
    height: 38px;
  }
}

/* ==================== GLASS LOADER SPLASH ==================== */
.glass-loader-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  width: 100%;
}

.glass-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 3rem 4rem;
  background: rgba(30, 30, 35, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.light-theme .glass-loader {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.glass-loader::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(147, 51, 234, 0.15), transparent 50%);
  animation: spin 10s linear infinite;
  z-index: 0;
}

.gl-time {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.5rem;
}

#gl-time {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
}

#gl-date {
  font-size: 0.85rem;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.gl-circle {
  position: relative;
  width: 120px;
  height: 120px;
  z-index: 1;
  background: rgba(0,0,0,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 4px 10px rgba(0,0,0,0.3), 0 0 20px rgba(201, 168, 76, 0.2);
}
.light-theme .gl-circle {
  background: rgba(255,255,255,0.5);
  box-shadow: inset 0 4px 10px rgba(0,0,0,0.05), 0 0 20px rgba(201, 168, 76, 0.3);
}

.gl-circle svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.gl-bg {
  fill: none;
  stroke: var(--border);
  stroke-width: 4;
}

.gl-progress {
  fill: none;
  stroke: var(--accent);
  stroke-width: 4;
  stroke-linecap: round;
  transition: stroke-dasharray 0.3s ease-out;
}

.gl-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-display);
}

.gl-label {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  color: var(--text2);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Mobile Fixes for Hero Section */
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    padding: 3rem 1.5rem;
    gap: 2rem;
    align-items: stretch;
  }
  .hero-image {
    width: 100%;
    aspect-ratio: 16/10;
    margin-top: 1rem;
  }
  .hero-content {
    text-align: left;
  }
  .hero-title {
    font-size: 2.8rem;
  }
}

/* ==================== FUTURISTIC ABOUT PAGE ==================== */

.holo-avatar {
  position: relative;
  display: inline-block;
  animation: float 4s ease-in-out infinite;
}

.holo-avatar::before {
  content: '';
  position: absolute;
  top: -10px; left: -10px; right: -10px; bottom: -10px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--gold), transparent, var(--accent), transparent, var(--gold));
  z-index: -1;
  animation: spin 6s linear infinite;
  filter: blur(8px);
  opacity: 0.8;
}

.holo-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transform: perspective(1000px) rotateX(0) rotateY(0);
  transition: transform 0.1s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.holo-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.2);
}

.holo-card h3 {
  transform: translateZ(30px);
  color: var(--gold);
}

.holo-card p {
  transform: translateZ(20px);
}

.cascade-in {
  opacity: 0;
  transform: translateY(30px) translateZ(0);
  animation: cascadeIn 0.8s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes cascadeIn {
  to {
    opacity: 1;
    transform: translateY(0) translateZ(0);
  }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

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

.futuristic-form input, .futuristic-form textarea {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.futuristic-form input:focus, .futuristic-form textarea:focus {
  border-color: var(--gold);
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.5), 0 0 15px rgba(212, 175, 55, 0.3);
  outline: none;
}

