@import url("https://use.typekit.net/uih6pil.css");

@media (max-width: 768px) {
    * {
        cursor: auto !important;
    }

    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }
}

:root {
    --bg: #fdfaf6;
    --text: #000000;
    --button-bg: #000000;
    --button-text: #fdfaf6;
}

* {
    cursor: none;
    box-sizing: border-box;
}

::selection {
    background: red;
    color: white;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    font-family: "aktiv-grotesk-extended", sans-serif;
    color: var(--text);
    background: var(--bg) url('img/r1.webp') no-repeat center center fixed;
    background-size: cover;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

img {
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

.container {
    text-align: center;
    max-width: 700px;
    padding: 2rem;
    margin-top: 12vh;
    border-radius: 16px;
}

.logo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 24px;
    margin-bottom: 1.5rem;
    background: #ddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: rotate(3deg);
}


h1 {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

p {
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 2rem;
}

.join-btn {
    background: var(--button-bg);
    color: var(--button-text);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 999px;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease;
    margin-bottom: 1.5rem;
}

.join-btn:hover {
    transform: scale(1.06) rotate(2deg);
}

footer {
    position: absolute;
    bottom: 1rem;
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
}

.socials a {
    margin: 0 0.5rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease;
    display: inline-block;
}

.socials a:hover {
    transform: scale(1.06) rotate(-2deg);
}

.copyright {
    margin-top: 1.2rem;
    font-size: 0.8rem;
    opacity: 0.6;
    font-weight: 200;
}

.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: black;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    border: 1px solid black;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    background: transparent;
    transition: all 0.2s ease;
}

.cursor-ring.hovered {
    animation: gradientRotate 3s linear infinite;
    background: transparent;
    border: 1px solid transparent;
    border-image: conic-gradient(from 0deg, #f9a, #aef, #9af, #faa, #f9a) 1;
    border-image-slice: 1;
}

@keyframes gradientRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (max-width: 600px) {
    .container {
        padding: 1rem;
        margin-top: 4vh; /* decreased from 8vh */
    }

    .logo {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }

    h1 {
        font-size: 1.2rem; /* slightly smaller */
    }

    h2, h3 {
        font-size: 1rem;
    }

    p {
        font-size: 0.85rem;
        margin-bottom: 1.2rem; /* slightly less */
    }

    .join-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
        margin-bottom: 2.5rem; /* more space below */
    }

    .socials a {
        font-size: 0.9rem;
        margin: 0 0.6rem;
    }

    .copyright {
        font-size: 0.7rem;
    }
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    font-size: 1.8rem;
    color: #000;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
}

footer {
    word-spacing: 0.05rem;
    word-wrap: break-word;
}

.footer-link {
    color: inherit;
    text-decoration: none !important;
    transition: transform 0.2s ease, color 0.2s ease;
    display: inline-block;
}

.footer-link:hover {
    transform: scale(1.08);
    color: red;
}

.footer-link:hover {
    color: red;
}
