@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary: #ff8c00;
  --primary-hover: #ff6f00;
  --background: rgb(18, 18, 27);
  --surface: rgb(27, 27, 41);
  --text: #ffffff;
  --success: #4caf50;
  --error: #f44336;
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--surface);
}

*::-webkit-scrollbar {
  width: 8px;
}

*::-webkit-scrollbar-track {
  background-color: var(--surface);
}

*::-webkit-scrollbar-thumb {
  background-color: var(--primary);
  border-radius: 4px;
}

body {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  background-color: var(--background);
  color: var(--text);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
header {
      position: fixed;
      top: 0;
      width: 100%;
      background-color: rgba(27, 27, 41, 0.9);
      backdrop-filter: blur(10px);
      z-index: 1000;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
      transition: var(--transition);
    }
    
header.scrolled {
    padding: 5px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: rotate(10deg);
}

.logo a {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    margin: 0 15px;
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    transition: var(--transition);
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover:after {
    width: 100%;
}

.nav-links .discord-btn {
    background-color: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    margin-left: 15px;
    transition: var(--transition);
}

.nav-links .discord-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-image: url('https://mc.byterider.xyz/bilder/Backgroundsmp.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 140, 0, 0.2);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--background);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.section-header h2:after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

/* Getting Started Section */
.guide-container {
  max-width: 800px;
  margin: 0 auto;
}

.guide-step {
  display: flex;
  margin-bottom: 30px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.guide-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.step-number {
  background-color: var(--primary);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin-right: 20px;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.discordlink {
  color: orange;
  font-weight: 700;
}

.step-content h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.step-content p {
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.9);
}

.step-content code {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 3px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.9rem;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

/* Commands Section */
.commands-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.category-btn {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.category-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.category-btn.active {
  background-color: var(--primary);
}

.commands-container {
  overflow-x: auto;
}

.commands-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.commands-table th,
.commands-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.commands-table th {
  background-color: rgba(0, 0, 0, 0.2);
  font-weight: 600;
}

.commands-table tr:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.commands-table code {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 5px 8px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.9rem;
}

.tag {
  display: inline-block;
  background-color: rgba(255, 140, 0, 0.2);
  color: var(--primary);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.command-tips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.tip-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  transition: var(--transition);
}

.tip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.tip-icon {
  font-size: 1.5rem;
  color: var(--primary);
}

.tip-content h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

/* Rules Teaser Section */
.rules-teaser-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.rules-teaser-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.rules-teaser-content p {
  margin-bottom: 30px;
  font-size: 1.1rem;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.faq-question h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.faq-toggle {
  font-size: 0.9rem;
  transition: var(--transition);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.9);
}

.faq-answer ul {
  list-style-position: inside;
  margin-bottom: 15px;
  padding-left: 15px;
}

.faq-answer li {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.9);
}

.faq-item.active .faq-question {
  background-color: rgba(255, 140, 0, 0.1);
}

/* Footer */
footer {
  background-color: var(--surface);
  padding: 60px 0 30px;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.footer-logo img {
  height: 30px;
  margin-right: 10px;
}

.footer-logo a {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text);
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-links h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h3:after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
  bottom: 0;
  left: 0;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--surface);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    transition: var(--transition);
    z-index: 999;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-links a {
    margin: 15px 0;
    font-size: 1.2rem;
  }
  
  .nav-links .discord-btn {
    margin-top: 20px;
    margin-left: 0;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .commands-table th,
  .commands-table td {
    padding: 10px;
  }
  
  .guide-step {
    flex-direction: column;
  }
  
  .step-number {
    margin-bottom: 15px;
    margin-right: 0;
    align-self: flex-start;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 60px 0;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .guide-container,
  .faq-container {
    padding: 0 10px;
  }
  
  .commands-categories {
    flex-direction: column;
    align-items: center;
  }
  
  .category-btn {
    width: 100%;
    max-width: 300px;
  }
  
  .commands-table {
    font-size: 0.9rem;
  }
}