/* Futuristic Skills Section Styles */

/* Background Elements */
.skill-bg-gradient {
  background: radial-gradient(circle at center, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  animation: pulse-gradient 8s ease-in-out infinite;
}

@keyframes pulse-gradient {
  0%, 100% { opacity: 0.1; }
  50% { opacity: 0.2; }
}

.neural-grid {
  pointer-events: none;
  opacity: 0.05;
}

.neural-grid-horizontal,
.neural-grid-vertical {
  position: absolute;
  inset: 0;
  background-size: 50px 50px;
}

.neural-grid-horizontal {
  background-image: linear-gradient(to right, rgba(99, 102, 241, 0.5) 1px, transparent 1px);
}

.neural-grid-vertical {
  background-image: linear-gradient(to bottom, rgba(99, 102, 241, 0.5) 1px, transparent 1px);
}

.neural-grid-nodes {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(99, 102, 241, 0.5) 1px, transparent 1px);
  background-size: 50px 50px;
}

.tech-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.tech-particle {
  position: absolute;
  background-color: rgba(99, 102, 241, 0.5);
  border-radius: 50%;
  animation: float-particle 20s linear infinite;
}

@keyframes float-particle {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.5; }
  90% { opacity: 0.5; }
  100% { transform: translateY(-100vh) translateX(20px); opacity: 0; }
}

.data-flow-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
  opacity: 0.3;
  top: var(--top);
  animation: data-flow var(--speed) linear infinite;
  animation-delay: var(--delay);
}

@keyframes data-flow {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Decorative Elements */
.tech-orb {
  position: relative;
  width: 100px;
  height: 100px;
}

.tech-orb-rings {
  position: absolute;
  inset: 0;
}

.tech-orb-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(99, 102, 241, 0.5);
  border-radius: 50%;
  animation: tech-ring-rotate 15s linear infinite;
}

@keyframes tech-ring-rotate {
  0% { transform: rotate(0deg) scale(0.8); }
  100% { transform: rotate(360deg) scale(1.2); }
}

.tech-orb-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.8), transparent 70%);
  border-radius: 50%;
  animation: tech-core-pulse 4s ease-in-out infinite;
}

@keyframes tech-core-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
  50% { transform: translate(-50%, -50%) scale(1.5); opacity: 1; }
}

.tech-cube {
  position: relative;
  width: 60px;
  height: 60px;
  transform-style: preserve-3d;
  transform: rotateX(-30deg) rotateY(45deg);
  animation: tech-cube-rotate 20s linear infinite;
}

@keyframes tech-cube-rotate {
  0% { transform: rotateX(-30deg) rotateY(0deg); }
  100% { transform: rotateX(-30deg) rotateY(360deg); }
}

.tech-cube-face {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(99, 102, 241, 0.3);
  opacity: 0.3;
  background: rgba(99, 102, 241, 0.05);
}

.tech-cube-front { transform: translateZ(30px); }
.tech-cube-back { transform: translateZ(-30px) rotateY(180deg); }
.tech-cube-top { transform: rotateX(90deg) translateZ(30px); }
.tech-cube-bottom { transform: rotateX(-90deg) translateZ(30px); }
.tech-cube-left { transform: rotateY(-90deg) translateZ(30px); }
.tech-cube-right { transform: rotateY(90deg) translateZ(30px); }

/* Section Title */
.tech-badge {
  position: relative;
  display: inline-flex;
  padding: 0.5rem 1.5rem;
  background: rgba(19, 19, 31, 0.7);
  border-radius: 30px;
  overflow: hidden;
  z-index: 1;
}

.tech-badge-glow {
  position: absolute;
  inset: -5px;
  background: radial-gradient(circle at center, var(--color-primary) 0%, transparent 70%);
  opacity: 0.1;
  filter: blur(10px);
  animation: badge-glow-pulse 4s ease-in-out infinite;
  z-index: -1;
}

@keyframes badge-glow-pulse {
  0%, 100% { opacity: 0.1; }
  50% { opacity: 0.3; }
}

.tech-badge-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.tech-badge-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--color-primary);
  text-transform: uppercase;
}

.tech-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--color-primary);
  animation: badge-icon-pulse 3s ease-in-out infinite;
}

@keyframes badge-icon-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.tech-gradient-text {
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 8s linear infinite;
}

@keyframes gradient-shift {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.tech-heading-decoration {
  position: relative;
  margin-top: 0.5rem;
}

.tech-heading-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
}

.tech-heading-dots {
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.tech-heading-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.7;
  animation: dot-pulse 3s ease-in-out infinite;
}

.tech-heading-dot:nth-child(2) {
  animation-delay: 0.5s;
  background: var(--color-secondary);
}

.tech-heading-dot:nth-child(3) {
  animation-delay: 1s;
  background: var(--color-accent);
}

@keyframes dot-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.5); opacity: 1; }
}

.tech-heading-glow {
  position: absolute;
  inset: -10px;
  background: radial-gradient(ellipse at center, var(--color-primary) 0%, transparent 70%);
  opacity: 0.1;
  filter: blur(10px);
  z-index: -1;
  animation: heading-glow-pulse 6s ease-in-out infinite;
}

@keyframes heading-glow-pulse {
  0%, 100% { opacity: 0.1; transform: scale(1); }
  50% { opacity: 0.2; transform: scale(1.1); }
}

.tech-subtitle {
  position: relative;
  display: inline-block;
}

.tech-subtitle-highlight {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  animation: subtitle-highlight-scan 3s linear infinite;
}

@keyframes subtitle-highlight-scan {
  0% { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}

/* Skills Grid */
.tech-skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .tech-skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tech-skills-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
  }
}

/* Skill Card - Clean Design */
.tech-skill-card {
  position: relative;
  background: rgba(19, 19, 31, 0.7);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 12px;
  padding: 1.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  height: 100%;
  min-height: 420px;
}

.tech-skill-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
}

/* Clean Header Design */
.tech-skill-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.tech-skill-icon-container {
  position: relative;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.1);
}

.tech-skill-icon {
  font-size: 1.25rem;
  color: var(--color-primary);
  transition: all 0.3s ease;
}

.tech-skill-card:hover .tech-skill-icon {
  color: var(--color-secondary);
}

.tech-skill-title-container {
  flex: 1;
}

.tech-skill-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.25rem;
  letter-spacing: 0.5px;
}

.tech-skill-tag {
  font-size: 0.7rem;
  color: var(--color-primary);
  opacity: 0.7;
  font-family: monospace;
  transition: color 0.3s ease;
  position: absolute;
  top: 0;
  right: 0;
}

.tech-skill-card:hover .tech-skill-tag {
  color: var(--color-secondary);
}

/* Clean Description */
.tech-skill-description {
  color: var(--color-text-alt);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  min-height: 80px;
  display: flex;
  align-items: center;
}

/* Clean Skills List */
.tech-skills-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex: 1;
}

.tech-skill-item {
  position: relative;
  margin-bottom: 0.5rem;
}

.tech-skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.tech-skill-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.tech-skill-icon-small {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: color 0.3s ease;
  font-size: 0.9rem;
  width: 20px;
}

.tech-skill-card:hover .tech-skill-icon-small {
  color: var(--color-secondary);
}

.tech-skill-percent {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: color 0.3s ease;
}

.tech-skill-card:hover .tech-skill-percent {
  color: var(--color-secondary);
}

/* Clean Progress Bar */
.tech-skill-progress-container {
  position: relative;
  height: 6px;
  width: 100%;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.tech-skill-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--percent);
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 3px;
  transition: width 1.5s ease-in-out, background 0.3s ease;
}

.tech-skill-progress-glow {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--percent);
  background: var(--color-primary);
  border-radius: 3px;
  filter: blur(4px);
  opacity: 0.2;
  transition: all 0.3s ease;
}

.tech-skill-card:hover .tech-skill-progress-glow {
  opacity: 0.3;
  background: var(--color-secondary);
}

/* Subtle Decorative Elements */
.tech-skill-decorations {
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  pointer-events: none;
  opacity: 0.03;
  z-index: 0;
}

.tech-skill-circuit {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(90deg, transparent 49%, rgba(99, 102, 241, 0.5) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(99, 102, 241, 0.5) 50%, transparent 51%);
  background-size: 8px 8px;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

/* Subtle Hover Effects */
.tech-skill-hover-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.tech-skill-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, var(--color-primary) 0%, transparent 70%);
  opacity: 0;
  filter: blur(20px);
  transition: all 0.3s ease;
}

.tech-skill-card:hover .tech-skill-glow {
  opacity: 0.05;
  background: radial-gradient(circle at center, var(--color-secondary) 0%, transparent 70%);
}

/* Tech Icons Grid */
.tech-section-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 3rem 0;
}

.tech-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
}

.tech-divider-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  padding: 0 1rem;
}

.tech-icons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .tech-icons-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .tech-icons-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .tech-icons-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.tech-icon-card {
  position: relative;
  height: 120px;
  perspective: 1000px;
  cursor: pointer;
}

.tech-icon-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.tech-icon-card:hover .tech-icon-inner {
  transform: rotateY(180deg);
}

.tech-icon-front,
.tech-icon-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(19, 19, 31, 0.7);
  border: 1px solid rgba(99, 102, 241, 0.3);
  overflow: hidden;
}

.tech-icon-back {
  transform: rotateY(180deg);
}

.tech-icon-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.tech-icon-symbol {
  font-size: 2rem;
  color: var(--color-primary);
  transition: all 0.3s ease;
}

.tech-icon-card:hover .tech-icon-symbol {
  color: var(--color-secondary);
}

.tech-icon-name {
  font-size: 1rem;
  font-weight: 600;
}

.tech-icon-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
}

.tech-icon-level {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
}

.tech-icon-description {
  font-size: 0.8rem;
  color: var(--color-text-alt);
  text-align: center;
}

.tech-icon-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, var(--color-primary) 0%, transparent 70%);
  opacity: 0;
  filter: blur(15px);
  transition: all 0.3s ease;
  z-index: -1;
}

.tech-icon-card:hover .tech-icon-glow {
  opacity: 0.15;
}

/* Currently Learning Section */
.tech-learning-section {
  margin-top: 4rem;
}

.tech-learning-header {
  text-align: center;
  margin-bottom: 2rem;
}

.tech-learning-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tech-learning-subtitle {
  font-size: 0.9rem;
  color: var(--color-text-alt);
  margin-bottom: 1rem;
}

.tech-learning-decoration {
  position: relative;
  width: 100px;
  height: 2px;
  margin: 0 auto;
}

.tech-learning-line {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.tech-learning-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: learning-pulse 3s ease-in-out infinite;
}

@keyframes learning-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(2); opacity: 0.5; }
}

.tech-learning-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.tech-learning-badge {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: rgba(19, 19, 31, 0.7);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 30px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tech-learning-badge:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.tech-learning-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--color-primary);
  transition: all 0.3s ease;
}

.tech-learning-badge:hover .tech-learning-badge-icon {
  transform: scale(1.1);
  color: var(--color-secondary);
}

.tech-learning-badge-text {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.tech-learning-badge-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: var(--progress);
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transition: all 0.3s ease;
}

.tech-learning-badge:hover .tech-learning-badge-progress {
  height: 4px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
}

.tech-learning-badge-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, var(--color-primary) 0%, transparent 70%);
  opacity: 0;
  filter: blur(15px);
  transition: all 0.3s ease;
  z-index: -1;
}

.tech-learning-badge:hover .tech-learning-badge-glow {
  opacity: 0.15;
  background: radial-gradient(circle at center, var(--color-secondary) 0%, transparent 70%);
}

/* Burst Particle Animation */
.tech-burst-particle {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
}
