* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

.site-content {
  flex: 1;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #0f0f10;
  color: #e0e0e0;
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  z-index: 1000;
  background: transparent;
  backdrop-filter: blur(0px);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.navbar .brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar .logo {
  width: 48px;
  height: 48px;
}

.navbar .brand-text {
  font-size: 1.5rem;
  font-weight: bold;
  background: linear-gradient(90deg, #00d4ff, #0066ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar .nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.navbar .nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar .nav-links a:hover {
  color: #00d4ff;
}

.navbar .button {
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  background: linear-gradient(90deg, #00d4ff, #0066ff);
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.navbar .button:hover {
  background: linear-gradient(90deg, #0066ff, #00d4ff);
}

.navbar i, .icon {
  font-size: 1rem;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

h1, h2, h3, h4 {
  margin-bottom: 1rem;
}

h2 span, h3 span {
  background: linear-gradient(90deg, #00d4ff, #00bcd4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.button, button {
  display: inline-block;
  font-weight: 600;
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.button-primary, .button-hero {
  background: linear-gradient(to right, #00d4ff, #00bcd4);
  color: #0f0f10;
  padding: 1rem 2rem;
}

.button-primary:hover, .button-hero:hover {
  background: linear-gradient(to right, #00bcd4, #00d4ff);
  color: #fff;
}

.button-secondary {
  background: #1e1e23;
  color: #00d4ff;
  padding: 1rem 2rem;
}

.button-secondary:hover {
  background: #27272f;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-bottom: 4rem;
  background: linear-gradient(to bottom, #0b0c10 0%, #1f1f1f 100%);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(0deg, rgba(0,212,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at center, black 20%, transparent 80%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  color: #fff;
}

.hero-banner .banner-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 20px rgba(0,212,255,0.5));
  border-radius: 1rem;
}

.hero-subtitle {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.btn-hero {
  background: linear-gradient(90deg, #00d4ff, #0066ff);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-hero:hover {
  background: linear-gradient(90deg, #0066ff, #00d4ff);
}

.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: #00d4ff;
  padding: 0.8rem 2rem;
  border-radius: 0.75rem;
  border: 1px solid #00d4ff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(0,212,255,0.1);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  background: linear-gradient(90deg, #00d4ff, #0066ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 1rem;
  color: #ccc;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-circle {
  width: 2rem;
  height: 3.5rem;
  border: 2px solid #00d4ff;
  border-radius: 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.25rem;
}

.scroll-dot {
  width: 0.35rem;
  height: 0.5rem;
  background: #00d4ff;
  border-radius: 50%;
  animation: scroll-pulse 1.2s infinite;
}

@keyframes scroll-pulse {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(1rem); opacity: 0.5; }
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4rem;
  background: linear-gradient(to bottom, transparent, #0b0c10);
  pointer-events: none;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid #00d4ff;
  border-radius: 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.25rem;
}

.scroll-indicator div {
  width: 0.25rem;
  height: 0.75rem;
  background: #00d4ff;
  border-radius: 9999px;
  animation: pulse 1.5s infinite;
}

.about {
  padding: 6rem 2rem;
  text-align: center;
  background: #111;
  color: #fff;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about h2 span {
  background: linear-gradient(90deg, #00d4ff, #0066ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about p {
  font-size: 1.1rem;
  color: #ccc;
  max-width: 700px;
  margin: 0 auto 3rem auto;
  line-height: 1.6;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.about-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0,212,255,0.3);
}

.about-card .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #00d4ff;
}

.about-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.about-card p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.5;
}

.owner-message {
  padding: 6rem 2rem;
  text-align: center;
  background: #0a0a0a;
  color: #fff;
  position: relative;
}

.owner-message h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.owner-message h2 span {
  background: linear-gradient(90deg, #00d4ff, #0066ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.owner-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 3rem 2rem;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.owner-card .quote-icon {
  font-size: 2rem;
  color: #00d4ff;
  display: inline-block;
  margin: 0 0.5rem;
}

.owner-card p {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.6;
  margin: 1.5rem 0;
}

.owner-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.owner-avatar-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #00d4ff;
}

#team {
  padding: 6rem 0;
  background: linear-gradient(to bottom, #0f0f10 0%, #1e1e23 100%);
}

.team-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.team-card {
  background: rgba(30,30,35,0.8);
  padding: 2rem;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  text-align: center;
  border: 1px solid #333;
  transition: all 0.3s ease;
}

.team-card:hover {
  box-shadow: 0 0 30px rgba(0,212,255,0.2);
  border-color: #00d4ff;
}

.team-card .badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
}

#join {
  padding: 6rem 0;
  background: linear-gradient(to bottom, #1e1e23 0%, #0f0f10 100%);
}

.join-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.join-card {
  background: rgba(30,30,35,0.8);
  padding: 2rem;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  text-align: center;
  border: 1px solid #333;
  transition: all 0.3s ease;
}

.join-card:hover {
  box-shadow: 0 0 30px rgba(0,212,255,0.2);
  border-color: #00d4ff;
}

.footer {
  background: rgba(20, 20, 25, 0.8);
  backdrop-filter: blur(10px);
  padding: 3rem 1rem 1rem;
  color: #ccc;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-brand {
  flex: 1 1 300px;
}

.footer-logo {
  height: 50px;
  width: 50px;
  vertical-align: middle;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: bold;
  background: linear-gradient(to right, #00d4ff, hsl(210,100%,60%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.footer-desc {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.footer-socials a {
  margin-right: 0.5rem;
  font-size: 1.2rem;
  color: #ccc;
  transition: color 0.3s;
}
.footer-socials a:hover {
  color: #00d4ff;
}

.footer-links, .footer-community {
  flex: 1 1 200px;
}

.footer-links h4, .footer-community h4 {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.footer-links ul, .footer-community ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li, .footer-community li {
  margin-bottom: 0.3rem;
}

.footer-links a, .footer-community a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover, .footer-community a:hover {
  color: #00d4ff;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.8rem;
  color: #888;
}

@keyframes pulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.5; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .hero-stats {
    flex-direction: column;
    gap: 2rem;
  }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: 1rem; }
}

/*Gallery Stuff*/
.gallery-section {
  padding: 6rem 2rem;
  background: #111;
  color: #fff;
  text-align: center;
}

.gallery-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.gallery-section h2 span {
  background: linear-gradient(90deg, #00d4ff, #0066ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gallery-section p {
  font-size: 1.1rem;
  color: #ccc;
  max-width: 700px;
  margin: 0 auto 3rem auto;
  line-height: 1.6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
  justify-content: center;
}

.gallery-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 300px;
  height: 300px;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0,212,255,0.3);
}

.gallery-img {
  width: 100%;
  height: 300px; 
  object-fit: cover;
  display: block;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 0.75rem 1rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.gallery-overlay p {
  font-size: 0.8rem;
  margin: 0;
}

.team-section {
  padding: 6rem 2rem;
  background: #111;
  text-align: center;
  color: #fff;
}

.team-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  background: linear-gradient(90deg, #00d4ff, #0066ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.team-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.team-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  width: 200px;
  margin: 0 auto;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0,212,255,0.3);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #00d4ff;
  margin-bottom: 0.5rem;
}

.team-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.team-card .badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0,212,255,0.3);
}

.countdown-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.countdown-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.countdown-modal-content {
  background: #111;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 0 30px rgba(0,212,255,0.5);
}

.countdown-modal h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #00d4ff, #0066ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.countdown-modal p {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 1.5rem;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.countdown-card {
  background: rgba(255,255,255,0.05);
  padding: 1rem;
  border-radius: 0.75rem;
  min-width: 60px;
}

.time-num {
  font-size: 1.5rem;
  font-weight: bold;
  background: linear-gradient(90deg, #00d4ff, #0066ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.25rem;
}

.time-label {
  font-size: 0.8rem;
  color: #ccc;
}

.close-btn {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 2rem;
  color: #00d4ff;
  cursor: pointer;
}

/* ---------- GLOBAL MOBILE RESPONSIVENESS ---------- */
@media screen and (max-width: 1024px) {
  body, html {
    padding: 10px;
  }

  h1, h2, h3, h4 {
    font-size: calc(1.2rem + 1vw);
  }

  .site-content {
    padding: 1rem;
  }

  .container, .staff-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
  }

  input, select, textarea, .filters input, .filters select {
    font-size: 0.9rem;
    padding: 0.6rem 0.75rem;
  }

  .button-primary, .btn-hero, button {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }

  .card, .apply-card, .owner-card, .team-card, .join-card, .about-card, .gallery-card {
    padding: 1.5rem;
    margin: 1rem auto;
  }

  .apps-table {
    font-size: 0.85rem;
    width: 100%;
    display: block;
    overflow-x: auto;
  }

  .apps-table th, .apps-table td {
    padding: 0.5rem 0.75rem;
    white-space: nowrap;
  }

  .apps-table thead {
    display: none; 
  }

  .apps-table tbody tr {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 10px;
  }

  .apps-table td {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    border: none;
  }

  .modal-content, .countdown-modal-content {
    width: 95%;
    max-width: 95%;
    padding: 1.5rem;
  }

  .hero-section, .about, .owner-message, .gallery-section, .team-section, #join {
    padding: 4rem 1rem;
  }

  .hero-stats, .about-features, .team-grid, .join-grid, .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .navbar .nav-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media screen and (max-width: 768px) {
  .filters {
    flex-direction: column;
    gap: 10px;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  h4 {
    font-size: 1rem;
  }

  .apps-table td {
    font-size: 0.85rem;
  }

  .button-primary, .btn-hero, button {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }

  .team-card, .join-card, .gallery-card {
    width: 100%;
    max-width: 100%;
  }

  #answer-box li {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 480px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .filters input, .filters select {
    padding: 0.5rem;
  }

  .apps-table td {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.4rem 0.6rem;
  }

  .apps-table td::before {
    font-weight: bold;
    content: attr(data-label);
    margin-bottom: 4px;
    display: block;
    color: #00d4ff;
  }

  .button-primary, .btn-hero, button {
    width: 100%;
    text-align: center;
    padding: 0.5rem 0;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }
}
