@font-face {
  font-family: "Hauss";
  src: url(assets/fonts/hauss.ttf) format("truetype"), url(assets/fonts/hauss.woff) format("woff");
}

:root {
  --bg: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #1a1a1a;
  --text: #e0e0e0;
  --text-secondary: #b0b0b0;
  --accent: #6366f1;
  --accent-hover: #818cf8;
  --border: #2a2a2a;
  --shadow: rgba(0, 0, 0, 0.3);
  --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* Light mode - default to system preference */
@media (prefers-color-scheme: light) {
  :root:not(.dark-mode) {
    --bg: #f0f0f0;
    --bg-secondary: #e8e8e8;
    --bg-card: #f5f5f5;
    --text: #1a1a1a;
    --text-secondary: #666666;
    --accent: #6366f1;
    --accent-hover: #818cf8;
    --border: #d0d0d0;
    --shadow: rgba(0, 0, 0, 0.1);
  }
}

/* Manual light mode override */
:root.light-mode {
  --bg: #f0f0f0;
  --bg-secondary: #e8e8e8;
  --bg-card: #f5f5f5;
  --text: #1a1a1a;
  --text-secondary: #666666;
  --accent: #6366f1;
  --accent-hover: #818cf8;
  --border: #d0d0d0;
  --shadow: rgba(0, 0, 0, 0.1);
}

/* Manual dark mode override */
:root.dark-mode {
  --bg: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #1a1a1a;
  --text: #e0e0e0;
  --text-secondary: #b0b0b0;
  --border: #2a2a2a;
  --shadow: rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

body {
  font-family: Hauss, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.1) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.1) 0px, transparent 50%);
  background-attachment: fixed;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Light mode background with standard fade */
@media (prefers-color-scheme: light) {
  :root:not(.dark-mode) body {
    background-image: 
      linear-gradient(to bottom, #f5f5f5 0%, #f0f0f0 100%),
      radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.03) 0px, transparent 50%),
      radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.03) 0px, transparent 50%);
  }
}

:root.light-mode body {
  background-image: 
    linear-gradient(to bottom, #f5f5f5 0%, #f0f0f0 100%),
    radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.03) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.03) 0px, transparent 50%);
}

/* Top Controls (Desktop) */
.top-controls {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle-btn, .search-toggle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px var(--shadow);
  backdrop-filter: blur(10px);
}

.theme-toggle-btn:hover, .search-toggle-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow);
  border-color: var(--accent);
  background: var(--bg-secondary);
}

/* Mobile Header */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px var(--shadow);
  backdrop-filter: blur(20px);
}

.mobile-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  max-width: 100%;
}

.mobile-logo {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  color: var(--text);
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mobile-header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.mobile-header .theme-toggle-btn,
.mobile-header .search-toggle-btn {
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
  box-shadow: none;
}

@media (max-width: 768px) {
  .mobile-header {
    display: block;
  }
  
  .top-controls {
    display: none;
  }
  
  .main-container {
    padding-top: 70px;
  }
}

/* Language Switcher */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-card);
  padding: 0;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 1px var(--border);
  backdrop-filter: blur(20px);
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.language-switcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2), 0 0 0 1px var(--accent);
}

.language-switcher label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  font-size: 1.1rem;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  transition: all 0.3s ease;
}

.language-switcher:hover label {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
}

.modern-switcher {
  padding: 10px 36px 10px 16px;
  border: none;
  border-radius: 0 30px 30px 0;
  font-size: 0.9rem;
  font-weight: 500;
  background-color: transparent;
  color: var(--text);
  appearance: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236366f1' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  min-width: 100px;
}

.modern-switcher:hover {
  background-color: rgba(99, 102, 241, 0.05);
  color: var(--accent);
}

.modern-switcher:focus {
  outline: none;
  background-color: rgba(99, 102, 241, 0.08);
}

.modern-switcher option {
  background: var(--bg-card);
  color: var(--text);
  padding: 10px;
}

/* Main Container */
.main-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 60px 0 40px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 20px 0 30px;
  }
  
  .hero-section .hello {
    font-size: 2rem;
  }
  
  .hero-section .intro-text {
    font-size: 1rem;
  }
  
  .hero-actions {
    margin-top: 20px;
  }
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.hello {
  font-size: 3.5rem;
  margin: 0 0 20px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.intro-text {
  font-size: 1.3rem;
  color: var(--text-secondary);
}

.name-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.name-link:hover {
  color: var(--accent-hover);
  transform: translateY(-2px);
}

.name-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width 0.3s ease;
}

.name-link:hover::after {
  width: 100%;
}

/* Cards */
.card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px var(--shadow);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--shadow);
  border-color: var(--accent);
}

.section-title {
  font-size: 1.8rem;
  margin: 0 0 25px;
  color: var(--text);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Status Section */
.status-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.status-badge {
  padding: 8px 16px;
  background: var(--gradient-1);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
  border-radius: 20px;
  font-weight: 500;
  color: white;
  font-size: 0.95rem;
  animation: pulse 2s ease-in-out infinite;
  opacity: 0.9;
}

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

/* Contact Section */
.contact-grid {
  display: grid;
  gap: 20px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 15px;
  background: var(--bg-secondary);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: var(--bg);
  transform: translateX(5px);
}

.contact-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.contact {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
  border-bottom: 1px dotted transparent;
}

.contact:hover {
  color: var(--accent-hover);
  transform: translateX(5px);
  border-bottom-color: var(--accent-hover);
}

/* Links Section */
.links-grid {
  display: grid;
  gap: 20px;
}

.view-btn {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.85) 0%, rgba(118, 75, 162, 0.85) 100%);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
}

.view-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.link-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-secondary);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.link-item:hover {
  background: var(--bg);
  transform: translateX(5px);
}

.link-label {
  font-weight: 500;
  color: var(--text-secondary);
}

.linkedin, .github {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 1px dotted transparent;
}

.linkedin:hover, .github:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent-hover);
}

/* Portfolio Section */
.portfolio-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.portfolio-label {
  font-weight: 500;
  color: var(--text-secondary);
}

.portfolio-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 1px dotted transparent;
}

.portfolio-link:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent-hover);
}

/* Wallets Section - Archived */
.wallets-section {
  display: none !important;
}

.wallets-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 15px;
}

.wallets-list li {
  padding: 15px;
  background: var(--bg-secondary);
  border-radius: 12px;
  border-left: 3px solid var(--accent);
  transition: all 0.3s ease;
}

.wallets-list li:hover {
  background: var(--bg);
  transform: translateX(5px);
  border-left-color: var(--accent-hover);
}

.wallets-list strong {
  color: var(--text);
  font-weight: 600;
  margin-right: 8px;
}

.wallets-list a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px dotted transparent;
}

.wallets-list a:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent-hover);
}

/* Copy functionality */
.copy {
  position: relative;
  margin-left: 1.4em;
  font-size: 0.85rem;
  color: var(--accent);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-family: 'Courier New', monospace;
  border: 1px solid transparent;
  background: rgba(99, 102, 241, 0.08);
}

.copy:hover {
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent-hover);
  border-color: var(--accent);
}

.copy::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -1.4rem;
  transform: translateY(-50%);
  display: inline-block;
  width: 1.2rem;
  height: 1.2rem;
  background: url(/assets/svg/copy.svg) no-repeat center;
  background-size: contain;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.copy:hover::before {
  opacity: 1;
}

@media (prefers-color-scheme: dark) {
  .copy::before {
    filter: invert(1);
  }
}

/* Blog/Timeline Section */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-1);
  opacity: 0.3;
}

.timeline-item {
  position: relative;
  padding-left: 70px;
  margin-bottom: 40px;
  animation: fadeInLeft 0.6s ease-out;
  opacity: 0;
  animation-fill-mode: forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gradient-1);
  border: 3px solid var(--bg-card);
  box-shadow: 0 0 0 3px var(--accent);
  z-index: 1;
}

.timeline-content {
  background: var(--bg-secondary);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  background: var(--bg);
  transform: translateX(5px);
  border-color: var(--accent);
}

.timeline-date {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.timeline-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.timeline-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.timeline-tag {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
  color: white;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 10px;
  opacity: 0.9;
}

/* Footer */
.footer {
  margin-top: 60px;
  padding: 20px 0;
  text-align: center;
  border-top: none;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-greetings {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-greetings:hover {
  color: var(--accent);
}

.footer-copyright {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Popup */
.popup {
  position: fixed;
  bottom: 30px;
  left: 50%;
  max-width: 500px;
  width: calc(100% - 40px);
  padding: 16px 24px;
  background: var(--bg-card);
  color: var(--text);
  font-weight: 500;
  font-size: 1rem;
  border-radius: 12px;
  z-index: 1000;
  transform: translateX(-50%) translateY(150%);
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 8px 30px var(--shadow);
  border: 1px solid var(--border);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.popup.error {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
}

.popup.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: all;
  visibility: visible;
}

.popup-text {
  line-height: 1.5;
}

/* Banner */
.banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner.show {
  opacity: 1;
  pointer-events: all;
}

.banner-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.banner-image {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: scaleIn 0.3s ease-out;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.slide-up {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.slide-up:nth-child(1) { animation-delay: 0.1s; }
.slide-up:nth-child(2) { animation-delay: 0.2s; }
.slide-up:nth-child(3) { animation-delay: 0.3s; }
.slide-up:nth-child(4) { animation-delay: 0.4s; }
.slide-up:nth-child(5) { animation-delay: 0.5s; }
.slide-up:nth-child(6) { animation-delay: 0.6s; }
.slide-up:nth-child(7) { animation-delay: 0.7s; }

/* Responsive Design */
@media (max-width: 768px) {
  .main-container {
    padding: 20px 15px;
  }

  .hero-section {
    padding: 40px 0 30px;
  }

  .hello {
    font-size: 2.5rem;
  }

  .intro-text {
    font-size: 1.1rem;
  }

  .card {
    padding: 20px;
    border-radius: 16px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .language-switcher {
    top: 15px;
    right: 15px;
    padding: 6px 10px;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    padding-left: 50px;
  }

  .timeline-item::before {
    left: 12px;
    width: 14px;
    height: 14px;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection */
::selection {
  background: var(--accent);
  color: white;
}

::-moz-selection {
  background: var(--accent);
  color: white;
}

/* Search Modal */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 10002;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.search-modal.active {
  opacity: 1;
  pointer-events: all;
}

.search-modal-content {
  width: 90%;
  max-width: 600px;
  background: var(--bg-card);
  border-radius: 20px;
  padding: 0;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.search-modal.active .search-modal-content {
  transform: translateY(0);
}

.search-input-wrapper {
  position: relative;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

.search-input {
  width: 100%;
  padding: 15px 50px 15px 20px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--bg-secondary);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.search-close {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-secondary);
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.search-close:hover {
  background: var(--bg-secondary);
  color: var(--text);
}

.search-results {
  max-height: 400px;
  overflow-y: auto;
  padding: 10px;
}

.search-result-item {
  padding: 15px;
  margin: 5px 0;
  background: var(--bg-secondary);
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-result-item:hover {
  background: var(--bg);
  border-color: var(--accent);
  transform: translateX(5px);
}

.search-result-title {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 5px;
}

.search-result-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.search-result-type {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent);
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 8px;
}

.search-result-item mark {
  background: rgba(99, 102, 241, 0.3);
  color: var(--accent);
  padding: 2px 4px;
  border-radius: 3px;
  font-weight: 600;
}

.search-no-results {
  padding: 40px 20px;
  text-align: center;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .search-modal {
    padding-top: 80px;
  }
  
  .search-modal-content {
    width: 95%;
  }
}

/* Hero Actions */
.hero-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.hire-me-btn, .cv-btn {
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
}

.hire-me-btn {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.hire-me-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.cv-btn {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}

.cv-btn:hover {
  background: var(--bg-secondary);
  transform: translateY(-2px);
}

/* Hire Me Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 40px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-secondary);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: var(--bg-secondary);
  color: var(--text);
}

.modal-content h2 {
  margin-top: 0;
  margin-bottom: 30px;
  color: var(--text);
}

.hire-options {
  display: grid;
  gap: 15px;
  margin-bottom: 30px;
}

.hire-option {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: var(--bg-secondary);
  border-radius: 12px;
  border-left: 3px solid var(--accent);
}

.option-icon {
  font-size: 1.5rem;
}

.modal-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.modal-btn {
  flex: 0 1 auto;
  min-width: 150px;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.modal-btn.primary {
  flex: 0 0 auto;
  min-width: 180px;
}

.modal-btn.primary {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
  color: white;
}

.modal-btn.secondary {
  background: var(--bg-secondary);
  color: var(--text);
  border: 1px solid var(--border);
}

.modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--shadow);
}

/* About Me Section */
.about-grid {
  display: grid;
  gap: 25px;
}

.about-block {
  padding: 20px;
  background: var(--bg-secondary);
  border-radius: 12px;
  border-left: 3px solid var(--accent);
}

.about-block h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--accent);
  font-size: 1.3rem;
}

.about-block p {
  margin: 0;
  line-height: 1.7;
  color: var(--text-secondary);
}

.values-list, .strengths-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.values-list li, .strengths-list li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: var(--text-secondary);
}

.values-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.strengths-list li::before {
  content: "⭐";
  position: absolute;
  left: 0;
}

.languages-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.language-item {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  background: var(--bg);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.language-name {
  font-weight: 600;
  color: var(--text);
}

.language-level {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.experience-list {
  display: grid;
  gap: 20px;
}

.experience-item {
  padding: 20px;
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid var(--border);
}

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

.experience-period {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.experience-item p {
  margin: 0;
  color: var(--text-secondary);
}

/* Tech Stack Section */
.tech-stack-grid {
  display: grid;
  gap: 30px;
}

.tech-category {
  padding: 20px;
  background: var(--bg-secondary);
  border-radius: 12px;
}

.tech-category-title {
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 1.4rem;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 10px;
}

.tech-items {
  display: grid;
  gap: 15px;
}

.tech-item {
  padding: 15px;
  background: var(--bg);
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.tech-item:hover {
  border-color: var(--accent);
  transform: translateX(5px);
}

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

.tech-name {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
}

.tech-last-used {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.proficiency-bar-container {
  position: relative;
  margin: 10px 0;
  height: 25px;
  background: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
}

.proficiency-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-hover) 100%);
  border-radius: 12px;
  transition: width 0.5s ease;
  position: relative;
}

.proficiency-text {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.tech-tag {
  padding: 4px 12px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent);
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
}

.tech-projects {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Projects Section */
.projects-grid {
  display: grid;
  gap: 30px;
}

.project-card {
  padding: 25px;
  background: var(--bg-secondary);
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.project-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--shadow);
}

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

.project-title {
  margin: 0;
  color: var(--text);
  font-size: 1.5rem;
}

.project-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.project-link {
  padding: 6px 12px;
  background: var(--bg);
  color: var(--accent);
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.project-link:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.project-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.project-tech-stack {
  margin-bottom: 20px;
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.tech-badge {
  padding: 6px 14px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent);
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
}

.project-contributions {
  margin-bottom: 20px;
}

.project-contributions ul {
  margin: 10px 0 0 0;
  padding-left: 20px;
  color: var(--text-secondary);
}

.project-contributions li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.project-problems-solutions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.problems, .solutions {
  padding: 15px;
  background: var(--bg);
  border-radius: 10px;
  border-left: 3px solid var(--accent);
}

.problems strong {
  color: #ef4444;
}

.solutions strong {
  color: #10b981;
}

.problems ul, .solutions ul {
  margin: 10px 0 0 0;
  padding-left: 20px;
  color: var(--text-secondary);
}

.problems li, .solutions li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* Portfolio Carousel */
.carousel-container {
  position: relative;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: var(--bg-secondary);
  padding: 20px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
}

.carousel-item {
  min-width: 100%;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.5s ease;
  position: relative;
}

.carousel-item.active {
  opacity: 1;
  transform: scale(1);
}

.carousel-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
}

.carousel-item-label {
  text-align: center;
  margin-top: 10px;
  color: var(--text-secondary);
  font-weight: 500;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

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

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.2);
}

/* Public Keys Section */
.keys-container {
  display: grid;
  gap: 30px;
}

.keys-intro {
  padding: 20px;
  background: var(--bg-secondary);
  border-radius: 12px;
  border-left: 3px solid var(--accent);
}

.keys-intro p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.key-section {
  padding: 25px;
  background: var(--bg-secondary);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.key-section h3 {
  margin-top: 0;
  color: var(--accent);
  font-size: 1.3rem;
}

.key-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 15px;
}

.key-content {
  position: relative;
  margin: 15px 0;
}

.key-text {
  display: block;
  padding: 15px;
  background: var(--bg);
  border-radius: 8px;
  border: 1px solid var(--border);
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  color: var(--text);
  word-break: break-all;
  white-space: pre-wrap;
  max-height: 200px;
  overflow-y: auto;
}

.copy-key-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 6px 12px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.copy-key-btn:hover {
  background: var(--accent-hover);
  transform: scale(1.05);
}

.key-info {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 15px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.key-info span {
  padding: 6px 12px;
  background: var(--bg);
  border-radius: 6px;
}

.keys-note {
  padding: 15px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 10px;
  border-left: 3px solid var(--accent);
}

.keys-note p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Responsive adjustments for new features */
@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hire-me-btn, .cv-btn {
    width: 100%;
  }

  .modal-content {
    padding: 25px;
    width: 95%;
  }

  .modal-actions {
    flex-direction: column;
  }

  .modal-btn {
    width: 100%;
  }

  .project-header {
    flex-direction: column;
  }

  .project-problems-solutions {
    grid-template-columns: 1fr;
  }

  .carousel-item img {
    height: 250px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}

/* Override normalize.css yellow mark background */
mark {
  background-color: transparent !important;
  color: inherit;
}

.show-banner mark {
  background-color: transparent !important;
}