* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Syncopate", sans-serif;
    min-height: 100vh;
    background: linear-gradient(180deg, #9ce4e4 0%, #8ce0e0 25%, #21acac 50%, #4461e6 75%, #1073ac 100%);
    background-attachment: fixed;
}

.header-container {
    text-align: center;
    max-width: 600px;
    width: 90%;
    padding: 40px 20px 20px;
    margin: 0 auto;
}

.center-img {
    display: block;
    margin: 0 auto 30px auto;
    max-width: 100%;
    width: 100%;
    max-width: 500px;
    height: auto;
}

h1 {
    margin: 20px 0 10px 0;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 700;
}

p {
    margin: 10px 0 20px;
    color: #1b064b;
    font-size: clamp(0.875rem, 2vw, 1rem);
}

.links-container {
    max-width: 600px;
    width: 90%;
    margin: 0 auto 40px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: #bed5ff;
    border-radius: 16px;
}

.link-button {
    display: block;
    padding: 16px 24px;
    background-color: #1e4a55;
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 12px;
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid #1e4a55;
    cursor: pointer;
}

.link-button:hover {
    background-color: white;
    color: #1e4a55;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 74, 85, 0.3);
}

.discord-special {
    position: relative;
    background: linear-gradient(135deg, #5865F2 0%, #7289DA 100%);
    border-color: #5865F2;
    animation: shake 2s ease-in-out infinite;
    overflow: hidden;
}

.discord-special::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    animation: sparkle 3s linear infinite;
}

.discord-special:hover {
    background: white;
    color: #5865F2;
    border-color: #5865F2;
    animation: shake-intense 0.5s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px) rotate(-1deg); }
    20%, 40%, 60%, 80% { transform: translateX(2px) rotate(1deg); }
}

@keyframes shake-intense {
    0%, 100% { transform: translateX(0) translateY(-2px) rotate(0deg); }
    25% { transform: translateX(-3px) translateY(-2px) rotate(-2deg); }
    50% { transform: translateX(3px) translateY(-2px) rotate(0deg); }
    75% { transform: translateX(-3px) translateY(-2px) rotate(2deg); }
}

@keyframes sparkle {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (min-width: 768px) {
    .links-container {
        padding: 40px;
        gap: 15px;
    }
    
    .link-button {
        padding: 18px 32px;
    }
}