/* Base font and color styles */
:root {
    --font-heading: 'Times New Roman', serif;
    --font-body: 'Times New Roman', serif;
    --font-decorative: 'Times New Roman', serif;
    --accent-color: #3772FF;
    --text-color: #ffffff;
    --bg-color: #000000;
    --glow-color: rgba(255, 255, 255, 0.5);
    --border-color: #ffffff;
    --secondary-accent: #8c52ff;
    --music-color: #B3001B;
    --events-color: #4ecdc4;
    --artists-color: #ffd166;
    --merch-color: #8c52ff;
    --photos-color: #06d6a0;
}

/* Global styles */
body {
    font-family: 'Times New Roman', serif;
    font-weight: 300;
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    /* Prevent text selection and image highlighting */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

/* Allow text selection for specific elements if needed */
input, textarea, .selectable-text {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Prevent image dragging and highlighting */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: none;
    border: none;
}

/* Remove focus/active states from images and links */
img:focus,
img:active,
a:focus,
a:active {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.main-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow-x: hidden;
    position: relative;
}

.sections-container {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Section common styles */
.section {
    padding: 40px 20px;
    margin: 0 auto;
    max-width: 100%;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: none;
}

h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover {
    text-shadow: 0 0 10px var(--glow-color);
}

/* Navigation section styling */
.nav-section {
    position: relative;
    width: 100%;
    height: calc(100vh - 120px); /* Reduce height to account for logo space */
    margin-top: 120px; /* Reduced space for the logos above */
    display: block;
    background-color: var(--bg-color);
    overflow: hidden;
}

.nav-button:not(.image-only-button) {
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin: 15px;
    transition: all 0.3s ease;
    user-select: none;
    z-index: 10;
    border: 2px solid var(--border-color);
    overflow: hidden;
    box-shadow: none;
}

.nav-button:not(.image-only-button):hover {
    box-shadow: 0 0 15px var(--glow-color);
}

.nav-button:not(.image-only-button) .nav-icon {
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin-bottom: 5px;
    transition: transform 0.3s ease;
    filter: brightness(1.2) contrast(1.2);
}

.nav-button:not(.image-only-button):hover .nav-icon {
    transform: scale(1.1);
    filter: brightness(1.5) contrast(1.5);
}

.nav-button:not(.image-only-button) span {
    position: relative;
    z-index: 2;
    font-family: var(--font-heading);
    font-weight: 400;
    text-shadow: none;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-button:not(.image-only-button):hover span {
    text-shadow: 0 0 5px var(--glow-color);
}

/* Hero section styling */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-color);
    overflow: hidden;
}

.hero-logo-container {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: none;
    padding: 20px;
    border: 2px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: none;
    transition: box-shadow 0.3s ease;
}

.hero-logo-container:hover {
    box-shadow: 0 0 20px var(--glow-color);
    animation: pulse-glow 3s infinite alternate;
}

.hero-logo-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.5s ease;
}

.hero-logo {
    max-width: 700px;
    width: 90%;
    height: auto;
    cursor: pointer;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: brightness(1.2) contrast(1.2);
}

.hero-logo-link:hover .hero-logo {
    transform: scale(1.05);
    filter: brightness(1.5) contrast(1.5) drop-shadow(0 0 30px var(--glow-color));
}

.scroll-indicator {
    position: relative;
    z-index: 2;
    margin-top: 50px;
    text-align: center;
    color: var(--text-color);
    font-family: var(--font-decorative);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: none;
    transition: text-shadow 0.3s ease;
}

.scroll-indicator:hover {
    text-shadow: 0 0 10px var(--glow-color);
}

.scroll-arrow {
    font-size: 32px;
    animation: bounce 2s infinite;
    color: var(--text-color);
    text-shadow: none;
    transition: text-shadow 0.3s ease;
}

.scroll-arrow:hover {
    text-shadow: 0 0 10px var(--glow-color);
}

/* Rules section styling - Fix overflow issues */
#taisykles-section {
    padding: 40px 20px;
    margin: 0 auto;
    max-width: 100%;
    overflow-x: hidden;
}

#taisykles-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

#taisykles-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
}

.rules-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px auto;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--border-color);
    box-shadow: none;
    transition: box-shadow 0.3s ease;
    max-width: 100%;
    overflow: hidden;
}

.rules-container:hover {
    box-shadow: 0 0 20px var(--glow-color);
}

.rule-category {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.rule-category h3 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-family: var(--font-heading);
    font-size: 1.4em;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: none;
    transition: text-shadow 0.3s ease;
}

.rule-category:hover h3 {
    text-shadow: 0 0 10px var(--glow-color);
}

.rule-category ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
    color: var(--text-color);
}

.rule-category li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-family: var(--font-body);
    font-weight: 300;
    letter-spacing: 1px;
}

.rule-category li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-color);
    font-size: 1.5em;
    text-shadow: none;
    transition: text-shadow 0.3s ease;
}

.rule-category:hover li:before {
    text-shadow: 0 0 10px var(--glow-color);
}

.rule-category.expanded {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.02);
    box-shadow: 0 0 15px var(--glow-color);
}

.rules-footer {
    margin-top: 30px;
    text-align: center;
    color: var(--text-color);
    font-family: var(--font-decorative);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: none;
    transition: text-shadow 0.3s ease;
}

.rules-footer:hover {
    text-shadow: 0 0 10px var(--glow-color);
}

/* Info bar styling - Cybernetic design */
.info-bar {
    font-family: var(--font-body);
    font-weight: 300;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(20, 0, 0, 0.75));
    border-radius: 0;
    border: none;
    box-shadow: 
        0 0 10px rgba(255, 0, 51, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 12px;
    margin: 0;
    max-height: 300px;
    overflow-y: auto;
    width: 270px;
    position: relative;
    z-index: 1000;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.info-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff0033, transparent);
    animation: scan-line 3s infinite;
}

@keyframes scan-line {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.info-bar:hover {
    box-shadow: 
        0 0 20px rgba(255, 0, 51, 0.5),
        0 0 40px rgba(255, 0, 51, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateX(2px);
}

.info-bar .info-container {
    color: var(--text-color);
    line-height: 1.4;
    font-size: 13px;
}

/* Individual info items styling */
.info-bar .name-days,
.info-bar .moon-info,
.info-bar .moon-day,
.info-bar .time-location {
    margin-bottom: 8px;
    padding: 6px 0;
    position: relative;
    transition: all 0.3s ease;
}

.info-bar .name-days:last-child,
.info-bar .moon-info:last-child,
.info-bar .moon-day:last-child,
.info-bar .time-location:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Cybernetic labels */
.info-bar .name-days::before { content: "▶ "; color: #ff0033; font-size: 10px; }
.info-bar .moon-info::before { content: "◈ "; color: #ff0033; font-size: 10px; }
.info-bar .moon-day::before { content: "◇ "; color: #ff0033; font-size: 10px; }
.info-bar .time-location::before { content: "● "; color: #ff0033; font-size: 10px; }

/* Hover effects for individual items */
.info-bar .name-days:hover,
.info-bar .moon-info:hover,
.info-bar .moon-day:hover,
.info-bar .time-location:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 0, 51, 0.8);
    padding-left: 8px;
}

/* Special styling for moon phase span */
.info-bar .moon-info span {
    color: #ff3366;
    font-weight: 400;
    text-shadow: 0 0 5px rgba(255, 51, 102, 0.6);
}

.info-bar h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ff0033;
    text-shadow: 0 0 10px rgba(255, 0, 51, 0.7);
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 14px;
    padding-bottom: 6px;
    transition: all 0.3s ease;
}

.info-bar:hover h3 {
    text-shadow: 0 0 15px rgba(255, 0, 51, 1);
    color: #ff3366;
}

.info-bar-toggle {
    display: none;
    position: fixed;
    top: 180px; /* Moved down to match info-bar position */
    right: 20px;
    z-index: 101;
    background-color: var(--accent-color);
    color: var(--text-color);
    border: 2px solid var(--border-color);
    padding: 10px 15px;
    font-family: var(--font-heading);
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 1;
    transition: all 0.3s ease;
    box-shadow: none;
    border-radius: 0;
    letter-spacing: 1px;
    display: block;
}

.info-bar-toggle:hover,
.info-bar-toggle:active {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--glow-color);
}

/* Mobile styles for info bar - Cybernetic design */
@media (max-width: 768px) {
    .info-bar {
        position: fixed !important;
        top: 180px;
        right: -350px; /* Start off-screen */
        width: 320px !important;
        z-index: 100;
        margin: 0;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(20, 0, 0, 0.85));
        border: none;
        box-shadow: 
            0 0 20px rgba(255, 0, 51, 0.4),
            0 0 40px rgba(255, 0, 51, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        transition: right 0.3s ease-in-out, box-shadow 0.3s ease;
        overflow-y: auto;
        max-height: 80vh;
        display: block !important;
    }
    
    .info-bar::before {
        background: linear-gradient(90deg, transparent, #ff0033, transparent);
        animation: scan-line 2s infinite;
    }
    
    .info-bar.active {
        right: 10px;
        z-index: 10002;
        box-shadow: 
            0 0 30px rgba(255, 0, 51, 0.6),
            0 0 60px rgba(255, 0, 51, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    
    /* Close button styling - cybernetic */
    .info-bar-close {
        position: absolute;
        top: 8px;
        right: 8px;
        color: #ff0033;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
        z-index: 10003;
        transition: all 0.3s ease;
        text-shadow: 0 0 10px rgba(255, 0, 51, 0.8);
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        background: rgba(0, 0, 0, 0.7);
    }
    
    .info-bar-close:hover {
        transform: scale(1.1);
        color: #ff3366;
        text-shadow: 0 0 15px rgba(255, 51, 102, 1);
        background: rgba(255, 0, 51, 0.1);
        box-shadow: 0 0 10px rgba(255, 0, 51, 0.5);
    }
    
    /* Toggle button - cybernetic */
    .info-bar-toggle {
        position: fixed;
        top: 10px;
        right: 10px;
        z-index: 10001;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(20, 0, 0, 0.8));
        color: #ff0033;
        border: none;
        padding: 8px 12px;
        font-family: var(--font-heading);
        font-size: 12px;
        text-transform: uppercase;
        cursor: pointer;
        opacity: 1;
        transition: all 0.3s ease;
        box-shadow: 
            0 0 10px rgba(255, 0, 51, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        border-radius: 0;
        letter-spacing: 1px;
        display: block;
        text-shadow: 0 0 8px rgba(255, 0, 51, 0.6);
    }
    
    .info-bar-toggle::before {
        content: '◈ ';
        font-size: 10px;
        margin-right: 4px;
    }
    
    .info-bar-toggle:hover,
    .info-bar-toggle:active {
        transform: scale(1.05) translateX(2px);
        color: #ff3366;
        box-shadow: 
            0 0 20px rgba(255, 0, 51, 0.5),
            0 0 40px rgba(255, 0, 51, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
        text-shadow: 0 0 12px rgba(255, 51, 102, 0.8);
    }
}

/* Reklama styling */
.reklama-container {
    font-family: var(--font-body);
    font-weight: 300;
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    padding: 15px;
    margin: 20px 0;
}

.reklama-container h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-color);
    text-shadow: none;
    margin-top: 0;
}

/* Animations */
@keyframes pulse-glow {
    0% {
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
        transform: scale(1);
    }
    100% {
        filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.7));
        transform: scale(1.02);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

@keyframes arrow-pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-logo {
        width: 200px;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .scroll-arrow {
        font-size: 20px;
    }

    .rule-category {
        margin-bottom: 15px;
    }

    .rule-category h3 {
        font-size: 1.2rem;
    }

    .rule-category li {
        font-size: 0.9rem;
    }

    .info-bar, .reklama-container {
        padding: 10px;
    }

    .info-bar h3, .reklama-container h3 {
        font-size: 1rem;
    }

    .rules-container {
        padding: 15px;
        margin: 10px;
    }

    footer {
        padding: 20px 10px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        margin-top: 10px;
        gap: 10px;
    }

    .footer-links a {
        font-size: 0.9rem;
    }

    /* Mobile nav section adjustments */
    .nav-section {
        margin-top: 160px; /* Reduced space for stacked logos on mobile */
        height: calc(100vh - 160px);
    }
}

@media only screen and (max-width: 480px) {
    .main-slideshow {
        height: 200px;
    }
    
    .year-tab {
        padding: 6px 10px;
        font-size: 14px;
    }
    
    .thumbnail {
        width: 60px;
        height: 45px;
    }
}

/* Popup styling */
.popup-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-container.active {
    display: flex;
}

.popup {
    background-color: var(--bg-color);
    border: 2px solid var(--border-color);
    box-shadow: none;
    max-width: 90%;
    width: 500px;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.popup:hover {
    box-shadow: 0 0 20px var(--glow-color);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: var(--accent-color);
    border-bottom: 2px solid var(--border-color);
}

.popup-title {
    font-family: var(--font-heading);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-color);
    text-shadow: none;
    transition: text-shadow 0.3s ease;
}

.popup-title:hover {
    text-shadow: 0 0 10px var(--glow-color);
}

.popup-close {
    cursor: pointer;
    font-size: 20px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.popup-close:hover {
    transform: scale(1.2);
    text-shadow: 0 0 15px var(--glow-color);
}

.popup-content {
    padding: 20px;
    color: var(--text-color);
    font-family: var(--font-body);
    font-weight: 300;
    max-height: 70vh;
    overflow-y: auto;
}

/* Loading screen styling */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.loading-spinner {
    width: 80px;
    height: 80px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-message {
    margin-top: 20px;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: none;
    animation: pulse 1.5s infinite alternate;
}

/* Photo Gallery Styling */
#photos-section {
    padding: 40px 20px;
    margin-top: 30px;
}

#photos-section h2 {
    margin-bottom: 20px;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-color);
    text-shadow: none;
}

/* Slideshow wrapper */
.slideshow-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0;
    padding: 20px;
    border: 2px solid var(--border-color);
    box-shadow: none;
    transition: box-shadow 0.3s ease;
}

.slideshow-wrapper:hover {
    box-shadow: 0 0 20px var(--glow-color);
}

/* Main slideshow */
.main-slideshow {
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    background: var(--bg-color);
    border-radius: 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.main-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(1.1) contrast(1.1);
}

.main-image:hover {
    transform: scale(1.02);
    filter: brightness(1.3) contrast(1.3);
}

/* Year tabs */
.year-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.year-tab {
    padding: 8px 15px;
    margin: 0 5px;
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-color);
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
    border: 1px solid var(--border-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: none;
}

.year-tab:hover {
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--glow-color);
}

.year-tab.active {
    background: var(--accent-color);
    font-weight: bold;
    box-shadow: 0 0 15px var(--glow-color);
    transform: scale(1.05);
}

/* Thumbnails */
.thumbnails-container {
    width: 100%;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) rgba(0, 0, 0, 0.2);
}

.thumbnails-container::-webkit-scrollbar {
    height: 8px;
}

.thumbnails-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.thumbnails-container::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
    border-radius: 0;
}

.year-thumbnails {
    display: none;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 5px;
}

.year-thumbnails.active {
    display: flex;
}

.thumbnail {
    flex: 0 0 auto;
    width: 100px;
    height: 70px;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.thumbnail:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.thumbnail:hover img {
    filter: brightness(1.2);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    margin: auto;
    border: 2px solid var(--border-color);
    border-radius: 0;
    box-shadow: none;
    transition: box-shadow 0.3s ease;
}

.lightbox.active .lightbox-image {
    box-shadow: 0 0 30px var(--glow-color);
}

.close-lightbox {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--text-color);
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: none;
}

.close-lightbox:hover {
    transform: scale(1.2);
    text-shadow: 0 0 15px var(--glow-color);
}

.lightbox-caption {
    color: var(--text-color);
    text-align: center;
    padding: 15px 0;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    text-shadow: none;
    transition: text-shadow 0.3s ease;
}

.lightbox-caption:hover {
    text-shadow: 0 0 10px var(--glow-color);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-color);
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 0;
    z-index: 10001;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: none;
}

.lightbox-prev {
    left: 10px;
}

.lightbox-next {
    right: 10px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 15px var(--glow-color);
}

/* Footer styling */
footer {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 30px 20px;
    margin-top: 50px;
    border-top: 2px solid var(--border-color);
    transition: box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--accent-color) 50%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

footer:hover::before {
    opacity: 1;
}

footer:hover {
    box-shadow: 0 0 20px var(--glow-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

footer p {
    color: var(--text-color);
    font-family: var(--font-decorative);
    font-weight: 400;
    margin: 0;
    text-align: center;
    transition: text-shadow 0.3s ease;
    font-size: 1.1em;
}

footer:hover p {
    text-shadow: 0 0 10px var(--glow-color);
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 10px;
    font-family: var(--font-body);
    font-weight: 300;
    position: relative;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    padding: 5px 0;
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 8px var(--accent-color);
}

.footer-links a:hover::after {
    width: 100%;
}

/* Back to top button with real physics */
.back-to-top-wrapper {
    position: fixed;
    top: -80px;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    z-index: 999;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    transition: opacity 0.6s ease;
    will-change: transform;
}

.string {
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8));
    z-index: 998;
    will-change: transform;
    transform-origin: top center;
}

.back-to-top {
    position: relative;
    background-color: transparent;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    will-change: transform;
}

.back-to-top-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.back-to-top:hover {
    box-shadow: 0 0 15px var(--glow-color);
} 