/* Car Dashboard Interface 전용 스타일 */

/* 유틸리티 클래스 */
.hidden {
  display: none !important;
}

/* 폰트 설정 */
.font-dashboard {
  font-family: 'Roboto', 'Arial', sans-serif;
}

.font-digital {
  font-family: 'Orbitron', 'Courier New', monospace;
}

/* 대시보드 배경 설정 - 세련된 자동차 그라데이션 */
.dashboard-bg {
  background: 
    linear-gradient(135deg, #f8fafc 0%, #e2e8f0 25%, #cbd5e1 50%, #94a3b8 75%, #475569 100%);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark .dashboard-bg {
  background: 
    linear-gradient(135deg, #020617 0%, #0c1426 20%, #1e2338 40%, #2d3748 70%, #1a202c 100%);
}

/* 대시보드 컨테이너 */
.dashboard-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  position: relative;
}

/* 시동 대기 화면 */
.start-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  background: radial-gradient(circle, rgba(255,0,0,0.2) 0%, rgba(0,0,0,0.9) 70%);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 30;
}

.start-content {
  text-align: center;
  color: white;
}

.ignition-container {
  margin-bottom: 3rem;
  position: relative;
}

.ignition-ring {
  width: 200px;
  height: 200px;
  border: 4px solid rgba(255, 68, 68, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  animation: pulse-ring 0.6s infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7);
  }
  70% {
    box-shadow: 0 0 0 40px rgba(255, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 68, 68, 0);
  }
}

.ignition-btn {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ff4444, #cc0000);
  border: 6px solid #333;
  color: white;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 0 20px rgba(255, 68, 68, 0.3),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.ignition-btn:hover {
  background: radial-gradient(circle at 30% 30%, #ff6666, #ff0000);
  box-shadow: 
    0 0 40px rgba(255, 68, 68, 0.6),
    inset 0 0 20px rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.ignition-btn:active {
  transform: scale(0.95);
  animation: engine-start 0.4s ease-out;
}

@keyframes engine-start {
  0% { 
    background: radial-gradient(circle at 30% 30%, #ff4444, #cc0000);
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.3);
  }
  30% { 
    background: radial-gradient(circle at 30% 30%, #00ff00, #00cc00);
    box-shadow: 0 0 60px rgba(0, 255, 0, 0.8);
  }
  100% { 
    background: radial-gradient(circle at 30% 30%, #ff4444, #cc0000);
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.3);
  }
}

.ignition-icon {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.ignition-text {
  font-size: 0.9rem;
  font-weight: bold;
  font-family: 'Orbitron', monospace;
}

.pulse-indicator {
  width: 12px;
  height: 12px;
  background: #ff4444;
  border-radius: 50%;
  margin: 0 auto;
  animation: pulse 0.4s infinite;
}

@keyframes pulse {
  0%, 100% { 
    transform: scale(1); 
    opacity: 1; 
  }
  50% { 
    transform: scale(1.2); 
    opacity: 0.7; 
  }
}

/* 메인 대시보드 - 확대된 크기 */
.main-dashboard {
  width: 100%;
  max-width: 1400px;
  height: 850px;
  background: linear-gradient(145deg, #2a2a3e, #1a1a2e);
  border-radius: 20px;
  box-shadow: 
    inset 0 0 50px rgba(0,0,0,0.5),
    0 0 50px rgba(255,255,255,0.1),
    0 20px 40px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  z-index: 25;
}

.dark .main-dashboard {
  background: linear-gradient(145deg, #1a1a2e, #0f0f1e);
  box-shadow: 
    inset 0 0 50px rgba(255,255,255,0.02),
    0 0 80px rgba(0,0,0,0.6),
    0 25px 50px rgba(0,0,0,0.9);
}

/* 상단 패널 - 리브랜딩 */
.top-panel {
  height: 80px;
  background: rgba(0,0,0,0.3);
  border-bottom: 2px solid rgba(255,68,68,0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

/* ZEKKY.DEV 브랜드 로고 */
.brand-logo {
  font-family: 'Orbitron', monospace;
  font-size: 1.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ff4444 0%, #ff6666 25%, #ff8888 50%, #ffaa44 75%, #ff4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(255, 68, 68, 0.3);
  letter-spacing: 0.05em;
  position: relative;
  animation: brand-glow 0.8s ease-in-out infinite alternate;
}

.dark .brand-logo {
  background: linear-gradient(135deg, #ff4444 0%, #ff6666 20%, #ffaa44 40%, #44aaff 60%, #ff6666 80%, #ff4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(255, 68, 68, 0.4);
}

@keyframes brand-glow {
  0% {
    filter: brightness(1) saturate(1);
    text-shadow: 0 0 30px rgba(255, 68, 68, 0.3);
  }
  100% {
    filter: brightness(1.2) saturate(1.3);
    text-shadow: 0 0 40px rgba(255, 68, 68, 0.5);
  }
}

/* 시스템 상태 - 우측 끝 */
.system-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: white;
  font-family: 'Orbitron', monospace;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.15s ease;
}

.status-item:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 68, 68, 0.3);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: blink 0.6s infinite;
}

.status-dot.online {
  background: #00ff00;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* 중앙 패널 */
.center-panel {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 2rem;
  gap: 2rem;
}

/* 게이지 컨테이너 */
.gauge-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gauge {
  position: relative;
  width: 140px;
  height: 140px;
}

.gauge-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.gauge-bg {
  fill: none;
  stroke: rgba(255,255,255,0.1);
  stroke-width: 8;
}

.gauge-fill {
  fill: none;
  stroke: #ff4444;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 502;
  stroke-dashoffset: 502;
  transition: stroke-dashoffset 0.5s ease-in-out;
}

.gauge-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  font-family: 'Orbitron', monospace;
}

.gauge-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ff4444;
}

.gauge-label {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 0.25rem;
}

/* 중앙 디스플레이 - 확대된 크기 */
.center-display {
  flex: 1;
  height: 500px;
  background: linear-gradient(145deg, #0a0a0a, #1a1a1a);
  border: 2px solid rgba(255,68,68,0.3);
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.5);
  margin: 0 1rem;
}

/* 확대된 버전 */
.center-display-expanded {
  height: 600px;
}

.center-panel-expanded {
  padding: 1.5rem;
}

.gauge-large {
  width: 200px;
  height: 200px;
}

.display-content {
  width: 100%;
  height: 100%;
  position: relative;
}

.screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 2rem;
  color: white;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.15s ease;
  overflow-y: auto;
  z-index: 1;
  pointer-events: none;
}

.screen.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 10;
  pointer-events: auto;
}

/* 링크 기본 설정 */
a {
  position: relative;
  z-index: 200;
  pointer-events: auto;
  cursor: pointer;
}

/* 블로그 및 컨택트 텍스트는 포인터 없음 */
.blog-content p, .blog-content h3, .blog-categories span,
.contact-content p, .contact-content h3 {
  cursor: default;
  pointer-events: none;
}

.screen-header {
  border-bottom: 2px solid rgba(255,68,68,0.3);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.screen-header h2 {
  font-family: 'Orbitron', monospace;
  font-size: 1.5rem;
  font-weight: bold;
  color: #ff4444;
  margin: 0;
}

/* 홈 화면 */
.profile-info {
  text-align: center;
}

.profile-info-expanded {
  padding: 2rem 1rem;
}

.avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #ff4444, #ff6666);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
}

.avatar-large {
  width: 120px;
  height: 120px;
  font-size: 3rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 30px rgba(255, 68, 68, 0.3);
}

.profile-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: white;
}

.profile-info p {
  color: #ff4444;
  font-family: 'Orbitron', monospace;
  margin-bottom: 2rem;
}

.quick-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.quick-stats-expanded {
  gap: 3rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: #ff4444;
  font-family: 'Orbitron', monospace;
  letter-spacing: 0.1em;
}

.stat-label {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* About 화면 */
.about-content p {
  line-height: 1.6;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.about-content-expanded {
  padding: 1rem 0;
}

.specialty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.specialty-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  border: 1px solid rgba(255,68,68,0.2);
}

.specialty-icon {
  font-size: 1.2rem;
}

.specialties {
  margin-top: 2rem;
}

.specialties h4 {
  color: #ff4444;
  font-weight: bold;
  margin-bottom: 1rem;
}

.specialties ul {
  list-style: none;
  padding: 0;
}

.specialties li {
  padding: 0.5rem 0;
  opacity: 0.9;
}

/* Skills 화면 */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.skills-grid-expanded {
  gap: 2rem;
  padding: 1rem 0;
}

.skill-group h4 {
  color: #ff4444;
  font-weight: bold;
  margin-bottom: 1rem;
  font-family: 'Orbitron', monospace;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tags span {
  padding: 0.5rem 1rem;
  background: rgba(255,68,68,0.2);
  border: 1px solid rgba(255,68,68,0.5);
  border-radius: 20px;
  font-size: 0.8rem;
  color: white;
}

.skill-tag {
  padding: 0.6rem 1.2rem;
  background: rgba(255,68,68,0.25);
  border: 1px solid rgba(255,68,68,0.6);
  border-radius: 25px;
  font-size: 0.85rem;
  color: white;
  transition: all 0.15s ease;
}

.skill-tag:hover {
  background: rgba(255,68,68,0.4);
  transform: translateY(-2px);
}

/* Projects 화면 */
.projects-content {
  padding: 1rem 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.project-item {
  padding: 1.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,68,68,0.3);
  border-radius: 12px;
  text-align: center;
  transition: all 0.15s ease;
}

.project-item:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,68,68,0.5);
  transform: translateY(-3px);
}

.project-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.project-item h4 {
  color: #ff4444;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
  font-family: 'Orbitron', monospace;
}

.project-desc {
  line-height: 1.5;
  opacity: 0.9;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.project-tags span {
  padding: 0.25rem 0.75rem;
  background: rgba(255,68,68,0.2);
  border: 1px solid rgba(255,68,68,0.4);
  border-radius: 15px;
  font-size: 0.75rem;
  color: white;
}

/* Blog 화면 */
.blog-content {
  text-align: center;
  position: relative;
  z-index: inherit;
}

.blog-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.blog-content-expanded {
  padding: 1rem 0;
}

.blog-content h3 {
  color: #ff4444;
  margin-bottom: 1rem;
}

.blog-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.blog-categories-expanded {
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.category {
  padding: 0.25rem 0.75rem;
  background: rgba(255,255,255,0.1);
  border-radius: 15px;
  font-size: 0.8rem;
}

.blog-btn, .contact-btn {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(45deg, #ff4444, #ff6666) !important;
  border: none;
  border-radius: 8px;
  color: white !important;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.15s ease;
  text-align: center;
  text-decoration: none !important;
  display: inline-block !important;
  position: relative;
  z-index: 300 !important;
  pointer-events: auto !important;
}

a.blog-btn, a.contact-btn {
  color: white;
}

a.blog-btn:visited, a.contact-btn:visited {
  color: white;
}


.blog-btn-large, .contact-btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.blog-btn:hover, .contact-btn:hover {
  background: linear-gradient(45deg, #ff6666, #ff8888);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255,68,68,0.3);
}

/* Contact 화면 */
.contact-content {
  text-align: center;
  position: relative;
  z-index: inherit;
}

.contact-content-expanded {
  padding: 1rem 0;
}

.contact-methods {
  margin-bottom: 2rem;
}

.contact-methods-expanded {
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  padding: 1rem 1.5rem;
  margin: 0.75rem 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,68,68,0.2);
  border-radius: 10px;
  transition: all 0.15s ease;
}

.contact-item:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,68,68,0.4);
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.contact-label {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-bottom: 0.25rem;
  font-family: 'Orbitron', monospace;
}

.contact-value {
  font-size: 1rem;
  color: white;
  transition: all 0.15s ease;
  position: relative;
  z-index: 50;
  pointer-events: auto;
}

/* Fixed anchor tag styles - ensure proper clickability */
a, a:link, a:visited {
  position: relative;
  z-index: 50;
  pointer-events: auto;
  cursor: pointer;
  text-decoration: none;
}

a.contact-value {
  position: relative;
  z-index: 50;
  pointer-events: auto;
  cursor: pointer;
  display: inline-block;
}

.contact-value:hover {
  color: #ff4444;
  transform: translateX(2px);
  transition: all 0.15s ease;
}

/* 하단 패널 */
.bottom-panel {
  height: 120px;
  background: rgba(0,0,0,0.3);
  border-top: 2px solid rgba(255,68,68,0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.nav-controls {
  display: flex;
  gap: 1rem;
}

.nav-btn {
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: white;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 80px;
}

.nav-btn.active {
  background: rgba(255,68,68,0.3);
  border-color: #ff4444;
  box-shadow: 0 0 10px rgba(255,68,68,0.3);
}

.nav-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
}

.nav-icon {
  font-size: 1.2rem;
}

.nav-btn span {
  font-size: 0.7rem;
  font-family: 'Orbitron', monospace;
}

.system-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  color: white;
  font-family: 'Orbitron', monospace;
  font-size: 0.8rem;
}

/* 반응형 디자인 */
@media (max-width: 1500px) {
  .main-dashboard {
    max-width: 1300px;
    height: 800px;
  }
  
  .center-display {
    height: 480px;
  }
  
  .center-display-expanded {
    height: 580px;
  }
  
  .gauge {
    width: 130px;
    height: 130px;
  }
}

@media (max-width: 1400px) {
  .main-dashboard {
    max-width: 1200px;
    height: 750px;
  }
  
  .center-display {
    height: 450px;
  }
  
  .center-display-expanded {
    height: 550px;
  }
  
  .gauge {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 1200px) {
  .main-dashboard {
    max-width: 1000px;
    height: 700px;
  }
  
  .center-display {
    height: 400px;
  }
  
  .center-display-expanded {
    height: 500px;
  }
  
  .center-panel {
    gap: 1rem;
  }
  
  .gauge {
    width: 110px;
    height: 110px;
  }
}

@media (max-width: 768px) {
  .dashboard-container {
    padding: 1rem;
  }
  
  .main-dashboard {
    height: 90vh;
  }
  
  /* 모바일 브랜드 로고 */
  .brand-logo {
    font-size: 1.4rem;
  }
  
  .center-panel {
    flex-direction: column;
    gap: 1rem;
  }
  
  .center-panel-expanded {
    padding: 1rem;
  }
  
  .gauge-container {
    flex-direction: row;
    gap: 2rem;
  }
  
  .gauge {
    width: 100px;
    height: 100px;
  }
  
  .gauge-large {
    width: 110px;
    height: 110px;
  }
  
  .center-display {
    height: 320px;
  }
  
  .center-display-expanded {
    height: 380px;
  }
  
  .nav-controls {
    gap: 0.5rem;
  }
  
  .nav-btn {
    min-width: 60px;
    padding: 0.5rem;
  }
  
  .nav-icon {
    font-size: 1rem;
  }
  
  .nav-btn span {
    font-size: 0.6rem;
  }
  
  .quick-stats {
    gap: 1rem;
  }
  
  .quick-stats-expanded {
    gap: 1.5rem;
  }
  
  .stat-value {
    font-size: 1.5rem;
    letter-spacing: 0.1em;
  }
  
  .avatar-large {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }
  
  .projects-grid {
    gap: 1rem;
  }
  
  .project-item {
    padding: 1rem;
  }
  
  .specialty-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .ignition-btn {
    width: 80px;
    height: 80px;
  }
  
  .ignition-ring {
    width: 150px;
    height: 150px;
  }
  
  /* 소형 화면 브랜드 */
  .brand-logo {
    font-size: 1.2rem;
  }
  
  .system-status {
    gap: 0.5rem;
  }
  
  .status-item {
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
  }
  
  .start-content h1 {
    font-size: 1.5rem;
  }
  
  .start-content p {
    font-size: 1rem;
  }
  
  .top-panel, .bottom-panel {
    padding: 0 1rem;
  }
  
  .screen {
    padding: 1rem;
  }
  
  .skills-grid {
    gap: 1rem;
  }
}

/* Email and external link fixes */
a[href^="mailto:"], a[href^="https:"], a[href^="http:"] {
  position: relative !important;
  z-index: 100 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

a[href^="mailto:"]:hover, a[href^="https:"]:hover, a[href^="http:"]:hover {
  opacity: 0.8;
  transform: translateY(-1px);
  transition: all 0.1s ease;
}

/* Ensure buttons with links work properly */
.blog-btn[href], .contact-btn[href] {
  position: relative !important;
  z-index: 100 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* 접근성 */
@media (prefers-reduced-motion: reduce) {
  .ignition-ring {
    animation: none;
  }
  
  .pulse-indicator {
    animation: none;
  }
  
  .gauge-fill {
    transition: none;
  }
  
  .screen {
    transition: none;
  }
}

/* 터치 디바이스 최적화 */
@media (hover: none) and (pointer: coarse) {
  .nav-btn {
    padding: 1rem;
    min-width: 70px;
  }
  
  .ignition-btn {
    width: 100px;
    height: 100px;
  }
}