@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300;400;500;700&family=Roboto:wght@300;400;500;700;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css');

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

::selection {
  background: #000000;
  color: #ffffff;
}

/* Fixed site framing borders */
#site-border-bottom,
#site-border-left,
#site-border-right,
#site-border-top {
  background: #000000;
  position: fixed;
  z-index: 100;
}

#site-border-left,
#site-border-right {
  top: 0;
  bottom: 0;
  width: 10px;
}

#site-border-left { left: 0; }
#site-border-right { right: 0; }

#site-border-bottom,
#site-border-top {
  left: 0;
  right: 0;
  height: 10px;
}

#site-border-top { top: 0; }
#site-border-bottom { bottom: 0; }

body {
  background-color: #ffffff;
  background-image: radial-gradient(#000000 0.75px, transparent 0.75px);
  background-size: 24px 24px;
  color: #111111;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  min-height: 100vh;
  padding: 10px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Page wrapper */
.page-wrapper {
  min-height: calc(100vh - 20px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Navigation */
header {
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  z-index: 50;
  padding: 24px 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

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

.nav-brand {
  font-family: 'Roboto Mono', monospace;
  font-weight: 700;
  font-size: 14px;
  color: #000000;
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.nav-brand:hover {
  opacity: 0.7;
}

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

.nav-links a {
  font-family: 'Roboto Mono', monospace;
  font-size: 13px;
  color: #777777;
  text-decoration: none;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #000000;
  transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #000000;
  font-weight: 500;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

/* Home / Hero Section */
.hero-container {
  max-width: 1100px;
  width: 100%;
  margin: auto;
  padding: 40px 30px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
  position: relative;
}

@media (max-width: 850px) {
  .hero-container {
    grid-template-columns: 1fr;
    padding: 30px 20px;
    text-align: center;
  }
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 2;
}

.hero-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.15;
  color: #000000;
  letter-spacing: -1px;
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 36px;
  }
}

.typed-wrapper {
  min-height: 64px;
  display: flex;
  align-items: center;
  font-family: 'Roboto Mono', monospace;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.5px;
  margin-top: 6px;
}

@media (max-width: 850px) {
  .typed-wrapper {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .typed-wrapper {
    font-size: 20px;
  }
}

.prompt-symbol {
  color: #888888;
  margin-right: 10px;
  user-select: none;
}

.typed-text {
  color: #000000;
  border-bottom: 2px solid #000000;
  padding-bottom: 2px;
}

.cursor {
  display: inline-block;
  width: 4px;
  height: 1.15em;
  background-color: #000000;
  margin-left: 6px;
  vertical-align: -2px;
  animation: blink 0.9s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Manga Comic Panel Card */
.manga-panel {
  display: inline-block;
  background: #ffffff;
  border: 2px solid #000000;
  box-shadow: 7px 7px 0px #000000;
  padding: 8px;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.manga-panel:hover {
  transform: translate(-3px, -3px);
  box-shadow: 10px 10px 0px #000000;
}

.manga-panel img {
  width: 100%;
  height: auto;
  max-height: 68vh;
  display: block;
  object-fit: contain;
  filter: contrast(1.05);
}

.hero-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* About Page Styling */
.page-header {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 50px;
}

.page-header h1 {
  font-family: 'Roboto', sans-serif;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: #000000;
}

.page-header .intro-text {
  max-width: 820px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.85;
  color: #333333;
  text-align: justify;
}

.grid-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 60px;
}

@media (max-width: 900px) {
  .grid-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.content-col {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.section-block {
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.section-block:last-child {
  border-bottom: none;
}

.section-block h3 {
  font-family: 'Roboto Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 16px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-block h3::before {
  content: '//';
  color: #888888;
  font-weight: 400;
}

.section-block ul, 
.section-block ol {
  padding-left: 20px;
}

.section-block li {
  margin-bottom: 10px;
  color: #333333;
  line-height: 1.7;
}

/* Interactive Skill Chips */
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding-left: 0;
}

.skills-grid li {
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  background: #f6f6f6;
  border: 1px solid #e2e2e2;
  color: #111111;
  padding: 6px 14px;
  margin-bottom: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
  user-select: none;
}

.skills-grid li:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
  transform: translateY(-2px);
}

/* Projects list */
.projects-list {
  list-style: decimal;
  padding-left: 20px;
}

.projects-list > li {
  margin-bottom: 18px;
  font-weight: 500;
  color: #000000;
}

.projects-list ul {
  list-style: disc;
  padding-left: 20px;
  margin-top: 6px;
  font-weight: 400;
  color: #444444;
}

.projects-list a {
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.projects-list a:hover {
  color: #666666;
}

/* Contact Details */
.contact-list {
  list-style: none;
  padding-left: 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: #333333;
}

.contact-list .fa {
  font-size: 15px;
  color: #000000;
  width: 18px;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}

.social-links a {
  color: #000000;
  font-size: 20px;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
  display: inline-block;
}

.social-links a:hover {
  transform: translateY(-3px);
  opacity: 0.6;
}

.image-col {
  position: sticky;
  top: 100px;
}

/* Footer */
footer {
  width: 100%;
  padding: 20px 30px;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  color: #888888;
}
