/* Creative Modern Portfolio Style */
:root {
  --blue-dark: #06065D;
  --blue: #0E49B5;
  --blue-light: #A2DAE0;
  --red: #ED0101;
  --red-dark: #A70107;
  --yellow: #FFD600;
  --white: #fff;
  --black: #111;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  background: #f7f7f7;
  color: var(--blue-dark);
  overflow-x: hidden;
}

header, .intro-hero, main, .about, .projects, .project-detail, .contact, footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

header, .intro-hero {
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 4vw 1rem 4vw;
}

.logo {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--red);
  letter-spacing: 2px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--red);
}

.hero {
  text-align: center;
  margin-top: 4rem;
  padding-bottom: 2rem;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 900;
  color: var(--blue-light);
  margin-bottom: 1.2rem;
  letter-spacing: 2.5px;
  text-shadow: 2px 2px 0 var(--red);
}

.hero p {
  font-size: 1.6rem;
  color: var(--white);
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.95;
}

main {
  padding: 3rem 0 2rem 0;
  margin: 0;
  max-width: none;
}

section {
  margin-bottom: 3.5rem;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(.4,1.6,.6,1), transform 0.7s cubic-bezier(.4,1.6,.6,1);
}

section.visible {
  opacity: 1;
  transform: none;
}

h2 {
  font-size: 2.2rem;
  color: var(--red);
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.about {
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

.about, .about-card, .about-card-flex, .about-social-block {
  max-width: none;
  margin: 0;
  width: 100%;
  border-radius: 0;
  box-shadow: none;
  border: none;
  padding-left: 0;
  padding-right: 0;
}

.about h2 {
  font-size: 2.1rem;
  color: var(--red);
  margin-bottom: 1.1rem;
  font-weight: 800;
  letter-spacing: 1.1px;
}

.about p {
  font-size: 1.13rem;
  color: var(--blue-dark);
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.98;
  line-height: 1.7;
}

.about-social-heading {
  margin-top: 2.1rem;
  margin-bottom: 0.7rem;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--blue-dark);
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.about-social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 0.7rem;
}

.about-social-link {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  transition: color 0.18s;
  opacity: 0.92;
}

.about-social-link:hover {
  color: var(--blue-dark);
  text-decoration: underline;
  opacity: 1;
}

.projects {
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

.projects, .folder-grid, .project-detail, .project-header-bg, .project-header-content {
  max-width: none;
  margin: 0;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.projects-title {
  margin-bottom: 1.5rem;
}

.folder-grid {
  margin-top: 0;
  margin-bottom: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem 2.5rem;
  justify-items: center;
  align-items: center;
}

.folder {
  width: 100%;
  max-width: 320px;
  min-width: 200px;
  height: 110px;
  background: #111;
  position: relative;
  clip-path: polygon(0 20%, 15% 20%, 15% 0, 100% 0, 100% 100%, 0 100%);
  display: flex;
  align-items: flex-end;
  transition: transform 0.25s cubic-bezier(.4,1.6,.6,1), box-shadow 0.25s, background 0.25s;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  cursor: pointer;
}

.folder:hover {
  transform: translateY(-10px) scale(1.04) rotate(-2deg);
  box-shadow: 0 12px 36px rgba(237,1,1,0.18), 0 2px 8px rgba(0,0,0,0.10);
  background: var(--red, #ED0101);
  z-index: 2;
}

.folder:active {
  transform: scale(0.98) rotate(-1deg);
}

.folder-label {
  color: #fff;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 1.2rem 1.1rem 1.1rem 1.1rem;
  line-height: 1.1;
  text-align: left;
  pointer-events: none;
}

.contact {
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

.contact-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact-description {
  font-size: 1.2rem;
  color: var(--blue-dark);
  margin-bottom: 2rem;
  line-height: 1.6;
  opacity: 0.9;
}

.contact-options {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.contact-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--red);
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.8rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(237,1,1,0.2);
}

.contact-email-btn:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(237,1,1,0.3);
}

.contact-social {
  margin-top: 1rem;
}

.contact-social p {
  font-size: 1rem;
  color: var(--blue-dark);
  margin-bottom: 1rem;
  opacity: 0.8;
}

.contact-social-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.contact-social-link {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}

.contact-social-link:hover {
  color: var(--blue-dark);
  background: #f7f7f7;
}

footer {
  background: var(--red-dark);
  color: var(--white);
  text-align: center;
  padding: 1.5rem 0;
  font-size: 1rem;
  letter-spacing: 1px;
  margin-top: 2rem;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.project-header-bg {
  width: 100vw;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.project-header-content {
  position: relative;
  width: 100vw;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3vw 4vw 0 4vw;
  box-sizing: border-box;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.project-title-main {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  font-size: 4vw;
  font-weight: 700;
  color: #000000;
  margin: 0;
  letter-spacing: -2px;
  line-height: 1.1;
  position: relative;
  z-index: 2;
}
.project-title-main .amp {
  color: #000000;
  font-weight: 400;
}
.project-title-main .lens,
.project-title-main .frames {
  font-weight: 700;
}

.project-red-bar,
.project-blue-bar {
  width: 100vw;
  height: 18px;
  margin: -1vw 0 2vw 0;
  position: relative;
  z-index: 1;
  border-radius: 2px;
}
.project-red-bar {
  background: var(--red);
}
.project-blue-bar {
  background: var(--blue);
}

.project-yellow-bar {
  width: 100vw;
  height: 18px;
  background: var(--yellow);
  margin: -1vw 0 2vw 0;
  position: relative;
  z-index: 1;
  border-radius: 2px;
}

@media (max-width: 1100px) {
  .folder-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem 1.5rem;
  }
}

@media (max-width: 900px) {
  main {
    padding: 2rem 1vw 1.5rem 1vw;
  }
}

@media (max-width: 700px) {
  nav {
    flex-direction: column;
    gap: 1rem;
  }
  .hero {
    margin-top: 2rem;
    padding-bottom: 1rem;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .folder-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem 0;
  }
  .folder {
    max-width: 98vw;
    min-width: 0;
    width: 95vw;
  }
  .projects-title {
    position: static;
    margin-bottom: 1.5rem;
    text-align: right;
    display: block;
  }
  main {
    padding: 1.2rem 0.5vw 1rem 0.5vw;
  }
  .project-header-content {
    padding: 6vw 2vw 0 2vw;
  }
  .project-title-main {
    font-size: 2.2rem;
  }
  .project-info-box {
    max-width: 98vw;
    padding: 1.2rem 1rem;
  }
  header {
    min-height: 220px;
    padding-bottom: 2rem;
  }
  .about > div, .about-card {
    padding: 1.1rem 0.5rem;
    border-radius: 0.7rem;
    max-width: 98vw;
  }
  .about h2 {
    font-size: 1.2rem;
  }
  .about p {
    font-size: 0.98rem;
  }
  .about-social-links {
    gap: 0.7rem;
    flex-wrap: wrap;
  }
  .about-social-link {
    font-size: 0.98rem;
  }
  main, .about, .about-card, .about-card-flex, .about-social-block, .projects, .folder-grid, .project-detail, .project-header-bg, .project-header-content, .contact, .contact form, footer {
    padding-left: 0;
    padding-right: 0;
    max-width: none;
    width: 100%;
  }
  .contact form {
    padding: 1.1rem 0.5rem;
    max-width: 98vw;
  }
  .contact input, .contact textarea {
    font-size: 0.98rem;
    padding: 0.8rem 0.7rem;
  }
  .contact button {
    font-size: 1rem;
    padding: 0.9rem;
  }
  .contact-content {
    padding: 0 1rem;
  }
  .contact-description {
    font-size: 1.1rem;
  }
  .contact-email-btn {
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
  }
  .contact-social-links {
    gap: 1rem;
  }
  .contact-social-link {
    font-size: 1rem;
    padding: 0.4rem 0.8rem;
  }
}

/* Enhanced Intro Hero Section */
.intro-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  height: 100vh;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}
.intro-year, .portfolio-grid, .intro-meta {
  align-self: center;
  justify-self: center;
}
.intro-year {
  font-size: 1.5rem;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  color: #222;
  letter-spacing: 0.25em;
  margin-bottom: 2.2rem;
  font-weight: 500;
  text-align: center;
  position: relative;
}
.intro-year::before, .intro-year::after {
  content: '•';
  color: #222;
  font-size: 1.2em;
  margin: 0 0.5em;
  opacity: 0.7;
}
.intro-year::before { margin-left: 0; }
.intro-year::after { margin-right: 0; }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(5, 70px);
  grid-template-rows: repeat(2, 70px);
  gap: 18px 18px;
  margin-bottom: 2.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  border-radius: 0.7rem;
  background: rgba(255,255,255,0.7);
  padding: 0.7rem 1.2rem;
  width: auto;
  min-width: 370px;
  max-width: 95vw;
  justify-content: center;
}
.grid-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  font-size: 3.3rem;
  font-weight: 900;
  color: #111;
  background: #edeae5;
  width: 70px;
  height: 70px;
  border-radius: 0.2rem;
  box-shadow: 0 1.5px 8px rgba(0,0,0,0.04);
  text-transform: uppercase;
  letter-spacing: -0.05em;
  transition: transform 0.18s;
  max-width: 100%;
  max-height: 100%;
  box-sizing: border-box;
}
.grid-letter:hover {
  transform: scale(1.08) rotate(-2deg);
  background: #fffbe6;
  color: var(--red);
}
.grid-letter.empty-cell {
  background: transparent;
  box-shadow: none;
  pointer-events: none;
  user-select: none;
  border: none;
}
.intro-meta {
  width: 100%;
  max-width: 420px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  font-size: 1.1rem;
  color: #222;
  margin-top: 0.5rem;
  font-style: italic;
  opacity: 0.85;
}
.intro-left {
  text-align: left;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  color: #444;
  font-style: italic;
}
.intro-right {
  text-align: right;
  font-size: 1.13rem;
  font-weight: 600;
  color: var(--blue-dark);
  letter-spacing: 0.04em;
  font-style: normal;
}
@media (max-width: 700px) {
  .portfolio-grid {
    grid-template-columns: repeat(5, 16vw);
    grid-template-rows: repeat(2, 16vw);
    gap: 2vw 2vw;
    padding: 0.3rem 0.2rem;
    min-width: 0;
    max-width: 100vw;
  }
  .grid-letter {
    width: 16vw;
    height: 16vw;
    min-width: 32px;
    min-height: 32px;
    font-size: 1.3rem;
  }
  .intro-meta {
    max-width: 90vw;
    font-size: 0.98rem;
  }
}

.about-card-flex {
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 2.5rem;
  background: #fff;
  box-shadow: 0 4px 32px rgba(14,73,181,0.08), 0 1.5px 8px rgba(237,1,1,0.04);
  border: 1.5px solid #edeae5;
  border-radius: 1.2rem;
  padding: 2.2rem 2.2rem;
  max-width: 600px;
  width: 100%;
  position: relative;
}
.about-img-col {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 180px;
  padding-right: 1.5rem;
  border-right: 1.5px solid #edeae5;
}
.about-profile-img {
  width: 170px;
  height: 170px;
  max-width: 170px;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  display: block;
}
.about-social-block {
  margin-top: 1.1rem;
  width: 100%;
  background: none;
  text-align: center;
}
.about-social-heading {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--blue-dark);
  letter-spacing: 0.04em;
  opacity: 0.7;
}
.about-social-links {
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  margin-bottom: 0.2rem;
}
.about-social-link {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  transition: color 0.18s, box-shadow 0.18s;
  opacity: 0.92;
  padding: 0.1rem 0.3rem;
  border-radius: 0.3rem;
}
.about-social-link:hover {
  color: var(--blue-dark);
  text-decoration: underline;
  opacity: 1;
  background: #f7f7f7;
  box-shadow: 0 2px 8px rgba(14,73,181,0.07);
}
.about-text-col {
  flex: 1 1 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 1.5rem;
}
.about-text-col h2 {
  margin-top: 0;
}
@media (max-width: 900px) {
  .about-card-flex {
    max-width: 98vw;
    padding: 1.2rem 0.5rem;
    gap: 1.2rem;
  }
  .about-img-col {
    min-width: 120px;
    padding-right: 0.7rem;
    border-right: 1px solid #edeae5;
  }
  .about-profile-img {
    width: 110px;
    height: 110px;
  }
  .about-text-col {
    padding-left: 0.7rem;
  }
}
@media (max-width: 700px) {
  .about-card-flex {
    flex-direction: column;
    gap: 1.1rem;
    padding: 1.1rem 0.5rem;
    max-width: 98vw;
  }
  .about-img-col {
    min-width: 0;
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid #edeae5;
    padding-bottom: 1.1rem;
    margin-bottom: 1.1rem;
  }
  .about-profile-img {
    width: 90px;
    height: 90px;
  }
  .about-text-col {
    padding-left: 0;
    text-align: center;
    align-items: center;
  }
}

.intro-year, .portfolio-grid, .grid-letter, .intro-meta, .about, .about-card, .about-card-flex, .about-social-heading, .about-social-links, .about-social-link, .about-text-col, .projects-title, .folder-label, .contact, .contact form, .contact input, .contact textarea, .contact button, footer {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif !important;
}

.folder a, a.folder, .folder-label {
  text-decoration: none !important;
}

.illustrations-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin: 0 auto 0 auto;
  max-width: 900px;
  width: 100%;
  align-items: center;
}
.illustration-part {
  width: 100%;
  background: #fff;
  border-radius: 1.1rem;
  box-shadow: 0 2px 16px rgba(14,73,181,0.06), 0 1.5px 8px rgba(237,1,1,0.03);
  padding: 1.5rem 1.2rem;
  text-align: center;
}
.illustration-heading {
  font-size: 1.3rem;
  color: var(--blue-dark);
  font-weight: 700;
  margin-bottom: 1.1rem;
  letter-spacing: 0.04em;
}
.illustration-placeholder {
  background: #f7f7f7;
  border: 1.5px dashed var(--blue-light);
  border-radius: 0.7rem;
  color: #aaa;
  font-size: 1.08rem;
  padding: 2.2rem 0.5rem;
  margin: 0 auto;
  max-width: 600px;
}
@media (max-width: 700px) {
  .illustrations-content {
    gap: 1.2rem;
    max-width: 98vw;
  }
  .illustration-part {
    padding: 0.8rem 0.3rem;
  }
  .illustration-placeholder {
    font-size: 0.98rem;
    padding: 1.1rem 0.2rem;
  }
  .illustration-gallery {
    max-width: 95vw;
    gap: 0.8rem;
  }
  .illustration-image {
    min-width: 120px;
    width: calc(33.333% - 0.53rem);
    border-radius: 0.6rem;
    box-shadow: 0 3px 15px rgba(14,73,181,0.08);
  }
}

.lensframes-placeholder {
  background: #f7f7f7;
  border: 1.5px dashed var(--red);
  border-radius: 0.7rem;
  color: #aaa;
  font-size: 1.08rem;
  padding: 2.2rem 0.5rem;
  margin: 0 auto 0 auto;
  max-width: 600px;
  text-align: center;
  margin-top: 0 !important;
}
@media (max-width: 700px) {
  .lensframes-placeholder {
    font-size: 0.98rem;
    padding: 1.1rem 0.2rem;
    margin-top: 0;
  }
}

.project-detail {
  display: block !important;
}

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 0.7rem;
}
.footer-social-link {
  color: var(--blue-dark);
  opacity: 0.85;
  transition: color 0.18s, opacity 0.18s, transform 0.18s;
  display: inline-flex;
  align-items: center;
}
.footer-social-link:hover {
  color: var(--red);
  opacity: 1;
  transform: scale(1.12);
}
.footer-social-link svg {
  display: block;
}

.illustration-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  justify-items: center;
  align-items: start;
  margin-bottom: 2rem;
}

.illustration-image {
  aspect-ratio: 1 / 1;
  max-width: 320px;
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 2px 16px 0 rgba(26,43,107,0.08);
}

@media (max-width: 900px) {
  .illustration-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .illustration-gallery {
    grid-template-columns: 1fr;
  }
  .illustration-image {
    aspect-ratio: unset;
    height: auto;
    min-width: 120px;
    max-width: 98vw;
    border-radius: 0.6rem;
    box-shadow: 0 3px 15px rgba(14,73,181,0.08);
  }
}

.illustration-shortcuts {
  margin: 1.5rem auto 2.2rem auto;
  text-align: center;
  display: flex;
  justify-content: center;
  width: auto;
  max-width: none;
}
.illustration-shortcuts-list {
  display: flex;
  gap: 1.1rem;
  background: rgba(220, 235, 255, 0.7);
  border-radius: 2.5rem;
  padding: 0.5rem 1.2rem;
  margin: 0;
  list-style: none;
  box-shadow: 0 2px 12px rgba(14,73,181,0.07);
}
.illustration-shortcuts-list li {
  display: flex;
}
.illustration-shortcut-link {
  display: block;
  padding: 0.5rem 1.3rem;
  border-radius: 2rem;
  font-weight: 600;
  color: var(--blue-dark);
  text-decoration: none;
  font-size: 1.08rem;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 1px 4px rgba(14,73,181,0.04);
}
.illustration-shortcut-link:hover, .illustration-shortcut-link:focus {
  background: var(--blue-light, #e3f0ff);
  color: var(--blue);
  outline: none;
  box-shadow: 0 2px 8px rgba(14,73,181,0.10);
}
.illustration-shortcut-link:active {
  background: var(--blue, #b3d8ff);
  color: #fff;
}
@media (max-width: 700px) {
  .illustration-shortcuts-list {
    gap: 0.5rem;
    padding: 0.3rem 0.3rem;
  }
  .illustration-shortcut-link {
    font-size: 0.98rem;
    padding: 0.4rem 0.7rem;
  }
}

.back-to-illustrations {
  display: inline-block;
  margin: 1.3rem auto 0 auto;
  padding: 0.38rem 1.2rem 0.38rem 1.2rem;
  background: rgba(220, 235, 255, 0.7);
  color: var(--blue-dark);
  border-radius: 2rem;
  font-size: 1.02rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 1px 6px rgba(14,73,181,0.07);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  text-align: center;
}
.back-to-illustrations:hover, .back-to-illustrations:focus {
  background: var(--blue-light, #e3f0ff);
  color: var(--blue);
  outline: none;
  box-shadow: 0 2px 10px rgba(14,73,181,0.12);
  transform: translateY(-2px) scale(1.04);
}

.secret-color-mode {
  background: linear-gradient(135deg, #ffe259 0%, #ffa751 100%) !important;
  animation: rainbowBG 8s linear infinite;
}
@keyframes rainbowBG {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}
.secret-color-mode .folder {
  background: #fff700 !important;
  color: #222 !important;
  box-shadow: 0 0 32px 0 #ffe25999;
}
.secret-color-mode .folder-label {
  color: #222 !important;
}
.secret-color-mode .project-header-bg {
  background: linear-gradient(120deg, #ffe259 0%, #ffa751 100%) !important;
}
.secret-mode-msg {
  position: fixed;
  top: 2vw;
  left: 50%;
  transform: translateX(-50%);
  background: #fff700;
  color: #222;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 1rem 2.2rem;
  border-radius: 2rem;
  box-shadow: 0 4px 24px #ffa75199;
  z-index: 9999;
  letter-spacing: 1px;
  animation: popIn 0.5s;
}

.rainbow-mode {
  background: linear-gradient(270deg, #ff0080, #7928ca, #007cf0, #00dfd8, #ff0080) !important;
  background-size: 400% 400%;
  animation: rainbowBG 12s linear infinite !important;
}
@keyframes rainbowBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.rainbow-mode .project-header-bg {
  background: linear-gradient(120deg, #ff0080, #7928ca, #007cf0, #00dfd8, #ff0080) !important;
  background-size: 400% 400%;
  animation: rainbowBG 12s linear infinite !important;
}
#scroll-progress-bar.rainbow {
  background: linear-gradient(90deg, #ff0080, #7928ca, #007cf0, #00dfd8, #ff0080);
  background-size: 400% 400%;
  animation: rainbowBG 12s linear infinite !important;
}
.rainbow-mode .folder {
  animation: folderRainbow 2s linear infinite alternate !important;
}
@keyframes folderRainbow {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}
.secret-mode-msg {
  position: fixed;
  top: 2vw;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #ff0080;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 1.1rem 2.2rem;
  border-radius: 2rem;
  box-shadow: 0 4px 24px #7928ca99;
  z-index: 9999;
  letter-spacing: 1px;
  animation: popIn 0.5s;
  text-align: center;
}
@keyframes popIn {
  from { opacity: 0; transform: translateX(-50%) scale(0.7); }
  to { opacity: 1; transform: translateX(-50%) scale(1); }
}

#scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 5px;
  background: linear-gradient(90deg, #0E49B5 0%, #ED0101 100%);
  z-index: 9999;
  transition: width 0.2s cubic-bezier(.4,1.6,.6,1);
  box-shadow: 0 2px 8px rgba(14,73,181,0.12);
}

.scroll-down-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2.5rem auto 0 auto;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(.4,2,.6,1), box-shadow 0.2s;
  outline: none;
  animation: bounce-arrow 2s infinite;
}
.scroll-down-arrow svg {
  display: block;
}
.scroll-down-arrow:active {
  transform: scale(0.95);
}
@keyframes bounce-arrow {
  0%, 100% { transform: translateY(0); }
  20% { transform: translateY(8px); }
  40% { transform: translateY(0); }
}
