:root {
  --margin-section: 1rem;
  --space-12: 2rem;
  --space-10: 1rem;
  --space-8: 1rem;
  --space-6: 1rem;

  --global-radius: 12px;
}

body {
  overflow-x: hidden;
  font-size: 15px;
}

.container {
  padding-inline: 15px;
  width: 100%;
}

section {
  padding-block: 60px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
}

header {
  width: calc(100% - 20px);
  padding: 0.8rem 1rem;
  top: 10px;
}

.header-container {
  gap: 1rem;
}

.logo-area {
  gap: 15px;
}

.logo-3d {
  width: 40px;
  height: 40px;
}

.logo-face {
  font-size: 1.2rem;
}

.logo-3d:hover {
  transform: none;
}

#menu-toggle {
  padding: 5px;
}

#main-nav ul li a {
  font-size: 1.8em;
}

#hero {
  min-height: auto;
  padding-block: 140px 60px;
  display: block;
}

.hero-container-new {
  grid-template-columns: 1fr;
  gap: 40px;
  text-align: center;
}

.hero-text-content {
  order: 1;
  text-align: center;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero-description {
  margin-inline: auto;
  font-size: 1rem;
  max-width: 100%;
}

.hero-container-img {
  order: 2;
  max-width: 80%;
  margin: 0 auto;
}

.floating-elements {
  display: none;
}

#about {
  padding: 2rem 1.5rem;
}

.about-container {
  grid-template-columns: 1fr;
  gap: 40px;
}

.about-text {
  text-align: left;
}

.about-quote {
  border-left: none;
  border-top: 1px solid var(--color-border);
  padding-left: 0;
  padding-top: 30px;
  font-size: 1.4em;
  text-align: center;
}

.quote-text {
  transform: none !important;
}

.projects-grid {
  grid-template-columns: 1fr;
  gap: 30px;
}

.project-card {
  min-height: auto;
  transform: none !important;
}

.project-card:hover {
  transform: translateY(-5px) !important;
}

.project-image-container {
  aspect-ratio: 16 / 9;
}

.project-info h4 {
  font-size: 1.5em;
}

.news-layout {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-progress-bar {
  display: none;
}

.news-container {
  width: 100%;
  gap: 20px;
}

.news-card {
  padding: 1.5rem;
}

.news-date {
  font-size: 0.85em;
  opacity: 0.8;
}

.news-content pre[class*="language-"] {
  padding: 1rem;
  font-size: 0.8em;
}

.code-copy-btn {
  width: 44px;
  height: 44px;
  opacity: 1;
  background: var(--color-surface);
}

.vlog-grid {
  grid-template-columns: 1fr;
  gap: 20px;
}

.vlog-card-title {
  font-size: 1.3em;
}

#contact {
  padding: 2rem 1rem;
}

.social-links {
  gap: 10px;
}

.social-links a {
  width: 50px;
  height: 50px;
  font-size: 1.4rem;
}

.social-links a:hover {
  width: 50px;
  transform: translateY(-3px);
  padding-left: 0;
  justify-content: center;
}

.link-text {
  display: none;
}

.email-link {
  font-size: 1.1em;
  padding: 15px 30px;
  width: 100%;
  word-break: break-all;
}

footer {
  padding: 20px;
}

footer p {
  font-size: 0.9em;
}

#scrollToTopBtn {
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
}

.animate-on-scroll {
  transition-duration: 0.5s;
}

.tech-card,
.repo-card,
.project-card {
  transform-style: flat !important;
}

.project-overlay {
  opacity: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

:root {
  --shadow-1: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-2: 0 8px 24px rgba(0, 0, 0, 0.08);
}
