/* Wall of Fame Styles */
#wall-of-fame {
    min-height: 200vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: relative;
    z-index: 50;
    background-color: var(--primary-bg);
    background-image: var(--gradient-bg-dots);
    background-size: 24px 24px;
    background-attachment: fixed;
    overflow: hidden;
}

.wall-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5%;
}

.wall-left,
.wall-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    padding: 2rem 0;
}

.wall-center {
    flex: 1.2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wall-heading {
    font-family: var(--font-heading);
    font-size: clamp(60px, 12vw, 150px);
    color: var(--text-dark);
    line-height: 0.9;
    letter-spacing: -5px;
    font-weight: 500;
    margin: 0 0 1.5rem 0;
    text-shadow: 2px 2px 10px var(--rgba-black-05);
}

.wall-subtext {
    font-family: var(--font-paragraph-text);
    font-size: clamp(18px, 1.5vw, 22px);
    line-height: 1.6;
    color: var(--text-muted);
    font-weight: 500;
    max-width: 500px;
    margin: 0 auto;
}

/* Frame Design */
.frame-wrapper {
    position: relative;
    width: 220px;
    height: 310px;
    opacity: 0;
    /* for gsap */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.wall-left .frame-wrapper:nth-child(even),
.wall-right .frame-wrapper:nth-child(even) {
    transform: translateX(40px);
}

.wall-left .frame-wrapper:nth-child(odd),
.wall-right .frame-wrapper:nth-child(odd) {
    transform: translateX(-40px);
}

.frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Wooden border effect */
    background: #2a1b0e;
    border: 1px solid #1a0e05;
    padding: 12px;
    box-shadow: 10px 15px 30px rgba(0, 0, 0, 0.3), inset 0 0 10px rgba(0, 0, 0, 0.8);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.frame-mat {
    width: 100%;
    height: 100%;
    /* Inner mat border */
    background-color: #fdfaf6;
    padding: 8px;
    /* mat width */
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2), 0 0 5px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.frame-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) contrast(1.1);
    transition: filter 0.4s ease;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.4);
}

/* Hover glow & straighten */
.frame-wrapper:hover {
    transform: rotate(0deg) scale(1.05) translateX(0) !important;
    z-index: 10;
}

.frame-wrapper:hover .frame {
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.1), 15px 20px 40px rgba(0, 0, 0, 0.5);
}

.frame-wrapper:hover .frame-image {
    filter: grayscale(0%) contrast(1.1);
}

/* Optional Hover Captions */
.frame-caption {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-dark);
    color: var(--primary-bg);
    padding: 8px 16px;
    border-radius: 6px;
    font-family: var(--font-main, sans-serif);
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, bottom 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 11;
    font-weight: 500;
}

.frame-caption .char-name {
    font-weight: 700;
    margin-right: 6px;
}

.frame-wrapper:hover .frame-caption {
    opacity: 1;
    bottom: -45px;
}
