* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    height: 100%;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000;
    color: #fff;
}
.container {
    position: relative;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 300%;
    height: 300%;
    background: linear-gradient(45deg, #1e1e2f, #2e003e, #003e5f, #1e1e2f);
    background-size: 600% 600%;
    animation: gradientShift 20s ease infinite;
    z-index: 1;
}
@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    25%  { background-position: 50% 100%; }
    50%  { background-position: 100% 50%; }
    75%  { background-position: 50% 0%; }
    100% { background-position: 0% 50%; }
}
.stars, .stars2, .stars3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: transparent;
    z-index: 2;
}
.stars:after, .stars2:after, .stars3:after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-repeat: repeat;
    background-position: 0 0;
    animation: moveStars 60s linear infinite;
}
.stars:after {
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    animation-duration: 120s;
}
.stars2:after {
    background-image: radial-gradient(#ffffff 2px, transparent 2px);
    background-size: 100px 100px;
    opacity: 0.2;
    animation-duration: 200s;
}
.stars3:after {
    background-image: radial-gradient(#ffffff 3px, transparent 3px);
    background-size: 150px 150px;
    opacity: 0.15;
    animation-duration: 300s;
}
@keyframes moveStars {
    from { transform: translate(0, 0); }
    to   { transform: translate(1000px, 1000px); }
}
.content {
    position: relative;
    text-align: center;
    z-index: 10;
}
.infinity-logo {
    font-size: 15rem;
    line-height: 1;
    animation: glowInfinity 3s ease-in-out infinite;
    user-select: none;
}
@keyframes glowInfinity {
    0% {
        color: #ffffff;
        text-shadow:
            0 0 20px #ffffff,
            0 0 40px #00d1ff,
            0 0 60px #00d1ff;
    }
    50% {
        color: #ffffff;
        text-shadow:
            0 0 20px #ffffff,
            0 0 40px #ff006e,
            0 0 60px #ff006e;
    }
    100% {
        color: #ffffff;
        text-shadow:
            0 0 20px #ffffff,
            0 0 40px #00d1ff,
            0 0 60px #00d1ff;
    }
}
.subtitle {
    font-size: 1.75rem;
    margin-top: 1rem;
    opacity: 0;
    animation: fadeInText 2s ease forwards;
    animation-delay: 1.5s;
}
@keyframes fadeInText {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.6;
    animation: pulseFooter 3s ease infinite;
    z-index: 10;
}
@keyframes pulseFooter {
    0%, 100% { opacity: 0.6; }
    50%      { opacity: 0.3; }
}
@media (max-width: 768px) {
    .container { padding: 0 1rem; }
    .bg-gradient { background-size: 800% 800%; }
    .stars, .stars2, .stars3 { width: 300%; height: 300%; }
    .infinity-logo { font-size: 10rem; }
    .subtitle { font-size: 1.5rem; margin-top: 0.75rem; }
    .footer { bottom: 15px; font-size: 0.8rem; }
}
@media (max-width: 767px) {
    .container { padding: 0 0.5rem; }
    .infinity-logo { font-size: 8rem; line-height: 1.1; }
    .subtitle { font-size: 1.25rem; margin-top: 0.5rem; }
    .footer { bottom: 10px; font-size: 0.75rem; }
}
