/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Grid Background */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(
      rgba(179, 251, 5, 0.048) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(179, 251, 5, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* Left Panel */
.left-panel {
  flex: 1;
  max-width: 800px;
  padding: 4rem 3.5rem 2rem 8%;
}

/* Right Panel */
.right-panel {
  width: 350px;
  padding: 4.75rem 2.5rem;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border-left: 1px solid rgba(179, 251, 5, 0.1);
  top: 0;
  height: 100%;
  overflow-y: auto;
  position: sticky;
}

.right-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: -1px;
  width: 1px;
  height: 100%;
  background: rgba(179, 251, 5, 0.1);
  z-index: 1;
}

.right-panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: -3px;
  width: 6px;
  height: 100px;
  background: radial-gradient(
    ellipse at center,
    rgba(179, 251, 5, 1),
    rgba(179, 251, 5, 0.6),
    transparent
  );
  border-radius: 50px;
  opacity: var(--glow-opacity, 0);
  transition: opacity 0.1s ease;
  z-index: 2;
  pointer-events: none;
  transform: translateY(calc(var(--glow-y, 0px) - 50px));
  box-shadow: 0 0 20px rgba(179, 251, 5, 0.6);
}

@media (min-width: 768px) {
  .right-panel {
    width: 47.1%;
  }
}

/* Status Indicator */
.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: #888;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #b3fb05;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

/* Typography */
.title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff, #b3fb05);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.creative-line {
  font-size: 1.1rem;
  margin-bottom: 3rem;
  color: #ddd;
}

.accent {
  color: #b3fb05;
  font-weight: 500;
}

/* Buttons */
.action-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-family: inherit;
}

.btn-primary {
  background: #b3fb05;
  color: #000;
}

.btn-primary:hover {
  background: #a0e300;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: #b3fb05;
  border: 1px solid #b3fb05;
}

.btn-secondary:hover {
  background: rgba(179, 251, 5, 0.1);
  transform: translateY(-1px);
}

.btn-tertiary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-tertiary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

/* Sections */
section {
  margin-bottom: 4rem;
}

section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #b3fb05;
}

/* Currently Section */
.currently p {
  color: #ccc;
  margin-bottom: 1rem;
}

.hobby-line {
  color: #999;
  font-style: italic;
}

/* Experience Section */
.job-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.job-item:hover {
  border-color: rgba(179, 251, 5, 0.3);
  background: rgba(0, 0, 0, 0.2);
}

.job-header {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
}

.job-expand {
  margin-right: 1rem;
  color: #666;
  transition: transform 0.3s ease;
}

.job-expand.expanded {
  transform: rotate(90deg);
}

.job-info {
  flex: 1;
}

.job-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.company {
  color: #b3fb05;
  font-size: 0.9rem;
}

.job-period {
  color: #888;
  font-size: 0.9rem;
}

.job-details {
  padding: 0 1.5rem 1.5rem 3.5rem;
  display: none;
}

.job-details.expanded {
  display: block;
}

.job-details p {
  color: #ccc;
  margin-bottom: 1rem;
  line-height: 1.6;
}

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

.tag {
  background: rgba(179, 251, 5, 0.1);
  color: #b3fb05;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  border: 1px solid rgba(179, 251, 5, 0.2);
}

/* Projects Section */
.project-item {
  display: block;
  border: 1px solid rgba(179, 251, 5, 0.2);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: rgba(179, 251, 5, 0.03);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.project-item:hover {
  border-color: rgba(179, 251, 5, 0.4);
  background: rgba(179, 251, 5, 0.05);
  transform: translateY(-2px);
}

.project-item.featured {
  border: 1px solid rgba(179, 251, 5, 0.2);
  background: rgba(179, 251, 5, 0.03);
  margin-bottom: 2rem;
}

.project-item.featured:hover {
  border-color: rgba(179, 251, 5, 0.4);
  background: rgba(179, 251, 5, 0.05);
  transform: translateY(-2px);
}

.project-item.clickable-project {
  cursor: pointer;
}

.project-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.project-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.project-item p {
  color: #ccc;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.project-tag {
  background: rgba(179, 251, 5, 0.1);
  color: #b3fb05;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  border: 1px solid rgba(179, 251, 5, 0.2);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.project-showcase {
  margin-top: 3rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.project-showcase h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #b3fb05;
}

.project-showcase p {
  color: #ccc;
  margin-bottom: 1.5rem;
}

.client-list {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.client-tag {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.client-tag:hover {
  background: rgba(179, 251, 5, 0.1);
  color: #b3fb05;
  border-color: rgba(179, 251, 5, 0.2);
}

/* Contact Section */
.contact-section h3 {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: #b3fb05;
}

.contact-item {
  margin-bottom: 1.5rem;
}

.contact-item label {
  display: block;
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-value {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-value span {
  color: #fff;
  font-size: 0.9rem;
}

.copy-btn {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  color: #b3fb05;
  background: rgba(179, 251, 5, 0.1);
}

/* Social Links */
.social-links {
  margin-top: 2rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.social-link:hover {
  color: #b3fb05;
}

.social-link:last-child {
  border-bottom: none;
}

/* Skills Section */
.skills-section {
  margin-top: 3rem;
  max-width: 350px;
}

.skills-section h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #b3fb05;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background: rgba(255, 255, 255, 0.05);
  color: #ccc;
  padding: 0.5rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background: rgba(179, 251, 5, 0.1);
  color: #b3fb05;
  border-color: rgba(179, 251, 5, 0.2);
}

/* Hobbies Section */
.hobbies-section {
  margin-top: 3rem;
}

.hobbies-section h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #b3fb05;
}

.hobby-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hobby-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #ccc;
  font-size: 0.9rem;
}

.hobby-item i {
  width: 16px;
  height: 16px;
  color: #b3fb05;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    flex-direction: column;
  }

  .right-panel {
    width: 100%;
    height: auto;
    position: relative;
    border-left: none;
    border-top: 1px solid rgba(179, 251, 5, 0.1);
    transition: border-top 0.3s ease, box-shadow 0.3s ease;
  }

  .right-panel::before {
    left: auto;
    top: -1px;
    width: 100%;
    height: 1px;
  }

  .right-panel::after {
    left: 0;
    top: -3px;
    width: 100px;
    height: 6px;
    background: radial-gradient(
      ellipse at center,
      rgba(179, 251, 5, 1),
      rgba(179, 251, 5, 0.6),
      transparent
    );
    transform: translateX(calc(var(--glow-x, 0px) - 50px));
    box-shadow: 0 0 20px rgba(179, 251, 5, 0.6);
  }

  .right-panel:hover {
    border-top: 1px solid rgba(179, 251, 5, 0.4);
    box-shadow: 0 -5px 20px rgba(179, 251, 5, 0.1);
    border-left: none;
  }

  .left-panel {
    padding: 2rem;
  }

  .right-panel {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .left-panel {
    padding: 1.5rem;
  }

  .right-panel {
    padding: 1.5rem;
  }

  .action-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .job-header {
    padding: 1rem;
  }

  .job-details {
    padding: 0 1rem 1rem 2.5rem;
  }
}

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

/* Copy Success Animation */
@keyframes copySuccess {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.copy-btn.copied {
  animation: copySuccess 0.3s ease;
  color: #b3fb05;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
  background: rgba(179, 251, 5, 0.3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(179, 251, 5, 0.5);
}
