
/* 1. Global settings */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: #0b1020;
  color: #ffffff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* 2. Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 25px 8%;
  border-bottom: 1px solid #29324a;
}

.logo {
  font-size: 26px;
  font-weight: bold;
}

.logo span {
  color: #818cf8;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

nav a {
  color: #cbd5e1;
  transition: color 0.3s;
}

nav a:hover {
  color: #818cf8;
}

/* 3. Hero section */
.hero {
  display: flex;
  align-items: center;
  min-height: 550px;
  padding: 80px 8%;
  background:
    radial-gradient(
      circle at 80% 30%,
      #25275b 0%,
      transparent 45%
    ),
    #0b1020;
}

.hero-content {
  max-width: 700px;
}

.tag {
  display: inline-block;
  background: #242d56;
  color: #a5b4fc;
  padding: 8px 16px;
  border-radius: 30px;
  margin-bottom: 25px;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 span {
  color: #a5b4fc;
}

.hero p {
  font-size: 18px;
  color: #cbd5e1;
  max-width: 540px;
}

/* 4. Buttons */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}

.btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 9px;
  font-weight: bold;
  transition: transform 0.3s;
}

.btn:hover {
  transform: translateY(-4px);
}

.primary {
  background: #6366f1;
}

.secondary {
  border: 1px solid #475569;
}

/* 5. Cards and sections */
.content-section {
  padding: 65px 8%;
  border-top: 1px solid #29324a;
  scroll-margin-top: 20px;
}

.content-section h2 {
  margin-bottom: 14px;
}

.content-section p {
  color: #cbd5e1;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  background: #171f36;
  padding: 30px;
  border: 1px solid #29324a;
  border-radius: 16px;
  transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: #818cf8;
}

/* 6. Footer */
footer {
  text-align: center;
  padding: 30px;
  color: #94a3b8;
}

/* 7. Mobile layout */
@media (max-width: 650px) {
  .navbar {
    flex-direction: column;
  }

  nav {
    justify-content: center;
    gap: 15px;
  }

  .hero {
    min-height: 450px;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .hero p {
    font-size: 16px;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}


/* Gaming Clips Gallery */
.gaming-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.gaming-card {
  background: #171f36;
  border: 1px solid #29324a;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.gaming-card:hover {
  transform: translateY(-6px);
  border-color: #818cf8;
}

.gaming-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #080d19;
  object-fit: contain;
}

.gaming-info {
  padding: 24px;
}

.game-tag {
  display: inline-block;
  color: #a5b4fc;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.gaming-info h3 {
  margin-bottom: 8px;
}

.gaming-info p {
  color: #94a3b8;
}

@media (max-width: 650px) {
  .gaming-grid {
    grid-template-columns: 1fr;
  }
}


/* Portfolio Gallery */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.portfolio-card {
  background: #171f36;
  border: 1px solid #29324a;
  border-radius: 16px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: #818cf8;
}

.project-image {
  height: 230px;
  background: linear-gradient(
    135deg,
    #25275b,
    #101827
  );
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-info {
  padding: 24px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.project-tags span {
  background: #242d56;
  color: #a5b4fc;
  padding: 5px 11px;
  border-radius: 20px;
  font-size: 12px;
}

.project-info h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.project-info p {
  color: #94a3b8;
  margin-bottom: 20px;
}

.project-link {
  display: inline-block;
  color: #a5b4fc;
  font-weight: bold;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 650px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .project-image {
    height: 200px;
  }
}


/* About Me Section */

.about-container {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
}

.about-avatar {
  width: 180px;
  height: 180px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #25275b, #6366f1);
  border: 2px solid #818cf8;
  border-radius: 30px;
  font-size: 80px;
}

.about-content {
  flex: 1;
}

.about-content h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.about-content p {
  color: #cbd5e1;
  margin-bottom: 15px;
}

.about-content h3 {
  margin-top: 25px;
  margin-bottom: 15px;
}

.interest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.interest-tags span {
  background: #242d56;
  color: #c7d2fe;
  padding: 8px 14px;
  border-radius: 30px;
  font-size: 14px;
}

.social-links {
  margin-top: 25px;
  color: #a5b4fc;
}

/* Mobile */
@media (max-width: 650px) {
  .about-container {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .about-avatar {
    width: 130px;
    height: 130px;
    font-size: 60px;
  }

  .interest-tags {
    justify-content: center;
  }
}


/* Personal Updates */

.updates-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 30px;
  align-items: start;
}

.update-card {
  background: #171f36;
  border: 1px solid #29324a;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.update-card:hover {
  transform: translateY(-6px);
  border-color: #818cf8;
}

.update-image {
  height: 220px;
  background: linear-gradient(135deg, #25275b, #101827);
}

.update-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.update-info {
  padding: 24px;
}

.update-meta {
  display: block;
  color: #a5b4fc;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.update-info h3 {
  font-size: 21px;
  margin-bottom: 12px;
}

.update-info p {
  color: #94a3b8;
}

@media (max-width: 650px) {
  .updates-grid {
    grid-template-columns: 1fr;
  }

  .update-image {
    height: 180px;
  }
}
