:root {
  --bg: #0b0b0e;
  --panel: #14141a;
  --text: #eaeaea;
  --muted: #b0b0b0;
  --accent: #d94a5c; /* Kasane Teto red */
  --border: #2a2a33;
}

* {
  box-sizing: border-box;
}

/* ------------------------------
   Body + Typography
------------------------------ */
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Courier New", monospace;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: #ff7a8a;
  text-decoration: underline;
}

/* ------------------------------
   Container
------------------------------ */
.container {
  max-width: 900px;
  margin: 0 auto;
}

/* ------------------------------
   Header
------------------------------ */
header {
  margin-bottom: 50px;
}

header h1 {
  font-size: 2.2em;
  margin: 0;
  color: var(--accent);
  text-shadow: 0 0 6px rgba(217, 74, 92, 0.35);
}

header p {
  margin-top: 10px;
  color: var(--muted);
}

/* ------------------------------
   Section Titles
------------------------------ */
section {
  margin-bottom: 50px;
}

section h2 {
  font-size: 1.4em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
  margin-bottom: 20px;
}

/* ------------------------------
   Cards
------------------------------ */
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 20px;
  margin-bottom: 20px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.card h3 {
  margin-top: 0;
  color: var(--accent);
  text-shadow: 0 0 6px rgba(217, 74, 92, 0.35);
}

.card p {
  color: var(--muted);
}

/* ------------------------------
   Footer
------------------------------ */
footer {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  color: var(--muted);
  font-size: 0.9em;
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 20px;
}

/* ------------------------------
   Retro Blink
------------------------------ */
.blink {
  animation: blink 1.2s steps(2, start) infinite;
}

@keyframes blink {
  to {
    visibility: hidden;
  }
}

/* ------------------------------
   Header Grid
------------------------------ */
.header-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 30px;
}

.header-left {
  align-self: start;
}

.header-right {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

/* ------------------------------
   Image Styling
------------------------------ */
.Kass-img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  object-position: top;
  opacity: 0.95;
  border-radius: 14px;
  margin-top: 4px;

  background: linear-gradient(135deg,
    #d94a5c 0%,
    #d94a5c 35%,
    #ff7a8a 35%,
    #ff7a8a 70%,
    #ffb0c0 70%,
    #ffb0c0 100%);

  padding: 5px;
  box-shadow: 0 0 14px rgba(217, 74, 92, 0.35);

  animation: floaty 4.5s ease-in-out infinite;
  position: relative;
}

.Kass-img::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 9px;
  background: var(--bg);
  z-index: 1;
}

@keyframes floaty {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* ------------------------------
   Layout Grid
------------------------------ */



/* ------------------------------
   Sidebar
------------------------------ */
.sidebar {
  overflow: visible; /* allow text to overflow */
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100px;
  padding: 20px;
  background: var(--panel);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;   /* centers horizontally */
  justify-content: center; /* centers vertically */
}

.sidebar h2 {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 1.1em;
  letter-spacing: 0.5px;
  transform: translateX(-12px); /* pushes the text outside */
  white-space: nowrap;
}

/* Shortcut blocks */
.shortcut {
  width: 54px;               /* bigger box */
  height: 54px;              /* bigger box */
  border-radius: 14px;       /* rounded corners */
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid transparent;
  cursor: pointer;
  margin-bottom: 14px;       /* space between boxes */
  text-decoration: none;
}

.shortcut:hover {
  background: rgba(217, 74, 92, 0.12);
  border-color: var(--accent);
}

.shortcut-letter {
  font-size: 26px;           /* bigger letter */
  font-weight: 700;
  color: var(--text);
}

.shortcut:hover .shortcut-letter {
  color: var(--accent);
}

.shortcut a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}

/* ------------------------------
   Main content
------------------------------ */
.main-content {
  flex: 1;
  padding: 24px;
  margin-left: 100px; /* match sidebar width */
}

/* ------------------------------
   Card grid
------------------------------ */

@media (max-width: 700px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}


/* Card link styling */
.card h3 a {
  color: var(--accent);
  text-decoration: none;
}

.card h3 a:hover {
  text-decoration: underline;
}

/* ------------------------------
   Responsive (Mobile)
------------------------------ */
@media (max-width: 820px) {
  .sidebar {
    position: relative;
    width: 100%;
  }

  .main-content {
    margin-left: 0;
  }
}


/* Detailed page styles */
.detail-section {
  margin-top: 20px;
}

.detail-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 14px;
  max-width: 900px;
  margin: 0 auto 16px auto;
  padding-right: 190px;
  overflow: hidden; /* IMPORTANT for fade */
}

.detail-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(217, 74, 92, 0.12);
  color: var(--text);
  font-size: 0.9em;
}

.interests-page .detail-card {
  max-width: 900px;
}

.detail-section h2 {
  font-size: 1.3em;
  color: var(--accent);        /* ← red again */
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
  margin-bottom: 15px;
}

.detail-card h3 {
  margin-top: 0;
  color: var(--accent); /* Kasane Teto red */
  text-shadow: 0 0 6px rgba(217, 74, 92, 0.35);
}

.detail-card-inner {
  display: flex;
  align-items: stretch;
  gap: 18px;
}

.detail-text {
  flex: 1;
}

.detail-icon {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 160px;          /* FIXED width */
  object-fit: cover;     /* fills the whole area */
}



/* Fade overlay */
.detail-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 160px;
  background: linear-gradient(
    to left,
    rgba(20, 20, 26, 0) 0%,
    rgba(20, 20, 26, 1) 95%
  );
  pointer-events: none;
}

.guestbook-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.guestbook-text {
  margin-bottom: 14px;
  color: var(--muted);
}

.guestbook-frame-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.guestbook-frame {
  width: 100%;
  max-width: 900px;
  height: 600px;
  border: none;
  border-radius: 12px;
}

  
  
  
  
  
