/* Reset a základní styly */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #000;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 0%, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.10) 20%, rgba(24,25,28,0.0) 40%, transparent 70%);
    opacity: 0.7;
    mix-blend-mode: lighten;
}

@keyframes bg-rays {
    0% {
        background-position:
            0% 0%,
            100% 100%,
            0% 100%;
    }
    100% {
        background-position:
            100% 0%,
            0% 100%,
            100% 100%;
    }
}


/* Main Header */
.main-header {
    position: relative;
    height: 22vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    overflow: hidden;
}

.header-content {
    text-align: center;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    transition: transform 0.1s ease-out;
}

/* Projects Container */
.projects-container {
    padding: 1rem 0 0.5rem 0;
    max-width: 1400px;
    margin: 0 auto;
}

.main-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.projects-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 0.1rem;
  margin-bottom: 0.7rem;
}

.project-tile {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  margin: 0 auto;
  min-height: 410px;
}

@media (max-width: 1200px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}
@media (max-width: 700px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
  .main-container {
    padding: 0 0.5rem;
  }
  .project-tile {
    min-height: 320px;
  }
  .footer {
    padding: 0.5rem 0 0.5rem 0;
    margin-top: 0.5rem;
  }
}

/* Boxy: rámečky a barevnost */
.project-tile {
    border-radius: 24px;
    border: 2.5px solid transparent;
    background: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    min-width: 0;
    min-height: 480px;
    transition: box-shadow 0.4s cubic-bezier(0.4,0.2,0.2,1), border-color 0.4s cubic-bezier(0.4,0.2,0.2,1), transform 0.35s cubic-bezier(0.4,0.2,0.2,1);
    overflow: hidden;
    position: relative;
}
.project-tile[data-project="tattoo"] {
    border-color: #b0dc00;
}
.project-tile[data-project="tattoo"]::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top right, #b0dc00 0%, #90a344 20%, #708a33 40%, #507122 60%, #305811 80%, rgba(0,0,0,0) 100%);
    opacity: 0.25 !important;
    filter: blur(30px);
    z-index: 0;
    border-radius: 24px;
}

.project-tile[data-project="fest"] {
    border-color: #d72660;
}

.project-tile[data-project="haircut"] {
    border-color: #ff6b9d;
}
.project-tile[data-project="haircut"]::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top right, #ff6b9d 0%, #e55a87 20%, #cc4971 40%, #b2385b 60%, #992745 80%, rgba(0,0,0,0) 100%);
    opacity: 0.25 !important;
    filter: blur(30px);
    z-index: 0;
    border-radius: 24px;
}
.project-tile[data-project="fest"]::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top right, #d72660 0%, #95405c 20%, #732a48 40%, #511434 60%, #2f0e20 80%, rgba(0,0,0,0) 100%);
    opacity: 0.25 !important;
    filter: blur(30px);
    z-index: 0;
    border-radius: 24px;
}

.project-tile[data-project="streetwear"] {
    border-color: #fff;
}
.project-tile[data-project="streetwear"]::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top right, #fff 0%, #ccc 20%, #999 40%, #666 60%, #333 80%, rgba(0,0,0,0) 100%);
    opacity: 0.25 !important;
    filter: blur(30px);
    z-index: 0;
    border-radius: 24px;
}

.project-tile[data-project="event"] {
    border-color: #19e6a5;
}
.project-tile[data-project="event"]::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top right, #19e6a5 0%, #42aa89 20%, #6b6e6d 40%, #943251 60%, #bd1635 80%, #d72660 90%, rgba(0,0,0,0) 100%);
    opacity: 0.25 !important;
    filter: blur(30px);
    z-index: 0;
    border-radius: 24px;
}

.project-tile:hover,
.project-tile:active {
    box-shadow: 0 16px 48px rgba(0,0,0,0.35);
    z-index: 2;
    transform: scale(1.04);
}

/* Synchronizace obsahu a spacingu */
.tile-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2.2rem 1.2rem 2rem 1.2rem;
    box-sizing: border-box;
}
.project-illustration {
    height: 90px;
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.project-logo {
    margin-bottom: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.project-logo-img {
    width: 240px !important;
    height: 81px !important;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.18));
    transition: filter 0.4s cubic-bezier(0.4,0.2,0.2,1), transform 0.4s cubic-bezier(0.4,0.2,0.2,1);
}
.project-logo-img {
    transition: transform 0.4s cubic-bezier(0.4,0.2,0.2,1);
}
.project-tile:hover .project-logo-img,
.project-tile:active .project-logo-img {
    transform: scale(1.67) translateY(-20px);
}
.project-tile[data-project="tattoo"] .project-logo-img,
.project-tile[data-project="fest"] .project-logo-img {
    filter: brightness(0) invert(1) drop-shadow(0 4px 8px #b0dc00);
}
.project-tile[data-project="streetwear"] .project-logo-img {
    filter: brightness(0) invert(1) drop-shadow(0 4px 8px #00ffe7);
}
.project-tile[data-project="event"] .project-logo-img {
    filter: drop-shadow(0 4px 8px #d72660);
}

.haircut-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ff6b9d;
}

.haircut-logo i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.haircut-logo span {
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}
.project-title {
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    letter-spacing: 0.04em;
    text-align: center;
    width: 100%;
}
.project-description {
    color: #e0e0e0;
    line-height: 1.5;
    margin-bottom: 1.1rem;
    font-size: 1rem;
    text-align: center;
    width: 100%;
}
.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    margin-bottom: 1.1rem;
    width: 100%;
}

/* Tagy */
.project-tile[data-project="tattoo"] .feature {
    background: rgba(176, 220, 0, 0.18);
    color: #b0dc00;
    border: 1.5px solid #b0dc00;
}
.project-tile[data-project="fest"] .feature {
    background: rgba(215, 38, 96, 0.18);
    color: #d72660;
    border: 1.5px solid #d72660;
}
.project-tile[data-project="streetwear"] .feature {
    background: rgba(0,255,231,0.13);
    color: #00ffe7;
    border: 1.5px solid #00ffe7;
}
.project-tile[data-project="event"] .feature {
    background: rgba(215, 38, 96, 0.18);
    color: #d72660;
    border: 1.5px solid #d72660;
}

.project-tile[data-project="haircut"] .feature {
    background: rgba(255, 107, 157, 0.18);
    color: #ff6b9d;
    border: 1.5px solid #ff6b9d;
}
.feature {
    padding: 0.32em 1.1em;
    border-radius: 16px;
    font-size: 0.92em;
    font-weight: 500;
    transition: background 0.4s cubic-bezier(0.4,0.2,0.2,1), color 0.4s cubic-bezier(0.4,0.2,0.2,1);
}

/* Odkazy */
.project-links {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: auto;
    justify-content: center;
    width: 100%;
}
.project-link {
    padding: 0.6rem 1.3rem;
    border-radius: 20px;
    font-size: 1em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5em;
    border: none;
    transition: background 0.4s cubic-bezier(0.4,0.2,0.2,1), color 0.4s cubic-bezier(0.4,0.2,0.2,1);
}
.project-tile[data-project="tattoo"] .project-link {
    background: linear-gradient(45deg, #b0dc00, #8bc34a);
    color: #222;
}
.project-tile[data-project="fest"] .project-link {
    background: linear-gradient(45deg, #d72660, #e91e63);
    color: #fff;
}
.project-tile[data-project="streetwear"] .project-link {
    background: linear-gradient(45deg, #232323, #00ffe7);
    color: #fff;
}
.project-tile[data-project="event"] .project-link {
    background: linear-gradient(45deg, #d72660, #19e6a5);
    color: #fff;
}

.project-tile[data-project="haircut"] .project-link {
    background: linear-gradient(45deg, #ff6b9d, #d72660);
    color: #fff;
}
.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25em;
    background: rgba(255,255,255,0.08);
    border: 1.5px solid transparent;
    color: #fff;
    transition: background 0.4s cubic-bezier(0.4,0.2,0.2,1), border-color 0.4s cubic-bezier(0.4,0.2,0.2,1), color 0.4s cubic-bezier(0.4,0.2,0.2,1);
}
.project-tile[data-project="tattoo"] .social-link {
    border-color: #b0dc00;
    color: #b0dc00;
}
.project-tile[data-project="fest"] .social-link {
    border-color: #d72660;
    color: #d72660;
}
.project-tile[data-project="streetwear"] .social-link {
    border-color: #00ffe7;
    color: #00ffe7;
}
.project-tile[data-project="event"] .social-link {
    border-color: #d72660;
    color: #d72660;
}

.project-tile[data-project="haircut"] .social-link {
    border-color: #ff6b9d;
    color: #ff6b9d;
}
.social-link:hover,
.social-link:active {
    background: rgba(255,255,255,0.18);
    color: #fff;
}

/* DAFUQ - vyladěná paleta */
.project-tile[data-project="streetwear"] .feature {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1.5px solid #fff;
}
.project-tile[data-project="streetwear"] .project-link {
    background: linear-gradient(90deg, #232323 60%, #fff 100%);
    color: #181818;
    font-weight: 700;
    border: 1.5px solid #fff;
}
.project-tile[data-project="streetwear"] .social-link {
    border-color: #fff;
    color: #fff;
    background: rgba(255,255,255,0.08);
}
.project-tile[data-project="streetwear"] .project-logo-img {
    filter: brightness(0) invert(1) grayscale(1) drop-shadow(0 4px 8px #fff);
}
.project-tile[data-project="streetwear"] .art-element {
    background: linear-gradient(45deg, #fff, #222, #888, #fff);
    opacity: 0.7;
}

/* Tile-specific glass effect styles */
.project-tile[data-project="tattoo"] .glass-effect {
    background: linear-gradient(145deg, rgba(176, 220, 0, 0.1), rgba(176, 220, 0, 0.05));
    border: 1px solid rgba(176, 220, 0, 0.3);
}

.project-tile[data-project="fest"] .glass-effect {
    background: linear-gradient(145deg, rgba(215, 38, 96, 0.1), rgba(215, 38, 96, 0.05));
    border: 1px solid rgba(215, 38, 96, 0.3);
}

.project-tile[data-project="streetwear"] .glass-effect {
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.05));
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.project-tile[data-project="event"] .glass-effect {
    background: linear-gradient(145deg, rgba(215, 38, 96, 0.1), rgba(25, 230, 165, 0.05));
    border: 1px solid rgba(215, 38, 96, 0.3);
}

.project-tile[data-project="haircut"] .glass-effect {
    background: linear-gradient(145deg, rgba(255, 107, 157, 0.1), rgba(215, 38, 96, 0.05));
    border: 1px solid rgba(255, 107, 157, 0.3);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.project-card:hover::before {
    transform: translateX(100%);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Digital Art Illustrations */
.art-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    opacity: 0.7;
    animation: pulse 4s ease-in-out infinite;
}

/* Tile-specific art element colors */
.project-tile[data-project="tattoo"] .art-element {
    background: linear-gradient(45deg, #b0dc00, #8bc34a, #4caf50, #8bc34a);
}

.project-tile[data-project="fest"] .art-element {
    background: linear-gradient(45deg, #d72660, #e91e63, #f44336, #d72660);
}

.project-tile[data-project="streetwear"] .art-element {
    background: linear-gradient(45deg, #000000, #333333, #666666, #000000);
}

.project-tile[data-project="event"] .art-element {
    background: linear-gradient(45deg, #d72660, #19e6a5, #00bcd4, #d72660);
}

.project-tile[data-project="haircut"] .art-element {
    background: linear-gradient(45deg, #ff6b9d, #d72660, #ff8fab, #ff6b9d);
}

.art-element-1 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.art-element-2 {
    width: 40px;
    height: 40px;
    top: 60%;
    right: 25%;
    animation-delay: 1s;
}

.art-element-3 {
    width: 30px;
    height: 30px;
    bottom: 30%;
    left: 30%;
    animation-delay: 2s;
}

.art-element-4 {
    width: 50px;
    height: 50px;
    top: 40%;
    right: 10%;
    animation-delay: 3s;
}

/* Project Content */
.project-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
}

.project-logo {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 0.7rem 0;
    width: 100%;
}

.project-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.7rem 0;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.04em;
}

.project-description {
    color: #e0e0e0;
    line-height: 1.5;
    margin: 0 0 0.7rem 0;
    font-size: 1rem;
    text-align: center;
    width: 100%;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    margin: 0 0 0.7rem 0;
    width: 100%;
}

.project-socials {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    margin: 0 0 0.7rem 0;
    width: 100%;
}

.project-web {
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Project Logo */
.project-logo {
    margin-top: 0.4rem;
    margin-bottom: 0.7rem;
}

.project-logo-img {
    max-width: 200px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

.project-logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
}

/* Tile-specific logo adjustments */
.project-tile[data-project="tattoo"] .project-logo-img {
    filter: brightness(0) invert(1) drop-shadow(0 4px 8px rgba(176, 220, 0, 0.3));
    width: 200px !important;
    height: 68px !important;
    object-fit: contain;
}

.project-tile[data-project="fest"] .project-logo-img {
    filter: brightness(0) invert(1) drop-shadow(0 4px 8px rgba(215, 38, 96, 0.3));
    width: 200px;
    height: 65px;
    object-fit: contain;
}

.project-tile[data-project="streetwear"] .project-logo-img {
    filter: brightness(0) invert(1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
    width: 200px;
    height: 65px;
    object-fit: contain;
}

.project-tile[data-project="event"] .project-logo-img {
    /* FINDING EVENT - původní barvy bez změny */
    filter: drop-shadow(0 4px 8px rgba(215, 38, 96, 0.3));
    width: 200px;
    height: 65px;
    object-fit: contain;
}



.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #ffffff;
    letter-spacing: 0.05em;
}

.project-description {
    color: #cccccc;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.6rem;
    border-radius: 15px;
    font-size: 0.75rem;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

/* Tile-specific feature styles */
.project-tile[data-project="tattoo"] .feature {
    background: rgba(176, 220, 0, 0.2);
    color: #b0dc00;
    border: 1px solid rgba(176, 220, 0, 0.4);
}

.project-tile[data-project="fest"] .feature {
    background: rgba(215, 38, 96, 0.2);
    color: #d72660;
    border: 1px solid rgba(215, 38, 96, 0.4);
}

.project-tile[data-project="streetwear"] .feature {
    background: rgba(0, 0, 0, 0.2);
    color: #000000;
    border: 1px solid rgba(0, 0, 0, 0.4);
}

.project-tile[data-project="event"] .feature {
    background: rgba(215, 38, 96, 0.2);
    color: #d72660;
    border: 1px solid rgba(215, 38, 96, 0.4);
}

.feature:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.project-links {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border-radius: 22px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
    min-width: 130px;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    color: #ffffff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.2rem;
    transition: transform 0.3s cubic-bezier(0.4,0.2,0.2,1), background 0.4s, color 0.4s;
}
.social-link:hover,
.social-link:active {
    transform: scale(1.18);
}

/* Tile-specific button styles */
.project-tile[data-project="tattoo"] .project-link {
    background: linear-gradient(45deg, #b0dc00, #8bc34a);
    box-shadow: 0 4px 15px rgba(176, 220, 0, 0.3);
}

.project-tile[data-project="fest"] .project-link {
    background: linear-gradient(45deg, #d72660, #e91e63);
}

.project-tile[data-project="streetwear"] .project-link {
    background: linear-gradient(45deg, #000000, #333333);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.project-tile[data-project="event"] .project-link,
.project-tile[data-project="event"] .social-link {
  background: linear-gradient(270deg, #d72660, #19e6a5, #d72660, #19e6a5);
  background-size: 600% 600%;
  animation: fe-gradient 2.2s linear infinite;
  color: #fff;
  border: none;
  transition: background 0.3s, box-shadow 0.3s;
}
.project-tile[data-project="event"] .project-link:hover,
.project-tile[data-project="event"] .social-link:hover {
  animation: fe-gradient 0.8s linear infinite;
  box-shadow: 0 0 16px #19e6a5, 0 0 8px #d72660;
}

@keyframes fe-gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Tile-specific social link styles */
.project-tile[data-project="tattoo"] .social-link {
    background: rgba(176, 220, 0, 0.2);
    border: 1px solid rgba(176, 220, 0, 0.4);
    color: #b0dc00;
}

.project-tile[data-project="tattoo"] .social-link:hover {
    background: rgba(176, 220, 0, 0.3);
    box-shadow: 0 8px 20px rgba(176, 220, 0, 0.4);
}

.project-tile[data-project="fest"] .social-link {
    background: rgba(215, 38, 96, 0.2);
    border: 1px solid rgba(215, 38, 96, 0.4);
    color: #d72660;
}

.project-tile[data-project="fest"] .social-link:hover {
    background: rgba(215, 38, 96, 0.3);
    box-shadow: 0 8px 20px rgba(215, 38, 96, 0.4);
}

.project-tile[data-project="streetwear"] .social-link {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.4);
    color: #000000;
}

.project-tile[data-project="streetwear"] .social-link:hover {
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.project-tile[data-project="event"] .social-link {
    background: rgba(215, 38, 96, 0.2);
    border: 1px solid rgba(215, 38, 96, 0.4);
    color: #d72660;
}

.project-tile[data-project="event"] .social-link:hover {
    background: rgba(215, 38, 96, 0.3);
    box-shadow: 0 8px 20px rgba(215, 38, 96, 0.4);
}

.project-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.project-link:hover::before {
    left: 100%;
}

.project-link:hover,
.project-link:active {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
    scale: 1.05;
}

/* Footer */
.footer {
    text-align: center;
    padding: 0.7rem 0 0.7rem 0;
    color: #888;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0.7rem;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-copyright {
    color: #888;
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

/* Animations */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

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

@keyframes floatBubble {
  0% { transform: translateY(0) scale(1); opacity: 0.7; }
  25% { transform: translateY(-10px) scale(1.08); opacity: 0.85; }
  50% { transform: translateY(-18px) scale(1.12); opacity: 1; }
  75% { transform: translateY(-10px) scale(1.08); opacity: 0.85; }
  100% { transform: translateY(0) scale(1); opacity: 0.7; }
}

.project-illustration .art-element {
  animation: floatBubble 5.5s ease-in-out infinite;
}
.project-illustration .art-element-1 { animation-delay: 0s; }
.project-illustration .art-element-2 { animation-delay: 1.2s; }
.project-illustration .art-element-3 { animation-delay: 2.1s; }
.project-illustration .art-element-4 { animation-delay: 3.3s; }

.project-tile:hover .art-element-1,
.project-tile:active .art-element-1 {
    transform: translate(-60px, -60px) scale(1.25);
    opacity: 0.5;
}
.project-tile:hover .art-element-2,
.project-tile:active .art-element-2 {
    transform: translate(60px, 60px) scale(1.3);
    opacity: 0.5;
}
.project-tile:hover .art-element-3,
.project-tile:active .art-element-3 {
    transform: translate(-50px, 70px) scale(1.2);
    opacity: 0.4;
}
.project-tile:hover .art-element-4,
.project-tile:active .art-element-4 {
    transform: translate(80px, -40px) scale(1.4);
    opacity: 0.5;
}

.art-element-1 {
    transition: transform 0.7s cubic-bezier(0.4,0.2,0.2,1), opacity 0.7s cubic-bezier(0.4,0.2,0.2,1);
    transform: none;
    opacity: 0.7;
}
.art-element-2 {
    transition: transform 0.7s cubic-bezier(0.4,0.2,0.2,1), opacity 0.7s cubic-bezier(0.4,0.2,0.2,1);
    transform: none;
    opacity: 0.7;
}
.art-element-3 {
    transition: transform 0.7s cubic-bezier(0.4,0.2,0.2,1), opacity 0.7s cubic-bezier(0.4,0.2,0.2,1);
    transform: none;
    opacity: 0.7;
}
.art-element-4 {
    transition: transform 0.7s cubic-bezier(0.4,0.2,0.2,1), opacity 0.7s cubic-bezier(0.4,0.2,0.2,1);
    transform: none;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .project-tile {
        min-height: 420px;
    }
    .project-logo-img {
        width: 120px !important;
        height: 40px !important;
    }
    .tile-content {
        padding: 1.5rem 0.5rem 1.2rem 0.5rem;
    }
}
@media (max-width: 700px) {
    .project-tile {
        min-height: 340px;
    }
    .project-logo-img {
        width: 90px !important;
        height: 30px !important;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 2.5rem;
    }
    
    .logo-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .project-title {
        font-size: 1.3rem;
    }
    
    .project-features {
        justify-content: center;
    }
    
    .project-card {
        padding: 1rem;
    }
    
    .project-logo-img {
        width: 160px !important;
        height: 55px !important;
    }
    
    .project-links {
        gap: 0.6rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .tile-content {
        padding: 1.5rem;
    }
    
    .projects-container {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2rem;
    }
    
    .logo-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .project-title {
        font-size: 1.3rem;
    }
    
    .project-features {
        justify-content: center;
    }
    
    .project-card {
        padding: 1rem;
    }
    
    .project-logo-img {
        width: 160px !important;
        height: 55px !important;
    }
    
    .project-links {
        gap: 0.5rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    

}

/* Scroll Animations */
.project-tile {
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 0.8s ease-out forwards;
}

.project-tile:nth-child(1) { animation-delay: 0.1s; }
.project-tile:nth-child(2) { animation-delay: 0.2s; }
.project-tile:nth-child(3) { animation-delay: 0.3s; }
.project-tile:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #ff5252, #26a69a);
} 

.project-tile[data-project="tattoo"]:hover,
.project-tile[data-project="fest"]:hover,
.project-tile[data-project="streetwear"]:hover,
.project-tile[data-project="event"]:hover,
.project-tile[data-project="tattoo"]:active,
.project-tile[data-project="fest"]:active,
.project-tile[data-project="streetwear"]:active,
.project-tile[data-project="event"]:active {
    border-color: transparent !important;
}
.project-tile[data-project="tattoo"]::before,
.project-tile[data-project="fest"]::before,
.project-tile[data-project="streetwear"]::before,
.project-tile[data-project="event"]::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* gradienty zůstávají */
    opacity: 0.22 !important;
    filter: blur(30px);
    z-index: 0;
    border-radius: 24px;
    transition: opacity 0.4s cubic-bezier(0.4,0.2,0.2,1), filter 0.4s cubic-bezier(0.4,0.2,0.2,1);
}

.project-tile:hover::before,
.project-tile:active::before {
    opacity: 0.50 !important;
    filter: blur(30px);
}

.projects-grid:hover .project-tile {
    opacity: 0.1 !important;
    transition: opacity 0.5s cubic-bezier(0.4,0.2,0.2,1);
}
.projects-grid:hover .project-tile:hover,
.projects-grid:hover .project-tile:active {
    opacity: 1 !important;
    transition: opacity 0.5s cubic-bezier(0.4,0.2,0.2,1);
} 

/* Odstraněn overlay a jeho varianty */

.logo-img {
    max-width: 180px !important;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
} 

.project-tile,
.project-tile:hover,
.project-tile:active {
    box-shadow: none !important;
} 

.project-tile[data-project="event"] .social-link {
    transition: transform 0.3s cubic-bezier(0.4,0.2,0.2,1), background 0.4s, color 0.4s !important;
} 

/* ===== NOVÉ VYLEPŠENÍ ===== */

/* Parallax efekt pro header */
.header-content {
    text-align: center;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    transition: transform 0.1s ease-out;
}

/* Particle systém */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 30px;
    height: 30px;
    opacity: 0.6;
    animation: float-particle 20s infinite linear;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 20s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 18s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 22s; }
.particle:nth-child(4) { left: 40%; animation-delay: 6s; animation-duration: 16s; }
.particle:nth-child(5) { left: 50%; animation-delay: 8s; animation-duration: 24s; }
.particle:nth-child(6) { left: 60%; animation-delay: 10s; animation-duration: 19s; }
.particle:nth-child(7) { left: 70%; animation-delay: 12s; animation-duration: 21s; }
.particle:nth-child(8) { left: 80%; animation-delay: 14s; animation-duration: 17s; }
.particle:nth-child(9) { left: 90%; animation-delay: 16s; animation-duration: 23s; }
.particle:nth-child(10) { left: 15%; animation-delay: 1s; animation-duration: 25s; }
.particle:nth-child(11) { left: 25%; animation-delay: 3s; animation-duration: 19s; }
.particle:nth-child(12) { left: 35%; animation-delay: 5s; animation-duration: 21s; }
.particle:nth-child(13) { left: 45%; animation-delay: 7s; animation-duration: 17s; }
.particle:nth-child(14) { left: 55%; animation-delay: 9s; animation-duration: 23s; }
.particle:nth-child(15) { left: 65%; animation-delay: 11s; animation-duration: 20s; }

@keyframes float-particle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Gradient animace pro pozadí */
body::after {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 80%, rgba(176, 220, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(215, 38, 96, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(25, 230, 165, 0.1) 0%, transparent 50%);
    animation: gradient-shift 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 50% 50%;
    }
    33% {
        background-position: 100% 0%, 0% 100%, 50% 50%;
    }
    66% {
        background-position: 50% 50%, 0% 0%, 100% 100%;
    }
}

/* Hover efekty pro feature tagy */
.feature {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    margin: 0.2rem;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0.2, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.feature:hover::before {
    left: 100%;
}

.feature:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

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

/* Focus states pro accessibility */
.project-tile:focus,
.social-link:focus,
.project-link:focus,
.feature:focus {
    outline: 2px solid #d72660;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(215, 38, 96, 0.2);
}

/* Loading states pro odkazy */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Share functionality */
.share-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.share-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.share-menu {
    position: absolute;
    top: 3rem;
    right: 0;
    background: rgba(24, 25, 28, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.5rem;
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    backdrop-filter: blur(20px);
    min-width: 150px;
    z-index: 20;
}

.share-menu.active {
    display: flex;
    animation: slideInDown 0.3s ease;
}

.share-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
}

.share-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact form */
.contact-form {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(24, 25, 28, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: none;
}

.contact-form.active {
    display: block;
    animation: fadeInScale 0.3s ease;
}

.contact-form h3 {
    margin-bottom: 0.5rem;
    text-align: center;
    color: #d72660;
}

.contact-form .form-description {
    margin-bottom: 1.5rem;
    text-align: center;
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d72660;
    box-shadow: 0 0 0 2px rgba(215, 38, 96, 0.2);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #d72660;
    color: white;
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Overlay pro contact form */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    display: none;
}

.overlay.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Contact button v headeru */
.contact-btn {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: rgba(215, 38, 96, 0.2);
    border: 1px solid rgba(215, 38, 96, 0.3);
    color: #d72660;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.contact-btn:hover {
    background: rgba(215, 38, 96, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(215, 38, 96, 0.3);
}

/* Analytics tracking styles */
.analytics-track {
    cursor: pointer;
}

/* Lazy loading placeholder */
.lazy-placeholder {
    background: linear-gradient(90deg, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.1) 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Error states */
.error-state {
    border-color: #ff4757 !important;
    background: rgba(255, 71, 87, 0.1) !important;
}

.error-message {
    color: #ff4757;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Success states */
.success-state {
    border-color: #2ed573 !important;
    background: rgba(46, 213, 115, 0.1) !important;
}

/* Performance optimizations */
.project-tile {
    will-change: transform;
    contain: layout style paint;
}

.social-link,
.project-link {
    will-change: transform;
}

/* Keyboard navigation improvements */
.project-tile:focus-visible {
    outline: 2px solid #d72660;
    outline-offset: 4px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .particle {
        display: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .project-tile {
        border-width: 3px;
    }
    
    .feature {
        background: rgba(255, 255, 255, 0.2);
        border-width: 2px;
    }
} 

/* Hover efekty pro tlačítka KAHO TATTOO a DAFUQ STREETWEAR */
.project-tile[data-project="tattoo"] .project-link:hover {
    background: linear-gradient(45deg, #c8e600, #9ccc65);
    box-shadow: 0 12px 25px rgba(176, 220, 0, 0.5);
    transform: translateY(-3px) scale(1.05);
}

.project-tile[data-project="streetwear"] .project-link:hover {
    background: linear-gradient(45deg, #333333, #666666);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
    transform: translateY(-3px) scale(1.05);
    color: #ffffff;
} 

.footer .contact-btn {
    position: static;
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    font-size: 1.1rem;
}

.footer .contact-btn i {
    font-size: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

@media (max-width: 700px) {
    .footer-content {
        flex-direction: column;
        gap: 0.7rem;
    }
    .footer .contact-btn {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
    }
} 

/* Zvýraznění velikosti loga KAHO TATTOO */
.project-tile[data-project="tattoo"] .project-logo-img {
    width: 250px !important;
    height: 91px !important;
} 

.background-gif {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    background: url('https://kahotattoo.cz/img/KAHOO.gif') center center/cover no-repeat;
    opacity: 0.20;
    pointer-events: none;
}

/* Pulzující/dýchající animace pro kontaktní tlačítko */
.contact-btn {
    animation: contact-pulse 1.8s ease-in-out infinite;
}

@keyframes contact-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(215, 38, 96, 0.08);
    }
    50% {
        transform: scale(1.07);
        box-shadow: 0 8px 28px rgba(215, 38, 96, 0.18);
    }
}

.project-tile[data-project="tattoo"] .project-link,
.project-tile[data-project="streetwear"] .project-link,
.project-tile[data-project="fest"] .project-link,
.project-tile[data-project="event"] .project-link {
    animation: contact-pulse 1.8s ease-in-out infinite;
}

/* Modal vizitka autora */
.author-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(24, 25, 28, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem 2.2rem 1.5rem 2.2rem;
    width: 90%;
    max-width: 420px;
    backdrop-filter: blur(20px);
    z-index: 1001;
    display: none;
    box-shadow: 0 8px 40px rgba(0,0,0,0.35);
    animation: fadeInScale 0.3s ease;
}
.author-modal.active {
    display: block;
}
.author-modal h3 {
    margin-bottom: 1.2rem;
    text-align: center;
    color: #d72660;
    font-size: 1.3rem;
}
.author-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 1.2rem;
}
.author-social {
    display: flex;
    align-items: center;
    gap: 0.6em;
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
    transition: color 0.2s;
    word-break: break-all;
}
.author-social i {
    font-size: 1.2em;
    color: #d72660;
}
.author-social:hover {
    color: #d72660;
}
.footer-author {
    margin-left: 1.5rem;
    font-size: 1rem;
    color: #888;
}
.footer-author a {
    color: #d72660;
    text-decoration: underline dotted;
    cursor: pointer;
    transition: color 0.2s;
}
.footer-author a:hover {
    color: #fff;
}
#authorOverlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    display: none;
}
#authorOverlay.active {
    display: block;
    animation: fadeIn 0.3s ease;
}