html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: #2c3e50;
  background: linear-gradient(135deg, #f8fff0 0%, #e8f5d6 100%);
  min-height: 100vh;
  margin: 0;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(156, 225, 89, 0.2);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(156, 225, 89, 0.15);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #555;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-links a:hover {
  color: #2c3e50;
  background: rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}




/* Sections */
section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  position: relative;
}

/* Home Section */
#home {
  background: linear-gradient(120deg, #9ce159 0%, #9ce159 50%, #8c5e29 100%);
  color: #000;
  text-align: center;
}

.profile-container {
  position: relative;
  margin-bottom: 2rem;
}

.profile-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #8c5e29;
  box-shadow: 0 10px 30px rgba(140, 94, 41, 0.3);
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.profile-img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(140, 94, 41, 0.4);
}

.name {
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
  color: #8c5e29;
  animation: slideInUp 1s ease-out;
}

.desc {
  font-size: 1.3rem;
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 3rem;
  animation: slideInUp 1s ease-out 0.3s both;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: #000;
  border: 2px solid #000;
  border-radius: 50px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  animation: slideInUp 1s ease-out 0.6s both;
}

.cta-button:hover {
  background: transparent;
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* About Section */
#about {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.about-container {
  max-width: 900px;
  width: 100%;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: #2c3e50;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #9ce159, #8c5e29);
  border-radius: 2px;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.info-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

/* Card icon colors */
.info-card:nth-child(1) .card-icon {
  color: inherit;
}

.info-card:nth-child(2) .card-icon {
  color: inherit;
}

.info-card:nth-child(3) .card-icon {
  color: inherit;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.card-content {
  color: #666;
  line-height: 1.6;
}

/* Contact Section */
.contact-info {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.contact-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.2rem 1rem;
  background: #2c3e50;
  color: white;
  text-decoration: none;
  border-radius: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(44, 62, 80, 0.3);
  text-align: center;
}

.contact-link i {
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}

.contact-link span {
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(44, 62, 80, 0.4);
  background: #34495e;
}

/* Platform-specific colors for contact links */
.contact-link[href*="mailto"] {
  background: linear-gradient(135deg, #9ce159, #8c5e29);
}

.contact-link[href*="github"] {
  background: #24292e;
}

.contact-link[href*="github"]:hover {
  background: #333;
}

.contact-link[href*="t.me"] {
  background: #24a1de;
}

.contact-link[href*="t.me"]:hover {
  background: #006ba6;
}

.contact-link[href*="twitter"] {
  background: #1da1f2;
}

.contact-link[href*="twitter"]:hover {
  background: #0d8bd9;
}

.contact-link[href*="instagram"] {
  background: linear-gradient(45deg, #833ab4,#fd1d1d,#fcb045);
}

.contact-link[href*="steam"] {
  background: #171a21;
}

.contact-link[href*="steam"]:hover {
  background: #1b2838;
}

/* Scroll Indicator */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1001;
}

.scroll-progress {
  height: 100%;
  background: linear-gradient(90deg, #9ce159, #8c5e29);
  width: 0%;
  transition: width 0.1s ease;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .nav-container {
    padding: 0 1rem;
  }
  
  .nav-links {
    gap: 1rem;
  }
  
  .nav-links a {
    padding: 0.5rem;
    font-size: 0.9rem;
  }
  
  .name {
    font-size: 2.5rem;
  }
  
  .desc {
    font-size: 1.1rem;
  }
  
  .profile-img {
    width: 150px;
    height: 150px;
  }
  
  .info-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-links {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  section {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.2rem;
  }
  
  .nav-links {
    gap: 0.5rem;
  }
  
  .name {
    font-size: 2rem;
  }
  
  .profile-img {
    width: 120px;
    height: 120px;
  }
  
  .info-card {
    padding: 1.5rem;
  }
  
  .contact-info {
    padding: 1.5rem;
  }
  
  .contact-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
  
  .contact-link {
    padding: 1rem;
  }
  
  .contact-link i {
    font-size: 1.5rem;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  body {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #e1e1e1;
  }
  
  nav {
    background: rgba(30, 30, 30, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  nav.scrolled {
    background: rgba(30, 30, 30, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  }
  
  .logo {
    color: #ffffff;
  }
  
  .nav-links a {
    color: #bbb;
  }
  
  .nav-links a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
  }

  #about {
    background: linear-gradient(135deg, #2a2a2a 0%, #353535 100%);
  }
  
  .section-title {
    color: #ffffff;
  }
  
  .info-card {
    background: #383838;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .card-title {
    color: #ffffff;
  }
  
  .card-content {
    color: rgba(255, 255, 255, 0.8);
  }
  
  .contact-info {
    background: #383838;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
}
