#smooth-content {
    padding-top: calc(var(--header-height) + 20px);
}

/* Events Page Styles */

.events-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid var(--bg2);
    backdrop-filter: blur(10px);
}

.filter-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.date-filter-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-controls label,
.date-filter-controls label {
    color: var(--tx2);
    font-size: 14px;
    font-weight: 500;
}

.sort-controls select,
.date-filter-controls select {
    background: var(--bg);
    color: var(--tx);
    border: 1px solid var(--bg2);
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sort-controls select:hover,
.date-filter-controls select:hover {
    border-color: var(--cf);
}

.sort-controls select:focus,
.date-filter-controls select:focus {
    outline: none;
    border-color: var(--cf);
    box-shadow: 0 0 0 2px rgba(255, 0, 255, 0.2);
}

.layout-controls {
    display: flex;
    gap: 8px;
}

.layout-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg);
    color: var(--tx2);
    border: 1px solid var(--bg2);
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.2s ease;
}
.layout-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: left 0.5s ease;
}
.layout-btn:hover::before {
    left: 100%;
}
.layout-btn:hover {
    border-color: var(--cf);
    color: var(--tx);
}
.layout-btn.active {
    background: var(--cf);
    color: var(--bg);
    border-color: var(--cf);
}
.layout-btn svg {
    transition: transform 0.2s ease;
}
.layout-btn:hover svg {
    transform: scale(1.1);
}

/* No Events Message */
.no-events-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--tx2);
}

.no-events-message h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--tx);
    font-family: var(--f-focus);
}

.no-events-message p {
    font-size: 16px;
    line-height: 1.5;
    max-width: 400px;
    margin: 0 auto;
}

/* List layout specific styles */
.artist-ul.list-layout .no-events-message {
    border-top: 1px solid var(--bg2);
    border-bottom: 1px solid var(--bg2);
    margin: 20px 0;
}

/* Responsive styles for no events message */
@media (max-width: 768px) {
    .no-events-message {
        padding: 40px 20px;
    }
    
    .no-events-message h3 {
        font-size: 24px;
    }
    
    .no-events-message p {
        font-size: 14px;
    }
}

/* Grid Layout Styles */
.artist-ul.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 24px;
    /* padding: 20px 0; */
}

.artist-ul.grid-layout .artist-li {
    flex-direction: row;
    text-align: left;
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--bg2);
    transition: all 0.3s ease;
    cursor: pointer;
    gap: 20px;
}

.artist-ul.grid-layout .artist-li:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--cf);
    box-shadow: 0 8px 32px rgba(255, 0, 255, 0.1);
}

.artist-ul.grid-layout .artist-img-hidden {
    display: block !important;
    width: 200px;
    height: 150px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}

.artist-ul.grid-layout .artist-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.artist-ul.grid-layout .artist-date {
    width: auto;
    text-align: left;
    margin-bottom: 8px;
    flex-shrink: 0;
    min-width: 120px;
}

.artist-ul.grid-layout .artist-name {
    font-size: clamp(20px, 3vw, 28px);
    margin-bottom: 8px;
    text-align: left;
    line-height: 1.2;
    transition: transform 0.3s ease;
}
.artist-ul.grid-layout .artist-li:hover .artist-name::before, 
.artist-ul.grid-layout .artist-li:hover .artist-name::after {
    display: none;
}

.artist-ul.grid-layout .artist-li:hover .artist-name {
    transform: none;
}

.artist-ul.grid-layout .artist-venue {
    width: auto;
    text-align: left;
    /* color: var(--tx2); */
    font-size: 14px;
}

/* Compact Layout Styles */
.artist-ul.compact-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    padding: 0;
    margin: 0;
}

.artist-ul.compact-layout .artist-li {
    display: flex;
    flex-direction: column;
    padding: 16px;
    color: var(--tx2);
    border: 1px solid var(--bg2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    height: 100%;
    transition: all 0.2s ease;
    cursor: pointer;
}

.artist-ul.compact-layout .artist-li .artist-day-text {
    color: var(--tx);
}

.artist-ul.compact-layout .artist-li:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--cf);
    color: var(--tx);
}

.artist-ul.compact-layout .artist-img-hidden {
    display: none !important;
}

.artist-ul.compact-layout .artist-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.artist-ul.compact-layout .artist-date {
    width: 120px;
    text-align: center;
    margin-bottom: 0;
    flex-shrink: 0;
    font-size: 12px;
    opacity: 0.8;
}
.artist-ul.compact-layout .artist-li:hover .artist-date {
    transform: none;
}

.artist-ul.compact-layout .artist-name {
    font-family: var(--f-focus);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
    flex: 1;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    /* text-align: left; */
    /* margin-bottom: 0; */
    transition: transform 0.2s ease;
}

.artist-ul.compact-layout .artist-venue {
    text-align: center;
    width: 200px;
    /* color: var(--tx2); */
    font-size: 12px;
    flex-shrink: 0;
    opacity: 0.8;
}

/* .artist-ul.compact-layout .artist-li:hover .artist-venue {
    color: var(--tx);
} */

/* Remove glitch effects for compact layout */
.artist-ul.compact-layout .artist-li:hover .artist-name {
    transform: none;
}

.artist-ul.compact-layout .artist-name::before,
.artist-ul.compact-layout .artist-name::after {
    display: none !important;
}

/* List Layout Styles (original) */
.artist-ul.list-layout {
    display: flex;
    flex-direction: column;
}

.artist-ul.list-layout .artist-li {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 34px;
    padding: 50px 10px;
    color: var(--tx2);
    border-top: 1px solid var(--bg2);
    border-bottom: 1px solid var(--bg2);
    transition: color 200ms ease;
    cursor: crosshair;
    background: transparent;
    border-radius: 0;
}

.artist-ul.list-layout .artist-li:hover {
    transform: none;
    background: #ffffff09;
    border-color: var(--bg2);
    box-shadow: none;
}

.artist-ul.list-layout .artist-li:not(.artist-li-finished):hover .artist-date,
.artist-ul.list-layout .artist-li:not(.artist-li-finished):hover .artist-name {
    transform: translateX(20px);
}
.artist-ul.grid-layout .artist-li:not(.artist-li-finished):hover .artist-date,
.artist-ul.grid-layout .artist-li:not(.artist-li-finished):hover .artist-name {
    transform: translateX(0);
}

.artist-ul.list-layout .artist-img-hidden {
    display: none !important;
}

.artist-ul.list-layout .artist-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 34px;
}

.artist-ul.list-layout .artist-date {
    width: 13ch;
    text-align: left;
    margin-bottom: 0;
    flex-shrink: 0;
    transition: transform 200ms ease;
}

.artist-ul.list-layout .artist-name {
    font-family: var(--f-focus);
    font-weight: 800;
    font-size: clamp(30px, 4vw, 80px);
    line-height: 1;
    flex: auto;
    position: relative;
    text-align: left;
    margin-bottom: 0;
    transition: transform 200ms ease;
}

.artist-ul.list-layout .artist-venue {
    text-align: right;
    width: 200px;
    /* color: var(--tx2); */
    font-size: inherit;
    flex-shrink: 0;
}

.artist-ul.list-layout .artist-li:not(.artist-li-finished) .artist-name::before,
.artist-ul.list-layout .artist-li:not(.artist-li-finished) .artist-name::after {
    content: attr(data-name);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: transform 200ms ease;
}

.artist-ul.list-layout .artist-li:hover .artist-name::before {
    opacity: 0.8;
    color: #ff00ff;
    z-index: -1;
    transform: translate(-3px, 0);
    mix-blend-mode: screen;
}

.artist-ul.list-layout .artist-li:hover .artist-name::after {
    opacity: 0.8;
    color: #00ffff;
    z-index: -2;
    transform: translate(3px, 0);
    mix-blend-mode: screen;
}
.artist-ul.list-layout .artist-li:not(.artist-li-finished):hover { 
    color: var(--tx);
}

/* Touch Device Styles - No hover capability */
@media (hover: none) and (pointer: coarse) {
    /* Hide list layout button on touch devices */
    .layout-btn[data-layout="list"] {
        display: none;
    }
    
    /* Disable all hover interactions completely */
    .artist-li,
    .artist-ul.compact-layout .artist-li,
    .artist-ul.grid-layout .artist-li,
    .artist-ul.list-layout .artist-li {
        pointer-events: none !important;
    }
    
    /* Re-enable pointer events for child elements that need to be clickable */
    .artist-li *,
    .artist-ul.compact-layout .artist-li *,
    .artist-ul.grid-layout .artist-li *,
    .artist-ul.list-layout .artist-li * {
        pointer-events: auto !important;
    }
    
    /* Remove all hover effects by overriding them */
    .artist-li:hover,
    .artist-li:not(.artist-li-finished):hover,
    .artist-ul.compact-layout .artist-li:hover,
    .artist-ul.grid-layout .artist-li:hover,
    .artist-ul.list-layout .artist-li:hover {
        transform: none !important;
        background: transparent !important;
        border-color: var(--bg2) !important;
        color: var(--tx2) !important;
        box-shadow: none !important;
    }
    
    .artist-li:hover .artist-date,
    .artist-li:hover .artist-name,
    .artist-li:not(.artist-li-finished):hover .artist-date,
    .artist-li:not(.artist-li-finished):hover .artist-name,
    .artist-ul.compact-layout .artist-li:hover .artist-date,
    .artist-ul.compact-layout .artist-li:hover .artist-name,
    .artist-ul.grid-layout .artist-li:hover .artist-date,
    .artist-ul.grid-layout .artist-li:hover .artist-name,
    .artist-ul.list-layout .artist-li:hover .artist-date,
    .artist-ul.list-layout .artist-li:hover .artist-name {
        transform: none !important;
    }
    
    .artist-li:hover .artist-name::before,
    .artist-li:hover .artist-name::after,
    .artist-ul.list-layout .artist-li:hover .artist-name::before,
    .artist-ul.list-layout .artist-li:hover .artist-name::after {
        opacity: 0 !important;
    }
    
    .artist-ul.compact-layout .artist-li:hover .artist-venue {
        color: var(--tx2) !important;
    }
}

/* Responsive styles for small screens (keep hover effects for devices with cursor) */
@media (max-width: 768px) {
    .events-controls {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }
    
    .filter-controls {
        width: 100%;
        justify-content: center;
        flex-direction: column;
        gap: 12px;
    }
    
    .sort-controls,
    .date-filter-controls {
        width: 100%;
        justify-content: center;
    }
    
    .layout-controls {
        width: 100%;
        justify-content: center;
    }
    
    .artist-ul.grid-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .artist-ul.grid-layout .artist-li {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .artist-ul.grid-layout .artist-img-hidden {
        width: 100%;
        max-width: 300px;
        height: 200px;
        margin: 0 auto;
    }
    
    .artist-ul.grid-layout .artist-content {
        align-items: center;
    }
    
    .artist-ul.grid-layout .artist-date,
    .artist-ul.grid-layout .artist-name,
    .artist-ul.grid-layout .artist-venue {
        text-align: center;
        width: 100%;
    }
    
    /* Compact layout changes for small screens - column direction */
    .artist-ul.compact-layout .artist-li {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 16px;
    }
    
    .artist-ul.compact-layout .artist-content {
        flex-direction: column;
        gap: 4px;
    }
    
    .artist-ul.compact-layout .artist-date {
        width: auto;
        text-align: center;
        font-size: 12px;
    }
    
    .artist-ul.compact-layout .artist-name {
        font-size: 24px;
        color: var(--tx);
        font-weight: 800;
        text-align: center;
    }

    .artist-ul.compact-layout .artist-venue {
        text-align: center;
        width: auto;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .filter-controls {
        gap: 8px;
    }
    
    .sort-controls,
    .date-filter-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .sort-controls label,
    .date-filter-controls label {
        margin-bottom: 4px;
    }
    
    .artist-ul.grid-layout .artist-li {
        padding: 16px;
    }
    
    .artist-ul.grid-layout .artist-name {
        font-size: 20px;
    }
    
    /* .artist-ul.grid-layout .artist-img-hidden {
        width: 100%;
        max-height: 450px;
    } */
    
    .artist-ul.compact-layout .artist-li {
        flex-direction: column;
        text-align: center;
        align-items: flex-start;
        padding: 10px 12px;
        gap: 6px;
    }
    
    .artist-ul.compact-layout .artist-content {
        flex-direction: column;
        gap: 4px;
    }
    
    .artist-ul.compact-layout .artist-date {
        width: auto;
        text-align: center;
        font-size: 11px;
    }
    
    .artist-ul.compact-layout .artist-name {
        font-size: 14px;
    }
    
    .artist-ul.compact-layout .artist-venue {
        width: auto;
        text-align: center;
        font-size: 11px;
    }
}

.events {
    position: relative;
    width: 100dvw;
    flex-shrink: 0;
    /* margin-top: 100px; */
    /* z-index: 2; */
    /* margin-top: 120px;
    height: 100%;
    transform-origin: top center;
    background-color: var(--tx);
    color: var(--bg);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding-top: var(--side-padding);
    min-height: 200vh; */
}

.heading {
    font-size: 8vw;
    font-weight: 800;
    font-family: var(--f-focus);
    /* text-align: right; */
}

.artist-li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 34px;
    padding: 50px 10px;
    color: var(--tx2);
    border-top: 1px solid var(--bg2);
    border-bottom: 1px solid var(--bg2);
    transition: color 200ms ease;
    cursor: crosshair;
}
.artist-li:not(.artist-li-finished):hover .artist-date,
.artist-li:not(.artist-li-finished):hover .artist-name {
    transform: translateX(20px);
}
.artist-name {
    font-family: var(--f-focus);
    font-weight: 800;
    font-size: 80px;
    line-height: 1;
    flex: auto;
    position: relative;
    /* transition: transform 200ms ease; */
}
.artist-li:not(.artist-li-finished) .artist-name::before,
.artist-li:not(.artist-li-finished) .artist-name::after {
    content: attr(data-name);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: transform 200ms ease;
}
.artist-li:hover .artist-name::before {
    opacity: 0.8;
    color: #ff00ff;
    z-index: -1;
    transform: translate(-3px, 0);
    mix-blend-mode: screen;
}
.artist-li:hover .artist-name::after {
    opacity: 0.8;
    color: #00ffff;
    z-index: -2;
    transform: translate(3px, 0);
    mix-blend-mode: screen;
}
.artist-venue,
.artist-date { 
    flex-shrink: 0;
    transition: color 150ms ease;
}
.artist-li:not(.artist-li-finished):hover { 
    color: var(--tx);
    background-color: #ffffff09;
}
.artist-date { 
    width: 13ch;
    transition: transform 200ms ease;
}
.artist-date span {
    display: block;
}
.artist-venue { 
    text-align: right;
    width: 200px;
}
.artist-li-finished::after {
    content: "Past Event";
    position: absolute;
    top: 0;
    left: 10px;
    background-color: var(--tx2);
    padding: 2px 8px;
    border-radius: 2px;
    color: var(--bg);
    /* font-weight: bold; */
    z-index: 2;
    transition: background-color 200ms ease;
}
@keyframes stripeMove {
  from { background-position: 0 0; }
  to { background-position: -231px 0; }
}
.artist-li-finished::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        60deg,
        #ffffff29 0px,
        #ffffff29 2px,
        transparent 2px,
        transparent 10px
    );
    pointer-events: none;
    z-index: 1;
    background-size: 200% 200%;
    background-position: 0 0;
}
.artist-li-finished:hover::before {
    animation: stripeMove 4s linear infinite;
}
.artist-li-finished:hover::after {
    background-color: var(--tx);
}
.artist-img-hidden {
    display: none !important;
}
.hover-reveal {
    position: fixed;
    width: 300px;
    height: 400px;
    top: 0; 
    left: 0;
    pointer-events: none;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    will-change: transform;
    border-radius: 4px;
    overflow: hidden;
}
.hover-reveal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.events-events-link-container {
    position: relative;
    width: 100%;
    min-height: 400px;
    height: 60vh;
    overflow: hidden;
    border: 1px solid var(--bg2);
    /* box-shadow: 0 0 120px 14px rgba(255, 0, 0, 0.2); */
    margin: 60px 0;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    /* gap: 32px; */
    border-radius: 40px;
}
.events-events-link-video-container::after {
    content: "";
    position: absolute;
    inset: 0; /* Covers the entire container */
    z-index: 1; /* Ensures it sits on top of the video */
    
    /* Lightweight Monochrome Noise (SVG Data URI) */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.0' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='1'/%3E%3C/svg%3E");
    background-color: black;
    /* Adjust these to control the noise look */
    opacity: 0.65;          /* Controls noise intensity (0.05 to 0.2 is usually best) */
    mix-blend-mode: overlay; /* Blends noise with the video (try 'hard-light' or 'multiply' for different looks) */
    pointer-events: none;   /* Allows clicks to pass through to the video/links below */
}
.events-events-link-video-container {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -999;
}
.events-events-link-container video {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}
.events-events-link {
    display: block;
    width: fit-content;
    /* margin: 120px auto; */
    text-align: center;
    /* font-size: 30px; */
    /* background-color: var(--tx);
    color: var(--bg); */
    /* z-index: 2; */
    padding: 8px 18px;
    border-radius: 4px;
    /* mix-blend-mode: exclusion; */
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.8));
}
.bottom-right-arrow path {
    fill: var(--tx);
}

/* Load More Button */
.load-more-btn {
    display: block;
    margin: 40px auto;
    padding: 16px 32px;
    /* background: var(--bg2); */
    background: rgba(255, 255, 255, 0.05);
    color: var(--tx);
    border: 1px solid var(--bg2);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--f-focus);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.load-more-btn:hover {
    transform: translateY(-2px);
}

.load-more-btn:active {
    transform: translateY(0);
}

.load-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.load-more-btn:hover::before {
    left: 100%;
}

/* Responsive styles for load more button */
@media (max-width: 768px) {
    .load-more-btn {
        margin: 30px auto;
        padding: 14px 28px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .load-more-btn {
        margin: 20px auto;
        padding: 12px 24px;
        font-size: 13px;
        width: calc(100% - 40px);
        max-width: 300px;
    }
}

/*  */