:root {
    --background: #0a0a0a;
    --text: #ffffff;
    --accent: #9b4dff;
    --secondary: #222222;
    --card-bg: #111111;
    --e-homies-accent: #9b4dff;
    --accent-color: #9b4dff;
    --accent-hover: #b47fff;
    --text-bright: #ffffff;
    --text-light: rgba(255, 255, 255, 0.7);
    --blur-amount: 8px;
    --overlay-opacity: 0.4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text);
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #0d0d0d 100%);
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.card {
    background-color: rgba(17, 17, 17, 0.75);
    padding: 40px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform-style: preserve-3d;
    perspective: 800px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    /* Set default CSS variables for the 3D effect */
    --rotateX: 0deg;
    --rotateY: 0deg;
    --scale: 1;
    
    /* Add animation and transition for smooth effects */
    animation: floating 6s ease-in-out infinite;
    transition: transform 0.3s ease-out;
    
    /* Explicitly mark this as a 3D container for better browser support */
    transform-style: preserve-3d;
    will-change: transform;
}

/* Add 3D effect to inner elements */
.card > * {
    transform-style: preserve-3d;
    position: relative;
    z-index: 1;
}

/* Fix the floating animation to preserve 3D effects */
@keyframes floating {
    0% {
        transform: perspective(800px) translateY(0px) rotateX(var(--rotateX)) rotateY(var(--rotateY)) scale(var(--scale));
    }
    50% {
        transform: perspective(800px) translateY(-15px) rotateX(var(--rotateX)) rotateY(var(--rotateY)) scale(var(--scale));
    }
    100% {
        transform: perspective(800px) translateY(0px) rotateX(var(--rotateX)) rotateY(var(--rotateY)) scale(var(--scale));
    }
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--accent), #bd7aff);
    z-index: 2;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(155, 77, 255, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: -1;
}

.logo-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    overflow: visible;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 15px rgba(155, 77, 255, 0.3);
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 3;
    filter: drop-shadow(0 0 8px rgba(155, 77, 255, 0.5));
    border-radius: 50%;
}

/* Add static glitch contour */
.logo-glitch-left,
.logo-glitch-right {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('Logo.png') no-repeat center;
    background-size: contain;
    border-radius: 50%;
    pointer-events: none;
}

.logo-glitch-left {
    left: 2px;
    top: -2px;
    opacity: 0.3;
    filter: hue-rotate(90deg) brightness(1.2);
    clip-path: polygon(
        0% 2%, 
        100% 2%, 
        100% 5%, 
        0% 5%, 
        0% 10%, 
        100% 10%, 
        100% 70%, 
        0% 70%, 
        0% 80%, 
        100% 80%, 
        100% 85%, 
        0% 85%, 
        0% 95%, 
        100% 95%, 
        100% 98%, 
        0% 98%
    );
    z-index: 2;
}

.logo-glitch-right {
    left: -2px;
    top: 2px;
    opacity: 0.3;
    filter: hue-rotate(180deg) brightness(1.4);
    clip-path: polygon(
        0% 15%, 
        100% 15%, 
        100% 30%, 
        0% 30%, 
        0% 40%, 
        100% 40%, 
        100% 65%, 
        0% 65%, 
        0% 75%, 
        100% 75%, 
        100% 90%, 
        0% 90%
    );
    z-index: 1;
}

/* Add glitch border */
.logo-border {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    animation: glitch-border 2s linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes glitch-border {
    0%, 100% {
        clip-path: inset(0% 0% 95% 0%);
    }
    10% {
        clip-path: inset(0% 0% 80% 0%);
    }
    20% {
        clip-path: inset(0% 80% 0% 0%);
    }
    30% {
        clip-path: inset(0% 0% 0% 80%);
    }
    40% {
        clip-path: inset(80% 0% 0% 0%);
    }
    50% {
        clip-path: inset(0% 60% 60% 0%);
    }
    60% {
        clip-path: inset(60% 0% 0% 60%);
    }
    70% {
        clip-path: inset(0% 0% 60% 60%);
    }
    80% {
        clip-path: inset(60% 60% 0% 0%);
    }
    90% {
        clip-path: inset(40% 40% 40% 40%);
    }
}

.glitch-wrapper {
    margin-bottom: 40px;
}

.glitch {
    font-size: 70px;
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0.05em 0 0 var(--accent), 
                -0.05em -0.025em 0 rgba(0, 255, 255, 0.75),
                -0.025em 0.05em 0 rgba(210, 0, 255, 0.75);
    letter-spacing: -5px;
    text-align: center;
    /* Animation will be applied via JavaScript */
    animation: glitch 500ms infinite, glow 2s ease-in-out infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--accent);
    animation: glitch-1 200ms infinite;
    clip-path: inset(24% 0 56% 0);
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 rgba(180, 140, 255, 0.75);
    animation: glitch-2 300ms infinite;
    clip-path: inset(67% 0 12% 0);
}

.bio-container {
    margin-bottom: 40px;
    text-align: center;
}

.bio-text {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 40px;
    opacity: 0.8;
    text-align: center;
}

.links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 25px;
}

.link-item {
    color: var(--text);
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.link-item i {
    font-size: 20px;
}

.link-item:hover {
    color: var(--accent);
}

.link-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.link-item:hover::after {
    width: 100%;
}

.e-hommies-container {
    margin-top: 10px;
}

.e-hommies-btn {
    background-color: rgba(40, 40, 40, 0.6);
    color: var(--text);
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(60, 60, 60, 0.5);
}

.e-hommies-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(155, 77, 255, 0.3), transparent);
    transition: all 0.6s ease;
}

.e-hommies-btn:hover::before {
    left: 100%;
}

.e-hommies-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #9b4dff, #b47fff);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.e-hommies-btn:hover::after {
    opacity: 1;
}

.e-hommies-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(155, 77, 255, 0.3);
    color: white;
    letter-spacing: 2px;
}

.e-hommies-btn:active {
    transform: translateY(0);
}

.e-hommies-btn i {
    margin-right: 8px;
    font-size: 18px;
}

.about-section {
    margin-top: 40px;
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.7;
    text-align: center;
}

.about-section p {
    margin-bottom: 15px;
}

/* Copyright section */
.copyright {
    margin-top: 25px;
    font-size: 12px;
    opacity: 0.5;
    text-align: center;
}

.copyright p {
    margin: 0;
    letter-spacing: 1px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
    backdrop-filter: blur(15px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
    opacity: 1;
}

.modal.closing {
    opacity: 0;
}

.modal-content {
    background-color: rgba(17, 17, 17, 0.85);
    margin: 0 auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 550px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(155, 77, 255, 0.3);
    overflow: hidden;
    border: 1px solid rgba(155, 77, 255, 0.2);
    animation: card-appear 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

@keyframes card-appear {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes card-disappear {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
}

.modal.closing .modal-content {
    animation: card-disappear 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 22px;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.close-btn:hover {
    color: #9b4dff;
}

.modal h2 {
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    color: #9b4dff;
    position: relative;
    width: 100%;
}

/* Hide the subtitle and divider since we're removing them */
.modal-subtitle, .modal-divider {
    display: none;
}

/* Friends List */
.friends-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
    margin-top: 10px;
}

.friend-card {
    background-color: rgba(25, 25, 25, 0.6);
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    border: 1px solid rgba(60, 60, 60, 0.5);
    animation: card-slide-up 0.4s forwards;
    opacity: 0;
    height: 100px;
    width: 100%;
}

@keyframes card-slide-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.friend-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(155, 77, 255, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.friend-card:hover::before {
    opacity: 1;
}

.friend-card:hover {
    background-color: rgba(35, 35, 35, 0.8);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(155, 77, 255, 0.3);
    transform: translateY(-2px);
}

.friend-image-wrapper {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
    flex-shrink: 0;
    border: 2px solid var(--accent-color);
}

.friend-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.friend-info {
    flex: 1;
    text-align: left;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    overflow: hidden;
}

.friend-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.friend-surname {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4px;
}

.friend-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.friend-site {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #9b4dff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.2s ease;
    position: relative;
    white-space: nowrap;
}

.friend-site::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #9b4dff;
    transition: width 0.2s ease;
}

.friend-site:hover::after {
    width: 100%;
}

.friend-site:hover {
    color: #b47fff;
}

.empty-message {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    padding: 2rem;
}

@media (max-width: 768px) {
    .glitch {
        font-size: 60px;
    }
    
    .bio-text {
        font-size: 20px;
    }
    
    .links {
        gap: 20px;
    }
    
    .card {
        padding: 30px;
    }
    
    .logo-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .modal.active {
        padding-top: 10vh;
    }
    
    .modal-content {
        padding: 20px;
    }
    
    .friends-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .friend-card {
        padding: 15px;
        height: 90px;
    }
}

@media (max-width: 480px) {
    .glitch {
        font-size: 40px;
    }
    
    .bio-text {
        font-size: 18px;
    }
    
    .links {
        gap: 15px;
    }
    
    .link-item {
        font-size: 16px;
    }
    
    .card {
        padding: 20px;
    }
    
    .logo-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .modal.active {
        padding-top: 8vh;
    }
    
    .modal-content {
        padding: 15px;
    }
    
    .friends-list {
        grid-template-columns: 1fr;
    }
    
    .friend-image-wrapper {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }
    
    .friend-card {
        height: 80px;
    }
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 var(--accent), 
                    -0.05em -0.025em 0 rgba(0, 255, 255, 0.75),
                    -0.025em 0.05em 0 rgba(210, 0, 255, 0.75);
    }
    14% {
        text-shadow: 0.05em 0 0 var(--accent), 
                    -0.05em -0.025em 0 rgba(0, 255, 255, 0.75),
                    -0.025em 0.05em 0 rgba(210, 0, 255, 0.75);
    }
    15% {
        text-shadow: -0.05em -0.025em 0 var(--accent), 
                    0.025em 0.025em 0 rgba(0, 255, 255, 0.75),
                    -0.05em -0.05em 0 rgba(210, 0, 255, 0.75);
    }
    49% {
        text-shadow: -0.05em -0.025em 0 var(--accent), 
                    0.025em 0.025em 0 rgba(0, 255, 255, 0.75),
                    -0.05em -0.05em 0 rgba(210, 0, 255, 0.75);
    }
    50% {
        text-shadow: 0.025em 0.05em 0 var(--accent), 
                    0.05em 0 0 rgba(0, 255, 255, 0.75),
                    0 -0.05em 0 rgba(210, 0, 255, 0.75);
    }
    99% {
        text-shadow: 0.025em 0.05em 0 var(--accent), 
                    0.05em 0 0 rgba(0, 255, 255, 0.75),
                    0 -0.05em 0 rgba(210, 0, 255, 0.75);
    }
    100% {
        text-shadow: -0.025em 0 0 var(--accent), 
                    -0.025em -0.025em 0 rgba(0, 255, 255, 0.75),
                    -0.025em -0.05em 0 rgba(210, 0, 255, 0.75);
    }
}

@keyframes glitch-1 {
    0% {
        clip-path: inset(24% 0 56% 0);
    }
    5% {
        clip-path: inset(86% 0 3% 0);
    }
    10% {
        clip-path: inset(43% 0 4% 0);
    }
    15% {
        clip-path: inset(56% 0 34% 0);
    }
    20% {
        clip-path: inset(26% 0 23% 0);
    }
    25% {
        clip-path: inset(5% 0 67% 0);
    }
    30% {
        clip-path: inset(3% 0 42% 0);
    }
    35% {
        clip-path: inset(12% 0 14% 0);
    }
    40% {
        clip-path: inset(95% 0 4% 0);
    }
    45% {
        clip-path: inset(63% 0 31% 0);
    }
    50% {
        clip-path: inset(75% 0 9% 0);
    }
    55% {
        clip-path: inset(23% 0 74% 0);
    }
    60% {
        clip-path: inset(52% 0 39% 0);
    }
    65% {
        clip-path: inset(32% 0 26% 0);
    }
    70% {
        clip-path: inset(14% 0 78% 0);
    }
    75% {
        clip-path: inset(89% 0 4% 0);
    }
    80% {
        clip-path: inset(43% 0 19% 0);
    }
    85% {
        clip-path: inset(5% 0 92% 0);
    }
    90% {
        clip-path: inset(67% 0 3% 0);
    }
    95% {
        clip-path: inset(23% 0 34% 0);
    }
    100% {
        clip-path: inset(24% 0 56% 0);
    }
}

@keyframes glitch-2 {
    0% {
        clip-path: inset(67% 0 12% 0);
    }
    5% {
        clip-path: inset(3% 0 66% 0);
    }
    10% {
        clip-path: inset(74% 0 5% 0);
    }
    15% {
        clip-path: inset(12% 0 63% 0);
    }
    20% {
        clip-path: inset(43% 0 12% 0);
    }
    25% {
        clip-path: inset(92% 0 6% 0);
    }
    30% {
        clip-path: inset(34% 0 33% 0);
    }
    35% {
        clip-path: inset(5% 0 21% 0);
    }
    40% {
        clip-path: inset(67% 0 5% 0);
    }
    45% {
        clip-path: inset(3% 0 54% 0);
    }
    50% {
        clip-path: inset(63% 0 2% 0);
    }
    55% {
        clip-path: inset(45% 0 47% 0);
    }
    60% {
        clip-path: inset(21% 0 49% 0);
    }
    65% {
        clip-path: inset(4% 0 61% 0);
    }
    70% {
        clip-path: inset(38% 0 37% 0);
    }
    75% {
        clip-path: inset(12% 0 65% 0);
    }
    80% {
        clip-path: inset(89% 0 7% 0);
    }
    85% {
        clip-path: inset(23% 0 51% 0);
    }
    90% {
        clip-path: inset(7% 0 80% 0);
    }
    95% {
        clip-path: inset(56% 0 12% 0);
    }
    100% {
        clip-path: inset(67% 0 12% 0);
    }
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

#background-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    object-fit: cover;
    
    /* Center the video */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    /* Add blur effect */
    filter: blur(8px);
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.5);
    z-index: 0;
}

/* Audio Controls */
.audio-controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.toggle-audio {
    background-color: rgba(25, 25, 25, 0.6);
    color: var(--text);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(60, 60, 60, 0.5);
}

.toggle-audio:hover {
    background-color: rgba(35, 35, 35, 0.8);
    transform: scale(1.1);
    border-color: var(--accent-color);
}

.toggle-audio i {
    font-size: 16px;
}

.audio-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #3c3c3c;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.audio-toggle:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.05);
    border-color: var(--accent);
}

/* Pulse animation for audio toggle */
.audio-toggle.pulse {
    animation: audio-pulse 0.3s ease-in-out;
}

@keyframes audio-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(155, 77, 255, 0.5);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 0 10px rgba(155, 77, 255, 0.2);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(155, 77, 255, 0);
    }
}

/* Enter Button */
.enter-button-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.7);
}

.enter-button {
    padding: 15px 50px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    background-color: transparent;
    border: 2px solid var(--accent);
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 3px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-shadow: 0 0 10px var(--accent);
    box-shadow: 0 0 20px rgba(155, 77, 255, 0.3);
}

.enter-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(155, 77, 255, 0.3),
        transparent
    );
    transition: 0.5s;
}

.enter-button:hover {
    background-color: var(--accent);
    color: #000;
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--accent);
}

.enter-button:hover::before {
    left: 100%;
}

.enter-button:active {
    transform: scale(0.95);
}

.enter-button.clicked {
    animation: glitch-button 0.5s forwards;
    pointer-events: none;
}

@keyframes glitch-button {
    0% {
        transform: translate(0);
        text-shadow: 0 0 10px var(--accent);
    }
    10% {
        transform: translate(-2px, -2px);
        text-shadow: 0 0 20px var(--accent);
    }
    20% {
        transform: translate(2px, 2px);
        text-shadow: 0 0 10px cyan;
    }
    30% {
        transform: translate(-2px, 2px);
        text-shadow: 0 0 20px magenta;
    }
    40% {
        transform: translate(2px, -2px);
        text-shadow: 0 0 10px yellow;
    }
    50% {
        transform: translate(0);
        text-shadow: 0 0 20px white;
    }
    60% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Add pulsing glow animation */
@keyframes glow {
    0% {
        filter: drop-shadow(0 0 5px var(--accent));
    }
    50% {
        filter: drop-shadow(0 0 20px var(--accent)) drop-shadow(0 0 25px rgba(0, 255, 255, 0.5));
    }
    100% {
        filter: drop-shadow(0 0 5px var(--accent));
    }
}

/* Add particles animation */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: particle-animation 8s ease-in-out infinite;
}

@keyframes particle-animation {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100vh) translateX(20px);
        opacity: 0;
    }
} 