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

:root {
    --primary-color: #230995;
    --secondary-color: #f72585;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --noir-color: #1a1a1a;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background: linear-gradient(135deg, #f0f4ff 0%, #e6f0ff 50%, #f0f4ff 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Add subtle background elements for depth */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 60%);
    z-index: -1;
    pointer-events: none;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Container Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}

header h1 {
    font-size: 3.5rem;
    color: #03315F;
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
}

.tagline {
    font-size: 1.3rem;
    color: rgba(33, 37, 41, 0.8);
    font-weight: 400;
    letter-spacing: 0.5px;
    position: relative;
}

/* Play Cards */
.plays-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    flex: 1;
}

/* Glassmorphism animations and effects */
@keyframes subtle-glow {
    0% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    }

    50% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 0 20px rgba(255, 255, 255, 0.15);
    }

    100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    }
}

.play-card {
    flex: 0 0 calc(50% - 1rem);
    min-width: 300px;
    max-width: 500px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.play-year {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 300;
    margin-top: -5px;
}

#beauty {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
        url("batb.png") center/cover no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#noir {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),
        url('noir.png') center/cover no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#poppins {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3)),
        url('poppins.png') center/cover no-repeat !important;
}

.play-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    animation: subtle-glow 3s infinite;
}

.play-content {
    width: 100%;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    position: relative;
    z-index: 2;
}

.play-card:hover .play-content {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.25);
}

/* Remove the blurry background extension */
.play-card::before {
    display: none;
}

/* Ensure bottom corners stay rounded */
.play-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.play-card:hover::after {
    opacity: 1;
}

.play-card h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.play-card p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer Styles */
footer {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    color: rgba(108, 117, 125, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* 404 Page Styles */
.error-page {
    text-align: center;
    justify-content: center;
}

.error-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.error-content h2 {
    font-size: 8rem;
    color: var(--secondary-color);
    line-height: 1;
}

.error-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.error-content p {
    font-size: 1.2rem;
    max-width: 500px;
    margin: 0 auto 2rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }

    .play-card {
        flex: 1 1 100%;
        min-width: 100%;
        height: 350px;
    }

    .error-content h2 {
        font-size: 6rem;
    }

    .error-content h3 {
        font-size: 1.8rem;
    }
}

body {
    background: linear-gradient(135deg, #f0f4ff 0%, #e6f0ff 50%, #f0f4ff 100%);
}

/* Vision OS style tiles */
.play-card {
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border-radius: 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(255, 255, 255, 0.3) inset,
        0 -1px 3px rgba(0, 0, 0, 0.1) inset !important;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.play-card:hover {
    transform: translateY(-8px) scale(1.03) !important;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, .0.2),
        0 1px 3px rgba(255, 255, 255, 0.4) inset,
        0 -1px 3px rgba(0, 0, 0, 0.1) inset !important;
}

.play-content {
    width: 100%;
    padding: 0.5rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    position: relative;
    z-index: 2;
}

#beauty {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3)),
        url('batb.png') center/cover no-repeat !important;
}

#noir {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3)),
        url('noir.png') center/cover no-repeat !important;
}

.play-card h2 {
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
}

.countdown-container {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(3, 49, 95, 0.8);
    margin: 2rem 0 0;
    padding: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.countdown-timer {
    display: inline-block;
    margin-top: 0.3rem;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #03315F;
    font-weight: 500;
}

.countdown-expired-message {
    text-align: center;
    display: none;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(255, 255, 255, .4) inset,
        0 -1px 3px rgba(0, 0, 0, 0.05) inset;
    max-width: 600px;
    width: 100%;
    margin: 2rem auto;
    margin-top: -2rem;
    animation: subtle-glow 4s infinite;
    color: #03315F;
}

.countdown-expired-message h2 {
    margin-bottom: 5px;
    color: #03315F;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.countdown-expired-message p {
    font-size: 1.1rem;
    letter-spacing: 0.3px;
}

/* Light reflection effect */
.play-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: 0.5s;
    pointer-events: none;
}

.play-card:hover::before {
    left: 150%;
    transition: 0.7s ease-in-out;
}