/* CSS Variables */
:root {
    --background: #141414;
    --foreground: #F4F4F4;
    --card: #222222;
    --card-foreground: #F4F4F4;
    --primary: #E48A57;
    --primary-foreground: #141414;
    --secondary: #2A2A2A;
    --secondary-foreground: #F4F4F4;
    --muted: #2A2A2A;
    --muted-foreground: rgba(244, 244, 244, 0.6);
    --border: rgba(255, 255, 255, 0.05);
    --radius: 1rem;
    
    --font-display: "UnifrakturMaguntia", cursive;
    --font-sans: "Inter", sans-serif;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--foreground);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Typography */
.font-display {
    font-family: var(--font-display);
}

.font-sans {
    font-family: var(--font-sans);
}

/* Hide Scrollbar */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Social Icons */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.social-icon:active {
    transform: scale(0.95);
}

/* Tab Navigation */
.tab-button {
    position: relative;
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 900;
    font-family: "Raleway", sans-serif;
    font-style: italic;
    text-transform: uppercase;
    transition: color 0.3s ease;
    color: rgba(255, 255, 255, 0.4);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    scroll-snap-align: start;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.tab-button:hover {
    color: rgba(255, 255, 255, 0.7);
}

.tab-button.active {
    color: white;
}

#activeIndicator {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background-color: var(--primary);
    box-shadow: 0 0 10px rgba(228, 138, 87, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Section Titles */
.section-title {
    font-family: "Raleway", sans-serif !important;
    font-weight: 900 !important;
    font-style: italic !important;
    text-transform: uppercase !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Dates Grid Container */
#datesContainer {
    display: grid;
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 1fr);
    gap: 0.5rem;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#datesContainer::-webkit-scrollbar {
    display: none;
}

/* Date Card */
.date-card {
    padding: 0.75rem;
    border-radius: 0.75rem;
    background-color: var(--card);
    border: 1px solid var(--border);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    transition: border-color 0.3s ease;
    cursor: pointer;
}

.date-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.date-card:hover .date-calendar {
    background-color: #333;
}

.date-calendar {
    width: 3.5rem;
    height: 100%;
    flex-shrink: 0;
    border-radius: 0.5rem;
    background-color: var(--secondary);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.date-month {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    line-height: 1;
    margin-bottom: 0.125rem;
}

.date-day {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.date-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.date-venue {
    color: white;
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1.2;
    text-align: left;
}

.date-location {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8125rem;
    line-height: 1.2;
    text-align: left;
}

.date-button {
    padding: 0.175rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid;
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: flex-start;
}

.date-button-available {
    background-color: var(--background);
    border-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.date-button-available:hover {
    background-color: var(--primary);
    color: black;
    border-color: var(--primary);
}

.date-button-soldout {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
}

/* Pinned Link Row */
.pinned-row {
    display: flex;
    align-items: center;
    gap: 0;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(210, 0, 1, 0.15), rgba(251, 86, 15, 0.1));
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(210, 0, 1, 0.3);
    min-height: 100px;
}

.pinned-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #D20001;
    z-index: 1;
}

.pinned-row:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(210, 0, 1, 0.2), rgba(251, 86, 15, 0.15));
    box-shadow: 0 8px 25px rgba(210, 0, 1, 0.4);
}

.pinned-row:active {
    transform: scale(0.98);
}

.pinned-cover {
    width: 9rem;
    height: 100%;
    object-fit: cover;
    background-color: #2A2A2A;
    flex-shrink: 0;
}

.pinned-info {
    flex: 1;
    min-width: 0;
    padding: 1.5rem;
}

.pinned-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #FFF9F3;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.pinned-row:hover .pinned-title {
    color: #FB560F;
}

.pinned-description {
    font-size: 0.875rem;
    color: rgba(255, 249, 243, 0.7);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.pinned-icon {
    color: #D20001;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    padding: 1.5rem;
}

.pinned-row:hover .pinned-icon {
    transform: scale(1.1);
}

/* Release Row */
.release-row {
    display: flex;
    align-items: center;
    gap: 0;
    border-radius: 1rem;
    background-color: #2A2A2A;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.release-row:hover {
    background-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.release-row:active {
    transform: scale(0.98);
}

.release-cover {
    width: 6rem;
    height: 100%;
    object-fit: cover;
    background-color: var(--secondary);
    flex-shrink: 0;
}

.release-info {
    flex: 1;
    min-width: 0;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.release-title {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s ease;
    margin-bottom: 0.25rem;
}

.release-row:hover .release-title {
    color: #FB560F;
}

.release-artist {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* Section container for mixtapes */
#mixtapes {
    overflow: hidden;
    position: relative;
}

#mixtapes > div.relative {
    overflow: hidden;
}

/* Reset para garantir que o Swiper funcione corretamente */
.mixtapes-swiper * {
    box-sizing: border-box;
}

.mixtapes-swiper,
.mixtapes-swiper .swiper-wrapper,
.mixtapes-swiper .swiper-slide {
    list-style: none;
}

/* Forçar layout horizontal */
.mixtapes-swiper .swiper-wrapper {
    -webkit-box-orient: horizontal !important;
    -webkit-box-direction: normal !important;
}

/* Swiper customization for mixtapes */
.mixtapes-swiper {
    width: 100%;
    max-width: 100%;
    overflow: hidden !important;
    margin: 0;
    padding: 0 1.5rem;
}

.mixtapes-swiper .swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
    transform-style: preserve-3d;
    transition-property: transform;
}

.mixtapes-swiper .swiper-slide {
    width: 280px !important;
    max-width: 280px;
    min-width: 280px;
    height: auto;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    flex-basis: 280px !important;
    box-sizing: border-box;
    display: block !important;
    position: relative;
    margin-right: 16px;
}

.mixtapes-swiper .swiper-slide:last-child {
    margin-right: 0;
}

/* Responsive width for mixtape slides */
@media (max-width: 480px) {
    .mixtapes-swiper .swiper-slide {
        width: 260px !important;
        max-width: 260px;
        min-width: 260px;
        flex-basis: 260px !important;
    }
}

/* Mixtape Card */
.mixtape-card {
    display: block !important;
    width: 100%;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
}

.mixtape-container {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.mixtape-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.7s ease;
}

.mixtape-card:hover .mixtape-image {
    transform: scale(1.05);
    opacity: 0.8;
}

.mixtape-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent, transparent);
}

.mixtape-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mixtape-play-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.3s ease;
}

.mixtape-card:hover .mixtape-play-btn {
    transform: scale(1.1);
}

.mixtape-card:active .mixtape-play-btn {
    transform: scale(0.95);
}

.mixtape-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
}

.mixtape-title {
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.mixtape-plays {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-family: 'Courier New', monospace;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* DJ Set Card */
.djset-card {
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.djset-card:hover {
    transform: translateY(-2px);
}

.djset-container {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.djset-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: all 0.7s ease;
}

.djset-card:hover .djset-image {
    transform: scale(1.05);
    opacity: 0.8;
}

.djset-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent, transparent);
}

.djset-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.djset-play-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.3s ease;
}

.djset-card:hover .djset-play-btn {
    transform: scale(1.1);
}

.djset-card:active .djset-play-btn {
    transform: scale(0.95);
}

.djset-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
}

.djset-title {
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

/* Video Card */
.video-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--border);
    cursor: pointer;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.video-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: all 0.7s ease;
}

.video-card:hover .video-image {
    transform: scale(1.05);
    opacity: 0.8;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent, transparent);
}

.video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.3s ease;
}

.video-card:hover .video-play-btn {
    transform: scale(1.1);
}

.video-card:active .video-play-btn {
    transform: scale(0.95);
}

.video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
}

.video-title {
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.video-duration {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-family: 'Courier New', monospace;
}

/* Scroll Arrows */
.scroll-arrow {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
}

.scroll-arrow:hover {
    background-color: var(--primary);
    color: black;
    border-color: var(--primary);
    transform: scale(1.05);
}

.scroll-arrow:active {
    transform: scale(0.95);
}

.scroll-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.scroll-arrow:disabled:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
    transform: scale(1);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Responsive */
@media (max-width: 480px) {
    #datesContainer {
        grid-template-rows: repeat(2, auto);
        grid-auto-flow: column;
        grid-auto-columns: minmax(240px, 1fr);
        gap: 0.375rem;
    }
    
    .date-card {
        padding: 0.625rem;
        gap: 0.625rem;
    }
    
    .date-calendar {
        width: 3rem;
        height: 100%;
    }
    
    .date-month {
        font-size: 0.5625rem;
    }
    
    .date-day {
        font-size: 1.25rem;
    }
    
    .date-venue {
        font-size: 0.875rem;
    }
    
    .date-location {
        font-size: 0.75rem;
    }
    
    .date-button {
        padding: 0.3125rem 0.75rem;
        font-size: 0.6875rem;
    }
}

