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

:root {
  --primary-green: #00ff41;
  --secondary-green: #00cc33;
  --dark-bg: #0a0a0a;
  --darker-bg: #050505;
  --terminal-bg: #000000;
  --text-light: #ffffff;
  --text-dim: #888888;
  --accent-cyan: #00ffff;
  --accent-purple: #ff00ff;
  --border-color: #333333;
}

body {
  font-family: "Orbitron", monospace;
  background: var(--dark-bg);
  color: var(--text-light);
  overflow-x: hidden;
}

/* View Toggle Button */
.view-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background: linear-gradient(45deg, var(--primary-green), var(--secondary-green));
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  color: var(--dark-bg);
  font-family: "VT323", monospace;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.view-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.5);
}

/* Visual Interface Styles */
.visual-interface {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
}

.hidden {
  display: none !important;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(ellipse at center, rgba(0, 255, 65, 0.1) 0%, transparent 70%);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23333" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.1;
}

.hero-content {
  text-align: center;
  z-index: 2;
  position: relative;
}

.logo {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1rem;
  font-family: "VT323", monospace;
}

.logo-text {
  color: var(--text-light);
}

.logo-accent {
  color: var(--primary-green);
  text-shadow: 0 0 20px var(--primary-green);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, var(--primary-green), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-dim);
  margin-bottom: 3rem;
  font-family: "VT323", monospace;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-green);
  text-shadow: 0 0 10px var(--primary-green);
  font-family: "VT323", monospace;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Section Styles */
.section {
  padding: 5rem 0;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-green);
  text-shadow: 0 0 10px var(--primary-green);
  font-family: "VT323", monospace;
}

.section-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dim);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.skill-item {
  background: rgba(0, 255, 65, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.skill-item:hover {
  border-color: var(--primary-green);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
  transform: translateY(-5px);
}

.skill-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
}

.skill-name {
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 600;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.team-member {
  background: rgba(0, 255, 65, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.team-member:hover {
  border-color: var(--primary-green);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
  transform: translateY(-5px);
}

.member-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--primary-green);
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.3);
  transition: all 0.3s ease;
}

.member-avatar:hover {
  box-shadow: 0 0 25px rgba(0, 255, 65, 0.5);
  transform: scale(1.05);
}

.avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.avatar-image:hover {
  transform: scale(1.1);
}

.member-name {
  font-size: 1.3rem;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
  font-family: "VT323", monospace;
}

.member-role {
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* Team Captain Styles */
.team-captain {
  margin-bottom: 3rem;
  text-align: center;
}

.captain-title {
  font-size: 1.5rem;
  color: var(--primary-green);
  margin-bottom: 2rem;
  font-family: "VT323", monospace;
  text-shadow: 0 0 10px var(--primary-green);
}

.team-member.captain {
  display: inline-block;
  background: linear-gradient(135deg, rgba(0, 255, 65, 0.1), rgba(0, 255, 65, 0.05));
  border: 2px solid var(--primary-green);
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
  transform: scale(1.1);
}

.team-member.captain:hover {
  box-shadow: 0 0 40px rgba(0, 255, 65, 0.5);
  transform: scale(1.15);
}

.team-member.captain .member-avatar {
  width: 100px;
  height: 100px;
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

/* Team Players Styles */
.team-players {
  margin-top: 3rem;
}

.players-title {
  font-size: 1.5rem;
  color: var(--accent-cyan);
  margin-bottom: 2rem;
  text-align: center;
  font-family: "VT323", monospace;
  text-shadow: 0 0 10px var(--accent-cyan);
}

/* Enhanced Member Name Links */
.member-name a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.member-name a:hover {
  color: var(--primary-green);
  text-shadow: 0 0 10px var(--primary-green);
  transform: translateY(-2px);
}

.member-name a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(45deg, var(--primary-green), var(--accent-cyan));
  transition: width 0.3s ease;
}

.member-name a:hover::after {
  width: 100%;
}

/* Captain link special styling */
.team-member.captain .member-name a:hover {
  color: var(--accent-cyan);
  text-shadow: 0 0 15px var(--accent-cyan);
}

.team-member.captain .member-name a::after {
  background: linear-gradient(45deg, var(--accent-cyan), var(--primary-green));
}

/* Achievements Grid */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.achievement-item {
  background: rgba(0, 255, 65, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.achievement-item:hover {
  border-color: var(--primary-green);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
  transform: translateY(-5px);
}

.achievement-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.achievement-title {
  font-size: 1.2rem;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
  font-family: "VT323", monospace;
}

.achievement-desc {
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* Special achievement styling */
.achievement-item.special {
  background: linear-gradient(135deg, rgba(0, 255, 65, 0.15), rgba(0, 255, 255, 0.1));
  border: 2px solid var(--primary-green);
  position: relative;
  overflow: hidden;
}

.achievement-item.special::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--primary-green), var(--accent-cyan), var(--primary-green));
  z-index: -1;
  border-radius: 10px;
  animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.achievement-item.special:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 0 40px rgba(0, 255, 65, 0.4);
}

/* Enhanced grid for more achievements */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Writeups Grid */
.writeups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.writeup-item {
  background: rgba(0, 255, 65, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
}

.writeup-item:hover {
  border-color: var(--primary-green);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
  transform: translateY(-5px);
}

.writeup-title {
  font-size: 1.2rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
  font-family: "VT323", monospace;
}

.writeup-title a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.writeup-title a:hover {
  color: var(--accent-cyan);
  text-shadow: 0 0 10px var(--accent-cyan);
}

.writeup-title a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(45deg, var(--primary-green), var(--accent-cyan));
  transition: width 0.3s ease;
}

.writeup-title a:hover::after {
  width: 100%;
}

.writeup-desc {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.writeup-category {
  display: inline-block;
  background: var(--primary-green);
  color: var(--dark-bg);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Join Us Section */
.join-us {
  background: linear-gradient(135deg, rgba(0, 255, 65, 0.05), rgba(0, 255, 255, 0.05));
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.join-content {
  text-align: center;
}

.join-text {
  font-size: 1.2rem;
  color: var(--text-dim);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.join-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.join-button {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 2.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-family: "VT323", monospace;
  font-size: 1.2rem;
  font-weight: bold;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.join-button.primary {
  background: linear-gradient(45deg, var(--primary-green), var(--secondary-green));
  color: var(--dark-bg);
  box-shadow: 0 0 25px rgba(0, 255, 65, 0.3);
}

.join-button.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 35px rgba(0, 255, 65, 0.5);
}

.join-button.secondary {
  background: rgba(0, 255, 255, 0.1);
  border: 2px solid var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.join-button.secondary:hover {
  background: rgba(0, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.4);
}

.join-icon {
  font-size: 1.4rem;
}

.join-requirements {
  background: rgba(0, 255, 65, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.requirements-title {
  font-size: 1.3rem;
  color: var(--primary-green);
  margin-bottom: 1.5rem;
  font-family: "VT323", monospace;
  text-align: center;
}

.requirements-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.requirements-list li {
  color: var(--text-dim);
  font-size: 1rem;
  padding: 0.5rem;
  background: rgba(0, 255, 65, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.requirements-list li:hover {
  color: var(--text-light);
  background: rgba(0, 255, 65, 0.1);
  transform: translateX(5px);
}

/* Contact Section */
.contact-content {
  text-align: center;
}

.contact-text {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 255, 65, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1rem 2rem;
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: "VT323", monospace;
  font-size: 1.1rem;
}

.contact-link:hover {
  border-color: var(--primary-green);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
  transform: translateY(-2px);
  color: var(--primary-green);
}

.contact-icon {
  font-size: 1.2rem;
}

/* Terminal Interface Styles */
.terminal-interface {
  height: 100vh;
  background: var(--terminal-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.terminal-container {
  width: 100%;
  max-width: 1200px;
  height: 80vh;
  background: var(--terminal-bg);
  border: 2px solid var(--primary-green);
  border-radius: 10px;
  box-shadow: 0 0 50px rgba(0, 255, 65, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.terminal-header {
  background: rgba(0, 255, 65, 0.1);
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--primary-green);
}

.terminal-buttons {
  display: flex;
  gap: 0.5rem;
}

.terminal-button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-button.close {
  background: #ff5f56;
}

.terminal-button.minimize {
  background: #ffbd2e;
}

.terminal-button.maximize {
  background: #27ca3f;
}

.terminal-title {
  color: var(--primary-green);
  font-family: "VT323", monospace;
  font-size: 1.1rem;
}

.terminal-body {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  font-family: "VT323", monospace;
  font-size: 16px;
  overflow: hidden;
}

.terminal-output {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 1rem;
  color: var(--primary-green);
  line-height: 1.4;
}

.terminal-input-line {
  display: flex;
  align-items: center;
}

.terminal-prompt {
  color: var(--primary-green);
  margin-right: 0.5rem;
  white-space: nowrap;
}

.terminal-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--primary-green);
  font-family: "VT323", monospace;
  font-size: 16px;
  outline: none;
  caret-color: var(--primary-green);
}

.terminal-line {
  margin-bottom: 0.5rem;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.terminal-error {
  color: #ff6b6b;
}

.terminal-success {
  color: var(--accent-cyan);
}

.terminal-warning {
  color: #ffd93d;
}

.file-icon {
  margin-right: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .logo {
    font-size: 3rem;
  }

  .hero-stats {
    gap: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .container {
    padding: 0 1rem;
  }

  .terminal-interface {
    padding: 1rem;
  }

  .terminal-container {
    height: 90vh;
  }

  .contact-links {
    flex-direction: column;
    align-items: center;
  }

  .view-toggle {
    top: 10px;
    right: 10px;
    padding: 8px 16px;
    font-size: 14px;
  }

  /* Responsive adjustments */
  .team-member.captain {
    transform: scale(1.05);
  }

  .team-member.captain:hover {
    transform: scale(1.1);
  }

  .captain-title,
  .players-title {
    font-size: 1.3rem;
  }

  /* Responsive adjustments for achievements */
  .achievements-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .achievement-item.special {
    transform: none;
  }

  .achievement-item.special:hover {
    transform: translateY(-5px);
  }

  /* Join section responsive */
  .join-buttons {
    flex-direction: column;
    align-items: center;
  }

  .requirements-list {
    grid-template-columns: 1fr;
  }

  .member-avatar {
    width: 60px;
    height: 60px;
  }

  .team-member.captain .member-avatar {
    width: 80px;
    height: 80px;
  }
}

/* Animations */
@keyframes glow {
  0%,
  100% {
    text-shadow: 0 0 5px var(--primary-green);
  }
  50% {
    text-shadow: 0 0 20px var(--primary-green), 0 0 30px var(--primary-green);
  }
}

.terminal-prompt {
  animation: glow 2s ease-in-out infinite;
}

/* Scrollbar Styling */
.terminal-output::-webkit-scrollbar {
  width: 8px;
}

.terminal-output::-webkit-scrollbar-track {
  background: var(--terminal-bg);
}

.terminal-output::-webkit-scrollbar-thumb {
  background: var(--primary-green);
  border-radius: 4px;
}

.terminal-output::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-green);
}
