:root {
    --primary-color: #1a237e;
    --secondary-color: #c62828;
    --accent-color: #ffc107;
    --dark-bg: #0a0e27;
    --light-bg: #f5f5f5;
    --text-light: #ffffff;
    --text-dark: #212121;
    --gradient-primary: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    --gradient-secondary: linear-gradient(135deg, #c62828 0%, #e53935 100%);
}

html, body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: 
        /* Fantasy dreamscape with cute girls, elves, and kitties */
        /* Cute girl zones - pink and pastel areas */
        radial-gradient(ellipse 800px 600px at 15% 25%, rgba(255, 182, 193, 0.4) 0%, rgba(255, 192, 203, 0.2) 50%, transparent 80%),
        radial-gradient(ellipse 600px 500px at 85% 75%, rgba(255, 20, 147, 0.3) 0%, rgba(199, 21, 133, 0.15) 60%, transparent 85%),
        
        /* Elf forest realms - mystical greens */
        radial-gradient(ellipse 900px 700px at 70% 20%, rgba(50, 205, 50, 0.35) 0%, rgba(34, 139, 34, 0.2) 45%, transparent 75%),
        radial-gradient(ellipse 500px 800px at 25% 80%, rgba(46, 125, 50, 0.3) 0%, rgba(0, 128, 0, 0.15) 50%, transparent 80%),
        
        /* Kitty sanctuaries - warm golden areas */
        radial-gradient(ellipse 700px 500px at 50% 60%, rgba(255, 215, 0, 0.25) 0%, rgba(255, 193, 7, 0.15) 40%, transparent 70%),
        radial-gradient(ellipse 400px 600px at 90% 40%, rgba(255, 165, 0, 0.2) 0%, rgba(255, 140, 0, 0.1) 50%, transparent 75%),
        
        /* Magical sparkles and fairy dust */
        radial-gradient(circle 4px at 20% 30%, rgba(255, 255, 255, 0.8) 0%, transparent 60%),
        radial-gradient(circle 3px at 60% 70%, rgba(138, 43, 226, 0.7) 0%, transparent 50%),
        radial-gradient(circle 2px at 80% 20%, rgba(0, 191, 255, 0.6) 0%, transparent 40%),
        radial-gradient(circle 3px at 40% 90%, rgba(255, 105, 180, 0.7) 0%, transparent 55%),
        
        /* Dreamy base atmosphere */
        linear-gradient(135deg, 
            rgba(230, 230, 250, 0.4) 0%, 
            rgba(221, 160, 221, 0.5) 25%, 
            rgba(176, 224, 230, 0.6) 50%, 
            rgba(255, 182, 193, 0.4) 75%, 
            rgba(240, 248, 255, 0.3) 100%
        ),
        
        /* Final dreamy gradient */
        radial-gradient(ellipse at center, 
            rgba(255, 240, 245, 0.2) 0%, 
            rgba(230, 230, 250, 0.3) 30%, 
            rgba(176, 224, 230, 0.4) 60%, 
            rgba(221, 160, 221, 0.5) 100%
        );
    color: #1a1a1a;
    position: relative;
    overflow-x: hidden;
    animation: dreamscapeShift 25s ease-in-out infinite;
    font-weight: 600;
}

@keyframes dreamscapeShift {
    0%, 100% {
        filter: hue-rotate(0deg) brightness(1) saturate(1.2);
    }
    25% {
        filter: hue-rotate(10deg) brightness(1.1) saturate(1.3);
    }
    50% {
        filter: hue-rotate(20deg) brightness(1.05) saturate(1.4);
    }
    75% {
        filter: hue-rotate(15deg) brightness(1.15) saturate(1.2);
    }
}

/* Fantasy Dreamscape with Floating Elements */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Additional magical elements for depth */
        radial-gradient(circle at 30% 40%, rgba(255, 105, 180, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 70% 20%, rgba(144, 238, 144, 0.08) 0%, transparent 35%),
        radial-gradient(circle at 80% 80%, rgba(255, 218, 185, 0.12) 0%, transparent 50%);
    z-index: -2;
    animation: dreamscapeFloat 20s ease-in-out infinite;
}

/* Floating fantasy elements */
body::after {
    content: '🧝‍♀️😺🐱💕🌸✨🦋💖🌺🎀👑💫🌙⭐🦄🍃🌿🌱💎🔮💐🌷';
    position: fixed;
    top: 0;
    left: 0;
    width: 300%;
    height: 100%;
    font-size: 2.5rem;
    opacity: 0.1;
    z-index: -1;
    animation: floatingElements 80s linear infinite;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    letter-spacing: 4rem;
    line-height: 5rem;
}

@keyframes dreamscapeFloat {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: hue-rotate(0deg) brightness(1) contrast(1);
    }
    25% {
        transform: scale(1.05) rotate(0.5deg);
        filter: hue-rotate(15deg) brightness(1.1) contrast(1.05);
    }
    50% {
        transform: scale(1.02) rotate(-0.3deg);
        filter: hue-rotate(25deg) brightness(1.05) contrast(1.1);
    }
    75% {
        transform: scale(1.08) rotate(0.8deg);
        filter: hue-rotate(10deg) brightness(1.15) contrast(1.03);
    }
}

@keyframes floatingElements {
    0% {
        transform: translateX(-100%) translateY(0px) rotate(0deg) scale(1);
    }
    25% {
        transform: translateX(-25%) translateY(-20px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translateX(25%) translateY(10px) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translateX(75%) translateY(-15px) rotate(270deg) scale(1.2);
    }
    100% {
        transform: translateX(100%) translateY(0px) rotate(360deg) scale(1);
    }
}

/* Additional anime effects layer */
html::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Magical circles */
        radial-gradient(circle 200px at 20% 30%, rgba(255, 0, 255, 0.15) 0%, transparent 70%),
        radial-gradient(circle 150px at 80% 70%, rgba(0, 255, 255, 0.12) 0%, transparent 60%),
        radial-gradient(circle 300px at 60% 10%, rgba(255, 255, 0, 0.1) 0%, transparent 50%),
        
        /* Anime speed lines */
        repeating-linear-gradient(
            15deg,
            transparent,
            transparent 40px,
            rgba(255, 255, 255, 0.02) 40px,
            rgba(255, 255, 255, 0.02) 42px
        );
    z-index: -3;
    animation: magicalAura 25s ease-in-out infinite;
    pointer-events: none;
}

@keyframes magicalAura {
    0%, 100% {
        opacity: 0.5;
        transform: rotate(0deg) scale(1);
    }
    33% {
        opacity: 0.8;
        transform: rotate(120deg) scale(1.1);
    }
    66% {
        opacity: 0.6;
        transform: rotate(240deg) scale(0.9);
    }
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    color: #0a0a2e;
    font-weight: 800;
    text-shadow: 
        /* Strong white outline */
        -2px -2px 0 rgba(255, 255, 255, 0.9),
        2px -2px 0 rgba(255, 255, 255, 0.9),
        -2px 2px 0 rgba(255, 255, 255, 0.9),
        2px 2px 0 rgba(255, 255, 255, 0.9),
        /* Bright glow */
        0 0 6px rgba(255, 255, 255, 0.8),
        /* Deep shadow */
        0 4px 8px rgba(0, 0, 0, 0.5);
}

h2 {
    font-size: 2.5rem;
    color: #0d1b4e;
    font-weight: 700;
    text-shadow: 
        -1.5px -1.5px 0 rgba(255, 255, 255, 0.9),
        1.5px -1.5px 0 rgba(255, 255, 255, 0.9),
        -1.5px 1.5px 0 rgba(255, 255, 255, 0.9),
        1.5px 1.5px 0 rgba(255, 255, 255, 0.9),
        0 0 5px rgba(255, 255, 255, 0.7),
        0 3px 6px rgba(0, 0, 0, 0.4);
}

h3 {
    font-size: 2rem;
    color: #1a237e;
    font-weight: 700;
    text-shadow: 
        -1px -1px 0 rgba(255, 255, 255, 0.9),
        1px -1px 0 rgba(255, 255, 255, 0.9),
        -1px 1px 0 rgba(255, 255, 255, 0.9),
        1px 1px 0 rgba(255, 255, 255, 0.9),
        0 0 4px rgba(255, 255, 255, 0.7),
        0 2px 5px rgba(0, 0, 0, 0.4);
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #1a237e;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 
        -1px -1px 0 rgba(255, 255, 255, 0.9),
        1px -1px 0 rgba(255, 255, 255, 0.9),
        -1px 1px 0 rgba(255, 255, 255, 0.9),
        1px 1px 0 rgba(255, 255, 255, 0.9),
        0 0 3px rgba(255, 255, 255, 0.6),
        0 1px 3px rgba(0, 0, 0, 0.3);
}

a:hover, .btn-link:hover {
    color: #0d1b4e;
    text-decoration: none;
    text-shadow: 
        -1.5px -1.5px 0 rgba(255, 255, 255, 0.95),
        1.5px -1.5px 0 rgba(255, 255, 255, 0.95),
        -1.5px 1.5px 0 rgba(255, 255, 255, 0.95),
        1.5px 1.5px 0 rgba(255, 255, 255, 0.95),
        0 0 5px rgba(255, 255, 255, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.4);
}

.btn {
    padding: 0.75rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    backdrop-filter: blur(10px) saturate(180%);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 0%, transparent 35%),
        rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px) saturate(150%);
    color: #0a0a2e;
    font-weight: 700;
    border-color: rgba(26, 35, 126, 0.4);
    text-shadow: 
        -1px -1px 0 rgba(255, 255, 255, 0.9),
        1px -1px 0 rgba(255, 255, 255, 0.9),
        -1px 1px 0 rgba(255, 255, 255, 0.9),
        1px 1px 0 rgba(255, 255, 255, 0.9),
        0 0 4px rgba(255, 255, 255, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) rotateX(5deg);
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.18) 0%, transparent 35%),
        rgba(255, 255, 255, 0.18);
    color: #0a0a2e;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    text-shadow: 
        -1.5px -1.5px 0 rgba(255, 255, 255, 0.95),
        1.5px -1.5px 0 rgba(255, 255, 255, 0.95),
        -1.5px 1.5px 0 rgba(255, 255, 255, 0.95),
        1.5px 1.5px 0 rgba(255, 255, 255, 0.95),
        0 0 6px rgba(255, 255, 255, 0.9),
        0 3px 6px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 0%, transparent 35%),
        rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px) saturate(150%);
    color: #8b1538;
    font-weight: 700;
    border-color: rgba(198, 40, 40, 0.4);
    text-shadow: 
        -1px -1px 0 rgba(255, 255, 255, 0.9),
        1px -1px 0 rgba(255, 255, 255, 0.9),
        -1px 1px 0 rgba(255, 255, 255, 0.9),
        1px 1px 0 rgba(255, 255, 255, 0.9),
        0 0 4px rgba(255, 255, 255, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px) rotateX(5deg);
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.18) 0%, transparent 35%),
        rgba(255, 255, 255, 0.18);
    color: #8b1538;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    text-shadow: 
        -1.5px -1.5px 0 rgba(255, 255, 255, 0.95),
        1.5px -1.5px 0 rgba(255, 255, 255, 0.95),
        -1.5px 1.5px 0 rgba(255, 255, 255, 0.95),
        1.5px 1.5px 0 rgba(255, 255, 255, 0.95),
        0 0 6px rgba(255, 255, 255, 0.9),
        0 3px 6px rgba(0, 0, 0, 0.4);
}

.btn-outline {
    background: 
        radial-gradient(circle at 40% 40%, rgba(255, 193, 7, 0.2) 0%, transparent 70%),
        rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 193, 7, 0.6);
    color: #1a237e;
    font-weight: 700;
}

.btn-outline:hover {
    background: 
        radial-gradient(circle at 40% 40%, rgba(255, 193, 7, 0.8) 0%, transparent 60%),
        rgba(255, 193, 7, 0.6);
    color: #0a0e27;
    transform: translateY(-3px) rotateX(5deg);
    box-shadow: 
        0 15px 40px rgba(255, 193, 7, 0.3),
        0 8px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem rgba(10, 14, 39, 0.8), 0 0 0 0.25rem rgba(26, 35, 126, 0.6);
}

.content {
    padding-top: 1.1rem;
    min-height: calc(100vh - 3.5rem);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '🌸 ✨ 🗡️ 🏯 🌙 🦋 💫 🌟';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 1.5rem;
    opacity: 0.05;
    animation: heroSparkle 15s ease-in-out infinite;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}

@keyframes heroSparkle {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.05;
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
        opacity: 0.08;
    }
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 1200px;
    padding: 3rem;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.12) 0%, transparent 40%),
        rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.1),
        0 8px 25px rgba(0, 0, 0, 0.08),
        inset 0 2px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.hero-content:hover {
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.18) 0%, transparent 40%),
        rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.15),
        0 12px 35px rgba(0, 0, 0, 0.1),
        inset 0 3px 0 rgba(255, 255, 255, 0.6);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
    font-weight: 600;
    text-shadow: 
        -1px -1px 0 rgba(255, 255, 255, 0.9),
        1px -1px 0 rgba(255, 255, 255, 0.9),
        -1px 1px 0 rgba(255, 255, 255, 0.9),
        1px 1px 0 rgba(255, 255, 255, 0.9),
        0 0 4px rgba(255, 255, 255, 0.7),
        0 2px 5px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Glassmorphism Feature Cards */
.feature-card {
    background: 
        /* Pure glass distortion circles */
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 0%, transparent 35%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.12) 0%, transparent 45%),
        /* Truly translucent base */
        rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 25px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 100%);
    border-radius: 27px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.18) 0%, transparent 35%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 45%),
        rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 10px 30px rgba(0, 0, 0, 0.1),
        inset 0 2px 0 rgba(255, 255, 255, 0.6);
}

.feature-card:hover::before {
    opacity: 1;
}

@keyframes cardGlow {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
}

.feature-card h3 {
    color: #1a237e;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 
        -1px -1px 0 rgba(255, 255, 255, 0.9),
        1px -1px 0 rgba(255, 255, 255, 0.9),
        -1px 1px 0 rgba(255, 255, 255, 0.9),
        1px 1px 0 rgba(255, 255, 255, 0.9),
        0 0 4px rgba(255, 255, 255, 0.7),
        0 2px 5px rgba(0, 0, 0, 0.4);
}

.feature-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Grid Layouts */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    perspective: 1000px;
    transform-style: preserve-3d;
}

/* Section Styling */
.section {
    padding: 5rem 0;
    position: relative;
    background: transparent;
}

.section-dark {
    background: transparent;
}

.section-light {
    background: transparent;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
}

/* Game showcase */
.game-showcase {
    background: 
        radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.16) 0%, transparent 45%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.12) 0%, transparent 40%),
        rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(22px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 28px;
    padding: 3.5rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.1),
        0 6px 20px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.game-showcase:hover {
    background: 
        radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.22) 0%, transparent 45%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.18) 0%, transparent 40%),
        rgba(255, 255, 255, 0.14);
    box-shadow: 
        0 20px 70px rgba(0, 0, 0, 0.15),
        0 10px 35px rgba(0, 0, 0, 0.1),
        inset 0 2px 0 rgba(255, 255, 255, 0.5);
}

.game-showcase::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.04) 50%,
        rgba(255, 255, 255, 0.08) 100%);
    border-radius: 30px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-showcase:hover::before {
    opacity: 1;
}

/* Security badge */
.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-secondary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0.5rem;
}

/* Tech stack */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.tech-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(26, 35, 126, 0.6);
}

/* Full Tilt JavaScript Effects */
.glass-tilt {
    transform-style: preserve-3d;
    will-change: transform;
}

.glass-tilt::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: inherit;
}

/* Glass Text Effect - Dark with Outline */
p {
    color: #1a1a1a;
    font-weight: 600;
    text-shadow: 
        /* White outline */
        -1px -1px 0 rgba(255, 255, 255, 0.8),
        1px -1px 0 rgba(255, 255, 255, 0.8),
        -1px 1px 0 rgba(255, 255, 255, 0.8),
        1px 1px 0 rgba(255, 255, 255, 0.8),
        /* Soft glow */
        0 0 3px rgba(255, 255, 255, 0.6),
        /* Depth shadow */
        0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
}

.feature-card p {
    color: #0d1b4e;
    font-weight: 600;
    text-shadow: 
        -1px -1px 0 rgba(255, 255, 255, 0.9),
        1px -1px 0 rgba(255, 255, 255, 0.9),
        -1px 1px 0 rgba(255, 255, 255, 0.9),
        1px 1px 0 rgba(255, 255, 255, 0.9),
        0 0 4px rgba(255, 255, 255, 0.7),
        0 2px 5px rgba(0, 0, 0, 0.4);
}

.game-showcase p {
    color: #1a237e;
    font-weight: 600;
    text-shadow: 
        -1px -1px 0 rgba(255, 255, 255, 0.9),
        1px -1px 0 rgba(255, 255, 255, 0.9),
        -1px 1px 0 rgba(255, 255, 255, 0.9),
        1px 1px 0 rgba(255, 255, 255, 0.9),
        0 0 4px rgba(255, 255, 255, 0.7),
        0 2px 5px rgba(0, 0, 0, 0.4);
}

/* Apply glass text effect to other elements */
h4, h5, h6 {
    color: #1a237e;
    font-weight: 600;
    text-shadow: 
        -1px -1px 0 rgba(255, 255, 255, 0.9),
        1px -1px 0 rgba(255, 255, 255, 0.9),
        -1px 1px 0 rgba(255, 255, 255, 0.9),
        1px 1px 0 rgba(255, 255, 255, 0.9),
        0 0 3px rgba(255, 255, 255, 0.6),
        0 1px 3px rgba(0, 0, 0, 0.3);
}

.tagline {
    color: #2c3e50;
    font-weight: 600;
    text-shadow: 
        -1px -1px 0 rgba(255, 255, 255, 0.9),
        1px -1px 0 rgba(255, 255, 255, 0.9),
        -1px 1px 0 rgba(255, 255, 255, 0.9),
        1px 1px 0 rgba(255, 255, 255, 0.9),
        0 0 3px rgba(255, 255, 255, 0.6),
        0 1px 3px rgba(0, 0, 0, 0.3);
}

li {
    color: #2c3e50;
    font-weight: 500;
    text-shadow: 
        -0.5px -0.5px 0 rgba(255, 255, 255, 0.8),
        0.5px -0.5px 0 rgba(255, 255, 255, 0.8),
        -0.5px 0.5px 0 rgba(255, 255, 255, 0.8),
        0.5px 0.5px 0 rgba(255, 255, 255, 0.8),
        0 0 2px rgba(255, 255, 255, 0.5),
        0 1px 2px rgba(0, 0, 0, 0.3);
}