﻿

body{
    background: url('/images/is-elden-rings-scenery-unique-in-the-gaming-industry-what-v0-mtr0ldcnxrde1.jpg')
}


html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    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+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1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NjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) 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;
}


.category-container {
    text-align: center;
    padding: 3rem;
}

.category-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
    text-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.category-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.category-card {
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    border-radius: 16px;
    padding: 2rem;
    width: 220px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

    .category-card:hover {
        transform: translateY(-8px) scale(1.05);
        box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    }

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #222;
}

.category-card p {
    font-size: 1rem;
    color: #555;
}

.name-input {
    padding: 1rem;
    font-size: 1.2rem;
    border-radius: 12px;
    border: 2px solid #ccc;
    margin-bottom: 2rem;
    width: 300px;
    text-align: center;
}



.quiz-transition {
    display: flex;
    justify-content: center; 
    align-items: center; 
    min-height: 100vh; 
}

.quiz-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, #ffffff, #f9f9f9);
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 700px;
    height: 600px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

    .quiz-card::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 24px;
        padding: 2px;
        background: linear-gradient(135deg, #ff6b6b, #f1c40f, #2ecc71, #3498db);
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
    }

    .quiz-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 16px 50px rgba(0,0,0,0.35);
    }




.fade-in {
    opacity: 1;
    transform: scale(1);
}

.fade-out {
    opacity: 0;
    transform: scale(0.95);
    filter: blur(4px);
}


.prompt {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #222;
    text-shadow: 0 2px 6px rgba(0,0,0,0.1);
}


.options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}


.option-btn {
    background: linear-gradient(135deg, #ff4b2b, #ff416c);
    padding: 1.5rem;
    border: none;
    border-radius: 16px;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    color: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}


    .option-btn:hover {
        transform: scale(1.08);
        box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    }




.leaderboard-card {
    background: linear-gradient(135deg, #1f1c2c, #928dab);
    color: white;
    border-radius: 20px;
    padding: 3rem;
    max-width: 600px;
    margin: 3rem auto;
    text-align: center;
    box-shadow: 0 0 30px rgba(0,0,0,0.4);
    animation: pop-in 0.6s ease-out;
}

@keyframes pop-in {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.leaderboard-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px #fff;
}

.score-display {
    margin: 2rem 0;
}

.score-label {
    font-size: 1.5rem;
    opacity: 0.8;
}

.score-value {
    font-size: 3rem;
    font-weight: bold;
    color: #f1c40f;
    text-shadow: 0 0 10px #f1c40f;
}

.restart-btn {
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    background-color: #2ecc71;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s ease;
}

    .restart-btn:hover {
        transform: scale(1.05);
    }



.ok {
    color: #0b7a2f;
}

.err {
    color: #b00020;
}

.warn {
    color: #8a6d3b;
}






..hero-section {

    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.6);
    animation: fadeInUp 1.2s ease-out;
}


.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #00f0ff, #ff00ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glowText 3s infinite alternate;
}

@keyframes glowText {
    from {
        text-shadow: 0 0 20px #00f0ff;
    }

    to {
        text-shadow: 0 0 40px #ff00ff;
    }
}

.hero-subtitle {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    font-weight: 500;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #00f0ff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.6);
    animation: fadeGlow 3s infinite alternate;
}

@keyframes fadeGlow {
    from {
        text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
    }

    to {
        text-shadow: 0 0 25px rgba(255, 0, 255, 0.7);
    }
}

.hero-tagline {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-style: italic;
    opacity: 0.9;
}

.hero-button {
    background: linear-gradient(90deg, #007bff, #0056d6); 
    color: #fff; 
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px #007bff;
}

    .hero-button:hover {
        transform: scale(1.1);
        box-shadow: 0 0 40px #0056d6;
    }


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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


.info-section {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    margin: 4rem auto;
    padding: 2rem;
    gap: 2rem;
    max-width: 1200px;
}


.info-card {
    flex: 1;
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    color: white;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.3); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


    .info-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 0 40px rgba(0, 255, 136, 0.6);
    }

    .info-card h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        background: linear-gradient(90deg, #00f0ff, #ff00ff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }









@keyframes roll {
    0% {
        transform: rotate(0deg) scale(1);
    }

    25% {
        transform: rotate(90deg) scale(1.2);
    }

    50% {
        transform: rotate(180deg) scale(0.8);
    }

    75% {
        transform: rotate(270deg) scale(1.2);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}






@keyframes roll {
    0% {
        transform: rotate(0deg) scale(1);
    }

    25% {
        transform: rotate(90deg) scale(1.2);
    }

    50% {
        transform: rotate(180deg) scale(0.8);
    }

    75% {
        transform: rotate(270deg) scale(1.2);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

.hangman-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    
}

.hangman-container {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    max-width: 600px;
    width: 100%;
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
}

.title {
    font-size: 32px;
    margin-bottom: 20px;
}

.hangman-figure {
    position: relative;
    width: 200px;
    height: 250px;
    margin: 0 auto 20px;
    border-left: 5px solid #333;
    border-top: 5px solid #333;
}

.part {
    position: absolute;
    background: #e11d48;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.part-0 {
    top: 20px;
    left: 150px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.part-1 {
    top: 60px;
    left: 170px;
    width: 5px;
    height: 60px;
}

.part-2 {
    top: 70px;
    left: 170px;
    width: 40px;
    height: 5px;
}

.part-3 {
    top: 70px;
    left: 130px;
    width: 40px;
    height: 5px;
}

.part-4 {
    top: 120px;
    left: 170px;
    width: 40px;
    height: 5px;
}

.part-5 {
    top: 120px;
    left: 130px;
    width: 40px;
    height: 5px;
}

.word {
    font-size: 28px;
    letter-spacing: 10px;
    margin-bottom: 20px;
}

.letter {
    display: inline-block;
    width: 30px;
    border-bottom: 2px solid #333;
    transition: transform 0.3s ease;
}

    .letter.revealed {
        animation: pop 0.3s ease;
    }

@keyframes pop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.letters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
}

.letter-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 18px;
    background: #f3f4f6;
    border: 2px solid #333;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .letter-btn:hover {
        background: #c7d2fe;
        transform: scale(1.1);
    }

    .letter-btn.used {
        background: #9ca3af;
        color: white;
        cursor: not-allowed;
    }

.status {
    margin-top: 20px;
}

.win {
    color: #10b981;
}

.lose {
    color: #ef4444;
}

.restart-btn {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
}
.categories {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
    padding-right: 20px
}

    .categories .btn {
        padding: 12px 20px;
        font-size: 18px;
        border-radius: 8px;
    }



.snake-ladder-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.snake-ladder-container {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
}

.title {
    font-size: 32px;
    margin-bottom: 20px;
}

.board {
    display: grid;
    grid-template-rows: repeat(10, 1fr);
    gap: 2px;
    margin-bottom: 20px;
}

.board-row {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
}

.cell {
    width: 50px;
    height: 50px;
    background: #f3f4f6;
    border: 1px solid #333;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    position: relative;
}

    .cell.p1 {
        background: #3b82f6;
        color: white;
        border-radius: 50%;
    }

    .cell.p2 {
        background: #ef4444;
        color: white;
        border-radius: 50%;
    }

.status {
    margin: 15px 0;
    font-size: 18px;
}
