@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --sky: #00f0ff;
  --emerald: #10b981;
  --hub-blue: #0e6b77ab;
  --text-primary: #ffffff;
  --text-secondary: #ffffffcc;
  --bg-glass: rgba(255,255,255,0.08);
}

body.dark {
  --text-primary: #ffffff;
  --text-secondary: #ffffffcc;
  --bg-glass: rgba(255,255,255,0.08);
}

body.light {
  --text-primary: #0a0a0a;
  --text-secondary: #0a0a0acc;
  --bg-glass: rgba(10,10,10,0.08);
  background: #f8f9fa;
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #0a0a0a;
  color: var(--text-primary);
  overflow: hidden;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  box-sizing: border-box;
}

/* 3-Table Frame */
.hub-outer {
  width: 98vw;
  height: 96vh;
  max-width: 100vw;
  max-height: 100vh;
  background: black;
  background-image: url('/assets/bg-texture-7.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  clip-path: polygon(40px 0, calc(100% - 40px) 0, 100% 40px, 100% calc(100% - 40px), calc(100% - 40px) 100%, 40px 100%, 0 calc(100% - 40px), 0 40px);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 80px rgba(0, 240, 255, 0.3);
}

.hub-middle {
  width: 97%;
  height: 96%;
  border: 5px solid #9fe6f0;
  border-radius: 20px;
  background: #0b0b0b;
  background-image: url('/assets/bg-texture-12.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hub-inner {
  width: 98%;
  height: 96%;
  border: 5px solid rgb(0, 0, 0);
  border-radius: 20px;
  background: var(--hub-blue);
  box-shadow: inset 0 0 60px rgba(0, 212, 255, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Glassmorphism */
.glass {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 240, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.5);
}

/* INNER NAVIGATION BAR - NOW FULLY IN CSS */
.inner-nav {
  display: flex;
  align-items: center;
  padding: 10px 20px 20px 20px;
  margin-bottom: 30px;
  gap: 12px;
  border-bottom: none; /* removed bottom border as requested */
}

.inner-nav .inner-tabs {
  flex: 1;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.inner-nav .inner-tab {
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: white;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.inner-nav .inner-tab.active,
.inner-nav .inner-tab:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: #00f0ff;
  color: #00f0ff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.5);
}

.inner-nav .logo {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.inner-nav .toggle {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.4rem;
  transition: all 0.3s;
  flex-shrink: 0;
  margin: 0 12px;
}

.inner-nav .enter-hub {
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  background: linear-gradient(90deg, #00f0ff, #10b981);
  color: #000;
  text-decoration: none;
  transition: all 0.3s;
  flex-shrink: 0;
}

.inner-nav .enter-hub:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
}

/* Footer - inside the 3rd table */
.footer {
  margin-top: 2px;
  padding: 20px 30px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.footer .copyright {
  font-weight: 500;
}

.footer .x-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #00f0ff;
}

.footer .x-link:hover {
  color: white;
}

.footer .small-logo {
  width: 32px;
  height: 32px;
  opacity: 0.9;
}

/* Footer Social Buttons - Premium glass style, no default link colors or underlines */
.footer a {
  color: inherit;
  text-decoration: none;
}

.footer a.glass {
  color: var(--text-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer a.glass:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.5);
}

/* Extra polish for X and YouTube buttons */
.footer a.glass span {
  vertical-align: middle;
}