:root {
    --bg-white: #ffffff;
    --text-black: #000000;
    --burgundy: #800020;
    --font-main: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: #000;
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
}

/* Grainy Overlay */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    opacity: 0.1;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48ZmlsdGVyIGlkPSJuIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iMC42NSIgbnVtT2N0YXZlcz0iMyIgc3RpdGNoVGlsZXM9InN0aXRjaCIvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbHRlcj0idXJsKCNuKSIvPjwvc3ZnPg==');
}

.main-container {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
}

.background-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-video {
    width: 96vw;
    height: 96vh;
    object-fit: cover;
    display: block;
    border-radius: 4px;
    will-change: transform;
    transform: translateZ(0);
}

/* Info Card */
.info-card {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    background-color: var(--bg-white);
    padding: 1.5rem 2rem;
    border-radius: 4px;
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    min-width: 340px;
    min-height: 180px;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
}

.nav-links a {
    color: var(--text-black);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: lowercase;
    transition: opacity 0.3s ease;
}

.nav-links a.active {
    opacity: 1 !important;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.nav-links a:not(.active) {
    opacity: 0.4;
}

.separator {
    font-weight: 400;
    opacity: 0.2;
}

/* Views */
.card-content {
    position: relative;
    width: 100%;
}

.view {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.view.active {
    display: block;
}

.view-header {
    text-align: center;
    padding: 0.5rem 0;
}

.view-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 0.25rem;
}

.view-header p {
    font-weight: 500;
    opacity: 0.5;
    font-size: 0.9rem;
}

/* Card Bottom (Home View) */
.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.platform-icons {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.platform-icons a {
    color: var(--text-black);
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.platform-icons a:hover {
    transform: translateY(-3px);
}

.platform-icons svg {
    width: 100%;
    height: 100%;
}

.artist-logo {
    width: 160px;
    height: 80px;
    background-image: url('logo_final.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    /* Black & White Filter: Grayscale and high contrast */
    filter: grayscale(1) contrast(200%) brightness(1.2);
}

/* Store Loading Bar */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0;
}

.loading-bar {
    width: 100%;
    height: 6px;
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.loading-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: var(--text-black);
    animation: loadProgress 2s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes loadProgress {
    from { width: 0; }
    to { width: 32%; }
}

.loading-percentage {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.5;
}

.tour-status {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0;
    margin-bottom: 0.25rem;
    opacity: 1 !important;
}

.tour-list {
    width: 100%;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tour-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 700;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.tour-item span:first-child {
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tour-item span:last-child {
    opacity: 0.4;
}

.tour-sub {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.3 !important;
    text-align: center;
    margin-top: 1rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .info-card {
        bottom: 0;
        right: 0;
        width: 100%;
        min-width: 100%;
        border-radius: 0;
        /* Padding including safe area for Safari bottom bar */
        padding: 2rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom));
        box-shadow: none;
    }

    .card-bottom {
        flex-direction: column;
        gap: 2rem;
    }
}
