@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@400;500;600;700&display=swap');

:root {
  --bg:#0d0d0d;
  --card:#1a1a1a;
  --text:#ffffff;
  --muted:#cfcfcf;
  --accent:#ff7a00;
  --glass:rgba(255,255,255,0.04);
  --radius:14px;
  --maxw:1100px;
  font-family:'Bai Jamjuree', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

* {
  box-sizing:border-box;
  transition:all .25s ease;
}

html, body {
  height:100%;
  scroll-behavior:smooth;
}

body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  line-height:1.45;
  padding:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  font-family:'Bai Jamjuree', sans-serif;
}

header {
  width:100%;
  max-width:var(--maxw);
  padding:20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  position:sticky;
  top:0;
  background:rgba(13,13,13,0.95);
  backdrop-filter:blur(8px);
  z-index:10;
  border-bottom:1px solid rgba(255,255,255,0.05);
}

.brand {
  display:flex;
  align-items:center;
  gap:12px;
}

.logo {
  width:44px;
  height:44px;
  border-radius:10px;
  background:linear-gradient(135deg,var(--accent),#ffb366);
  display:grid;
  place-items:center;
  font-weight:700;
  color:#000;
  box-shadow:0 6px 18px rgba(0,0,0,0.6);
}

.brand h1 {
  font-size:18px;
  margin:0;
  color:var(--accent);
}

.brand p {
  margin:0;
  font-size:12px;
  color:var(--muted);
}

nav {
  display:flex;
  gap:12px;
  align-items:center;
}

nav a {
  color:var(--muted);
  text-decoration:none;
  font-size:14px;
  padding:8px 10px;
  border-radius:8px;
}

nav a:hover {
  color:var(--accent);
  background:var(--glass);
  transform:scale(1.05);
}

main {
  width:100%;
  max-width:var(--maxw);
  padding:40px 20px;
}

section {
  margin-bottom:80px;
}

.hero {
  background:linear-gradient(180deg,rgba(255,122,0,0.1),transparent);
  border-radius:var(--radius);
  padding:60px 36px;
  display:flex;
  gap:28px;
  align-items:center;
  justify-content:space-between;
  box-shadow:0 10px 30px rgba(0,0,0,0.6);
}

.hero-left {
  max-width:58%;
}

.kicker {
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,122,0,0.12);
  color:var(--accent);
  font-weight:600;
  font-size:13px;
  margin-bottom:14px;
}

h2 {
  font-size:32px;
  margin:6px 0 12px;
  color:var(--text);
}

p.lead {
  color:var(--muted);
  margin:0 0 18px;
}

.actions {
  display:flex;
  gap:12px;
}

.btn {
  padding:10px 14px;
  border-radius:12px;
  font-weight:600;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:10px;
  transform:translateY(0);
}

.btn-primary {
  background:var(--accent);
  color:#000;
  box-shadow:0 8px 20px rgba(255,122,0,0.2);
}

.btn-ghost {
  border:1px solid rgba(255,255,255,0.08);
  color:var(--muted);
  background:transparent;
}

.btn:hover {
  transform:scale(1.05) translateY(-2px);
}

.btn-primary:hover {
  box-shadow:0 0 14px rgba(255,122,0,0.6);
}

.btn-ghost:hover {
  color:var(--accent);
  border-color:var(--accent);
  background:rgba(255,122,0,0.08);
}

.grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:18px;
  margin-top:26px;
}

.tile, .card {
  background:var(--card);
  padding:18px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.05);
}

.tile h3, .card h3 {
  margin:0;
  font-size:15px;
  color:var(--accent);
}

.tile p, .card p {
  margin:8px 0 0;
  color:var(--muted);
  font-size:13px;
}

.skills, .achievements {
  text-align:center;
}

.skills h2, .achievements h2 {
  color:var(--accent);
  font-size:26px;
  margin-bottom:24px;
}

.skills .tile:hover, .achievements .card:hover {
  transform:translateY(-4px) scale(1.02);
  box-shadow:0 0 18px rgba(255,122,0,0.15);
}

footer {
  width:100%;
  max-width:var(--maxw);
  padding:20px;
  color:var(--muted);
  font-size:13px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-top:1px solid rgba(255,255,255,0.05);
}

a.social {
  color:var(--accent);
  text-decoration:none;
  font-weight:600;
}

.skills-achievements {
  display:flex;
  justify-content:center;
  align-items:center;
  padding:80px 20px;
}

.curved-container {
  display:flex;
  gap:40px;
  background:var(--card);
  border-radius:40px;
  padding:50px;
  box-shadow:0 0 40px rgba(0,0,0,0.4);
  max-width:var(--maxw);
  width:100%;
  flex-wrap:wrap;
}

.column {
  flex:1;
  min-width:320px;
}

.column h2 {
  color:var(--accent);
  text-align:center;
  font-size:26px;
  margin-bottom:24px;
}

.column .grid {
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}

.tile, .card {
  background:var(--glass);
  padding:18px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.05);
  text-align:left;
  transition:transform .25s ease, box-shadow .25s ease;
}

.tile:hover, .card:hover {
  transform:translateY(-4px) scale(1.02);
  box-shadow:0 0 16px rgba(255,122,0,0.15);
}

.tile h3, .card h3 {
  color:var(--accent);
  font-size:16px;
  margin:0 0 8px;
}

.tile p, .card p {
  color:var(--muted);
  font-size:13px;
  margin:0;
}

#contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 20px;
  min-height: 70vh;
}

.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,122,0,0.1), transparent);
  border-radius: var(--radius);
  padding: 60px 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.error-page h1 {
  font-size: 120px;
  margin: 0;
  color: var(--accent);
  line-height: 1;
}

.error-page h2 {
  font-size: 28px;
  margin: 16px 0;
  color: var(--text);
}

.error-page p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 30px;
}

.error-page .btn-primary {
  font-size: 15px;
  padding: 12px 20px;
}


@media (max-width: 850px) {
  .curved-container {
    flex-direction:column;
    border-radius:24px;
    padding:30px;
  }
}




