body, .main {
    background-color: #222A35;
}

body {
    min-height: 100vh;
    font-family: "Onest", sans-serif;
}

.photo-title {
    text-transform: uppercase;
    margin: 4.375rem 0 2rem;
    font-size: 3.375rem;
    letter-spacing: normal;
}

.loading {
    text-align: center;
    padding: 50px;
}

.spinner {
    border: 10px solid #f0f0f0;
    border-top: 10px solid #FE6429;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    color: #fff;
    font-size: 38px;
    font-weight: 700;
    margin: 0;
}

.photo-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 44px;
}

.year-selector {
    position: relative;
    min-width: 118px;
}

.year-dropdown-custom {
    position: relative;
    cursor: pointer;
}

.year-dropdown-selected {
    padding: 0.625rem 1rem;
    border: 1px solid rgba(208, 208, 208, 0.3);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.year-dropdown-selected:hover {
    border-color: #999;
}

.dropdown-arrow {
    width: 1.125rem;
    height: 1.125rem;
    transition: transform 0.3s;
}

.year-dropdown-custom.active .dropdown-arrow {
    transform: rotate(180deg);
}

.year-dropdown-options {
    position: absolute;
    inset: 0 0 auto 0;
    top: 100%;
    padding: 0.25rem;
    margin-top: 0.375rem;
    background-color: #313b49;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 100;
}

.year-dropdown-custom.active .year-dropdown-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.year-dropdown-options > * {
    z-index: 100;
    position: relative;
}

.year-dropdown-option {
    padding: 10px 12px;
    border-radius: 0.375rem;
    transition: background-color 0.2s;
}

.year-dropdown-option:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.tab-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.tab-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0.5rem 0.75rem;
    font-family: 'Geometria', sans-serif;
    font-size: 17px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    background: transparent;
    border: none;
    border-bottom: 2px solid #222A35;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.tab-btn-active {
    border-bottom-color: #FF7934;
}

.tab-pane:not(.tab-pane-show) {
    display: none;
}

#photos-content {
    transition: opacity 0.5s ease;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.photo-grid__item {
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 8px;
}

.photo-grid__item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .photo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .photo-grid { grid-template-columns: 1fr; }
}

.orange_btn {
    max-width: 16.125rem;
    width: 100%;
    height: 3.75rem;
    padding: 0;
    font-family: "Onest", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background-color: transparent;
    border: none;
    border-radius: 4.19rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.orange_btn span {
    position: relative;
    z-index: 2;
}

.orange_btn::before,
.orange_btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 4.19rem;
    padding: 2px;
    background: linear-gradient(270deg, #FE6429 0%, #FDC84C 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: opacity 0.3s ease;
}

.orange_btn::before {
    opacity: 1;
}

.orange_btn::after {
    opacity: 0;
}

.orange_btn:hover::before {
    opacity: 0;
}

.orange_btn:hover::after {
    opacity: 1;
}

.photo-line-img {
    justify-content: center;
}

.photo-line-img._ver2 {
    display: flex;
    width: 25%;
    padding: 0;
    margin: 0 10px 10px 0;
    justify-content: center;
    align-items: center;
}

.photo-line-img._ver2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    border-radius: 10px;
}

@media screen and (max-width: 540px) {
    .photo-line-img._ver2 {
        width: 100%;
    }
}

.glass3d { 
    --filter-glass3d: blur(20px) brightness(1) saturate(1); 
    --color-glass3d: transparent; 
    --noise-glass3d: none; 
}
    
.glass3d::before {
    content: ""; 
    position: absolute; 
    inset: 0; 
    pointer-events: none; 
    border-radius: inherit; 
    overflow: hidden; 
    z-index: 3; 
    -webkit-backdrop-filter: var(--filter-glass3d); 
    backdrop-filter: var(--filter-glass3d); 
    background-color: var(--color-glass3d); 
    background-image: var(--noise-glass3d); 
    background-size: 100px; 
    background-repeat: repeat; 
}

.glass3d::after {
    content: ""; 
    position: absolute; 
    inset: 0; 
    pointer-events: none; 
    border-radius: inherit; 
    overflow: hidden; 
    z-index: 5; 
    box-shadow: 
        inset 2px 2px 1px -3px hsl(205 20% 90% / 0.8), 
        inset 4px 4px 2px -6px hsl(205 20% 90% / 0.3), 
        inset 1.5px 1.5px 1.5px -0.75px hsl(205 20% 90% / 0.15), 
        inset 1.5px 1.5px 0.25px hsl(205 20% 90% / 0.03), 
        inset 0 0 0.25px 0.5px hsl(205 20% 90% / 0.10); 
}