html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Times New Roman', Times, serif;
    background-color: #111;
    color: #ddd;
    min-height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.noise-bg {
    position: fixed;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    width: 200%;
    height: 200vh;
    background: transparent url('noise.png') repeat 0 0;
    background-repeat: repeat;
    animation: bg-animation .2s infinite;
    opacity: .9;
    visibility: visible;
    z-index: -1;
}

.content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    perspective: 1000px;
}

.ring-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    align-items: center;
}

.download-link {
    transform: translateZ(5px);
}

.logo-link {
    font-family: 'Times New Roman', Times, serif;
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.text-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    pointer-events: none;
}

.glowing-text {
    font-family: 'Times New Roman', Times, serif;
    color: #fff;
    text-decoration: none;
    animation: glow-blur 3s infinite alternate;
}

@keyframes glow-blur {
    from {
        text-shadow: 0 0 1px #fff, 
                     0 0 2px #fff, 
                     0 0 5px #d3d3d3,
                     -1px 0 3px #acacac,
                     1px 0 3px #acacac;
    }
    to {
        text-shadow: 0 0 2px #fff, 
                     0 0 4px #d3d3d3, 
                     0 0 8px #d3d3d3,
                     -1px 0 5px #acacac,
                     1px 0 5px #acacac;
    }
}

.text-ring span {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -5px;
    margin-top: -10px;
    font-size: 20px;
    text-transform: lowercase;
    backface-visibility: hidden;
}

.outer-char {
    color: #ccc;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.inner-char {
    color: #666; /* Dimmer for depth */
    text-shadow: 0 0 5px rgba(150, 150, 150, 0.4);
}

.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 101;
}

@keyframes glow {
    0% {
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    }
    100% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 
                    0 0 20px rgba(255, 255, 255, 0.5), 
                    0 0 30px rgba(255, 255, 255, 0.3);
    }
}

@keyframes bg-animation {
    0% { transform: translate(0,0) }
    10% { transform: translate(-5%,-5%) }
    20% { transform: translate(-10%,5%) }
    30% { transform: translate(5%,-10%) }
    40% { transform: translate(-5%,15%) }
    50% { transform: translate(-10%,5%) }
    60% { transform: translate(15%,0) }
    70% { transform: translate(0,10%) }
    80% { transform: translate(-15%,0) }
    90% { transform: translate(10%,5%) }
    100% { transform: translate(5%,0) }
} 