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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    overflow: hidden;
    background: #000;
    color: #fff;
    height: 100vh;
    width: 100vw;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    gap: 24px;
    padding: 24px;
    overflow: hidden;
    z-index: 1;
}

.column {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 300px;
    will-change: transform;
}

.column:nth-child(1), .column:nth-child(3) {
    transform: translateY(-50%);
}

@keyframes scroll-down {
    from { transform: translateY(-50%); }
    to { transform: translateY(50%); }
}

@keyframes scroll-up {
    from { transform: translateY(0%); }
    to { transform: translateY(-100%); }
}

.column:nth-child(1), .column:nth-child(3) {
    animation: scroll-down 30s linear infinite;
}

.column:nth-child(2), .column:nth-child(4) {
    animation: scroll-up 30s linear infinite;
}

.column img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.column img:hover {
    transform: scale(1.05);
}

.message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    text-align: center;
    max-width: 700px;
    padding: 50px;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    z-index: 2;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

p {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.signature {
    font-size: 1.2rem;
    font-style: italic;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.contact {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.contact-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.contact-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.contact-item .icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    opacity: 0.8;
}

/* Mobile styles */
@media (max-width: 768px) {
    .background {
        padding: 12px;
    }

    .column {
        min-width: 100%;
    }

    .column:not(:first-child) {
        display: none;
    }

    .message {
        transform: translate(-50%, -50%) scale(0.95);
        padding: 30px;
        max-width: 90%;
    }

    .contact-row {
        flex-direction: column;
        gap: 10px;
    }

    .contact-item {
        width: 100%;
        justify-content: center;
    }
}

/* Ensure blur works on Safari */
@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
    .message {
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
    }
}
