/* Cinematic Glassmorphism Theme - Pure Black */

/* Override main colors with cinematic glassmorphism */
.container h1 {
    padding-top: 10px;
    text-shadow: 
      0 0 20px rgba(255, 255, 255, 0.8), 
      0 0 40px rgba(255, 255, 255, 0.5), 
      0 0 60px rgba(255, 255, 255, 0.3);
    padding-left: 70px;
    font-size: 2.5em;
    letter-spacing: 3px;
    animation: cinematicGlow 4s infinite alternate;
    color: #ffffff;
}

@keyframes cinematicGlow {
    0%, 100% { 
        text-shadow: 
            0 0 20px rgba(255, 255, 255, 0.8), 
            0 0 40px rgba(255, 255, 255, 0.5);
    }
    50% { 
        text-shadow: 
            0 0 30px rgba(255, 255, 255, 1), 
            0 0 60px rgba(255, 255, 255, 0.7),
            0 0 90px rgba(255, 255, 255, 0.4);
    }
}

small {
    font-size: 1rem;
    font-weight: 700;
    opacity: 0.9;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.85);
}

.footer {
    color: #fff;
    padding: 20px;
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(30px) saturate(150%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 100;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}
 
.footer a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: all 0.3s ease;
}
  
.footer a:hover {
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.searchBarInput {
    width: 50%;
    height: 3rem;
    background: rgba(0, 0, 0, 0.6);
    outline: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1.625rem;
    padding: 0 1.5rem;
    font-size: 1rem;
    margin-top: 0;
    color: #fff;
    backdrop-filter: blur(25px) saturate(150%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
      inset 0 2px 15px rgba(0, 0, 0, 0.5),
      0 8px 32px rgba(0, 0, 0, 0.4),
      0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
}

.searchBarInput:focus {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 
      inset 0 2px 15px rgba(0, 0, 0, 0.5),
      0 8px 40px rgba(0, 0, 0, 0.6),
      0 0 40px rgba(255, 255, 255, 0.15),
      0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    background: rgba(0, 0, 0, 0.7);
}

.searchBarInput::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-clear {
    position: absolute;
    right: 25%;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 1.2em;
    padding: 8px;
    display: none;
    transition: all 0.3s ease;
    z-index: 20;
}

.search-clear:hover {
    color: rgba(255, 255, 255, 0.95);
    transform: translateY(-50%) scale(1.2);
}

.results-counter {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9em;
    text-align: center;
    padding: 5px 15px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    display: none;
    animation: fadeIn 0.3s ease;
}

.info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 16px;
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(40px) saturate(150%);
    padding: 30px;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.6),
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.info::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
      45deg,
      transparent,
      rgba(255, 255, 255, 0.03),
      transparent
    );
    animation: shimmer 4s infinite;
    pointer-events: none;
    z-index: 0;
}

.avatar {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 
      0 0 40px rgba(255, 255, 255, 0.3),
      0 0 80px rgba(255, 255, 255, 0.15),
      inset 0 0 20px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.avatar:hover {
    transform: scale(1.08);
    box-shadow: 
      0 0 50px rgba(255, 255, 255, 0.5),
      0 0 100px rgba(255, 255, 255, 0.25),
      inset 0 0 20px rgba(0, 0, 0, 0.4);
    filter: brightness(1.15);
    border-color: rgba(255, 255, 255, 0.35);
}

.links {
    margin-top: 20px;
    display: flex;
    padding: 2em;
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    flex-wrap: wrap;
    border-radius: 24px;
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.6),
      0 20px 60px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(40px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.links::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.04),
      transparent
    );
    animation: slideLight 5s infinite;
    pointer-events: none;
    z-index: 0;
}

.list li {
    border-radius: 20px;
    margin: 10px;
    padding: 1.5em;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(30px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 250px;
    max-width: 300px;
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.5),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 50%,
      rgba(255, 255, 255, 0.03) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.list li:hover::before {
    opacity: 1;
}

.list li:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
      0 16px 60px rgba(0, 0, 0, 0.7),
      0 0 80px rgba(255, 255, 255, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.6);
}

.itm h3 {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 15px;
    font-size: 1.2em;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.itm:hover h3 {
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.6), 0 0 50px rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.popup-trigger {
    background: rgba(0, 0, 0, 0.6);
    color: rgba(255, 255, 255, 0.95);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 15px;
    font-family: mainFont, monospace;
    backdrop-filter: blur(20px);
    box-shadow: 
      0 4px 20px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.popup-trigger::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    pointer-events: none;
    z-index: 0;
}

.popup-trigger:hover::before {
    width: 300px;
    height: 300px;
}

.popup-trigger:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.6),
      0 0 40px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

#tags-list li {
    background: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.85);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9em;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

#tags-list li:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}
