/* Lync Clan Homepage - Premium Custom Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;600&family=Noto+Sans+JP:wght@300;400;500;700&family=Outfit:wght@300;400;600;800&display=swap');

/* --- Design Tokens --- */
:root {
  --bg-primary: #050506;
  --bg-secondary: #09090c;
  --bg-tertiary: #0e0e11;
  --bg-card: rgba(9, 9, 12, 0.85);
  
  --accent: #00f0ff;
  --accent-glow: rgba(0, 240, 255, 0.35);
  --accent-dim: #00a4b0;
  
  --text-primary: #ffffff;
  --text-secondary: #8e8e9f;
  --text-muted: #525265;
  
  --discord-color: #5865f2;
  --twitter-color: #1da1f2;
  --youtube-color: #ff0000;
  --glass-border: #15151a;
  --glass-shadow: rgba(0, 0, 0, 0.8);
  
  --font-title: 'JetBrains Mono', monospace;
  --font-body: 'JetBrains Mono', monospace;
  --font-mono: 'JetBrains Mono', monospace;
  
  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Global Reset & Page Foundations --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: default; /* We will use a customized premium text cursor or standard pointers for interactive elements */
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
  border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-dim);
}

/* Background Elements */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Scanline and Subtle Grain Overlay */
.grain-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(18, 18, 22, 0) 50%, rgba(0, 0, 0, 0.25) 50%), 
                    radial-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 0);
  background-size: 100% 4px, 24px 24px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.7;
}

/* Main Site Wrapper */
.site-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Common Interactive Classes --- */
a, button, select, input, textarea, .interactive {
  cursor: pointer !important;
}

/* --- Navigation Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(8, 8, 10, 0.95) 60%, rgba(8, 8, 10, 0));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  text-decoration: none;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent-glow);
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40%;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-title);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

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

.nav-link.active {
  color: var(--accent);
  text-shadow: 0 0 8px var(--accent-glow);
}

.nav-link.active::after {
  width: 100%;
  background-color: var(--accent);
}

/* --- Hero Section --- */
.hero-section {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 4rem;
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-subtitle {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-subtitle::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 1px;
  background-color: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.hero-title {
  font-family: var(--font-title);
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.hero-title span {
  display: block;
  background: linear-gradient(135deg, #ffffff 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 3rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.btn {
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1.1rem 2.5rem;
  border-radius: 4px;
  text-decoration: none;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--bg-primary);
  border: 1px solid var(--accent);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--accent);
  box-shadow: 0 4px 30px rgba(0, 240, 255, 0.6);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--text-muted);
  padding-top: 2rem;
  max-width: 500px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

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

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* Hero Key Visual (Visual Excellence) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 450px;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  overflow: hidden;
  background: radial-gradient(circle, rgba(16, 16, 20, 0.5) 0%, rgba(8, 8, 10, 0.9) 100%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 50px var(--glass-shadow);
}

.visual-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: var(--transition-smooth);
}

.visual-wrapper:hover .visual-image {
  transform: scale(1.03);
  opacity: 0.95;
}

/* Reflective decorative grid or cyber border */
.visual-border-decoration {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 1px solid var(--text-muted);
  pointer-events: none;
  opacity: 0.2;
  border-radius: 6px;
  transition: var(--transition-smooth);
}

.visual-wrapper:hover ~ .visual-border-decoration {
  border-color: var(--accent);
  opacity: 0.4;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}

.visual-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--accent);
  pointer-events: none;
}

.corner-tl { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.corner-tr { top: -2px; right: -2px; border-left: none; border-bottom: none; }
.corner-bl { bottom: -2px; left: -2px; border-right: none; border-top: none; }
.corner-br { bottom: -2px; right: -2px; border-left: none; border-top: none; }

/* --- Section Layouts --- */
.section {
  padding: 7rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.section-header {
  margin-bottom: 4.5rem;
  position: relative;
}

.section-pretitle {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-title span {
  color: var(--text-secondary);
  font-weight: 300;
}

/* --- About & Philosophy --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 800px;
  margin: 0 auto;
  gap: 5rem;
  align-items: center;
}

.about-text-container p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.philosophy-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.philosophy-item {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background-color: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 3px;
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

.philosophy-item:hover {
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

.philosophy-num {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
}

.philosophy-content h3 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.philosophy-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* --- Members / Roster Section --- */
.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

/* Custom bespoke profile card (Anti-generic design) */
.member-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 1.75rem;
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.member-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
}

.member-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.05);
}

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

.member-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.member-avatar-wrapper {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.member-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--bg-tertiary);
}

.member-status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background-color: #00ff66;
  border: 2px solid var(--bg-secondary);
  border-radius: 50%;
  box-shadow: 0 0 8px #00ff66;
}

.member-status-dot.offline {
  background-color: #525265;
  box-shadow: none;
}

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

.member-name {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.member-role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  margin-top: 0.1rem;
  letter-spacing: 0.05em;
}

/* Discord Presence Style Block */
.discord-presence-block {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.presence-icon {
  font-size: 1.25rem;
  animation: pulse 2s infinite ease-in-out;
}

.presence-details {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  line-height: 1.4;
}

.presence-title {
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
}

.presence-desc {
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}

.member-socials {
  display: flex;
  gap: 1rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 1.25rem;
}

.social-btn {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1.1rem;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
}

.social-btn:hover {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.social-btn.discord:hover {
  background-color: var(--discord-color);
  border-color: var(--discord-color);
}

.social-btn.twitter:hover {
  background-color: var(--twitter-color);
  border-color: var(--twitter-color);
}

.social-btn.youtube:hover {
  background-color: var(--youtube-color);
  border-color: var(--youtube-color);
}

.social-btn.profile-link {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: auto;
  padding: 0 0.75rem;
}

.social-btn.profile-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

/* --- Gallery & Highlight Section --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  aspect-ratio: 16 / 9;
  transition: var(--transition-smooth);
}

.gallery-item:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
  transform: translateY(-4px);
}

.gallery-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-thumbnail {
  opacity: 0.9;
  transform: scale(1.02);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(8, 8, 10, 0.9) 0%, rgba(8, 8, 10, 0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: var(--transition-smooth);
}

.gallery-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
  box-shadow: 0 0 20px var(--accent-glow);
}

.gallery-play-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  margin-left: 2px;
}

.gallery-item:hover .gallery-play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.gallery-info h4 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.gallery-info p {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Dynamic Application Form --- */
.contact-container {
  max-width: 650px;
  margin: 0 auto;
  background-color: var(--bg-card);
  border: 1px solid var(--glass-border);
  padding: 3rem;
  border-radius: 8px;
  backdrop-filter: blur(12px);
  position: relative;
}

.contact-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 40px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  border-radius: 0 0 8px 0;
  opacity: 0.3;
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-label {
  display: block;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
  background-color: rgba(0, 0, 0, 0.5);
}

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

.form-select option {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

.submit-btn {
  width: 100%;
  border: none;
  outline: none;
}

.form-status {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  text-align: center;
  display: none;
}

.form-status.success {
  background-color: rgba(0, 255, 102, 0.1);
  color: #00ff66;
  border: 1px solid rgba(0, 255, 102, 0.2);
}

.form-status.error {
  background-color: rgba(255, 0, 0, 0.1);
  color: #ff3333;
  border: 1px solid rgba(255, 0, 0, 0.2);
}

/* --- Floating Audio Player Widget (Premium Vibe) --- */
.audio-player-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  background-color: rgba(5, 5, 6, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 1rem;
  width: 320px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.audio-player-widget:hover {
  border-color: var(--accent);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.9), 0 0 15px rgba(0, 240, 255, 0.1);
}

.audio-layout {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.audio-album-art {
  width: 48px;
  height: 48px;
  border-radius: 3px;
  background-color: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.audio-album-art svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.audio-album-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.audio-track-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.audio-title {
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audio-artist {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.1rem;
}

.audio-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.audio-ctrl-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.audio-ctrl-btn:hover {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.05);
}

.audio-ctrl-btn.play-pause {
  color: #1DB954;
  background-color: rgba(29, 185, 84, 0.1);
  border: 1px solid rgba(29, 185, 84, 0.2);
}

.audio-ctrl-btn.play-pause:hover {
  background-color: #1DB954;
  color: #08080a;
  box-shadow: 0 0 12px rgba(29, 185, 84, 0.5);
  border-color: #1DB954;
}

.audio-timeline-container {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.65rem;
  width: 100%;
}

.audio-time {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

.audio-progress-bar-bg {
  flex: 1;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.audio-progress-bar {
  height: 100%;
  width: 0%;
  background-color: var(--accent);
  box-shadow: 0 0 4px var(--accent);
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* Audio Widget Minimizer/Togglable */
.audio-mini-visualizer {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
  width: 18px;
  margin-right: 0.25rem;
}

.bar {
  width: 2px;
  height: 2px;
  background-color: var(--accent);
  animation: bounce 1s infinite linear alternate;
  animation-play-state: paused;
}

.bar:nth-child(2) { animation-delay: 0.2s; }
.bar:nth-child(3) { animation-delay: 0.4s; }
.bar:nth-child(4) { animation-delay: 0.6s; }

.playing .bar {
  animation-play-state: running;
}

/* --- Video Montage Modal --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background-color: rgba(4, 4, 6, 0.95);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-container {
  width: 90%;
  max-width: 900px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  transform: scale(0.9);
  transition: var(--transition-smooth);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  color: var(--accent);
  transform: rotate(90deg);
}

.modal-body {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
}

.modal-body iframe, .modal-body video {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Footer --- */
.site-footer {
  padding: 4rem 0 7rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
}

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

.copyright {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- KEYFRAME ANIMATIONS --- */
@keyframes bounce {
  0% { height: 2px; }
  100% { height: 12px; }
}

@keyframes pulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

/* --- RESPONSIVE ADAPTATIONS --- */
@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 7rem;
    padding-bottom: 2rem;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-stats {
    margin-left: auto;
    margin-right: auto;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 1rem 0;
  }
  
  .nav-menu {
    display: none; /* In a production environment, we would implement a hamburger menu. For absolute simplicity, we keep it hidden or compact on mobile. */
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .audio-player-widget {
    left: 1rem;
    right: 1rem;
    width: auto;
    bottom: 1rem;
  }
  
  .contact-container {
    padding: 2rem 1.5rem;
  }
  
  .site-footer {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding-bottom: 8rem; /* Space so it doesn't overlap the fixed audio widget */
  }
}

/* --- Cinematic Video & Large Discord Copy Hover Interactions --- */
.video-player-frame:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 240, 255, 0.15);
}

.discord-copy-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 30px var(--accent);
  background: linear-gradient(135deg, #ffffff, var(--accent)) !important;
  color: #08080a !important;
  border-color: #ffffff;
}

.discord-copy-btn:active {
  transform: translateY(0) scale(0.98);
}
