/* Variables */
:root {
  --bg-primary: #0a0f1a;
  --bg-secondary: #0f1525;
  --bg-card: #151d2e;
  --text-primary: #f0f4f8;
  --text-secondary: #8892a4;
  --accent: #00bcd4;
  --accent-hover: #00a5bb;
  --border: #1e293b;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 15, 26, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  z-index: 999;
}

.mobile-menu.active {
  display: block;
}

.mobile-nav-links {
  list-style: none;
  padding: 20px;
}

.mobile-nav-links li {
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 16px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(0, 188, 212, 0.1) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-logo {
  width: 300px;
  max-width: 100%;
  margin-bottom: 30px;
    animation:
    logoFloat 6s ease-in-out infinite,
    logoGlow 4s ease-in-out infinite;
}


.hero-title {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.text-primary {
  color: var(--accent);
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-secondary);
  border-radius: 12px;
  position: relative;
}

.mouse::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0%, 100% { opacity: 1; top: 6px; }
  50% { opacity: 0.5; top: 16px; }
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--bg-secondary);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
}

/* About */
.about-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 15px;
  font-size: 1.05rem;
}

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s;
}

.skill-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.skill-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.skill-card h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.tag {
  background: rgba(0, 188, 212, 0.1);
  color: var(--accent);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

/* Projects */
.projects-category {
  margin-bottom: 50px;
}

.category-title {
  font-size: 1.4rem;
  margin-bottom: 25px;
  color: var(--text-secondary);
  padding-left: 15px;
  border-left: 3px solid var(--accent);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 25px;
  transition: all 0.3s;
}

.project-card:hover {
  border-color: var(--accent);
}

.project-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.project-icon {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.minecraft-icon {
  background: rgba(76, 175, 80, 0.2);
}

.fivem-icon {
  background: rgba(255, 152, 0, 0.2);
}

.project-info {
  flex: 1;
}

.project-info h4 {
  font-size: 1.1rem;
  margin-bottom: 3px;
}

.project-type {
  font-size: 12px;
  color: var(--text-secondary);
}

.status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-dot.online {
  background: #4caf50;
  box-shadow: 0 0 10px #4caf50;
}

.status-dot.offline {
  background: #f44336;
}

.status-dot.dev {
  background: #ff9800;
}

.status-text {
  color: var(--text-secondary);
}

.project-description {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 15px;
}

.project-features {
  list-style: none;
}

.project-features li {
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
  font-size: 13px;
  color: var(--text-secondary);
}

.project-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Bots Grid */
.bots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.bot-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s;
}

.bot-card:hover {
  border-color: var(--accent);
}

.bot-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.bot-icon {
  font-size: 1.5rem;
}

.bot-header h4 {
  font-size: 1rem;
}

.bot-features {
  list-style: none;
}

.bot-features li {
  padding: 4px 0;
  font-size: 13px;
  color: var(--text-secondary);
  padding-left: 15px;
  position: relative;
}

.bot-features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Hosting Card */
.hosting-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 25px;
}

.hosting-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.hosting-icon {
  font-size: 2rem;
}

.hosting-header h4 {
  font-size: 1.2rem;
  margin-bottom: 3px;
}

.hosting-header p {
  font-size: 13px;
  color: var(--text-secondary);
}

.hosting-services {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.service {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-secondary);
  padding: 10px 15px;
  border-radius: 8px;
}

.service-name {
  font-size: 13px;
}

.service-status {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
}

.service-status.online {
  background: rgba(76, 175, 80, 0.2);
  color: #4caf50;
}

/* Contact */
.contact-content {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.contact-text {
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.contact-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.contact-link svg {
  width: 20px;
  height: 20px;
}

.contact-link.discord {
  background: #5865f2;
  color: white;
}

.contact-link.discord:hover {
  background: #4752c4;
  transform: translateY(-3px);
}

.contact-link.email {
  background: var(--accent);
  color: var(--bg-primary);
}

.contact-link.email:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
}

/* Footer */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
}

.footer-logo {
  height: 35px;
  margin-bottom: 15px;
  opacity: 0.7;
}

.footer p {
  color: var(--text-secondary);
  font-size: 13px;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 35px;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

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

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

.bot-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
}

.project-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

.project-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-game-icon {
  width: 22px;
  height: 22px;
}

@keyframes logoFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes logoGlow {
  0% {
    filter: drop-shadow(0 0 10px rgba(0, 188, 212, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 25px rgba(0, 188, 212, 0.6));
  }
  100% {
    filter: drop-shadow(0 0 10px rgba(0, 188, 212, 0.3));
  }
}