/* css/style.css */
:root {
  /* Warm & Cosy Colors */
  --bg-color: #FFF3C4;
  --text-main: #4a3b32; /* Chocolate Brown for readability */
  --text-light: #6a5749;
  
  --color-caramel: #cca27a;
  --color-strawberry: #ff9fb4;
  --color-cherry: #e74c6b;
  --color-peach: #ffbba1;
  --color-pastel-green: #bcebc4;
  --color-mint: #9df0d6;
  --color-choc: #5b3e31;

  --glass-bg: rgba(255, 255, 255, 0.4);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-shadow: 0 8px 32px 0 rgba(140, 100, 80, 0.1);

  --font-heading: 'Prompt', sans-serif;
  --font-body: 'Kanit', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* Background Blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.6;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: var(--color-peach);
  top: -100px;
  left: -100px;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: var(--color-strawberry);
  bottom: 20%;
  right: -150px;
}

/* Glassmorphism Classes */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  box-shadow: var(--glass-shadow);
  padding: 2rem;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

/* Typography styles */
.gradient-text {
  background: linear-gradient(45deg, var(--color-cherry), var(--color-strawberry));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  backdrop-filter: blur(10px);
  background: rgba(255, 243, 196, 0.8);
  border-bottom: 1px solid rgba(255,255,255,0.5);
}

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

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-cherry);
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  margin-left: 2rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--color-cherry);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  margin-left: 2rem;
  background: var(--glass-bg);
  padding: 0.3rem 0.8rem;
  border-radius: 2rem;
  border: 1px solid var(--glass-border);
}

.lang-switch a {
  margin-left: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  opacity: 0.6;
}

.lang-switch a:hover {
  opacity: 1;
}

.lang-switch a.active {
  color: var(--color-cherry);
  opacity: 1;
}

.lang-switch .divider {
  margin: 0 0.5rem;
  color: var(--text-light);
  opacity: 0.3;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  padding-top: 100px;
  display: flex;
  align-items: center;
}

.bento-grid {
  display: grid;
  gap: 1.5rem;
}

.hero.bento-grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: stretch;
}

.hero .bento-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero .bento-side, .hero .img-card {
  border-radius: 1.5rem;
  overflow: hidden;
  height: 500px;
}
.hero-img, .profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.5rem;
}

.badge {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--text-main);
  display: inline-block;
  margin-bottom: 1.5rem;
}

.subtitle {
  font-size: 2rem;
  color: var(--text-main);
  font-weight: 600;
  background: none;
  -webkit-text-fill-color: initial;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 90%;
}
.sub-description {
    font-size: 0.85em;
    opacity: 0.8;
    margin-top: 10px;
    display: block;
    color: var(--color-choc);
    font-weight: 500;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.cta-button {
  display: inline-block;
  background: var(--color-cherry);
  color: white;
  padding: 1rem 2rem;
  border-radius: 2rem;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cta-outline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--color-choc);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 1rem 1.5rem;
  border-radius: 2rem;
  border: 2px solid var(--color-caramel);
  transition: all 0.3s ease;
}

.cta-outline:hover {
  background: var(--color-caramel);
  color: white;
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--color-choc);
}

.section-header p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Character about layout */
.character-bento {
    grid-template-columns: 1fr 1.5fr;
}

.info-card h3 {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-cherry);
}

.info-list {
    list-style: none;
    margin-top: 1rem;
}
.info-list li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}
.info-list li strong {
    color: var(--color-choc);
}

.gap-top { margin-top: 1.5rem; }

.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.skill-tag {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.skill-tag.likes {
    background: rgba(188, 235, 196, 0.5); /* pastel green bg */
    border-color: var(--color-pastel-green);
    color: #2b5634;
}

.skill-tag.dislikes {
    background: rgba(255, 187, 161, 0.4); /* peach pink bg */
    border-color: var(--color-peach);
    color: #8c3b1e;
}

.backstory-content p {
    margin-top: 1rem;
    text-indent: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.full-width-card { grid-column: 1 / -1; }
.full-width-card h3 { display: flex; align-items: center; gap: 0.5rem; color: var(--color-cherry); }

/* Locations Grid */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.location-card {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
}

.location-img-wrapper {
  width: 100%;
  height: 200px;
  border-radius: 1rem;
  overflow: hidden;
}

.location-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.location-content h3 {
  font-size: 1.3rem;
  color: var(--color-cherry);
  margin-bottom: 0.5rem;
}

.location-content .desc {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.location-content .rules {
  background: rgba(255,255,255,0.5);
  padding: 0.8rem;
  border-radius: 0.8rem;
  font-size: 0.9rem;
  color: var(--color-choc);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.location-content .rules span { font-size: 1.2rem; color: var(--color-caramel); }

/* Footer */
.footer {
  padding: 2rem;
  text-align: center;
}
.footer-card {
  max-width: 600px;
  margin: 0 auto;
}
.footer-card h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }


/* Responsive */
@media (max-width: 900px) {
  .hero.bento-grid {
    grid-template-columns: 1fr;
  }
  .character-bento {
      grid-template-columns: 1fr;
  }
  
  .hero .bento-side, .hero .img-card {
    height: 350px;
    order: -1;
  }

  .gradient-text {
    font-size: 3rem;
  }
}
