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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: background 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(0.5px);
}

body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

@media (prefers-color-scheme: light) {
    body::after {
        background: rgba(255, 255, 255, 0.3);
    }
}

.container {
    text-align: center;
    max-width: 600px;
    z-index: 1;
    position: relative;
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: -0.5px;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.5),
        0 0 40px rgba(255, 255, 255, 0.3),
        0 0 60px rgba(255, 255, 255, 0.1),
        0 2px 10px rgba(0, 0, 0, 0.3),
        0 4px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px) saturate(150%) brightness(110%);
    -webkit-backdrop-filter: blur(20px) saturate(150%) brightness(110%);
    padding: 40px;
    border-radius: 25px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(255, 255, 255, 0.1) 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

h1::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@media (prefers-color-scheme: light) {
    h1 {
        color: rgba(26, 26, 26, 0.7);
        text-shadow: 
            0 0 20px rgba(0, 0, 0, 0.3),
            0 0 40px rgba(0, 0, 0, 0.2),
            0 0 60px rgba(0, 0, 0, 0.1),
            0 2px 10px rgba(255, 255, 255, 0.8),
            0 4px 20px rgba(0, 0, 0, 0.1);
        background: linear-gradient(135deg, 
            rgba(0, 0, 0, 0.1) 0%, 
            rgba(0, 0, 0, 0.05) 50%, 
            rgba(0, 0, 0, 0.08) 100%);
        border: 2px solid rgba(0, 0, 0, 0.2);
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.1),
            0 0 0 1px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    }
    
    h1::before {
        background: linear-gradient(90deg, 
            transparent, 
            rgba(0, 0, 0, 0.1), 
            transparent);
    }
}

.photo-credit {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.photo-credit a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
    text-decoration: none;
}

.photo-credit a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.photo-credit svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
}

@media (prefers-color-scheme: light) {
    .photo-credit a {
        background: rgba(0, 0, 0, 0.05);
        border: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .photo-credit a:hover {
        background: rgba(0, 0, 0, 0.1);
    }
    
    .photo-credit svg {
        fill: #1a1a1a;
    }
}
