/* Cross-browser compatible masonry grid styles */

.wall {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 auto;

    background-color: rgba(255, 255, 255, 0.85);

    /* Backdrop filter for glassmorphism effect */
    -webkit-backdrop-filter: blur(8px) saturate(180%);
    backdrop-filter: blur(8px) saturate(180%);

    padding: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;

    /* Fallback box-shadow for browsers that don't support filter: drop-shadow */
    box-shadow: 0 30px 10px rgba(0, 0, 0, 0.125);

    /* Modern drop-shadow (optional, not supported everywhere) */
    filter: drop-shadow(0 30px 10px rgba(0, 0, 0, 0.125));
}

.wall img {
    width: 33.3%;
    margin: 0.3rem;
    padding: 20px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    object-fit: contain;
    -webkit-object-fit: contain;
}

.wall a.social-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    text-shadow: 2px 3px 3px #545454;
}

.wall .apan-energy {
    border: 1px solid rgba(235, 235, 235, 0.1);
    -webkit-border-radius: 15px;
    border-radius: 15px;
    background: -webkit-linear-gradient(top, rgba(255,255,255,0.15) 0%, rgba(0,0,0,0.15) 100%), 
                -webkit-radial-gradient(top center, ellipse, rgba(255,255,255,0.40) 0%, rgba(0,0,0,0.40) 120%), 
                #373737de;
    background: linear-gradient(to bottom, rgba(255,255,255,0.15) 0%, rgba(0,0,0,0.15) 100%), 
                radial-gradient(at top center, rgba(255,255,255,0.40) 0%, rgba(0,0,0,0.40) 120%), 
                #373737de;
    background-blend-mode: multiply, multiply;
}

.wall .issi,
.wall .savannah,
.wall .topco {
    background: rgba(255, 255, 255, 0.75);
    -webkit-border-radius: 16px;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.wall .savannah {
    -webkit-border-radius: 8px 0 0 8px !important;
    border-radius: 8px 0 0 8px !important;
    border-right: 0px;
}

.wall .topco {
    -webkit-border-radius: 0 8px 8px 0 !important;
    border-radius: 0 8px 8px 0 !important;
    border-left: 0px;
}

.wall .neurospine img {
    width: 150px;
    padding: 0;
    margin-left: 7px;
    opacity: 0.80;
}

.wall .movements img {
    width: 150px;
    padding: 0;
    margin: 7px 7px;
    opacity: 0.80;
}

.gold-sponsor {
    background: -webkit-radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%),
                -webkit-radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
    background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%),
                radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
}

.silver-sponsor {
    background: -webkit-radial-gradient(ellipse farthest-corner at right bottom, #C0C0C0 0%, #B0B0B0 8%, #A0A0A0 30%, #909090 40%, transparent 80%),
                -webkit-radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #F5F5F5 8%, #D1D1D1 25%, #A9A9A9 62.5%, #A9A9A9 100%);
    background: radial-gradient(ellipse farthest-corner at right bottom, #C0C0C0 0%, #B0B0B0 8%, #A0A0A0 30%, #909090 40%, transparent 80%),
                radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #F5F5F5 8%, #D1D1D1 25%, #A9A9A9 62.5%, #A9A9A9 100%);
}

.platinum-tier {
    position: relative;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 0.3rem;
    -webkit-border-radius: 16px;
    border-radius: 16px;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.silver-tier,
.bronze-tier,
.other-tier {
    position: relative;
    width: 50%;
    padding: 0.3rem;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.silver-tier {
    background: -webkit-radial-gradient(ellipse farthest-corner at right bottom, #C0C0C0 0%, #B0B0B0 8%, #A0A0A0 30%, #909090 40%, transparent 80%),
                -webkit-radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #F5F5F5 8%, #D1D1D1 25%, #A9A9A9 62.5%, #A9A9A9 100%);
    background: radial-gradient(ellipse farthest-corner at right bottom, #C0C0C0 0%, #B0B0B0 8%, #A0A0A0 30%, #909090 40%, transparent 80%),
                radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #F5F5F5 8%, #D1D1D1 25%, #A9A9A9 62.5%, #A9A9A9 100%);
}

.bronze-tier {
    background: -webkit-radial-gradient(ellipse farthest-corner at right bottom, #CD7F32 0%, #C67A2B 8%, #B86D24 30%, #A6601D 40%, transparent 80%),
                -webkit-radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFF5E6 8%, #FFD9B3 25%, #FFBF80 62.5%, #FFBF80 100%);
    background: radial-gradient(ellipse farthest-corner at right bottom, #CD7F32 0%, #C67A2B 8%, #B86D24 30%, #A6601D 40%, transparent 80%),
                radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFF5E6 8%, #FFD9B3 25%, #FFBF80 62.5%, #FFBF80 100%);
}

.bronze-tier img,
.other-tier img {
    width: 100%;
    margin: 0.3rem;
    padding: 20px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    object-fit: contain;
    -webkit-object-fit: contain;
}

.other-tier {
    background-color: rgba(255, 255, 255, 0.25);
}

.logo {
    margin: 0.3rem;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}