
/* Base Styles */
:root {
  --futuristic-dark-gray: #1A1F2C;
  --futuristic-silver: #8E9196;
  --futuristic-glow-blue: #33C3F0;
  --futuristic-bright-blue: #0FA0CE;
  --futuristic-glow-purple: #9b87f5;
  --futuristic-glow-green: #4ade80;
  --futuristic-glow-pink: #D946EF;
  --content-width: 1140px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #121520;
  color: #FFFFFF;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Glass Effect Styles */
.header-glass {
  backdrop-filter: blur(8px);
  background-color: rgba(26, 31, 44, 0.6);
  border-bottom: 1px solid rgba(142, 145, 150, 0.2);
  z-index: 1000;
}


.glassmorphism {
  background: rgba(26, 31, 44, 0.4);
  border-radius: 8px;
  border: 1px solid rgba(142, 145, 150, 0.2);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.glow-effect {
  box-shadow: 0 0 15px rgba(155, 135, 245, 0.15);
}

.futuristic-card {
  background: rgba(26, 31, 44, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(142, 145, 150, 0.1);
  padding: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(108, 155, 207, 0.15);
}

/* Enhanced Button Styles */
.futuristic-button {
  background: linear-gradient(90deg, var(--futuristic-glow-blue), var(--futuristic-bright-blue));
  border: none;
  border-radius: 6px;
  color: white;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(51, 195, 240, 0.3);
}

.futuristic-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(51, 195, 240, 0.3), 0 0 10px rgba(51, 195, 240, 0.2);
  color: white;
}

.futuristic-button:active {
  transform: translateY(1px);
}

.futuristic-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.futuristic-button:hover::after {
  left: 100%;
}

.futuristic-button-secondary {
  background-color: transparent;
  border: 1px solid rgba(142, 145, 150, 0.3);
  border-radius: 6px;
  color: white;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
}

.futuristic-button-secondary:hover {
  background-color: rgba(142, 145, 150, 0.1);
  border-color: var(--futuristic-glow-blue);
  color: white;
}

/* Enhanced Input Styles */
.futuristic-input-container {
  position: relative;
  overflow: hidden;
}

.futuristic-input-container::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--futuristic-glow-blue), var(--futuristic-glow-purple));
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.futuristic-input-container:focus-within::before {
  transform: scaleX(1);
}

.futuristic-input {
  background-color: rgba(26, 31, 44, 0.7) !important;
  border: 1px solid rgba(142, 145, 150, 0.2) !important;
  color: white !important;
  border-radius: 6px !important;
  padding: 0.75rem 1rem !important;
  transition: all 0.3s ease !important;
}

.futuristic-input:focus {
  box-shadow: 0 0 0 2px rgba(51, 195, 240, 0.2) !important;
  border-color: var(--futuristic-glow-blue) !important;
  outline: none !important;
}

.futuristic-input::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

/* Enhanced Select Styles */
.futuristic-select {
  background-color: rgba(26, 31, 44, 0.7) !important;
  border: 1px solid rgba(142, 145, 150, 0.2) !important;
  color: white !important;
  border-radius: 6px !important;
  padding: 0.75rem 1rem !important;
  transition: all 0.3s ease !important;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2333C3F0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
}

.futuristic-select:focus {
  box-shadow: 0 0 0 2px rgba(51, 195, 240, 0.2) !important;
  border-color: var(--futuristic-glow-blue) !important;
  outline: none !important;
}

/* Navigation Styles */
.navbar-brand {
  color: white;
  font-weight: 600;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--futuristic-glow-blue);
}

/* Logo Circle */
.logo-circle {
  height: 2rem;
  width: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--futuristic-glow-blue), var(--futuristic-bright-blue));
  animation: pulse-glow 2s infinite;
}

/* Text Styles */
.glow-text {
  color: var(--futuristic-glow-blue);
  text-shadow: 0 0 10px rgba(51, 195, 240, 0.3);
}

.text-light-gray {
  color: rgba(255, 255, 255, 0.8);
}

.text-primary {
  color: var(--futuristic-glow-blue) !important;
}

/* Background Styles */
.bg-dark-gradient {
  background-color: rgba(26, 31, 44, 0.3);
}

.radial-gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(155, 135, 245, 0.1), transparent);
  z-index: -1;
}

.futuristic-gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(155, 135, 245, 0.2) 0%, rgba(51, 195, 240, 0.2) 100%);
  opacity: 0.5;
  z-index: -1;
}

/* Enhanced Animation Styles */
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(51, 195, 240, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(51, 195, 240, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(51, 195, 240, 0);
  }
}

.animation-fade-in {
  animation: fade-in 1s ease-out forwards;
}

@keyframes fade-in {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 15px rgba(51, 195, 240, 0.15);
}

/* Hero Animation */
.hero-animation {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.code-window {
  width: 100%;
  max-width: 500px;
  background-color: #1E2132;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
  animation: float 6s ease-in-out infinite;
}

.code-header {
  display: flex;
  align-items: center;
  background-color: #252A3C;
  padding: 0.75rem 1rem;
}

.code-dots {
  display: flex;
  gap: 6px;
}

.code-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
}

.code-dots span:nth-child(1) {
  background-color: #FF5F57;
}

.code-dots span:nth-child(2) {
  background-color: #FEBC2E;
}

.code-dots span:nth-child(3) {
  background-color: #28C840;
}

.code-title {
  margin-left: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.code-body {
  padding: 1rem;
  overflow-x: auto;
}

.code-body pre {
  margin: 0;
}

.code-body code {
  color: #E0E0E0;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  display: block;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Enhanced GitHub Contribution Graph */
.github-graph-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.github-graph {
  min-width: 900px;
  position: relative;
}

.github-graph::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, transparent 90%, rgba(26, 31, 44, 0.8) 100%);
  pointer-events: none;
}

.contribution-grid {
  display: grid;
  grid-template-columns: repeat(53, 1fr);
  gap: 1px; /* Reduced gap for denser layout */
}

.contribution-week {
  display: grid;
  grid-template-rows: repeat(7, 1fr);
  gap: 1px; /* Reduced gap for vertical alignment */
}

.contribution-day {
  width: 16px;  /* Bigger cell size */
  height: 16px;
  border-radius: 2px;
  transition: 0.3s all;
  cursor: pointer;
}

.contribution-day:hover {
  transform: scale(1.3);
  box-shadow: 0 0 8px var(--futuristic-glow-green);
}

.contribution-level {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  display: inline-block;
}

.level-0 {
  background-color: #1F2434;
}

.level-1 {
  background-color: rgba(74, 222, 128, 0.2);
}

.level-2 {
  background-color: rgba(74, 222, 128, 0.4);
}

.level-3 {
  background-color: rgba(74, 222, 128, 0.6);
}

.level-4 {
  background-color: rgba(74, 222, 128, 0.8);
}

/* Blur utility classes */
.blur {
  filter: blur(20px);
}

.blur-sm {
  filter: blur(8px);
}

.blur-md {
  filter: blur(16px);
}

.blur-lg {
  filter: blur(24px);
}

.blur-xl {
  filter: blur(40px);
}

.blur-2xl {
  filter: blur(60px);
}

.blur-3xl {
  filter: blur(80px);
}

/* Enhanced utility classes */
.translate-x-25 {
  transform: translateX(25%);
}

.translate-y-n25 {
  transform: translateY(-25%);
}

/* Settings page enhancements */
.settings-tab {
  border: 1px solid rgba(142, 145, 150, 0.2);
  border-radius: 6px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.settings-tab.active {
  border-color: var(--futuristic-glow-blue);
  background-color: rgba(51, 195, 240, 0.1);
}

.settings-tab:hover:not(.active) {
  border-color: rgba(142, 145, 150, 0.4);
}

.settings-panel {
  display: none;
  animation: fade-in 0.5s ease-out forwards;
}

.settings-panel.active {
  display: block;
}

.settings-card {
  border: 1px solid rgba(142, 145, 150, 0.2);
  border-radius: 8px;
  padding: 1.25rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.settings-card:hover {
  border-color: rgba(51, 195, 240, 0.5);
  background-color: rgba(26, 31, 44, 0.8);
}

.settings-card.selected {
  border-color: var(--futuristic-glow-blue);
  background-color: rgba(51, 195, 240, 0.1);
}

/* Slider styling */
.range-slider {
  -webkit-appearance: none;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--futuristic-glow-blue), var(--futuristic-bright-blue));
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%; 
  background: white;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(51, 195, 240, 0.5);
}

.range-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(51, 195, 240, 0.5);
  border: none;
}

/* Radio and checkbox styling */
.futuristic-radio-container {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
}

.futuristic-radio-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.radio-checkmark {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 20px;
  width: 20px;
  background-color: rgba(26, 31, 44, 0.7);
  border: 1px solid rgba(142, 145, 150, 0.3);
  border-radius: 50%;
}

.futuristic-radio-container:hover input ~ .radio-checkmark {
  border-color: var(--futuristic-glow-blue);
}

.futuristic-radio-container input:checked ~ .radio-checkmark {
  border-color: var(--futuristic-glow-blue);
}

.radio-checkmark:after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--futuristic-glow-blue);
  transform: scale(0);
  transition: transform 0.2s ease;
}

.futuristic-radio-container input:checked ~ .radio-checkmark:after {
  transform: scale(1);
  box-shadow: 0 0 10px rgba(51, 195, 240, 0.5);
}

/* Media Queries */
@media (max-width: 992px) {
  .github-graph-container {
    overflow-x: auto;
  }
}

@media (max-width: 768px) {
  .display-4 {
    font-size: 2.5rem;
  }
  
  .display-5 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .display-4 {
    font-size: 2rem;
  }
  
  .display-5 {
    font-size: 1.75rem;
  }
}

.footer-glass {
  background: rgba(25, 30, 45, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
  font-size: 15px;
  padding: 4rem 0; /* More height for breathing space */
  font-family: 'Segoe UI', sans-serif;
}

.footer-glass h5 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-glass h6 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-glass p,
.footer-glass li {
  font-size: 1rem;
  line-height: 1.8;
  color: #cccccc;
}

.footer-glass ul {
  padding-left: 0;
  list-style: none;
}

.footer-glass li {
  margin-bottom: 0.5rem;
}

.footer-glass a {
  color: #7ef3c2;
  font-weight: 500;
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-glass a:hover {
  color: #4ade80;
  text-decoration: underline;
}

.logo-circle {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #4ade80, #22c55e);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
}

.footer-glass .fw-bold {
  color: #ffffff;
}

/* Responsive improvements */
@media (max-width: 768px) {
  .footer-glass {
    text-align: center;
  }

  .footer-glass .row > div {
    margin-bottom: 2rem;
  }
}
