:root {
    --primary: rgba(187, 134, 252, 1);
    --primary2: #bb86fc;
    --primary-variant: rgba(55, 0, 179, 1);
    --secondary: rgba(3, 218, 198, 1);
    --secondary2: #03dac6;
    --background: rgba(18, 18, 18, 1);
    --surface: rgba(18, 18, 18, 0.8);
    --error: rgba(207, 102, 121, 1);
    --on-primary: rgba(0, 0, 0, 1);
    --on-secondary: rgba(0, 0, 0, 1);
    --on-background: rgba(111, 111, 111, 0.1);
    --on-background2: #6f6f6f;
    --on-surface: rgba(255, 255, 255, 1);
    --on-error: rgba(0, 0, 0, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background-color: black;
}

body {
    font-family: sans-serif;
    width: 100vw;
    position: relative;
    cursor: none;
}

.dot-cursor {
  position: fixed;
  pointer-events: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.8); 
  transform: translate(-50%, -50%);
  z-index: 9999;
  box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.6), 
              0 0 15px 10px rgba(255, 255, 255, 0.3); 
}

.full-screen {
    width: 100vw;
    height: 100vh;
    scroll-snap-type: y proximity;
}

.card-style {
    backdrop-filter: blur(2px);
    transition: all ease 0.5s;
    position: relative;
    z-index: 2;
}

.main-section {
    background-color: var(--background);
    display: flex;
    justify-content: safe;
    align-items: center;
    position: relative;
}

.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 1;
    opacity: 0.5;
}

.profile-card {
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    border-radius: 20px;
    align-items: center;
    color: var(--surface);
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 30rem;
    padding: 25px 0;
}

.profile-image {
    width: 60%;
    border-radius: 50%;
    margin-bottom: 15px;
}

.username-text {
    margin: auto 0;
    font-weight: 700;
    color: var(--on-surface);
}

.link-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--primary);
}

.link-container a {
    color: var(--on-surface);
    margin: 5px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all ease 0.5s;
    cursor: none;
}

.link-container a i{
    font-size: 30px;
    text-shadow: 0 0 5px #fff;
}

.link-container a:hover {
    transform: translateY(-5px);
}

.scroll-down-arrow {
    text-decoration: none;
    color: var(--on-surface);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    position: absolute;
    width: 4rem;
    right: 49vw;
    height: 2.5rem;
    bottom: 40px;
    animation: float 3s infinite ease-in-out;
    z-index: 2;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.stats-container {
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(2px);
    background-color: var(--on-background);
    width: auto;
    border-radius: 5px;
    transition: all ease 0.5s;
}

.stats-section {
    background-color: var(--background);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100vw;
    text-align: center;
    color: var(--on-surface);
    z-index: 2;
}

/* Updated overlay styles */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8); /* Increased opacity for full blur */
    backdrop-filter: blur(10px); /* Increased blur strength */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.overlay-text {
    color: var(--on-surface);
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

@media only screen and (max-width: 900px) {
    .profile-card {
        width: fit-content;
        flex-direction: column;
    }
    
    .user-info {
        width: 100%;
        padding: 20px;
    }
    
    .link-container a {
        width: 80%;
        margin: 10px 20px;
    }
}

@media only screen and (max-width: 480px) {
    .user-info {
        width: 90%;
    }
    
    .link-container a {
        width: 90%;
        margin: 8px 15px;
    }

    .overlay-text {
        font-size: 1.5rem;
    }
}