/* Krunker Guides - Shared Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  color: #ffffff;
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: #ff9501;
  font-weight: 600;
}

a:visited {
  color: #bd6e00;
}

/* Header */
.guide-header {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%);
  padding: 20px 0;
  border-bottom: 2px solid #ff9501;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.guide-header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.guide-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: #ffffff;
}

.guide-logo img {
  height: 40px;
  width: auto;
}

.guide-logo h1 {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #ff9501 0%, #ff7700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.guide-nav {
  display: flex;
  gap: 30px;
  list-style: none;
}

.guide-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

.guide-nav a:hover {
  color: #ffffff;
  background: rgba(255, 149, 1, 0.1);
}

.guide-nav a.active {
  color: #ff9501;
  background: rgba(255, 149, 1, 0.15);
}

/* Main Content */
.guide-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.guide-content {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.guide-title {
  font-size: 36px;
  font-weight: 800;
  color: #ff9501;
  margin-bottom: 20px;
  text-align: center;
  letter-spacing: -0.5px;
}

.guide-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Section Styling */
.guide-section {
  margin-bottom: 40px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.guide-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: #ff9501;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.guide-section h2 .material-icons {
  font-size: 28px;
  color: #ff9501;
}

.guide-section p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
  line-height: 1.7;
}

.guide-section ul {
  margin: 20px 0;
  padding-left: 20px;
}

.guide-section li {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
  line-height: 1.6;
}

/* Image Styling */
.guide-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 20px 0;
  transition: transform 0.3s ease;
}

.guide-image:hover {
  transform: scale(1.02);
}

.guide-image-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.guide-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.guide-image-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.guide-image-grid img:hover {
  transform: scale(1.05);
}

/* Controls Section */
.controls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.control-item {
  background: rgba(255, 149, 1, 0.1);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 149, 1, 0.3);
  text-align: center;
}

.control-key {
  background: #ff9501;
  color: #000;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  display: inline-block;
  margin-bottom: 10px;
  min-width: 60px;
}

.control-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

/* Video Styling */
.guide-video {
  width: 100%;
  max-width: 700px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  margin: 20px auto;
  display: block;
}

/* Footer */
.guide-footer {
  text-align: center;
  margin-top: 60px;
  padding: 30px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.guide-footer p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.guide-footer a {
  color: #ff9501;
  text-decoration: none;
  font-weight: 600;
}

.guide-footer a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .guide-header-content {
    flex-direction: column;
    gap: 20px;
  }
  
  .guide-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  
  .guide-content {
    padding: 20px;
  }
  
  .guide-section {
    padding: 20px;
  }
  
  .guide-title {
    font-size: 28px;
  }
  
  .controls-grid {
    grid-template-columns: 1fr;
  }
  
  .guide-image-grid {
    grid-template-columns: 1fr;
  }
}

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

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 149, 1, 0.6);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 149, 1, 0.8);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.guide-section {
  animation: fadeInUp 0.6s ease-out;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #ff9501;
  color: #000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 24px;
  box-shadow: 0 4px 20px rgba(255, 149, 1, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(255, 149, 1, 0.4);
}
