* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #000;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

/* Modified to use background-image instead of img elements */
#displayed-background, #transition-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
    will-change: transform, background-position;
    /* Background image styling for tiling */
    background-repeat: repeat;
    background-size: auto;
    filter: url(#dissolve-filter);
}

.canvas-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

.content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    padding: 20px;
}

.logo {
    margin-bottom: 40px;
    font-size: 2.5rem;
    letter-spacing: 15px;
    text-transform: uppercase;
    font-weight: 700;
}

h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    letter-spacing: 10px;
    text-transform: uppercase;
}

p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.6;
    opacity: 0.8;
}

.countdown {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 5px;
    min-width: 100px;
    backdrop-filter: blur(5px);
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: bold;
}

.countdown-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-top: 5px;
}

.social-links {
    display: flex;
    gap: 25px;
    margin-top: 50px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
    backdrop-filter: blur(5px);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Add to your CSS file */
.safari-warning {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.warning-content {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 10px;
    max-width: 80%;
}

.hidden {
    display: none !important;
}

/* Button to manually trigger image transitions */
#change-image {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

#change-image:hover {
    background: rgba(255, 255, 255, 0.3);
}