@import url('https://fonts.googleapis.com/css2?family=Creepster&family=Bungee:wght@400&family=Press+Start+2P&family=Fredoka+One:wght@400&family=Righteous&family=Orbitron:wght@400;700;900&display=swap');

@font-face {
  font-family: 'Effra';
  src: url('./Effra_Std_Rg.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Pastel Retro Color Palette */
  /* Primary (Background - 60%) */
  --color-primary: #f7f4f9;
  --color-primary-light: #faf8fc;
  
  /* Secondary (Surface & Text - 30%) */
  --color-secondary: #e8d5e8;
  --color-tertiary: #d4e6f1;
  --color-border: #e0d0e0;
  
  /* Accent (Buttons, Highlights - 10%) */
  --color-accent: #d4a5d4;
  --color-accent-alt: #f5c2c7;
  
  /* Additional Colors */
  --color-white: #ffffff;
  --color-black: #3a2a3a;
  --color-text: #5a4a5a;
  --color-text-dark: var(--color-black);
  --color-text-accent: var(--color-accent);
  
  /* Typography - Retro Fonts */
  --font-heading: 'Bungee', cursive;
  --font-display: 'Fredoka One', cursive;
  --font-body: 'Righteous', cursive;
  --font-retro: 'Press Start 2P', cursive;
  --font-accent: 'Orbitron', monospace;
  
  /* Font Sizes (REM) */
  --font-display: 3rem;
  --font-h1: 2.25rem;
  --font-h2: 1.75rem;
  --font-h3: 1.35rem;
  --font-body-l: 1.125rem;
  --font-body-m: 1rem;
  --font-caption: 0.85rem;
  
  /* Line Heights */
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.6;
  
  /* Spacing Scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  
  /* Border Radius - Retro Sharp */
  --radius-card: 8px;
  --radius-button: 4px;
  --radius-input: 4px;
  
  /* Shadow - Retro Bold */
  --shadow-soft: 0px 0px 20px rgba(255, 107, 157, 0.5);
  --shadow-neon: 0px 0px 30px rgba(57, 255, 20, 0.8);
  --shadow-cyber: 0px 0px 25px rgba(0, 212, 255, 0.6);
  
  /* Layout */
  --max-width: 1080px;
  --paragraph-max-width: 65ch;
}

/* Reset */

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

/* Base Styles - Pastel Light */

body {
  font-family: var(--font-body);
  font-size: var(--font-body-m);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 50%, #f0f0f5 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography - Pastel Headers */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: var(--line-height-tight);
  color: var(--color-text);
  text-shadow: 1px 1px 2px rgba(212, 165, 212, 0.3);
}

.display {
  font-size: var(--font-display);
  font-family: var(--font-display);
  text-shadow: 0px 0px 10px rgba(212, 165, 212, 0.5);
}

h1 {
  font-size: var(--font-h1);
}

h2 {
  font-size: var(--font-h2);
}

h3 {
  font-size: var(--font-h3);
}

.body-large {
  font-size: var(--font-body-l);
  line-height: var(--line-height-relaxed);
}

.caption {
  font-size: var(--font-caption);
  font-family: var(--font-accent);
  font-weight: 500;
}

p {
  max-width: var(--paragraph-max-width);
  line-height: var(--line-height-relaxed);
}

/* Links */

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

/* Buttons */

button, .btn {
  font-family: var(--font-body);
  font-weight: 500;
  border: none;
  border-radius: var(--radius-button);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

.btn-primary {
  background: linear-gradient(45deg, var(--color-accent), var(--color-accent-alt));
  color: var(--color-white);
  padding: var(--space-3) var(--space-6);
  font-size: var(--font-body-m);
  font-family: var(--font-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(212, 165, 212, 0.3);
  border: 1px solid var(--color-accent);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 165, 212, 0.4);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  padding: var(--space-3) var(--space-6);
  font-size: var(--font-body-m);
  font-family: var(--font-accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px rgba(212, 165, 212, 0.2);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent);
  box-shadow: 0 4px 15px rgba(212, 165, 212, 0.3);
}

/* Cards - Pastel Dreamy */

.card {
  background: linear-gradient(135deg, rgba(245, 194, 199, 0.2) 0%, rgba(209, 196, 233, 0.2) 100%);
  backdrop-filter: blur(5px);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  box-shadow: 0 4px 20px rgba(212, 165, 212, 0.15);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.8);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.8s;
}

.card:hover::before {
  left: 100%;
}

/* Utilities */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.mb-6 {
  margin-bottom: var(--space-6);
}

.mb-8 {
  margin-bottom: var(--space-8);
}

.mt-8 {
  margin-top: var(--space-8);
}

.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

/* Retro Animations */

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

@keyframes neonGlow {
  0%, 100% { 
    text-shadow: 0 0 5px var(--color-accent), 0 0 10px var(--color-accent), 0 0 15px var(--color-accent);
  }
  50% { 
    text-shadow: 0 0 10px var(--color-accent), 0 0 20px var(--color-accent), 0 0 30px var(--color-accent);
  }
}

@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
  100% { transform: translate(0); }
}

.neon-text {
  animation: neonGlow 2s ease-in-out infinite alternate;
}

.glitch-text:hover {
  animation: glitch 0.3s ease-in-out;
}

/* Responsive */

@media (max-width: 768px) {
  :root {
    --font-display: 2.5rem;
    --font-h1: 2rem;
    --font-h2: 1.5rem;
  }
  
  .container {
    padding: 0 var(--space-4);
  }
  
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}
.app-container {
  min-height: 100vh;
  background: #F7F6F9;
  font-family: 'Effra', sans-serif;
  font-size: 12px;
  color: #32343A;
  display: flex;
  flex-direction: column;
}

.top-nav {
  background: #C59667;
  color: white;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: bold;
  text-align: center;
  border-bottom: 2px solid #D9D7E0;
}

.main-content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: none;
}

.main-layout {
  display: grid;
  grid-template-columns: 200px 570px 180px;
  gap: 15px;
  padding: 15px;
  max-width: 1000px;
  margin: 0 auto;
  flex: 1;
}

/* Left Sidebar Styles */
.left-sidebar {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Right Sidebar Styles */
.right-sidebar {
  display: flex;
  flex-direction: column;
  gap: 15px;
}



/* Welcome Message Box */
.welcome-box {
  background: white;
  border: 2px solid #D9D7E0;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 10px;
}

.welcome-title {
  margin: 0 0 10px 0;
  color: #32343A;
  font-size: 16px;
  text-align: center;
  text-shadow: none;
}

.welcome-text {
  margin: 0 0 10px 0;
  line-height: 1.4;
  color: #32343A;
}

.welcome-note {
  margin: 0;
  font-size: 11px;
  color: #32343A;
  font-style: italic;
  opacity: 0.8;
}

/* About Me Box */
.about-box {
  background: white;
  border: 2px solid #D9D7E0;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 10px;
}

.section-title {
  margin: 0 0 10px 0;
  color: #32343A;
  font-size: 14px;
  border-bottom: 1px dotted #D9D7E0;
  padding-bottom: 5px;
}

.section-text {
  margin: 0 0 10px 0;
  line-height: 1.4;
  font-size: 12px;
  color: #32343A;
}

.obsessions-box {
  background: #F7F6F9;
  border: 1px dotted #D9D7E0;
  border-radius: 5px;
  padding: 8px;
  margin: 10px 0;
  font-size: 11px;
}

.obsessions-title {
  color: #C59667;
}

/* Projects Box */
.projects-box {
  background: white;
  border: 2px solid #D9D7E0;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 10px;
}

.projects-grid {
  display: grid;
  gap: 10px;
}

.project-item {
  background: #F7F6F9;
  border: 1px solid #D9D7E0;
  border-radius: 8px;
  padding: 10px;
  font-size: 11px;
}

.project-name {
  color: #C59667;
  font-size: 12px;
}

.project-description {
  color: #32343A;
}

.project-tech {
  color: #32343A;
  font-size: 10px;
  opacity: 0.7;
}

/* Online Friends Box */
.online-friends-box {
  background: white;
  border: 2px solid #D9D7E0;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 10px;
}

.online-title {
  margin: 0 0 8px 0;
  color: #32343A;
  font-size: 12px;
}

.online-list {
  font-size: 10px;
}

.online-friend {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  color: #32343A;
}

.online-indicator {
  width: 8px;
  height: 8px;
  background-color: #C59667;
  border-radius: 50%;
  margin-right: 5px;
}

/* Latest Comments Box */
.comments-box {
  background: white;
  border: 2px solid #D9D7E0;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 10px;
}

.comments-title {
  margin: 0 0 8px 0;
  color: #32343A;
  font-size: 12px;
}

.comments-list {
  font-size: 10px;
}

.comment-item {
  background: #F7F6F9;
  border: 1px solid #D9D7E0;
  border-radius: 5px;
  padding: 5px;
  margin-bottom: 5px;
  color: #32343A;
}

.comment-item:last-child {
  margin-bottom: 0;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3px;
}

.comment-date {
  font-size: 8px;
  color: #8B8B8B;
  font-weight: normal;
}

.comment-text {
  line-height: 1.3;
}

.comment-form-button {
  margin-top: 8px;
  text-align: center;
}

.form-button {
  display: inline-block;
  background: #F7F6F9;
  color: #32343A;
  padding: 4px 8px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 9px;
  font-weight: normal;
  border: 1px solid #D9D7E0;
  transition: all 0.2s ease;
}

.form-button:hover {
  background: #EDEAEF;
  border-color: #C59667;
}

/* Footer */
.footer {
  background: #C59667;
  color: white;
  padding: 10px;
  text-align: center;
  font-size: 10px;
  border-top: 2px solid #D9D7E0;
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer p {
  margin: 0;
  text-align: center;
}

.profile-status {
  font-size: 10px;
  color: #32343A;
  margin-bottom: 8px;
}

.profile-details {
  font-size: 9px;
  color: #32343A;
  text-align: left;
  line-height: 1.4;
}

.navigation-box {
  background: white;
  border: 2px solid #D9D7E0;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 10px;
}

.nav-title {
  margin: 0 0 8px 0;
  color: #32343A;
  font-size: 12px;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-item {
  margin-bottom: 4px;
}

.nav-link {
  color: #C59667;
  text-decoration: none;
  font-size: 10px;
  display: block;
  padding: 2px 0;
}

.nav-link:hover {
  text-decoration: underline;
}

.friends-box {
  background: white;
  border: 2px solid #D9D7E0;
  border-radius: 10px;
  padding: 10px;
}

.friends-title {
  margin: 0 0 8px 0;
  color: #32343A;
  font-size: 12px;
}

.friends-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

.friend-item {
  text-align: center;
  padding: 4px;
  background: #F7F6F9;
  border-radius: 4px;
  border: 1px solid #D9D7E0;
}

.friend-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin-bottom: 2px;
}

.friend-name {
  font-size: 8px;
  color: #32343A;
}

.main-content {
  background: white;
  border: 2px solid #D9D7E0;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 18px;
  height: fit-content; /* Don't stretch vertically */
  min-height: auto; /* Allow natural height */
  flex-shrink: 0; /* Prevent shrinking */
}

.main-title {
  margin: 0 0 15px 0;
  color: #32343A;
  font-size: 16px;
  text-align: center;
  padding: 8px;
  background: linear-gradient(45deg, #F7F6F9, #D9D7E0);
  border-radius: 8px;
  border: 1px solid #D9D7E0;
}

.section {
  margin-bottom: 20px;
}

.section-title {
  color: #C59667;
  font-size: 14px;
  margin: 0 0 8px 0;
  font-weight: bold;
}

.section-content {
  font-size: 11px;
  line-height: 1.6;
  color: #32343A;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.skill-badge {
  background: #F7F6F9;
  border: 1px solid #D9D7E0;
  border-radius: 15px;
  padding: 4px 8px;
  text-align: center;
  font-size: 9px;
  color: #32343A;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.project-card {
  background: #F7F6F9;
  border: 1px solid #D9D7E0;
  border-radius: 8px;
  padding: 8px;
}

.project-title {
  font-size: 10px;
  font-weight: bold;
  color: #C59667;
  margin-bottom: 4px;
}

.project-description {
  font-size: 9px;
  color: #32343A;
  line-height: 1.4;
}

.sidebar-widget {
  background: white;
  border: 2px solid #D9D7E0;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 10px;
}

.widget-title {
  margin: 0 0 8px 0;
  color: #32343A;
  font-size: 12px;
}

.mood-indicator {
  text-align: center;
  padding: 8px;
  background: #F7F6F9;
  border: 1px solid #D9D7E0;
  border-radius: 5px;
  margin-bottom: 8px;
}

.mood-text {
  font-size: 10px;
  color: #32343A;
}

.visitor-counter {
  text-align: center;
  font-size: 10px;
  color: #32343A;
  background: #F7F6F9;
  border: 1px solid #D9D7E0;
  border-radius: 5px;
  padding: 6px;
  margin-bottom: 8px;
}

.shoutbox {
  background: #F7F6F9;
  border: 1px solid #D9D7E0;
  border-radius: 5px;
  padding: 6px;
  font-size: 9px;
  color: #32343A;
}

.shout-item {
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid #D9D7E0;
}

.shout-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.shout-author {
  font-weight: bold;
  color: #C59667;
  font-size: 8px;
}

.shout-message {
  font-size: 8px;
  margin-top: 2px;
}

.footer {
  background: #C59667;
  color: white;
  padding: 10px;
  text-align: center;
  font-size: 10px;
  margin-top: 20px;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet (768px and below) */
@media (max-width: 768px) {
  .main-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 10px;
    padding: 10px;
    max-width: 100%;
  }
  
  .left-sidebar,
  .right-sidebar {
    order: 2;
  }
  
  .main-content {
    order: 1;
  }
  
  .top-nav {
    padding: 8px 15px;
    font-size: 12px;
  }
  
  .welcome-title {
    font-size: 15px;
  }
  
  .section-title {
    font-size: 13px;
  }
  
  .app-container {
    font-size: 11px;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  .main-layout {
    gap: 8px;
    padding: 8px;
  }
  
  .welcome-box,
  .about-box,
  .projects-box {
    padding: 12px;
  }
  
  .top-nav {
    padding: 6px 10px;
    font-size: 11px;
  }
  
  .welcome-title {
    font-size: 14px;
  }
  
  .section-title {
    font-size: 12px;
  }
  
  .app-container {
    font-size: 10px;
  }
  
  .footer {
    padding: 8px;
    font-size: 9px;
  }
}

/* Small Mobile (320px and below) */
@media (max-width: 320px) {
  .main-layout {
    gap: 6px;
    padding: 6px;
  }
  
  .welcome-box,
  .about-box,
  .projects-box {
    padding: 10px;
  }
  
  .welcome-title {
    font-size: 13px;
  }
  
  .section-title {
    font-size: 11px;
  }
  
  .app-container {
    font-size: 9px;
  }
}
/* SpotifyWidget.css - Spotify Music Widget Styles */

@keyframes bobbing {
  0%, 100% { 
    transform: translateY(0px); 
  }
  50% { 
    transform: translateY(-2px); 
  }
}

.spotify-widget {
  background: white;
  border: 2px solid #D9D7E0;
  border-radius: 10px;
  padding: 10px;
}

.spotify-widget-loading {
  background: white;
  border: 2px solid #D9D7E0;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  color: #32343A;
  font-size: 10px;
}

.spotify-setup {
  text-align: center;
  padding: 10px;
}

.spotify-setup p {
  margin: 0 0 5px 0;
  color: #32343A;
  font-size: 10px;
}

.spotify-setup-note {
  font-size: 8px;
  color: #666;
}

.spotify-widget-title {
  margin: 0 0 8px 0;
  color: #32343A;
  font-size: 12px;
  text-align: center;
}

/* Dark mode styles */
body.dark-mode .spotify-widget {
  background: #2A2C30;
  border-color: #404040;
}

body.dark-mode .spotify-widget-loading {
  background: #2A2C30;
  border-color: #404040;
  color: #D1D5DB;
}

body.dark-mode .spotify-widget-title {
  color: #F7F6F9;
}

body.dark-mode .spotify-setup p {
  color: #D1D5DB;
}

body.dark-mode .spotify-setup-note {
  color: #9CA3AF;
}

body.dark-mode .now-playing-section,
body.dark-mode .top-songs-section {
  background: #374151;
  border-color: #4B5563;
  color: #D1D5DB;
}

body.dark-mode .now-playing-label,
body.dark-mode .top-songs-label,
body.dark-mode .song-number,
body.dark-mode .play-status {
  color: #D4A574;
}

body.dark-mode .progress-bar {
  background-color: #4B5563;
}

body.dark-mode .progress-fill {
  background-color: #D4A574;
}

body.dark-mode .progress-time {
  color: #9CA3AF;
}

body.dark-mode .nothing-playing {
  color: #9CA3AF;
}

.now-playing-section {
  background: #F7F6F9;
  border: 1px solid #D9D7E0;
  border-radius: 5px;
  padding: 6px;
  margin-bottom: 8px;
  font-size: 9px;
  color: #32343A;
}

.now-playing-label {
  font-weight: bold;
  margin-bottom: 3px;
  color: #C59667;
  font-size: 10px;
}

.now-playing-track {
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.now-playing-track.bobbing {
  animation: bobbing 1.5s ease-in-out infinite;
}

.track-image {
  width: 16px;
  height: 16px;
  border-radius: 2px;
  margin-right: 4px;
}

.track-info {
  flex: 1;
}

.track-name {
  font-weight: bold;
  font-size: 9px;
}

.track-artist {
  font-size: 8px;
  opacity: 0.8;
}

.progress-container {
  display: flex;
  align-items: center;
  margin-top: 3px;
  gap: 3px;
}

.progress-time {
  font-size: 7px;
  color: #666;
  min-width: 22px;
}

.progress-bar {
  flex: 1;
  height: 3px;
  background-color: #E0E0E0;
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: #C59667;
  transition: width 1s linear;
  border-radius: 2px;
}

.play-status {
  font-size: 8px;
  color: #C59667;
  margin-left: 4px;
}

.nothing-playing {
  text-align: center;
  opacity: 0.7;
  font-size: 8px;
}

.top-songs-section {
  background: #F7F6F9;
  border: 1px solid #D9D7E0;
  border-radius: 5px;
  padding: 6px;
  font-size: 9px;
  color: #32343A;
}

.top-songs-label {
  font-weight: bold;
  margin-bottom: 4px;
  color: #C59667;
  font-size: 10px;
}

.top-song-item {
  display: flex;
  align-items: center;
  margin-bottom: 3px;
  font-size: 8px;
}

.song-number {
  margin-right: 4px;
  color: #C59667;
  font-weight: bold;
  min-width: 8px;
  font-size: 7px;
}

.top-song-image {
  width: 12px;
  height: 12px;
  border-radius: 1px;
  margin-right: 3px;
}

.top-song-info {
  flex: 1;
}

.top-song-name {
  font-weight: bold;
  line-height: 1.2;
}

.top-song-artist {
  font-size: 7px;
  opacity: 0.8;
  line-height: 1.1;
}

.no-top-songs {
  text-align: center;
  opacity: 0.7;
  font-size: 8px;
}

.spotify-footer {
  margin-top: 6px;
  text-align: center;
  font-size: 7px;
  color: #32343A;
  opacity: 0.5;
}.steam-widget-box {
  background: white;
  border: 2px solid #D9D7E0;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 0;
}

.steam-title {
  margin: 0 0 8px 0;
  color: #32343A;
  font-size: 12px;
  text-align: center;
}

.steam-games-list {
  font-size: 10px;
}

.steam-game-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F7F6F9;
  border: 1px solid #D9D7E0;
  border-radius: 5px;
  padding: 6px;
  margin-bottom: 5px;
  color: #32343A;
}

.steam-game-item:last-child {
  margin-bottom: 0;
}

.steam-game-link {
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.steam-game-link:hover {
  background: #EDEAEF;
  border-color: #C59667;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.steam-game-link:active {
  transform: translateY(0);
}

/* Dark mode styles */
body.dark-mode .steam-widget-box {
  background: #2A2C30;
  border-color: #404040;
}

body.dark-mode .steam-title {
  color: #F7F6F9;
}

body.dark-mode .steam-game-item {
  background: #374151;
  border-color: #4B5563;
  color: #D1D5DB;
}

body.dark-mode .steam-game-link:hover {
  background: #4B5563;
  border-color: #D4A574;
}

body.dark-mode .steam-game-fallback {
  background: #4B5563;
  color: #D1D5DB;
}

.steam-game-icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.steam-game-icon img {
  width: 100%;
  height: 100%;
  border-radius: 3px;
  object-fit: cover;
}

.steam-game-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E0D4FF;
  border-radius: 3px;
  font-size: 12px;
  z-index: -1;
}

.steam-game-info {
  flex: 1;
  min-width: 0;
}

.steam-game-name {
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 2px;
  word-break: break-word;
}

.steam-game-time {
  font-size: 8px;
  color: #8B8B8B;
  line-height: 1.1;
}

.steam-loading,
.steam-no-games,
.steam-error {
  text-align: center;
  padding: 10px;
  color: #8B8B8B;
  font-style: italic;
}

.steam-error {
  color: #E74C3C;
}

body.dark-mode .steam-error {
  color: #F08080;
}.profile-box {
  background: white;
  border: 2px solid #D9D7E0;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 0;
  text-align: center;
}

.profile-title {
  margin: 0 0 10px 0;
  color: #32343A;
  font-size: 14px;
}

.profile-photo {
  width: 80px;
  height: 80px;
  border: 2px solid #D9D7E0;
  border-radius: 5px;
  margin: 0 auto 10px auto;
  display: block;
  object-fit: cover;
}

.profile-photo-placeholder {
  width: 80px;
  height: 80px;
  background: #F7F6F9;
  border: 2px dashed #D9D7E0;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px auto;
  font-size: 10px;
  color: #8B8B8B;
}

.profile-details {
  font-size: 10px;
  color: #32343A;
  line-height: 1.4;
  text-align: left;
}

/* Dark mode styles */
body.dark-mode .profile-box {
  background: #2A2C30;
  border-color: #404040;
}

body.dark-mode .profile-title {
  color: #F7F6F9;
}

body.dark-mode .profile-photo {
  border-color: #404040;
}

body.dark-mode .profile-photo-placeholder {
  background: #374151;
  border-color: #4B5563;
  color: #9CA3AF;
}

body.dark-mode .profile-details {
  color: #D1D5DB;
}/* Navigation Section Styles */

.nav-box {
  background: white;
  border: 2px solid #D9D7E0;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 0;
}

.nav-title {
  margin: 0 0 8px 0;
  color: #32343A;
  font-size: 12px;
  text-align: center;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-link {
  color: #32343A;
  text-decoration: none;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 5px;
  transition: all 0.2s ease;
  display: block;
}

.nav-link:hover {
  background: #F7F6F9;
  color: #C59667;
}

.nav-link.active {
  background: #C59667;
  color: white;
  font-weight: bold;
}

/* Dark mode styles */
body.dark-mode .nav-box {
  background: #2A2C30;
  border-color: #404040;
}

body.dark-mode .nav-title {
  color: #F7F6F9;
}

body.dark-mode .nav-link {
  color: #D1D5DB;
}

body.dark-mode .nav-link:hover {
  background: #374151;
  color: #D4A574;
}

body.dark-mode .nav-link.active {
  background: #D4A574;
  color: #1a1a1a;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet (768px and below) */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }
  
  .nav-link {
    font-size: 10px;
    padding: 6px 12px;
    border-radius: 15px;
    text-align: center;
    min-width: auto;
  }
  
  .nav-title {
    font-size: 11px;
    margin-bottom: 10px;
  }
  
  .nav-box {
    padding: 12px;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  .nav-links {
    gap: 4px;
  }
  
  .nav-link {
    font-size: 9px;
    padding: 5px 10px;
  }
  
  .nav-title {
    font-size: 10px;
  }
  
  .nav-box {
    padding: 10px;
  }
}/* Welcome Section Styles */

.welcome-box {
  background: white;
  border: 2px solid #D9D7E0;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
}

.welcome-title {
  margin: 0 0 10px 0;
  color: #32343A;
  font-size: 16px;
  text-align: center;
}

.welcome-text {
  margin: 0 0 10px 0;
  line-height: 1.4;
  font-size: 12px;
  color: #32343A;
  max-width: none;
  text-align: justify;
}

.welcome-footer {
  margin: 0;
  line-height: 1.4;
  font-size: 12px;
  color: #32343A;
  text-align: center;
  font-style: italic;
  max-width: none;
}

/* Dark mode styles */
body.dark-mode .welcome-box {
  background: #374151;
  border-color: #9CA3AF;
}

body.dark-mode .welcome-title {
  color: #F7F6F9;
}

body.dark-mode .welcome-text {
  color: #F7F6F9;
}

body.dark-mode .welcome-footer {
  color: #F7F6F9;
}/* About Section Styles */

.about-box {
  background: white;
  border: 2px solid #D9D7E0;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
}

.about-title {
  margin: 0 0 10px 0;
  color: #32343A;
  font-size: 14px;
}

.about-description {
  margin: 0 0 10px 0;
  line-height: 1.4;
  font-size: 12px;
  color: #32343A;
  max-width: none;
  text-align: justify;
}

.obsessions-box {
  background: #F7F6F9;
  border: 1px solid #D9D7E0;
  border-radius: 5px;
  padding: 8px;
  font-size: 11px;
  color: #32343A;
  line-height: 1.3;
  margin-bottom: 0;
}

.obsessions-title {
  color: #32343A;
}

.version-link {
  color: #C59667;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.2s ease;
}

.version-link:hover {
  color: #32343A;
  text-decoration: underline;
}.projects-box {
  background: white;
  border: 2px solid #D9D7E0;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 0;
}

.projects-title {
  margin: 0 0 10px 0;
  color: #32343A;
  font-size: 14px;
}

.projects-grid {
  display: grid;
  gap: 8px;
}

.project-item {
  background: #F7F6F9;
  border: 1px solid #D9D7E0;
  border-radius: 5px;
  padding: 8px;
  font-size: 11px;
  color: #32343A;
  line-height: 1.3;
}

.project-name {
  color: #32343A;
  font-weight: bold;
}

.project-desc {
  color: #32343A;
  font-style: italic;
}

.project-tech {
  color: #8B8B8B;
  font-size: 10px;
}

.project-link {
  text-decoration: none;
  display: block;
  transition: all 0.2s ease;
  cursor: pointer;
}

.project-link:hover {
  background: #EDEAEF;
  border-color: #C59667;
  transform: translateY(-1px);
}

.project-link:hover .project-name {
  color: #C59667;
}

/* Dark mode styles */
body.dark-mode .projects-box {
  background: #374151;
  border-color: #9CA3AF;
}

body.dark-mode .projects-title {
  color: #F7F6F9;
}

body.dark-mode .project-item {
  background: #2A2C30;
  border-color: #374151;
  color: #F7F6F9;
}

body.dark-mode .project-name {
  color: #F7F6F9;
}

body.dark-mode .project-desc {
  color: #D1D5DB;
}

body.dark-mode .project-tech {
  color: #9CA3AF;
}

body.dark-mode .project-link:hover {
  background: #4B5563;
  border-color: #D4A574;
}

body.dark-mode .project-link:hover .project-name {
  color: #D4A574;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Mobile (768px and below) */
@media (max-width: 768px) {
  .project-item {
    padding: 10px;
    font-size: 10px;
  }
  
  .project-name {
    font-size: 11px;
  }
  
  .project-desc {
    font-size: 9px;
  }
  
  .project-tech {
    font-size: 9px;
  }
  
  .projects-title {
    font-size: 13px;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .project-item {
    padding: 8px;
    font-size: 9px;
  }
  
  .project-name {
    font-size: 10px;
  }
  
  .project-desc {
    font-size: 8px;
  }
  
  .project-tech {
    font-size: 8px;
  }
  
  .projects-title {
    font-size: 12px;
  }
}/* Shared styles for all pages */

.page-container {
  width: 100%;
  min-height: 400px;
}

.page-content {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.page-box {
  background: white;
  border: 2px solid #D9D7E0;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 15px;
}

.page-title {
  margin: 0 0 15px 0;
  color: #32343A;
  font-size: 18px;
  text-align: center;
  text-shadow: none;
}

.page-text {
  font-size: 12px;
  color: #32343A;
  line-height: 1.6;
}

.page-text p {
  margin: 0 0 10px 0;
  max-width: none;
  text-align: justify;
}

.page-text ul {
  margin: 10px 0;
  padding-left: 20px;
}

.page-text li {
  margin-bottom: 5px;
  color: #32343A;
}

.construction-note {
  background: #F7F6F9;
  border: 2px dotted #C59667;
  border-radius: 8px;
  padding: 10px;
  margin-top: 15px;
  text-align: center;
  font-size: 11px;
  color: #C59667;
  font-style: italic;
}

/* Dark mode styles */
body.dark-mode .page-text ul {
  color: #D1D5DB;
}

body.dark-mode .page-text li {
  color: #D1D5DB;
}

body.dark-mode .construction-note {
  background: #374151;
  border-color: #D4A574;
  color: #D4A574;
}

.guestbook-button-container {
  text-align: center;
  margin: 20px 0;
}

.guestbook-button {
  display: inline-block;
  background: #E8D5C0;
  color: #32343A;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: normal;
  border: 1px solid #D9D7E0;
  transition: background-color 0.2s ease;
}

.guestbook-button:hover {
  background: #F0E5D8;
  color: #32343A;
}

/* Organizations Section Styles */

.organizations-list {
  display: grid;
  gap: 15px;
  margin: 15px 0;
}

.organization-item {
  background: #F7F6F9;
  border: 1px solid #D9D7E0;
  border-radius: 8px;
  padding: 12px;
  transition: all 0.2s ease;
}

.organization-item:hover {
  background: #EDEAEF;
  border-color: #C59667;
  transform: translateY(-1px);
}

.org-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 5px;
  flex-wrap: wrap;
  gap: 10px;
}

.org-name {
  color: #C59667;
  font-size: 13px;
  font-weight: bold;
  margin: 0;
  flex: 1;
}

.org-period {
  color: #8B8B8B;
  font-size: 10px;
  font-style: italic;
}

.org-role {
  color: #32343A;
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 5px;
}

.org-description {
  color: #32343A;
  font-size: 11px;
  line-height: 1.4;
  margin: 0;
}.github-repos {
  color: #32343A;
  margin-top: 15px;
}

.repos-header {
  background: white;
  border: 2px solid #D9D7E0;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
  text-align: center;
}

.repos-title {
  font-size: 13px;
  color: #32343A;
  margin: 0 0 5px 0;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.repos-title svg {
  color: #C59667;
}

.repos-description {
  font-size: 12px;
  color: #32343A;
  margin: auto;
  line-height: 1.6;
}

.loading-message,
.error-message {
  background: white;
  border: 2px solid #D9D7E0;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  font-size: 12px;
  color: #32343A;
}

.error-message {
  color: #C59667;
  border-color: #C59667;
}

.repos-grid {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(3, 1fr);
}

.repo-card {
  background: white;
  border: 2px solid #D9D7E0;
  border-radius: 10px;
  padding: 15px;
  transition: all 0.2s ease;
  height: 180px;
  display: flex;
  flex-direction: column;
}

.repo-card:hover {
  background: #EDEAEF;
  border-color: #C59667;
  transform: translateY(-1px);
}

.repo-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
  gap: 10px;
}

.repo-name {
  font-size: 13px;
  color: #32343A;
  margin: 0;
  font-weight: bold;
  flex: 1;
}

.repo-link {
  color: #32343A;
  text-decoration: none;
  transition: color 0.2s ease;
}

.repo-link:hover {
  color: #C59667;
  text-decoration: underline;
}

.repo-links {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.repo-icon-link {
  color: #8B8B8B;
  font-size: 12px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.repo-icon-link:hover {
  color: #C59667;
}

.repo-description {
  font-size: 11px;
  color: #32343A;
  line-height: 1.4;
  margin: 0 0 10px 0;
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

.repo-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.repo-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  color: #8B8B8B;
}

.repo-language {
  display: flex;
  align-items: center;
  gap: 4px;
}

.language-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.repo-stars,
.repo-forks {
  display: flex;
  align-items: center;
  gap: 3px;
}

.repo-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  max-height: 32px;
  overflow: hidden;
}

.repo-topic {
  background: #F7F6F9;
  border: 1px solid #D9D7E0;
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 9px;
  color: #C59667;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.repos-footer {
  text-align: center;
  margin-top: 15px;
}

.view-all-link {
  display: inline-block;
  background: #F7F6F9;
  border: 1px solid #D9D7E0;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 11px;
  color: #32343A;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
}

.view-all-link:hover {
  background: #EDEAEF;
  border-color: #C59667;
  color: #C59667;
}

/* Responsive Design */
@media (max-width: 768px) {
  .repos-grid {
    grid-template-columns: 1fr;
  }
  
  .repo-card {
    height: 160px;
  }
}

@media (min-width: 769px) {
  .repo-card {
    height: 200px;
  }
}

/* Dark mode styles */
body.dark-mode .github-repos {
  color: #F7F6F9;
}

body.dark-mode .repos-header {
  background: #2A2C30;
  border-color: #404040;
  color: #F7F6F9;
}

body.dark-mode .repos-title {
  color: #F7F6F9;
}

body.dark-mode .repos-description {
  color: #D1D5DB;
}

body.dark-mode .repo-card {
  background: #374151;
  border-color: #9CA3AF;
}

body.dark-mode .repo-card:hover {
  border-color: #D4A574;
  background: #4B5563;
}

body.dark-mode .repo-name {
  color: #F7F6F9;
}

body.dark-mode .repo-name:hover {
  color: #D4A574;
}

body.dark-mode .repo-description {
  color: #D1D5DB;
}

body.dark-mode .repo-language {
  color: #9CA3AF;
}

body.dark-mode .repo-stars {
  color: #9CA3AF;
}

body.dark-mode .view-all-link {
  background: #374151;
  border-color: #9CA3AF;
  color: #F7F6F9;
}

body.dark-mode .view-all-link:hover {
  background: #4B5563;
  border-color: #D4A574;
  color: #D4A574;
}

body.dark-mode .repo-link {
  color: #F7F6F9;
}

body.dark-mode .repo-link:hover {
  color: #D4A574;
}

body.dark-mode .repo-icon-link {
  color: #9CA3AF;
}

body.dark-mode .repo-icon-link:hover {
  color: #D4A574;
}

body.dark-mode .repo-meta {
  color: #9CA3AF;
}

body.dark-mode .repo-forks {
  color: #9CA3AF;
}

body.dark-mode .repo-topic {
  background: #374151;
  border-color: #9CA3AF;
  color: #D4A574;
}

body.dark-mode .loading-message,
body.dark-mode .error-message {
  background: #374151;
  border-color: #9CA3AF;
  color: #F7F6F9;
}

body.dark-mode .error-message {
  color: #D4A574;
  border-color: #D4A574;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet (768px and below) */
@media (max-width: 768px) {
  .repos-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .repo-card {
    padding: 12px;
  }
  
  .repo-name {
    font-size: 12px;
  }
  
  .repo-description {
    font-size: 10px;
  }
  
  .repos-title {
    font-size: 16px;
  }
  
  .repos-description {
    font-size: 11px;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  .repo-card {
    padding: 10px;
  }
  
  .repo-name {
    font-size: 11px;
  }
  
  .repo-description {
    font-size: 9px;
  }
  
  .repos-title {
    font-size: 15px;
  }
  
  .repos-description {
    font-size: 10px;
  }
  
  .repo-meta {
    gap: 8px;
  }
  
  .repo-language,
  .repo-stars,
  .repo-forks {
    font-size: 8px;
    padding: 3px 6px;
  }
}.guestbook-comments-section {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dotted #D9D7E0;
}

.comments-header {
  text-align: center;
  margin-bottom: 20px;
}

.comments-header-integrated {
  text-align: center;
  margin-bottom: 15px;
}

.comments-title-integrated {
  margin: 0;
  color: #32343A;
  font-size: 13px;
  font-weight: bold;
}

.comments-caption {
  color: #C59667;
  font-size: 10px;
  font-weight: bold;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.comments-title {
  margin: 0 0 10px 0;
  color: #32343A;
  font-size: 16px;
  text-align: center;
}

.comments-description {
  color: #8B8B8B;
  font-size: 11px;
  line-height: 1.4;
  margin: 0 auto;
}

.comments-container-wrapper {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.comments-scroll-container {
  height: 250px;
  overflow-y: scroll;
  overflow-x: hidden;
  background: #F7F6F9;
  border: 2px solid #D9D7E0;
  border-radius: 10px;
  padding: 15px;
  scrollbar-width: thin;
  scrollbar-color: #C59667 #F7F6F9;
}

/* Enhanced scrollbar for WebKit browsers */
.comments-scroll-container::-webkit-scrollbar {
  width: 12px;
}

.comments-scroll-container::-webkit-scrollbar-track {
  background: #F7F6F9;
  border-radius: 6px;
  border: 1px solid #D9D7E0;
}

.comments-scroll-container::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #C59667 0%, #B8895A 100%);
  border-radius: 6px;
  border: 2px solid #F7F6F9;
  min-height: 40px;
}

.comments-scroll-container::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #B8895A 0%, #A67A4F 100%);
  border: 1px solid #C59667;
}

.comments-scroll-container::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, #A67A4F 0%, #956B44 100%);
}

/* Scrollbar corner */
.comments-scroll-container::-webkit-scrollbar-corner {
  background: #F7F6F9;
}

/* Fade effects on wrapper that don't scroll with content */
.comments-container-wrapper::before,
.comments-container-wrapper::after {
  content: '';
  position: absolute;
  left: 2px;
  right: 14px; /* Account for scrollbar */
  height: 15px;
  pointer-events: none;
  z-index: 10;
  border-radius: 8px;
}

.comments-container-wrapper::before {
  top: 2px;
  background: linear-gradient(to bottom, rgba(247, 246, 249, 0.9), transparent);
}

.comments-container-wrapper::after {
  bottom: 2px;
  background: linear-gradient(to top, rgba(247, 246, 249, 0.9), transparent);
}

.comments-list-full {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comment-item-full {
  background: white;
  border: 2px solid #D9D7E0;
  border-radius: 8px;
  padding: 12px;
  transition: all 0.2s ease;
}

.comment-item-full:hover {
  border-color: #C59667;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(197, 150, 103, 0.15);
}

.comment-header-full {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding-bottom: 5px;
  border-bottom: 1px dotted #D9D7E0;
}

.comment-author {
  font-weight: bold;
  color: #C59667;
  font-size: 11px;
}

.comment-date-full {
  color: #8B8B8B;
  font-size: 9px;
  font-style: italic;
}

.comment-text-full {
  color: #32343A;
  font-size: 11px;
  line-height: 1.4;
  font-style: italic;
}

.loading-message {
  text-align: center;
  color: #8B8B8B;
  font-style: italic;
  padding: 20px;
  font-size: 11px;
}

.no-comments-message {
  text-align: center;
}

/* Scroll indicator */
.comments-scroll-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 15px;
  background: linear-gradient(to bottom, rgba(247, 246, 249, 0.9), transparent);
  pointer-events: none;
  z-index: 2;
  border-radius: 8px 8px 0 0;
}

.comments-scroll-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 15px;
  background: linear-gradient(to top, rgba(247, 246, 249, 0.9), transparent);
  pointer-events: none;
  z-index: 2;
  border-radius: 0 0 8px 8px;
}

/* Show scroll hint when there are many comments */
.comments-list-full::after {
  content: 'You\'ve reached the end silly! ♡';
  display: block;
  text-align: center;
  color: #C59667;
  font-size: 10px;
  font-style: italic;
  margin-top: 10px;
  padding: 8px;
  background: rgba(197, 150, 103, 0.1);
  border: 1px dashed #C59667;
  border-radius: 6px;
  opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .comments-scroll-container {
    height: 280px;
    max-height: 280px;
    padding: 12px;
  }
  
  .comments-scroll-container::-webkit-scrollbar {
    width: 10px;
  }
  
  .comment-item-full {
    padding: 10px;
  }
  
  .comment-header-full {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }
  
  .comment-author {
    font-size: 10px;
  }
  
  .comment-text-full {
    font-size: 10px;
  }
}

/* Dark mode styles */
body.dark-mode .comments-scroll-container {
  background: #2A2C30;
}

body.dark-mode .comments-scroll-container::-webkit-scrollbar-track {
  background: #374151;
}

body.dark-mode .comments-scroll-container::-webkit-scrollbar-thumb {
  background: #D4A574;
}

body.dark-mode .comments-scroll-container::-webkit-scrollbar-thumb:hover {
  background: #C59667;
}

body.dark-mode .comments-scroll-container::-webkit-scrollbar-thumb:active {
  background: #B8875A;
}

body.dark-mode .comments-scroll-container::-webkit-scrollbar-corner {
  background: #374151;
}

body.dark-mode .comment-item-full {
  background: #374151;
  border-color: #9CA3AF;
}

body.dark-mode .comment-author {
  color: #D4A574;
}

body.dark-mode .comment-date {
  color: #9CA3AF;
}

body.dark-mode .comment-text-full {
  color: #F7F6F9;
}

body.dark-mode .loading-message {
  color: #F7F6F9;
}

body.dark-mode .comments-container-wrapper::before {
  background: linear-gradient(to bottom, rgba(42, 44, 48, 0.9), transparent);
}

body.dark-mode .comments-container-wrapper::after {
  background: linear-gradient(to top, rgba(42, 44, 48, 0.9), transparent);
}

body.dark-mode .comments-scroll-container::before {
  background: linear-gradient(to bottom, rgba(42, 44, 48, 0.9), transparent);
}

body.dark-mode .comments-scroll-container::after {
  background: linear-gradient(to top, rgba(42, 44, 48, 0.9), transparent);
}

body.dark-mode .comments-scroll-container {
  scrollbar-color: #D4A574 #2A2C30;
}

body.dark-mode .comments-title-integrated {
  color: #F7F6F9;
}.contact-list {
  display: grid;
  gap: 15px;
  margin: 15px 0 0 0;
}

.contact-item {
  background: #F7F6F9;
  border: 1px solid #D9D7E0;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
}

.contact-link-item {
  text-decoration: none;
  color: inherit;
}

.contact-item:hover {
  background: #EDEAEF;
  border-color: #C59667;
  transform: translateY(-1px);
}

.contact-icon {
  font-size: 14px;
  background-color: #F7F6F9;
  border: 1px solid #D9D7E0;
  border-radius: 5px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #C59667;
}

.contact-info {
  flex: 1;
}

.contact-label {
  font-size: 10px;
  color: #C59667;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 3px;
}

.contact-link {
  font-size: 11px;
  color: #32343A;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: #C59667;
}

.contact-handle {
  font-size: 11px;
  color: #32343A;
  font-weight: 500;
}

/* Dark mode styles */
body.dark-mode .contact-item {
  background: #374151;
  border-color: #9CA3AF;
  color: #F7F6F9;
}

body.dark-mode .contact-item:hover {
  background: #4B5563;
  border-color: #D4A574;
  color: #D4A574;
}

body.dark-mode .contact-link-item {
  color: #F7F6F9;
}

body.dark-mode .contact-link-item:hover {
  color: #D4A574;
}

body.dark-mode .contact-icon {
  background-color: #F7F6F9;
  border-color: #9CA3AF;
  color: #374151;
}

body.dark-mode .contact-item:hover .contact-icon {
  background-color: #F7F6F9;
  border-color: #D4A574;
  color: #C59667;
}

body.dark-mode .contact-text {
  color: #F7F6F9;
}

body.dark-mode .contact-label {
  color: #D4A574;
}

body.dark-mode .contact-link {
  color: #F7F6F9;
}

body.dark-mode .contact-link:hover {
  color: #D4A574;
}

body.dark-mode .contact-handle {
  color: #F7F6F9;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Mobile (768px and below) */
@media (max-width: 768px) {
  .contact-item {
    padding: 10px;
    gap: 10px;
  }
  
  .contact-icon {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  
  .contact-label {
    font-size: 9px;
  }
  
  .contact-link,
  .contact-handle {
    font-size: 10px;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .contact-item {
    padding: 8px;
    gap: 8px;
  }
  
  .contact-icon {
    width: 25px;
    height: 25px;
    font-size: 11px;
  }
  
  .contact-label {
    font-size: 8px;
  }
  
  .contact-link,
  .contact-handle {
    font-size: 9px;
  }
}.organizations-section {
  padding: 20px 0;
  background: #F7F6F9;
}

.organizations-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.organizations-header {
  text-align: center;
  margin-bottom: 20px;
}

.organizations-caption {
  color: #C59667;
  font-size: 10px;
  font-weight: bold;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.organizations-title {
  margin: 0 0 10px 0;
  color: #32343A;
  font-size: 18px;
  text-align: center;
}

.organizations-description {
  color: #8B8B8B;
  font-size: 12px;
  line-height: 1.4;
  max-width: 600px;
  margin: 0 auto;
}

.organizations-scroll-container {
  position: relative;
  max-height: 400px;
  overflow-y: auto;
  margin: 15px 0;
  border-radius: 10px;
  background: #F7F6F9;
  padding: 10px;
  border: 2px solid #D9D7E0;
  box-shadow: 0 2px 4px rgba(197, 150, 103, 0.1);
}

.organizations-scroll-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(to bottom, rgba(247, 246, 249, 1), rgba(247, 246, 249, 0));
  pointer-events: none;
  z-index: 2;
  border-radius: 10px 10px 0 0;
}

.organizations-scroll-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(to top, rgba(247, 246, 249, 1), rgba(247, 246, 249, 0));
  pointer-events: none;
  z-index: 2;
  border-radius: 0 0 10px 10px;
}

.organizations-list {
  display: grid;
  gap: 15px;
  position: relative;
}

/* Custom scrollbar styling */
.organizations-scroll-container::-webkit-scrollbar {
  width: 8px;
}

.organizations-scroll-container::-webkit-scrollbar-track {
  background: rgba(217, 215, 224, 0.3);
  border-radius: 4px;
}

.organizations-scroll-container::-webkit-scrollbar-thumb {
  background: #C59667;
  border-radius: 4px;
}

.organizations-scroll-container::-webkit-scrollbar-thumb:hover {
  background: #B8875A;
}

.organization-item {
  display: block;
  background: white;
  border: 2px solid #D9D7E0;
  border-radius: 10px;
  padding: 15px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  min-height: 100px;
  max-height: 130px;
}

.organization-item:hover {
  border-color: #C59667;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(197, 150, 103, 0.2);
}

.organization-item:hover .org-link-indicator {
  opacity: 1;
  transform: translateX(0);
}

.org-link-indicator {
  position: absolute;
  bottom: 10px;
  right: 15px;
  font-size: 10px;
  color: #C59667;
  font-weight: bold;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #D9D7E0;
}



.org-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 10px;
}

.org-name {
  color: #C59667;
  font-size: 14px;
  font-weight: bold;
  margin: 0;
  flex: 1;
}

.org-period {
  color: #8B8B8B;
  font-size: 10px;
  font-style: italic;
  background: #F7F6F9;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #D9D7E0;
}

.org-role {
  color: #32343A;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 8px;
  padding: 4px 8px;
  background: linear-gradient(45deg, #F7F6F9, #EDEAEF);
  border-radius: 6px;
  display: inline-block;
}

.org-description {
  color: #32343A;
  font-size: 11px;
  line-height: 1.4;
  margin: 0;
}

.construction-note {
  background: #F7F6F9;
  border: 2px dotted #C59667;
  border-radius: 8px;
  padding: 10px;
  margin-top: 15px;
  text-align: center;
  font-size: 11px;
  color: #C59667;
  font-style: italic;
}

/* Dark mode styles */
body.dark-mode .organizations-scroll-container {
  background: #2A2C30;
  border-color: #374151;
}

body.dark-mode .organizations-scroll-container::-webkit-scrollbar-track {
  background: #374151;
}

body.dark-mode .organizations-scroll-container::-webkit-scrollbar-thumb {
  background: #D4A574;
}

body.dark-mode .organizations-scroll-container::-webkit-scrollbar-thumb:hover {
  background: #C59667;
}

body.dark-mode .organization-item {
  background: #374151;
  border-color: #9CA3AF;
  color: #F7F6F9;
  box-shadow: inset 0 0 0 1000px rgba(26, 26, 26, 0.6);
}

body.dark-mode .organization-item:hover {
  border-color: #D4A574;
  background: #4B5563;
  box-shadow: inset 0 0 0 1000px rgba(26, 26, 26, 0.4);
}

body.dark-mode .org-name {
  color: #F7F6F9;
}

body.dark-mode .org-description {
  color: #D1D5DB;
}

body.dark-mode .construction-note {
  background: #374151;
  border-color: #D4A574;
  color: #D4A574;
}

body.dark-mode .organizations-section {
  background: #1a1a1a;
}

body.dark-mode .organizations-container {
  color: #F7F6F9;
}

body.dark-mode .organizations-title {
  color: #F7F6F9;
}

body.dark-mode .organizations-description {
  color: #D1D5DB;
}

body.dark-mode .organizations-caption {
  color: #D4A574;
}

body.dark-mode .organizations-scroll-container::before {
  background: linear-gradient(to bottom, rgba(42, 44, 48, 1), rgba(42, 44, 48, 0));
}

body.dark-mode .organizations-scroll-container::after {
  background: linear-gradient(to top, rgba(42, 44, 48, 1), rgba(42, 44, 48, 0));
}

body.dark-mode .org-period {
  background: #374151;
  border-color: #9CA3AF;
  color: #D1D5DB;
}

body.dark-mode .org-role {
  background: #374151;
  color: #F7F6F9;
}

body.dark-mode .org-link-indicator {
  background: rgba(42, 44, 48, 0.95);
  border-color: #D4A574;
  color: #F7F6F9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body.dark-mode .org-name {
  color: #F7F6F9;
}

body.dark-mode .org-description {
  color: #F7F6F9;
}

body.dark-mode .org-role {
  background: rgba(55, 65, 81, 0.9);
  color: #F7F6F9;
  text-shadow: none;
}

body.dark-mode .org-period {
  background: rgba(55, 65, 81, 0.9);
  border-color: #9CA3AF;
  color: #D1D5DB;
  text-shadow: none;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet (768px and below) */
@media (max-width: 768px) {
  .organizations-scroll-container {
    max-height: 300px;
    padding: 8px;
  }
  
  .organization-item {
    padding: 12px;
    max-height: 110px;
  }
  
  .org-name {
    font-size: 13px;
  }
  
  .org-description {
    font-size: 10px;
  }
  
  .org-role {
    font-size: 11px;
    padding: 3px 6px;
  }
  
  .org-period {
    font-size: 9px;
    padding: 2px 5px;
  }
  
  .organizations-title {
    font-size: 16px;
  }
  
  .organizations-description {
    font-size: 11px;
  }
  
  .org-link-indicator {
    font-size: 9px;
    padding: 2px 5px;
    bottom: 8px;
    right: 12px;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  .organizations-scroll-container {
    max-height: 250px;
    padding: 6px;
  }
  
  .organization-item {
    padding: 10px;
    max-height: 100px;
  }
  
  .org-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  
  .org-name {
    font-size: 12px;
  }
  
  .org-description {
    font-size: 9px;
  }
  
  .org-role {
    font-size: 10px;
    padding: 2px 5px;
  }
  
  .org-period {
    font-size: 8px;
    padding: 2px 4px;
  }
  
  .organizations-title {
    font-size: 15px;
  }
  
  .organizations-description {
    font-size: 10px;
  }
  
  .org-link-indicator {
    font-size: 8px;
    padding: 1px 4px;
    bottom: 6px;
    right: 10px;
  }
}/* Skills Section Styles */

.skills-section {
  padding: 20px 0;
  background: #F7F6F9;
  overflow-x: hidden;
  width: 100%;
}

.skills-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  overflow-x: hidden;
  box-sizing: border-box;
  width: 100%;
}

.skills-header {
  text-align: center;
  margin-bottom: 20px;
}

.skills-caption {
  color: #C59667;
  font-size: 10px;
  font-weight: bold;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.skills-title {
  margin: 0 0 10px 0;
  color: #32343A;
  font-size: 18px;
  text-align: center;
}

.skills-description {
  color: #8B8B8B;
  font-size: 12px;
  line-height: 1.4;
  max-width: 600px;
  margin: 0 auto;
}

/* Carousel Styles */

.skills-carousel {
  margin-top: 20px;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.carousel-container {
  overflow: hidden;
  border-radius: 10px;
  background: white;
  border: 2px solid #D9D7E0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
}

.carousel-track {
  display: flex;
  width: 300%; /* 3 slides * 100% */
  touch-action: pan-y;
  user-select: none;
  max-width: none; /* Allow width: 300% but contained by overflow: hidden */
  box-sizing: border-box;
  height: auto;
}

.carousel-slide {
  width: 33.333%; /* 100% / 3 slides */
  flex-shrink: 0;
  flex-grow: 0;
  min-width: 33.333%;
  max-width: 33.333%;
  overflow: hidden;
  box-sizing: border-box;
}

.skill-category {
  background: white;
  border: none; /* Remove individual borders since carousel container has border */
  border-radius: 0;
  padding: 20px;
  margin-bottom: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Carousel Indicators */

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #D9D7E0;
  background: #F7F6F9;
  cursor: pointer;
  transition: all 0.2s ease;
}

.indicator:hover {
  background: #EDEAEF;
  border-color: #C59667;
}

.indicator.active {
  background: #C59667;
  border-color: #C59667;
}

/* Navigation buttons */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(247, 246, 249, 0.9);
  border: 2px solid #D9D7E0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #C59667;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.carousel-nav-btn:hover {
  background: #C59667;
  color: white;
  border-color: #C59667;
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
  left: 5px;
}

.carousel-next {
  right: 5px;
}

/* Responsive adjustments for nav buttons */
@media (max-width: 768px) {
  .carousel-nav-btn {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  
  .carousel-prev {
    left: -17px;
  }
  
  .carousel-next {
    right: -17px;
  }
}

/* Touch interaction improvements */
.carousel-container {
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
}

.carousel-container:active {
  cursor: grabbing;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .skill-category {
    padding: 15px;
  }
  
  .category-title {
    font-size: 13px;
  }
  
  .skills-list {
    gap: 6px;
  }
}

.skill-category {
  background: white;
  border: 2px solid #D9D7E0;
  border-radius: 10px;
  padding: 15px;
}

.category-title {
  margin: 0 0 12px 0;
  color: #32343A;
  font-size: 14px;
  text-align: center;
  border-bottom: 1px dotted #D9D7E0;
  padding-bottom: 8px;
}

.skills-list {
  display: grid;
  gap: 8px;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: #F7F6F9;
  border: 1px solid #D9D7E0;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.skill-item:hover {
  background: #EDEAEF;
  border-color: #C59667;
  transform: translateX(2px);
}

.skill-icon {
  font-size: 16px;
  color: #C59667;
  min-width: 35px;
  text-align: center;
  background: white;
  border: 1px solid #D9D7E0;
  border-radius: 4px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.skill-item:hover .skill-icon {
  color: #32343A;
  background: #F7F6F9;
}

.skill-name {
  font-size: 11px;
  font-weight: 500;
  color: #32343A;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Dark mode styles */
body.dark-mode .skills-section {
  background: #1a1a1a;
}

body.dark-mode .skills-header {
  color: #F7F6F9;
}

body.dark-mode .skills-title {
  color: #F7F6F9;
}

body.dark-mode .skills-description {
  color: #D1D5DB;
}

body.dark-mode .skill-category {
  background: #2A2C30;
  border-color: #404040;
  color: #F7F6F9;
}

body.dark-mode .skill-item {
  background: #374151;
  border-color: #9CA3AF;
  color: #F7F6F9;
}

body.dark-mode .skill-item:hover {
  background: #4B5563;
  border-color: #D4A574;
}

body.dark-mode .skill-icon {
  background-color: #F7F6F9;
  border-color: #9CA3AF;
  color: #374151;
}

body.dark-mode .skill-item:hover .skill-icon {
  background-color: #F7F6F9;
  border-color: #D4A574;
  color: #C59667;
}

body.dark-mode .skill-name {
  color: #F7F6F9;
}

body.dark-mode .carousel-container {
  background: #2A2C30;
  border-color: #404040;
}

body.dark-mode .category-title {
  color: #F7F6F9;
  border-bottom-color: #404040;
}

body.dark-mode .indicator {
  background: #374151;
  border-color: #9CA3AF;
}

body.dark-mode .indicator:hover {
  background: #4B5563;
  border-color: #D4A574;
}

body.dark-mode .indicator.active {
  background: #D4A574;
  border-color: #D4A574;
}

body.dark-mode .carousel-nav-btn {
  background: rgba(42, 44, 48, 0.9);
  border-color: #9CA3AF;
  color: #D4A574;
}

body.dark-mode .carousel-nav-btn:hover {
  background: #D4A574;
  color: #2A2C30;
  border-color: #D4A574;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet (768px and below) */
@media (max-width: 768px) {
  .skills-container {
    max-width: 100%;
    width: 100%;
    padding: 0 0px;
    box-sizing: border-box;
    margin: auto;
  }
  
  .skills-section {
    padding: 15px 0 0 0;
    width: 95%;
    overflow-x: hidden;
  }
  
  .skills-title {
    font-size: 16px;
  }
  
  .skills-description {
    font-size: 11px;
  }
  
  .skill-category {
    padding: 12px;
  }
  
  .category-title {
    font-size: 13px;
  }
  
  .skill-item {
    padding: 6px;
    gap: 8px;
    width: 40%;
  }
  
  .skill-icon {
    font-size: 14px;
    width: 30px;
    height: 30px;
    padding: 5px;
    min-width: 30px;
  }
  
  .skill-name {
    font-size: 10px;
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .carousel-nav-btn {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  
  .carousel-prev {
    left: -17px;
  }
  
  .carousel-next {
    right: -17px;
  }
  
  .indicator {
    width: 8px;
    height: 8px;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  .skills-container {
    max-width: 100%;
    width: 100%;
    padding: 0 0px;
    box-sizing: border-box;
  }
  
  
  .skills-title {
    font-size: 15px;
  }
  
  .skills-description {
    font-size: 10px;
  }
  
  .skill-category {
    padding: 10px;
  }
  
  .category-title {
    font-size: 12px;
  }
  
  .skill-item {
    padding: 5px;
    gap: 6px;
    width: auto;
    flex: 1;
  }
  
  .skill-icon {
    font-size: 12px;
    width: 25px;
    height: 25px;
    padding: 4px;
    min-width: 25px;
    flex-shrink: 0;
  }
  
  .skill-name {
    font-size: 9px;
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .carousel-nav-btn {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  
  .carousel-prev {
    left: 2px;
  }
  
  .carousel-next {
    right: 2px;
  }
  
  .indicator {
    width: 7px;
    height: 7px;
  }
  
  .carousel-indicators {
    gap: 6px;
    margin-top: 12px;
  }
  
  .skills-carousel {
    width: 100%;
    box-sizing: border-box;
  }
  
  .carousel-container {
    width: 100%;
    box-sizing: border-box;
  }
}

/* Small Mobile (320px and below) */
@media (max-width: 320px) {
  .skills-container {
    max-width: 100%;
    width: 100%;
    padding: 0 0px;
    box-sizing: border-box;
  }
  
  
  .skills-title {
    font-size: 14px;
  }
  
  .skills-description {
    font-size: 9px;
  }
  
  .skill-category {
    padding: 8px;
  }
  
  .category-title {
    font-size: 11px;
  }
  
  .skill-item {
    padding: 4px;
    gap: 5px;
    flex: 1;
  }
  
  .skill-icon {
    font-size: 11px;
    width: 22px;
    height: 22px;
    padding: 3px;
    min-width: 22px;
    flex-shrink: 0;
  }
  
  .skill-name {
    font-size: 8px;
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .carousel-nav-btn {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  
  .carousel-prev {
    left: 2px;
  }
  
  .carousel-next {
    right: 2px;
  }
}

/* Mobile overflow prevention - maintain carousel functionality */
@media (max-width: 768px) {
  .skills-section,
  .skills-container,
  .skills-carousel,
  .carousel-container {
    overflow-x: hidden;
  }
  
  .carousel-track {
    max-width: none; /* Allow 300% width but contained by parent overflow */
  }
  
  .carousel-slide,
  .skill-category,
  .skills-list,
  .skill-item {
    max-width: 100%;
    box-sizing: border-box;
  }
}.blog-calendar {
  background: white;
  border: 2px solid #D9D7E0;
  border-radius: 10px;
  padding: 15px;
  margin-top: 15px;
  color: #32343A;
}

.calendar-header {
  text-align: center;
  margin-bottom: 12px;
}

.calendar-title {
  color: #32343A;
  font-size: 14px;
  font-weight: bold;
  margin: 0 0 5px 0;
}

.calendar-description {
  color: #32343A;
  font-size: 11px;
  margin: auto;
  line-height: 1.6;
  text-align: center;
}

.calendar-loading {
  text-align: center;
  color: #32343A;
  font-size: 12px;
  padding: 15px;
}

.calendar-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding: 0 5px;
}

.nav-btn {
  background: white;
  border: 2px solid #D9D7E0;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #32343A;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-btn:hover {
  background: #EDEAEF;
  border-color: #C59667;
  transform: translateY(-1px);
}

.current-month {
  color: #32343A;
  font-size: 13px;
  font-weight: bold;
  margin: 0;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: #D9D7E0;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0px;
}

.day-header {
  background: #C59667;
  color: white;
  text-align: center;
  padding: 8px 4px;
  font-weight: bold;
  font-size: 10px;
}

.calendar-day {
  background: white;
  min-height: 45px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 4px;
  cursor: default;
  transition: all 0.2s ease;
  position: relative;
}

.calendar-day:hover {
  background: #F9F9F9;
}

.calendar-day.other-month {
  background: #F5F5F5;
  opacity: 0.6;
}

.calendar-day.today {
  background: #EDEAEF;
  border: 1px solid #C59667;
}

.calendar-day.has-posts {
  background: #FFF5F5;
  cursor: pointer;
}

.calendar-day.has-posts:hover {
  background: #EDEAEF;
  border-color: #C59667;
  transform: translateY(-1px);
}

.day-number {
  font-size: 11px;
  font-weight: bold;
  color: #32343A;
  margin-bottom: 2px;
}

.post-indicators {
  display: flex;
  gap: 1px;
  align-items: center;
  flex-wrap: wrap;
}

.post-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #C59667;
}

.post-count {
  font-size: 8px;
  color: #C59667;
  font-weight: bold;
  margin-left: 1px;
}

/* Post Selector Modal */
.post-selector-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.post-selector {
  background: white;
  border-radius: 10px;
  padding: 15px;
  max-width: 450px;
  width: 90%;
  border: 2px solid #D9D7E0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.selector-title {
  color: #32343A;
  text-align: center;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: bold;
}

.sticky-notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.sticky-note {
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  transform: rotate(-1deg);
  border: 2px solid transparent;
  min-height: 120px;
  max-height: 140px;
  overflow: hidden;
}

.sticky-note:nth-child(even) {
  transform: rotate(1deg);
}

.sticky-note:hover {
  transform: rotate(0deg) translateY(-1px);
  border-color: #C59667;
}

.sticky-1 {
  background: #FFF5F5;
  border-color: #FFE4E1;
}

.sticky-2 {
  background: #F5F5FF;
  border-color: #E1E1FF;
}

.sticky-3 {
  background: #F5FFF5;
  border-color: #E1FFE1;
}

.sticky-4 {
  background: #FFFAF5;
  border-color: #FFE1CC;
}

.sticky-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sticky-author {
  font-size: 10px;
  color: #C59667;
  font-weight: bold;
}

.sticky-text {
  color: #32343A;
  font-size: 11px;
  line-height: 1.3;
  white-space: pre-line;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 3.9em; /* 3 lines * 1.3 line-height */
  word-wrap: break-word;
  word-break: break-word;
}

.sticky-tags {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.sticky-tag {
  background: rgba(197, 150, 103, 0.2);
  color: #C59667;
  padding: 2px 6px;
  border-radius: 8px;
  font-size: 9px;
  font-weight: bold;
}

.close-selector {
  background: white;
  border: 2px solid #D9D7E0;
  border-radius: 8px;
  color: #32343A;
  padding: 8px 15px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: block;
  margin: 0 auto;
}

.close-selector:hover {
  background: #EDEAEF;
  border-color: #C59667;
  transform: translateY(-1px);
}

/* Selected Post Display */
.selected-post {
  background: white;
  border-radius: 8px;
  padding: 12px;
  border: 2px solid #D9D7E0;
  margin-top: 10px;
}

.post-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.post-title {
  color: #32343A;
  font-size: 12px;
  font-weight: bold;
  margin: 0;
}

.close-post {
  background: white;
  border: 2px solid #D9D7E0;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  color: #32343A;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s ease;
}

.close-post:hover {
  background: #EDEAEF;
  border-color: #C59667;
  transform: translateY(-1px);
}

.post-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  padding-bottom: 6px;
  border-bottom: 1px dotted #D9D7E0;
}

.post-author {
  color: #C59667;
  font-weight: bold;
}

.post-time {
  color: #8B8B8B;
  font-style: italic;
}

.post-image {
  text-align: center;
  margin: 8px 0;
}

.post-image img {
  max-width: 100%;
  max-height: 150px;
  border-radius: 6px;
  border: 1px solid #D9D7E0;
  object-fit: cover;
}

.post-text {
  color: #32343A;
  font-size: 11px;
  line-height: 1.4;
  white-space: pre-line;
}

.post-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.post-tag {
  background: rgba(197, 150, 103, 0.2);
  color: #C59667;
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 9px;
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
  .blog-calendar {
    padding: 12px;
    margin: 10px 0;
  }
  
  .calendar-grid {
    gap: 0;
  }
  
  .calendar-day {
    min-height: 35px;
    padding: 3px;
  }
  
  .day-number {
    font-size: 10px;
  }
  
  .post-selector {
    padding: 12px;
    width: 95%;
  }
  
  .sticky-notes {
    grid-template-columns: 1fr;
  }
  
  .current-month {
    font-size: 12px;
  }
  
  .nav-btn {
    width: 24px;
    height: 24px;
    font-size: 10px;
  }
}

/* Dark mode styles */
body.dark-mode .blog-calendar {
  background: #2A2C30;
  border-color: #D4A574;
  color: #F7F6F9;
}

body.dark-mode .calendar-title {
  color: #F7F6F9;
}

body.dark-mode .calendar-description {
  color: #D1D5DB;
}

body.dark-mode .current-month {
  color: #F7F6F9;
}

body.dark-mode .day-number {
  color: #F7F6F9;
}

body.dark-mode .blog-post-title {
  color: #D4A574;
}

body.dark-mode .blog-post-date {
  color: #D1D5DB;
}

body.dark-mode .nav-btn {
  background: #374151;
  border-color: #9CA3AF;
  color: #F7F6F9;
}

body.dark-mode .nav-btn:hover {
  background: #4B5563;
  border-color: #D4A574;
  color: #D4A574;
}

body.dark-mode .calendar-grid {
  color: #F7F6F9;
}

body.dark-mode .day-cell {
  color: #D1D5DB;
}

body.dark-mode .day-cell.has-posts {
  background: #374151;
  border-color: #D4A574;
  color: #F7F6F9;
}

body.dark-mode .selector-title {
  color: #F7F6F9;
}

body.dark-mode .sticky-text {
  color: #F7F6F9;
}

body.dark-mode .post-title {
  color: #F7F6F9;
}

body.dark-mode .post-text {
  color: #F7F6F9;
}

body.dark-mode .calendar-loading {
  color: #F7F6F9;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet (768px and below) */
@media (max-width: 768px) {
  .blog-calendar {
    padding: 12px;
  }
  
  .calendar-title {
    font-size: 13px;
  }
  
  .calendar-description {
    font-size: 10px;
  }
  
  .current-month {
    font-size: 13px;
  }
  
  .calendar-grid {
    gap: 2px;
  }
  
  .calendar-day {
    height: 40px;
    padding: 4px;
  }
  
  .day-number {
    font-size: 11px;
  }
  
  .post-dot {
    width: 3px;
    height: 3px;
  }
  
  .post-count {
    font-size: 7px;
  }
  
  .nav-btn {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  
  .post-selector {
    width: 90%;
    max-width: 350px;
    padding: 15px;
  }
  
  .sticky-notes {
    gap: 8px;
  }
  
  .sticky-note {
    padding: 8px;
  }
  
  .selected-post {
    padding: 12px;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  .blog-calendar {
    padding: 10px;
  }
  
  .calendar-title {
    font-size: 12px;
  }
  
  .calendar-description {
    font-size: 9px;
  }
  
  .current-month {
    font-size: 12px;
  }
  
  .calendar-day {
    height: 35px;
    padding: 2px;
  }
  
  .day-number {
    font-size: 10px;
  }
  
  .nav-btn {
    width: 25px;
    height: 25px;
    font-size: 12px;
  }
  
  .post-selector {
    width: 95%;
    max-width: 300px;
    padding: 12px;
  }
  
  .selector-title {
    font-size: 11px;
  }
  
  .sticky-note {
    padding: 6px;
  }
  
  .sticky-text {
    font-size: 9px;
  }
  
  .sticky-author {
    font-size: 8px;
  }
  
  .selected-post {
    padding: 10px;
  }
  
  .post-title {
    font-size: 11px;
  }
  
  .post-text {
    font-size: 10px;
  }
}.comments-box {
  background: white;
  border: 2px solid #D9D7E0;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 0;
}

.comments-title {
  margin: 0 0 8px 0;
  color: #32343A;
  font-size: 12px;
}

.comments-list {
  font-size: 10px;
}

.comment-item {
  background: #F7F6F9;
  border: 1px solid #D9D7E0;
  border-radius: 5px;
  padding: 5px;
  margin-bottom: 5px;
  color: #32343A;
}

.comment-item:last-child {
  margin-bottom: 0;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3px;
}

.comment-date {
  font-size: 8px;
  color: #8B8B8B;
  font-weight: normal;
}

.comment-text {
  line-height: 1.3;
}

.comment-form-button {
  margin-top: 8px;
}

/* Dark mode styles */
body.dark-mode .comments-box {
  background: #2A2C30;
  border-color: #404040;
}

body.dark-mode .comments-title {
  color: #F7F6F9;
}

body.dark-mode .comment-item {
  background: #374151;
  border-color: #4B5563;
  color: #D1D5DB;
}

body.dark-mode .comment-date {
  color: #9CA3AF;
}
  text-align: center;
}

.form-button {
  display: inline-block;
  background: #F7F6F9;
  color: #32343A;
  padding: 4px 8px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 9px;
  font-weight: normal;
  border: 1px solid #D9D7E0;
  transition: all 0.2s ease;
}

.form-button:hover {
  background: #EDEAEF;
  border-color: #C59667;
}/* Floating Dark Mode Toggle */
.dark-mode-toggle.floating {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid #D9D7E0;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dark-mode-toggle.floating:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(197, 150, 103, 0.3);
  border-color: #C59667;
}

.dark-mode-toggle.floating.dark {
  background: #2A2C30;
  border-color: #D4A574;
  color: #F7F6F9;
}

.dark-mode-toggle.floating.dark:hover {
  box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
  border-color: #F7F6F9;
}

.moon-icon {
  width: 20px;
  height: 20px;
  color: #32343A;
  transition: all 0.3s ease;
  margin-bottom: 2px;
}

.dark-mode-toggle.floating.dark .moon-icon {
  color: #D4A574;
}

.toggle-text {
  font-size: 18px;
  color: #32343A;
  transition: all 0.3s ease;
  line-height: 1;
}

.dark-mode-toggle.floating.dark .toggle-text {
  color: #D4A574;
}

/* Ripple Effect */
.theme-ripple {
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 44, 48, 0.8) 0%, transparent 70%);
  pointer-events: none;
  z-index: 999;
  animation: ripple-expand 0.8s ease-out forwards;
  transform: scale(0);
}

body.dark-mode .theme-ripple {
  background: radial-gradient(circle, rgba(247, 246, 249, 0.8) 0%, transparent 70%);
}

@keyframes ripple-expand {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* Dark mode styles */
body.dark-mode {
  background: #1a1a1a !important;
  color: #F7F6F9 !important;
}

body.dark-mode .app-container {
  background: #1a1a1a;
  color: #F7F6F9;
}

body.dark-mode .top-nav {
  background: #2A2C30;
  border-bottom-color: #404040;
}

body.dark-mode .sidebar-widget,
body.dark-mode .main-content,
body.dark-mode .page-box,
body.dark-mode .about-box,
body.dark-mode .projects-box,
body.dark-mode .comments-box,
body.dark-mode .navigation-box,
body.dark-mode .friends-box,
body.dark-mode .blog-calendar,
body.dark-mode .welcome-box,
body.dark-mode .online-friends-box {
  background: #2A2C30;
  border-color: #404040;
  color: #F7F6F9;
}

body.dark-mode .dark-mode-widget {
  background: #2A2C30;
  border-color: #404040;
}

body.dark-mode .widget-title,
body.dark-mode .section-title,
body.dark-mode .nav-title,
body.dark-mode .comments-title,
body.dark-mode .friends-title,
body.dark-mode .online-title,
body.dark-mode .welcome-title,
body.dark-mode .page-title,
body.dark-mode .calendar-title,
body.dark-mode .about-title {
  color: #F7F6F9;
}

body.dark-mode .section-text,
body.dark-mode .welcome-text,
body.dark-mode .welcome-note,
body.dark-mode .page-text,
body.dark-mode .about-description,
body.dark-mode .calendar-description {
  color: #D1D5DB;
}

body.dark-mode .obsessions-box,
body.dark-mode .project-item,
body.dark-mode .comment-item,
body.dark-mode .friend-item,
body.dark-mode .skill-badge,
body.dark-mode .project-card,
body.dark-mode .mood-indicator,
body.dark-mode .visitor-counter,
body.dark-mode .shoutbox,
body.dark-mode .form-button,
body.dark-mode .calendar-day,
body.dark-mode .sticky-note,
body.dark-mode .selected-post {
  background: #374151;
  border-color: #4B5563;
  color: #F7F6F9;
}

body.dark-mode .obsessions-title,
body.dark-mode .project-name,
body.dark-mode .nav-link,
body.dark-mode .version-link,
body.dark-mode .post-author,
body.dark-mode .sticky-author {
  color: #D4A574;
}

body.dark-mode .nav-link:hover,
body.dark-mode .version-link:hover {
  color: #F7F6F9;
}

body.dark-mode .footer {
  background: #2A2C30;
  border-top-color: #404040;
}

body.dark-mode .calendar-day.today {
  background: #4B5563;
  border-color: #D4A574;
}

body.dark-mode .calendar-day.has-posts {
  background: #3B3F4A;
}

body.dark-mode .calendar-day.has-posts:hover {
  background: #4B5563;
  border-color: #D4A574;
}

body.dark-mode .day-header {
  background: #D4A574;
  color: #1a1a1a;
}

body.dark-mode .nav-btn {
  background: #374151;
  border-color: #4B5563;
  color: #F7F6F9;
}

body.dark-mode .nav-btn:hover {
  background: #4B5563;
  border-color: #D4A574;
}

body.dark-mode .post-dot {
  background: #D4A574;
}

body.dark-mode .post-selector {
  background: #2A2C30;
  border-color: #404040;
}

body.dark-mode .close-selector,
body.dark-mode .close-post {
  background: #374151;
  border-color: #4B5563;
  color: #F7F6F9;
}

body.dark-mode .close-selector:hover,
body.dark-mode .close-post:hover {
  background: #4B5563;
  border-color: #D4A574;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Mobile (768px and below) */
@media (max-width: 768px) {
  .dark-mode-toggle.floating {
    right: 15px;
    bottom: 15px;
    width: 45px;
    height: 45px;
  }
  
  .moon-icon {
    width: 18px;
    height: 18px;
  }
  
  .toggle-text {
    font-size: 9px;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .dark-mode-toggle.floating {
    right: 12px;
    bottom: 12px;
    width: 40px;
    height: 40px;
  }
  
  .moon-icon {
    width: 16px;
    height: 16px;
  }
  
  .toggle-text {
    font-size: 8px;
  }
}