* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #0a0a0a;
    color: #fff;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animated background stars */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Plus symbols scattered around */
.plus-symbol {
    position: fixed;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.3);
    pointer-events: none;
    user-select: none;
}

/* Profile card styling */
.profile-card {
    width: 420px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 4, 0, 0.6);
    border-radius: 20px;
    box-shadow: 0 0 40px rgb(171, 3, 3), inset 0 0 30px rgba(255, 0, 0, 0.1);
    text-align: center;
    backdrop-filter: blur(10px);
    animation: cardGlow 3s ease-in-out infinite;
}

@keyframes cardGlow {
    0%, 100% {
        box-shadow: 0 0 40px rgba(197, 3, 3, 0.777), inset 0 0 30px rgba(200, 5, 5, 0.1);
    }
    50% {
        box-shadow: 0 0 60px rgba(191, 5, 5, 0.6), inset 0 0 40px rgba(233, 5, 5, 0.2);
    }
}

/* Profile image */
.profile-pic-container {
    position: relative;
    display: inline-block;
    margin-bottom: 25px;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid rgba(221, 0, 0, 0.8);
    background: linear-gradient(135deg, rgb(255, 0, 0), rgba(59, 130, 246, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(234, 51, 51, 0.6);
}

.profile-pic img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.profile-decoration {
    width: 138px;
    height: 130px;
    position: absolute;
    top: -10px;
    left: -1px;
    object-fit: cover;
    margin-left: -11px;
    -webkit-user-drag: none;
}

/* Name styling */
.display-name {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

/* Handle/username */
.handle {
    font-size: 1rem;
    color: #a0a0a0;
    margin-bottom: 10px;
}

/* Bio/description */
.bio {
    font-size: 0.95rem;
    color: #c0c0c0;
    margin-bottom: 25px;
    line-height: 1.5;
}

#typed-text {
    font-weight: 400;
    font-size: 1.1em;
    margin: 8px 0;
    letter-spacing: 0.5px;
    line-height: 1.6;
    background: linear-gradient(to right, #ffffff 0%, #585657 50%, #ffffff 100%);
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
    text-shadow: 0 0 5px #8f8b8e;
}

/* Linked account section */
.discord-presence {
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 12px;
    padding: 12px 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.discord-presence .icon {
    font-size: 1.5rem;
}

.discord-presence .text {
    text-align: left;
    flex: 1;
}

.discord-presence .text a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.discord-presence .text a:hover {
    color: #9333ea;
}

#discord-activity-image {
    width: 140px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0);
}

#discord-activity-details {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
    white-space: pre-line;
    width: 100%;
}

/* Views counter */
.views {
    font-size: 0.9rem;
    color: #808080;
    margin-bottom: 20px;
}

.views i {
    margin-right: 6px;
}

/* Social buttons */
.social-links {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.social-icon {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(161, 4, 4, 0.5);
    border-radius: 50%;
    background: rgba(135, 3, 3, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: #fff;
    font-size: 1.3rem;
    text-decoration: none;
}

.social-icon:hover {
    background: rgba(147, 51, 234, 0.3);
    box-shadow: 0 0 15px rgba(147, 51, 234, 0.5);
    transform: translateY(-3px);
}

/* Footer text */
.footer {
    font-size: 0.8rem;
    color: #606060;
    margin-top: 20px;
}

.footer a {
    color: #606060;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #9333ea;
}

/* Decorative lines */
.corner-decoration {
    position: absolute;
    width: 40px;
    height: 40px;
}

.corner-decoration::before,
.corner-decoration::after {
    content: '';
    position: absolute;
    background: linear-gradient(to right, rgba(147, 51, 234, 0.8), transparent);
    animation: flicker 3s infinite;
}

.corner-decoration::before {
    width: 100%;
    height: 1px;
    top: 0;
    left: 0;
}

.corner-decoration::after {
    width: 1px;
    height: 100%;
    top: 0;
    left: 0;
}

@keyframes flicker {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes shine {
    0% { background-position: 150%; }
    100% { background-position: -50%; }
}

/* Existing elements */
#bg-video {
    position: fixed;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -2;
}

#entrance-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: pointer;
    transition: opacity 0.5s ease;
}

#entrance-overlay p {
    font-size: 2.5em;
    font-weight: 600;
    letter-spacing: 1px;
    background: linear-gradient(to right, #fff 0%, #585657 50%, #fff 0%);
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
    text-shadow: 0 0 20px rgba(88, 87, 88, 0.3);
    font-family: 'Poppins', sans-serif;
}

#volume-control {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0);
    padding: 10px 15px;
    border-radius: 15px;
}

#volume-icon {
    color: #070607;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 5px #fffdff);
}

#volume-slider {
    width: 100px;
    height: 4px;
    -webkit-appearance: none;
    background: #5e5a5a;
    border-radius: 5px;
    outline: none;
    width: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

#volume-control:hover #volume-slider {
    width: 100px;
    opacity: 1;
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    background: #000000;
    border-radius: 50%;
    cursor: pointer;
    filter: drop-shadow(0 0 5px #696869);
}

/* Gallery Styles */
.gallery {
    margin-top: 20px;
    text-align: center;
}

.gallery h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
    background: linear-gradient(to right, #fff 0%, #585657 50%, #fff 0%);
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
}

.gallery-images {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery-images img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.gallery-images img:hover {
    transform: scale(1.1);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    animation: zoom 0.6s;
}

@keyframes zoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
