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

html {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #4a0e2e 0%, #7d1844 50%, #2b0a1c 100%);
    background-attachment: fixed;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    color: #f5f5f5;
}

header {
    position: relative;
    height: 100vh;
    width: 100%;
    max-width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 60px;
    overflow: hidden;
}

.clouds {
    position: relative;
    width: 720px;
    max-width: 90vw;
    height: 440px;
}

.cloud {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -1.5em;
    text-decoration: none;
    cursor: pointer;
    color: #ffffff;
    font-size: 2.6em;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.92;
    animation: figure8 8s linear infinite, centerGlow 8s ease-in-out infinite;
}

@keyframes figure8 {
    0%     { transform: translate(0, 0); }
    12.5%  { transform: translate(200px, -150px); }
    25%    { transform: translate(290px, 0); }
    37.5%  { transform: translate(200px, 150px); }
    50%    { transform: translate(0, 0); }
    62.5%  { transform: translate(-200px, -150px); }
    75%    { transform: translate(-290px, 0); }
    87.5%  { transform: translate(-200px, 150px); }
    100%   { transform: translate(0, 0); }
}

@keyframes centerGlow {
    0%     { text-shadow: 0 0 0 rgba(255, 255, 255, 0); }
    45%    { text-shadow: 0 0 0 rgba(255, 255, 255, 0); }
    50%    { text-shadow: 0 0 50px rgba(255, 255, 255, 1), 0 0 100px rgba(255, 255, 255, 0.6); }
    55%    { text-shadow: 0 0 0 rgba(255, 255, 255, 0); }
    100%   { text-shadow: 0 0 0 rgba(255, 255, 255, 0); }
}

.cloud:hover {
    animation-play-state: paused;
    text-shadow: 0 4px 24px rgba(255, 255, 255, 0.5);
}

.header-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    text-align: center;
    padding: 0 20px;
}

h1 {
    font-size: 6em;
    font-weight: 300;
    letter-spacing: 4px;
}

.tagline {
    font-size: 1.2em;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.75;
}

.scroll-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: scrollHintPulse 2.5s ease-in-out infinite;
}

.scroll-triangle {
    font-size: 1.5rem;
    line-height: 1;
}

@keyframes scrollHintPulse {
    0%, 100% { opacity: 0.15; transform: translateY(0); }
    50%       { opacity: 1.0;  transform: translateY(8px); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 22px;
    padding: 80px 40px 40px;
    flex-wrap: wrap;
}

.social-links a {
    color: #f5f5f5;
    text-decoration: none;
    font-size: 0.95em;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 12px 28px;
    border-radius: 6px;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.08);
    letter-spacing: 0.5px;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    h1 { font-size: 3.5em; }
    .tagline { font-size: 1.05em; }
    .cloud { width: 160px; height: 105px; }

    header {
        padding-left: 0;
        padding-right: 0;
    }

    .header-bottom {
        width: 100%;
        padding: 0 20px;
    }

    .scroll-hint {
        width: 100%;
        flex-direction: row;
    }
}
