@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&family=Roboto+Mono:wght@300;700&display=swap');

/* ---------------------------
   Global Styles
--------------------------- */
body {
  margin: 0;
  background: #0a0a0a;
  color: #fff;
  font-family: 'Roboto Mono', monospace;
  line-height: 1.7;
  text-align: center;
  padding: 0 15px;
}

header {
  padding: 80px 20px 40px;
  background: linear-gradient(180deg, #1a1a1a, transparent);
}

h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  margin: 0;
  letter-spacing: 10px;
  text-transform: uppercase;
  color: #ff0066;
  text-shadow: 0 0 30px #ff0066;
}

nav {
  margin: 40px 0;
}

nav a {
  color: #ff0066;
  text-decoration: none;
  margin: 0 15px;
  font-size: 1.2rem;
  font-weight: bold;
  transition: 0.4s;
}

nav a:hover {
  color: #ff3399;
  text-shadow: 0 0 20px #ff0066;
  transform: scale(1.1);
}

main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

/* ---------------------------
   Universal Image Sizing (STRICT)
--------------------------- */
img {
  max-width: 320px !important; 
  width: 100% !important;
  height: auto !important;
  border: 4px solid #ff0066;
  box-shadow: 0 0 30px rgba(255,0,102,0.5);
  border-radius: 12px;
  display: block;
  margin: 0 auto;
  cursor: pointer; /* Suggests clickability */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img:hover {
  transform: scale(1.02);
  box-shadow: 0 0 40px #ff0066;
}

/* Hero image specific override */
.hero {
  max-width: 320px !important; 
}

/* Entrance video sizing */
.entrance-video {
  width: 100% !important;
  max-width: 280px !important;
  border: 8px solid #ff0066;
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(255,0,102,0.6);
}

/* ---------------------------
   Landing Page Gallery
--------------------------- */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
}

.gallery img {
  max-width: 140px !important; 
}

.gallery img:hover {
  transform: scale(1.1);
  z-index: 10;
}

.gallery-video {
  width: 100%;
  max-width: 140px !important;
  border: 4px solid #ff0066;
  border-radius: 12px;
  overflow: hidden;
}

.gallery-vid {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------------------------
   Enlarge/Lightbox Effect
--------------------------- */
/* To use this, add a class of 'enlarged' to an image via JavaScript 
   or use a checkbox hack in HTML.
*/
.enlarged-view {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  cursor: zoom-out;
}

.enlarged-view img {
  max-width: 90vw !important;
  max-height: 90vh !important;
  width: auto !important;
  height: auto !important;
  border: 6px solid #ff0066;
  box-shadow: 0 0 60px #ff0066;
  transform: scale(1) !important;
}

/* ---------------------------
   Tabbed Links & Social Grid
--------------------------- */
.tabbed-links {
  margin-top: 2rem;
}

.tabbed-links .tabs {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  border-bottom: 2px solid #d4af37;
  margin-bottom: 1rem;
}

.tabbed-links .tabs li {
  padding: 0.5rem 1.5rem;
  cursor: pointer;
  font-weight: bold;
  color: #ff0066;
  transition: all 0.3s ease;
}

.tabbed-links .tabs li.active {
  color: #d4af37;
  border-bottom: 3px solid #d4af37;
}

.tabbed-links .tab-content {
  display: none; 
  animation: fadeIn 0.5s ease-in-out;
}

.tabbed-links .tab-content.active {
  display: grid;
  gap: 1.5rem;
}

#social.active {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

#links.active {
  display: block;
}

.link-card {
  background: rgba(255,0,102,0.05);
  border: 1px solid #ff0066;
  border-radius: 0.5rem;
  padding: 1rem;
  text-align: center;
  transition: transform 0.2s ease;
}

.link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(255,0,102,0.3);
}

.link-logo {
  max-width: 120px !important;
  margin: 0.5rem auto;
}

/* ---------------------------
   Utility & Navigation
--------------------------- */
.back-to-home {
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 9999;
  background: #ff0066;
  color: #fff;
  font-weight: bold;
  padding: 8px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 0 20px #ff0066;
}

.back-home {
  display: inline-block;
  margin-bottom: 1rem;
  color: #ff0066;
  text-decoration: none;
  font-weight: bold;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px);}
  to { opacity: 1; transform: translateY(0);}
}

@media (max-width: 600px) {
  #social.active {
    grid-template-columns: 1fr;
  }
}