@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  color: white;
  overflow-x: hidden;
  background: #000;
  line-height: 1.6;
  position: relative;
}

#bgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #00bfff, #ff00ff);
  width: 0;
  transition: width 0.1s ease-out;
  z-index: 1000;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  z-index: 999;
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, #00bfff, #ff00ff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
  user-select: none;
}

.navbar .menu {
  display: flex;
  gap: 20px;
}

.navbar .menu a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s, transform 0.3s;
  cursor: pointer;
}

.navbar .menu a:hover {
  color: #00bfff;
  transform: scale(1.1);
}

header {
  text-align: center;
  padding: 140px 20px 60px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #00bfff, #ff00ff, #00ff9d);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
  from { text-shadow: 0 0 10px rgba(0, 191, 255, 0.6); }
  to { text-shadow: 0 0 20px rgba(255, 0, 255, 0.8); }
}

p.subtitle {
  font-size: 1.3rem;
  color: #ccc;
  animation: fadeIn 1.5s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease-out;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

.about {
  font-size: 1.1rem;
  color: #ddd;
  margin-bottom: 20px;
}

.activities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  transition: transform 0.4s, background 0.4s;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.card:hover {
  transform: translateY(-5px) scale(1.05);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
}

.skills ul, .works ul {
  list-style: none;
  padding: 0;
}

.skills li, .works li {
  margin: 8px 0;
  color: #ccc;
  animation: fadeIn 1s ease forwards;
}

.links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.links a {
  text-decoration: none;
  color: white;
  font-size: 1.3rem;
  transition: color 0.3s, transform 0.3s;
  cursor: pointer;
}

.links a:hover {
  color: #00bfff;
  transform: scale(1.2);
}

.news-list {
  list-style: disc inside;
  max-width: 700px;
  margin: 0 auto;
  color: #ccc;
  font-size: 1.1rem;
  text-align: left;
  padding-left: 10px;
}

.openchat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 20px;
  margin-top: 30px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.openchat-card {
  display: block;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 20px;
  color: white;
  text-decoration: none;
  box-shadow: 0 0 8px rgba(0, 191, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.openchat-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.7);
}

.openchat-card h3 {
  margin-bottom: 8px;
  font-weight: 700;
}

.openchat-card p {
  font-size: 1rem;
  color: #ddd;
  line-height: 1.3;
}
