:root {
    --text: #ffffff;
    --highlight: #00ffff;
}

body {
    background-color: #000;
    color: var(--text);
    font-family: 'Rajdhani', sans-serif;
    margin: 0;
    overflow: hidden;

    cursor: default;
}


#loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loader-text {
    font-family: 'Teko', sans-serif;
    font-size: 2rem;
    letter-spacing: 5px;
    margin-bottom: 1rem;
    animation: blink 1s infinite;
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: #333;
}

.bar-fill {
    width: 0%;
    height: 100%;
    background: #fff;
    transition: width 0.2s;
}

@keyframes blink {
    50% {
        opacity: 0.5;
    }
}


#toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20000;
    width: 90%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid #333;
    color: #fff;
    padding: 15px 20px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    border-left: 4px solid #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);


    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.visible {
    opacity: 1;
    transform: translateY(0);
}


.toast-success {
    border-left-color: #00ffff;
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.2);
}

.toast-error {
    border-left-color: #ff3333;
    box-shadow: 0 5px 15px rgba(255, 51, 51, 0.2);
    color: #ffcccc;
}

.toast-warning {
    border-left-color: #ffff00;
    box-shadow: 0 5px 15px rgba(255, 255, 0, 0.2);
    color: #ffffcc;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}


#cursor-dot,
#cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    mix-blend-mode: exclusion;
    z-index: 9999;
}

#cursor-dot {
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
}

#cursor-ring {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: width 0.2s, height 0.2s, border-color 0.2s;
    z-index: 9998;
}


.ui-container {
    position: relative;
    z-index: 2;
    height: 100vh;
    height: 100dvh;
    width: 100%;
    display: flex;
    flex-direction: column;

    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    padding: 40px 0;
    box-sizing: border-box;
}


header {
    text-align: center;
    pointer-events: auto;

    z-index: 10;
}

h1 {
    font-family: 'Teko', sans-serif;
    font-size: 5rem;
    line-height: 0.8;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;

    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.highlight {
    color: var(--highlight);
    text-shadow: 0 0 20px var(--highlight);
}

.subtitle {
    font-size: 1.2rem;
    letter-spacing: 5px;
    opacity: 0.8;
    color: #ccc;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 1);
    margin-top: 10px;
}


.link-stack {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    pointer-events: auto;
    position: relative;
    bottom: auto;
    z-index: 10;
}

.link-item {
    position: relative;
    color: #fff;
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 12px 30px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #fff;
    z-index: -1;
    transition: width 0.3s ease;
}

.link-item:hover::before {
    width: 100%;
}

.link-item:hover {
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}


/* .gyro-btn {
    display: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--highlight);
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--highlight);
    padding: 8px 16px;
    margin-top: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    z-index: 20;
    pointer-events: auto;
}

.gyro-btn:hover {
    background: var(--highlight);
    color: #000;
    box-shadow: 0 0 15px var(--highlight);
} */


@media (max-width: 768px) {

    #cursor-dot,
    #cursor-ring {
        display: none !important;
    }

    body,
    a,
    button {
        cursor: auto !important;
    }

    .ui-container {
        padding: 30px 20px;
    }

    h1 {
        font-size: 3.5rem;
    }

    .subtitle {
        font-size: 0.9rem;
        letter-spacing: 3px;
    }

    .link-stack {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        gap: 12px;
    }

    .link-item {
        width: 100%;
        text-align: center;
        padding: 14px 0;
        background: rgba(10, 10, 10, 0.85);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 0.9rem;
        letter-spacing: 3px;
    }
}