/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #f5f5f5;
}

body {
    background-color: #0a0a0a;
    overflow: hidden;
    height: 100vh;
    cursor: none;
}

/* Background & Overlay */
#background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(1) contrast(1.1);
    background-color: transparent;
    will-change: transform; /* Optimize for animations */
    backface-visibility: hidden; /* Prevent flickering */
    transform: translateZ(0); /* Force hardware acceleration */
    -webkit-transform: translateZ(0);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent; /* Remove the radial gradient */
    z-index: 0;
}

.light-effect {
    display: none !important; /* Force hide the light effect */
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0a0a0a;
    overflow: hidden;
    z-index: -1;
}

.background-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/background-placeholder.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Profile Container */
.profile-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    transition: transform 0.1s ease-out;
}

.profile-image {
    width: 150px; /* Slightly larger without the circle constraint */
    margin-bottom: 15px;
}

.profile-image img {
    width: 100%;
    height: auto; /* Changed from 100% to auto to maintain aspect ratio */
    display: block; /* This helps with image alignment */
}

.username {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tag-line {
    font-size: 0.95rem;
    opacity: 0.7;
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* Status Indicator */
.status-indicator {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: 0 0 10px currentColor;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #25262b;
    border: 1px solid #373a40;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    color: #909296;
}

.social-icon:hover {
    background: #2c2e33;
    border-color: #7c3aed;
    color: #fff;
    transform: translateY(-2px);
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

/* Music Player - Removed */

/* Media queries for responsive design */
@media (max-width: 480px) {
    body {
        padding-bottom: 0;
    }
}

@media (max-width: 360px) {
    body {
        padding-bottom: 0;
    }
}

/* Navigation Menu */
.nav-menu {
    position: fixed;
    top: 24px;
    right: 24px;
    display: flex;
    gap: 8px;
    z-index: 100;
    background: #25262b;
    padding: 6px;
    border-radius: 10px;
    border: 1px solid #373a40;
}

.nav-item {
    font-size: 0.85rem;
    font-weight: 500;
    color: #909296;
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 8px 14px;
    border-radius: 6px;
    background: transparent;
}

.nav-item:hover {
    color: #fff;
    background: #2c2e33;
    transform: none;
}

/* Glitch Nav Item Animation */
.glitch-nav-item {
    position: relative;
    opacity: 1 !important;
    transition: transform 0.3s ease;
}

.glitch-text {
    position: relative;
    display: inline-block;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.glitch-text::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #8778ff, #ff00ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.6;
    animation: glitch-gradient-limited 4s infinite alternate;
}

/* Subtle horizontal offset for glitching */
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    left: 2px;
    text-shadow: -1px 0 #ff00ff;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 8s infinite linear alternate-reverse;
}

.glitch-nav-item:hover {
    transform: translateY(-2px);
}

.glitch-nav-item:hover .glitch-text {
    color: #fff;
}

.glitch-nav-item:hover .glitch-text::before {
    opacity: 0.7;
    animation: glitch-gradient 2s infinite linear;
}

.glitch-nav-item:hover .glitch-text::after {
    animation: glitch-anim 1.5s infinite linear alternate-reverse;
    opacity: 0.7;
}

/* Gradient animation - Limited to pink/purple */
@keyframes glitch-gradient-limited {
    0% { 
        background: linear-gradient(45deg, #8778ff 0%, #ff00ff 100%);
        background-clip: text;
        -webkit-background-clip: text;
    }
    50% { 
        background: linear-gradient(45deg, #ff00ff 0%, #8778ff 100%);
        background-clip: text;
        -webkit-background-clip: text;
    }
    100% { 
        background: linear-gradient(45deg, #8778ff 0%, #ff00ff 100%);
        background-clip: text;
        -webkit-background-clip: text;
    }
}

/* Gradient animation */
@keyframes glitch-gradient {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* Subtle glitching effect */
@keyframes glitch-anim {
    0% { 
        opacity: 0.3;
        transform: translateX(-0.5px);
        clip: rect(0, 450px, 0, 0);
    }
    5% {
        clip: rect(0, 450px, 0, 0);
    }
    10% {
        clip: rect(0, 450px, 0, 0);
    }
    15% {
        clip: rect(10px, 450px, 12px, 0); 
    }
    20% {
        clip: rect(0, 450px, 0, 0);
    }
    25% {
        opacity: 0.6;
        transform: translateX(0.5px);
        clip: rect(42px, 450px, 44px, 0); 
    }
    30% {
        clip: rect(0, 450px, 0, 0);
    }
    35% { 
        clip: rect(0, 450px, 0, 0);
    }
    40% {
        opacity: 0.3;
        transform: translateX(-0.5px);
        clip: rect(15px, 450px, 18px, 0); 
    }
    45% {
        clip: rect(0, 450px, 0, 0);
    }
    50% {
        clip: rect(0, 450px, 0, 0);
    }
    55% {
        opacity: 0.6;
        transform: translateX(0.5px);
        clip: rect(32px, 450px, 36px, 0); 
    }
    60% {
        clip: rect(0, 450px, 0, 0);
    }
    65% {
        clip: rect(0, 450px, 0, 0);
    }
    70% {
        opacity: 0.3;
        transform: translateX(-0.5px);
        clip: rect(62px, 450px, 65px, 0);
    }
    75% {
        clip: rect(0, 450px, 0, 0);
    }
    80% {
        clip: rect(0, 450px, 0, 0);
    }
    85% {
        opacity: 0.6;
        transform: translateX(0.5px);
        clip: rect(22px, 450px, 25px, 0);
    }
    90% {
        clip: rect(0, 450px, 0, 0);
    }
    95% {
        clip: rect(0, 450px, 0, 0);
    }
    100% {
        opacity: 0.3;
        transform: translateX(-0.5px);
        clip: rect(52px, 450px, 55px, 0);
    }
}

/* Add a subtle active state marker when the section is open */
.glitch-nav-item.nav-active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #8778ff, #ff00ff);
    border-radius: 1px;
    animation: fadeIn 0.3s forwards;
    display: none;
}

.nav-item.nav-active::after {
    display: none;
}

/* Portfolio Sections */
.portfolio-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    overflow: hidden;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
}

.portfolio-section.active {
    opacity: 1;
    visibility: visible;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 95%;
    max-width: 500px;
    max-height: 90vh;
    padding: 24px;
    background: #1a1b1e;
    border-radius: 12px;
    border: 1px solid #2c2e33;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.projects-container::before {
    display: none;
}

.project-card {
    background-color: rgba(40,40,40,0.5);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    width: 100%;
    height: 150px;
    background-color: #333;
    background-size: cover;
    background-position: center;
}

.project-info {
    padding: 15px;
}

.project-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.project-desc {
    font-size: 0.85rem;
    opacity: 0.8;
}

.close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    color: #909296;
    transition: all 0.15s ease;
    background: transparent;
    border-radius: 6px;
    border: none;
    z-index: 10;
}

.close-btn:hover {
    color: #fff;
    background: #373a40;
    transform: none;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    transform: translate(-50%, -50%);
    pointer-events: none;
    mix-blend-mode: difference;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: 0.08s cubic-bezier(0.75, 0.25, 0.25, 0.75);
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0a0a0a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 1s ease;
}

.loader {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    border-top: 3px solid #ffffff;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-hint {
    margin-top: 10px;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* About, Contact and Commissions Sections */
.about-content, .contact-content, .commissions-content {
    grid-column: span 2;
    padding: 0;
}

.about-content h2, .contact-content h2, .commissions-content h2 {
    margin-bottom: 16px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #fff;
    letter-spacing: -0.3px;
}

.about-content p, .contact-content p, .commissions-content p {
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 0.9rem;
    color: #909296;
}

/* Commissions specific styles */
.commissions-header {
    margin-bottom: 16px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.open {
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.status-badge.closed {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.commission-cta {
    margin: 20px 0;
    padding: 16px;
    background: #25262b;
    border-radius: 8px;
    border: 1px solid #2c2e33;
}

.commission-cta p {
    margin-bottom: 12px;
}

.commission-services {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 16px 0;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #25262b;
    border-radius: 8px;
    border: 1px solid #2c2e33;
    color: #c1c2c5;
    font-size: 0.875rem;
}

.service-item svg {
    color: #7c3aed;
    flex-shrink: 0;
}

.commission-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #5865F2;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s ease;
    cursor: pointer;
}

.commission-btn:hover {
    background: #4752c4;
    transform: translateY(-1px);
}

.commission-note {
    font-size: 0.8rem !important;
    color: #6c6f75 !important;
    margin-top: 12px;
    font-style: italic;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #25262b;
    border-radius: 8px;
    border: 1px solid #2c2e33;
    transition: all 0.15s ease;
}

.contact-item:hover {
    background: #2c2e33;
    border-color: #373a40;
    transform: none;
}

.contact-item svg {
    color: #909296;
}

.contact-item span {
    font-size: 0.85rem;
    color: #c1c2c5;
}

/* Removed snow effect for performance */

/* Glitch Studios - Mantine UI Style */
.glitch-container {
    position: relative;
    width: 95%;
    max-width: 720px;
    max-height: 90vh;
    background: #1a1b1e;
    border-radius: 12px;
    border: 1px solid #2c2e33;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    padding: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.glitch-container::before {
    display: none;
}

.glitch-container::after {
    display: none;
}

.glitch-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    position: relative;
    z-index: 3;
}

.glitch-logo-container {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glitch-logo-container:hover {
    transform: none;
    box-shadow: none;
}

.glitch-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(1.1);
}

.glitch-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
    background: none;
    -webkit-text-fill-color: #fff;
    letter-spacing: -0.3px;
}

.glitch-description {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #909296;
}

.glitch-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
    position: relative;
    z-index: 3;
}

.feature {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    background: #25262b;
    border-radius: 8px;
    border: 1px solid #2c2e33;
    transition: all 0.15s ease;
    position: relative;
    overflow: hidden;
}

.feature::before {
    display: none;
}

.feature:hover {
    transform: translateY(-2px);
    background: #2c2e33;
    border-color: #373a40;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.feature:hover::before {
    display: none;
}

.feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    transition: none;
}

.feature:hover .feature-icon {
    transform: none;
}

.feature-text h3 {
    margin: 0 0 4px 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

.feature-text p {
    margin: 0;
    font-size: 0.8rem;
    color: #909296;
    line-height: 1.4;
}

.glitch-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    margin: 0 auto;
    width: fit-content;
    box-shadow: none;
    position: relative;
    z-index: 3;
    overflow: hidden;
}

.glitch-cta::before {
    display: none;
}

.glitch-cta:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.glitch-cta:hover::before {
    display: none;
}

/* Glitch Studios Modern Styling */
.glitch-grid-bg {
    display: none;
}

/* Image Teaser for Glitch Studios */
.glitch-image-teaser {
    position: fixed;
    bottom: -500px;
    right: 50px;
    z-index: 999;
    cursor: pointer;
    width: 600px;
    height: 600px;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: float 3s infinite ease-in-out;
}

/* Change bottom position on hover */
.glitch-image-teaser:hover {
    bottom: -300px;
    transform: scale(1.03); /* Keep the slight scale effect */
}

/* Keep your existing image swap code */
.glitch-image-teaser:hover .default-image {
    opacity: 0;
}

.glitch-image-teaser:hover .hover-image {
    opacity: 1;
}

.teaser-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.default-image {
    opacity: 1;
}

.hover-image {
    opacity: 0;
}

.glitch-image-teaser:hover .default-image {
    opacity: 0;
}

.glitch-image-teaser:hover .hover-image {
    opacity: 1;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .glitch-image-teaser {
        width: 100px;
        height: 100px;
        bottom: 20px;
        right: 20px;
    }
}

/* Join Team Section */
.glitch-join-team {
    margin: 16px 0;
    padding: 16px;
    background: #25262b;
    border-radius: 8px;
    border: 1px solid #2c2e33;
    text-align: center;
    position: relative;
    z-index: 3;
}

.glitch-join-team::before {
    display: none;
}

.glitch-join-team h3 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 8px;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #fff;
    font-weight: 600;
}

.glitch-join-team p {
    color: #909296;
    margin-bottom: 0;
    font-size: 0.85rem;
    line-height: 1.5;
}

.team-join-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, rgba(135, 120, 255, 0.2), rgba(255, 0, 255, 0.2));
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(135, 120, 255, 0.3);
}

.team-join-btn:hover {
    background: linear-gradient(90deg, rgba(135, 120, 255, 0.4), rgba(255, 0, 255, 0.4));
    transform: translateY(-3px);
}

.team-join-btn svg {
    width: 18px;
    height: 18px;
}

/* Entry Screen Styles */
.entry-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
}

.entry-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 500px;
}

.entry-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    opacity: 0.8;
}

.entry-logo {
    margin-bottom: 30px;
}

.entry-logo .profile-image {
    height: 120px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.logo-animation {
    font-size: 80px;
    font-weight: bold;
    color: #fff;
    height: 120px;
    width: 120px;
    line-height: 120px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4f8b 0%, #3498fe 100%);
    box-shadow: 0 0 30px rgba(255, 79, 139, 0.5);
    animation: pulse 2s infinite ease-in-out;
}

.entry-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 5px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 0.5s;
}

.entry-loader {
    margin: 30px 0;
}

.loader-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.loader-bar::after {
    content: "";
    position: absolute;
    left: -50%;
    height: 100%;
    width: 50%;
    background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
    animation: loading 1.5s infinite linear;
}

.loader-progress {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    margin-top: 10px;
    letter-spacing: 1px;
}

.entry-button {
    background: transparent;
    border: 1px solid rgba(99, 102, 241, 0.6);
    border-radius: 14px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 14px 32px;
    margin-top: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0; /* Start with opacity 0 */
    visibility: hidden; /* Start completely hidden */
    transform: translateY(20px);
    /* Remove the animation that was showing it automatically */
    position: relative;
    overflow: hidden;
}

.entry-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.2), transparent);
    transition: all 0.5s ease;
}

.entry-button:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.8);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

.entry-button:hover::before {
    width: 100%;
    animation: buttonGlow 1.5s infinite;
}

.button-icon {
    margin-left: 10px;
    display: flex;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 30px rgba(255, 79, 139, 0.5); }
    50% { transform: scale(1.05); box-shadow: 0 0 40px rgba(255, 79, 139, 0.7); }
    100% { transform: scale(1); box-shadow: 0 0 30px rgba(255, 79, 139, 0.5); }
}

@keyframes loading {
    0% { left: -50%; }
    100% { left: 150%; }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes buttonGlow {
    0% { left: -100%; }
    100% { left: 100%; }
}

.entry-screen.hide {
    animation: fadeOut 0.8s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    .glitch-container {
        padding: 2rem;
    }
    
    .glitch-header {
        flex-direction: column;
        text-align: center;
    }
    
    .glitch-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .glitch-container {
        padding: 1.5rem;
    }
    
    .glitch-title {
        font-size: 2rem;
    }
    
    .feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Ko-fi Tip Button */
.tip-button-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.tip-button {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25262b;
    border: 1px solid #373a40;
    border-radius: 8px;
    padding: 10px 18px;
    color: #c1c2c5;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s ease;
    cursor: pointer;
}

.tip-button:hover {
    background: #2c2e33;
    border-color: #FF5E5B;
    color: #fff;
}

.kofi-icon {
    color: #FF5E5B;
}

.tip-text {
    color: #c1c2c5;
}