    body {
            background: linear-gradient(135deg, #b2f521 0%, #eb2222 50%, #6408f7 100%);
            background-attachment: fixed;
            min-height: 100vh;
        }

        .header {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 30px;
            margin: 20px auto;
            max-width: 600px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            text-align: center;
        }

        .header h2 {
            color: #2E7D32;
            font-size: 2.5em;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
        }

        #username {
            background: white;
            border: 3px solid #4CAF50;
            border-radius: 20px;
            padding: 15px 25px;
            font-size: 1.2em;
            width: 100%;
            max-width: 400px;
            margin: 20px auto;
            display: block;
            box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
            transition: all 0.3s ease;
            text-align: center;
        }

        #username:focus {
            outline: none;
            border-color: #2E7D32;
            box-shadow: 0 8px 25px rgba(46, 125, 50, 0.4);
            transform: translateY(-2px);
        }

        #username::placeholder {
            color: #81C784;
            text-align: center;
        }

        #generate {
            background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
            border: none;
            border-radius: 20px;
            padding: 15px 40px;
            font-size: 1.3em;
            font-weight: bold;
            color: white;
            cursor: pointer;
            margin: 20px auto;
            display: block;
            box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        #generate:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 25px rgba(76, 175, 80, 0.5);
            background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
        }

        #generate:active {
            transform: translateY(-1px);
            box-shadow: 0 6px 15px rgba(76, 175, 80, 0.4);
        }

        .card {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            padding: 15px;
            margin: 10px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            backdrop-filter: blur(5px);
            border: 2px solid rgba(76, 175, 80, 0.3);
            flex: 0 0 calc(16.666% - 20px);
            min-width: 160px;
            max-width: 200px;
            cursor: pointer;
            position: relative;
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
            border-color: #4CAF50;
        }

        .card.selected {
            background: rgba(76, 175, 80, 0.2);
            border: 3px solid #4CAF50;
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(76, 175, 80, 0.3);
        }

        .card.selected::after {
            content: "✓";
            position: absolute;
            top: 10px;
            right: 10px;
            background: #4CAF50;
            color: white;
            border-radius: 50%;
            width: 25px;
            height: 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 14px;
        }

        .card img {
            width: 100%;
            height: 120px;
            object-fit: contain;
            display: block;
            margin: 0 auto 15px;
            border-radius: 10px;
        }

        .card-content h3 {
            color: #2E7D32;
            text-align: center;
            font-size: 1em;
            margin: 0;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
            line-height: 1.2;
        }

        .small-text {
            text-align: center;
            color: #2E7D32;
            font-size: 1.3em;
            font-weight: 600;
            margin: 30px 0;
            text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
        }

        .warning {
            background: rgba(255, 193, 7, 0.9);
            color: #8B4513;
            border-radius: 10px;
            padding: 10px 20px;
            margin: 10px auto;
            max-width: 400px;
            text-align: center;
            font-weight: bold;
            box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3);
        }

        .logo {
            border-radius: 50%;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            margin-bottom: 20px;
        }

        .card-container {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 30px;
            margin: 20px;
            backdrop-filter: blur(5px);
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 20px;
            max-width: 1400px;
            margin: 20px auto;
        }

        /* Modal Styles */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(10px);
            z-index: 10000;
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 20px;
            padding: 40px;
            text-align: center;
            min-width: 400px;
            max-width: 500px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(20px);
            border: 2px solid rgba(255, 255, 255, 0.2);
            animation: modalFadeIn 0.3s ease-out;
        }

        @keyframes modalFadeIn {
            from {
                opacity: 0;
                transform: scale(0.8);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .progress-circle {
            width: 100px;
            height: 100px;
            border: 8px solid #e0e0e0;
            border-top: 8px solid #4CAF50;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 30px;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .modal-text {
            color: #333;
            font-size: 1.4em;
            font-weight: 500;
            margin: 0;
            letter-spacing: 0.5px;
        }

        .dots {
            display: inline-block;
            animation: dots 1.5s infinite;
        }

        @keyframes dots {
            0%, 20% { content: ''; }
            40% { content: '.'; }
            60% { content: '..'; }
            80%, 100% { content: '...'; }
        }

        /* Avatar Container Styles */
        .avatar-container {
            text-align: center;
            padding: 40px;
        }

        .avatar {
            margin-bottom: 30px;
        }

        .avatar img {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            border: 4px solid #4CAF50;
            box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
        }

        .success-text {
            color: #FFD700;
            font-size: 1.8em;
            font-weight: bold;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }

        .restart-text {
            color: #00E5FF;
            font-size: 1.2em;
            margin-bottom: 30px;
            line-height: 1.4;
        }
.verify-butto{
     background: linear-gradient(135deg, #00E5FF 0%, #00B0FF 100%);
            border: none;
            border-radius: 25px;
            padding: 15px 40px;
            font-size: 1.2em;
            font-weight: bold;
            color: white;
            cursor: pointer;
}
.verify-butto:hover{
          transform: translateY(-2px);
            box-shadow: 0 12px 25px rgba(0, 229, 255, 0.5);
            background: linear-gradient(135deg, #00B0FF 0%, #0091EA 100%);
}
        .verify-button {
            background: linear-gradient(135deg, #00E5FF 0%, #00B0FF 100%);
            border: none;
            border-radius: 25px;
            padding: 15px 40px;
            font-size: 1.2em;
            font-weight: bold;
            color: white;
            cursor: pointer;
            box-shadow: 0 8px 20px rgba(0, 229, 255, 0.4);
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .verify-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 25px rgba(0, 229, 255, 0.5);
            background: linear-gradient(135deg, #00B0FF 0%, #0091EA 100%);
        }

        /* Responsive Design */
        @media (max-width: 767px) {
            body {
                font-size: 14px;
            }

            .header {
                margin: 10px;
                padding: 15px;
                border-radius: 15px;
            }

            .header h2 {
                font-size: 1.4em;
                margin-bottom: 10px;
            }

            #username {
                max-width: 100%;
                margin: 10px 0;
                padding: 10px 15px;
                font-size: 1em;
                border-radius: 15px;
            }

            #generate {
                padding: 10px 20px;
                font-size: 1em;
                margin: 10px 0;
                border-radius: 15px;
            }

            .small-text {
                font-size: 1em;
                margin: 15px 10px;
            }

            .card-container {
                padding: 10px;
                margin: 10px;
                border-radius: 15px;
                display: flex;
                flex-wrap: wrap;
                justify-content: space-between;
                gap: 10px;
            }

            .card {
                flex: 0 0 calc(50% - 10px);
                min-width: unset;
                max-width: unset;
                margin: 0;
                padding: 10px;
                border-radius: 12px;
                box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            }

            .card img {
                width: 80px;
                height: 80px;
                margin-bottom: 8px;
            }

            .card-content h3 {
                font-size: 0.8em;
                line-height: 1.2;
            }

            .modal-content {
                min-width: 300px;
                padding: 30px 20px;
                margin: 20px;
            }

            .progress-circle {
                width: 80px;
                height: 80px;
                border-width: 6px;
                margin-bottom: 20px;
            }

            .modal-text {
                font-size: 1.2em;
            }

            .avatar img {
                width: 80px;
                height: 80px;
            }

            .success-text {
                font-size: 1.4em;
            }

            .restart-text {
                font-size: 1em;
            }
        }

        @media (min-width: 768px) and (max-width: 991px) {
            .card {
                flex: 0 0 calc(25% - 20px);
                min-width: 150px;
                max-width: 180px;
            }

            .card img {
                height: 100px;
            }

            .card-content h3 {
                font-size: 0.9em;
            }
        }

        @media (min-width: 992px) and (max-width: 1199px) {
            .card {
                flex: 0 0 calc(20% - 20px);
                min-width: 160px;
                max-width: 200px;
            }
        }

        @media (min-width: 1200px) {
            .card {
                flex: 0 0 calc(16.666% - 20px);
                min-width: 180px;
                max-width: 220px;
            }
        }
         .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(10px);
            z-index: 10000;
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            background: rgba(120, 120, 120, 0.95);
            border-radius: 20px;
            padding: 50px 40px;
            text-align: center;
            min-width: 500px;
            max-width: 600px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(20px);
            border: 2px solid rgba(255, 255, 255, 0.1);
            animation: modalFadeIn 0.3s ease-out;
            position: relative;
        }
         @media (max-width: 405px) {
            .header {
                margin: 10px;
                padding: 20px 15px;
                border-radius: 15px;
            }
            .sem{
                margin-left: 150px;
            }
            .header h2 {
                font-size: 1.6em;
                margin-bottom: 15px;
            }

            .logo {
                width: 60px;
                height: 60px;
                margin-bottom: 15px;
            }

            #username {
                width: calc(100% - 30px);
                margin: 15px auto;
                padding: 12px 20px;
                font-size: 1.1em;
                border-radius: 15px;
            }

            #generate {
                padding: 15px 35px;
                font-size: 1.2em;
                margin: 20px 0;
                border-radius: 20px;
                min-width: 180px;
            }

            .small-text {
                font-size: 1.1em;
                margin: 20px 15px;
            }

            .card-container {
                padding: 15px;
                margin: 15px;
                border-radius: 15px;
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }

            .card {
                padding: 12px;
                border-radius: 12px;
                max-width: none;
            }

            .card img {
                height: 80px;
                margin-bottom: 10px;
            }

            .card-content h3 {
                font-size: 0.8em;
            }

            .modal-content {
                padding: 30px 20px;
                margin-left: 25px;
                margin-right: 25px;
                width: calc(70% - 20px);
                border-radius: 15px;
            }

            .progress-circle {
                width: 60px;
                height: 60px;
                border-width: 4px;
                margin-bottom: 20px;
            }

            .modal-text {
                font-size: 1.1em;
            }

            .congrats-icon {
                width: 80px;
                height: 80px;
            }

            .congrats-circle {
                width: 80px;
                height: 80px;
            }

            .congrats-figure img {
                width: 50px;
                height: 50px;
            }

            .congrats-title {
                font-size: 1.3em;
            }

            .congrats-subtitle {
                font-size: 1em;
            }

            .verify-button {
                padding: 12px 30px;
                font-size: 1.1em;
                min-width: 130px;
            }

            .warning {
                margin: 10px 15px;
                padding: 12px 15px;
                border-radius: 12px;
                font-size: 0.9em;
            }
        }

        /* Tablet Design */
        @media (min-width: 768px) and (max-width: 1024px) {
            .card-container {
                grid-template-columns: repeat(3, 1fr);
                gap: 18px;
                padding: 25px;
                margin: 25px;
            }

            .modal-content {
                width: 80%;
                max-width: 600px;
            }
        }

        /* Desktop Design */
        @media (min-width: 1025px) {
            .container {
                max-width: 1200px;
            }

            .card-container {
                grid-template-columns: repeat(4, 1fr);
                gap: 20px;
                padding: 30px;
                margin: 30px;
            }

            .modal-content {
                width: 60%;
                max-width: 700px;
            }
        }

        @keyframes modalFadeIn {
            from {
                opacity: 0;
                transform: scale(0.8);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        /* Loading Modal Styles */
        .progress-circle {
            width: 80px;
            height: 80px;
            border: 6px solid rgba(255, 255, 255, 0.3);
            border-top: 6px solid #ffffff;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 30px;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .modal-text {
            color: #ffffff;
            font-size: 1.2em;
            font-weight: 400;
            margin: 0;
            letter-spacing: 0.5px;
        }

        .dots::after {
            content: '';
            animation: dots 1.5s infinite;
        }

        @keyframes dots {
            0%, 20% { content: ''; }
            40% { content: '.'; }
            60% { content: '..'; }
            80%, 100% { content: '...'; }
        }

        /* Congratulations Modal - Exact match to images */
        .congrats-icon {
            width: 100px;
            height: 100px;
            margin: 0 auto 30px;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .congrats-circle {
            width: 100px;
            height: 100px;
            background: rgba(100, 100, 100, 0.8);
            border: 4px solid #00E5FF;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { box-shadow: 0 0 20px rgba(0, 229, 255, 0.5); }
            50% { box-shadow: 0 0 30px rgba(0, 229, 255, 0.8); }
            100% { box-shadow: 0 0 20px rgba(0, 229, 255, 0.5); }
        }

        .congrats-figure img {
            width: 70px;
            height: 70px;
        }

        .figure-person {
            font-size: 30px;
        }

        .figure-question {
            font-size: 35px;
            color: #FFD700;
            font-weight: bold;
        }

        .congrats-title {
            color: #FFD700;
            font-size: 1.8em;
            font-weight: bold;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }

        .congrats-subtitle {
            color: #00E5FF;
            font-size: 1.1em;
            margin-bottom: 35px;
            line-height: 1.4;
            font-weight: 400;
        }

        /* For the Generate button - ensure perfect centering */
#generate {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    border: none;
    border-radius: 20px;
    padding: 15px 40px;
    font-size: 1.3em;
    font-weight: bold;
    color: white;
    cursor: pointer;
    margin: 20px auto;
    display: block;
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    /* Add these properties for perfect centering */
    text-align: center;
    width: fit-content;
}

/* For the Verify button - ensure perfect centering */
.verify-button {
    background: linear-gradient(135deg, #00E5FF 0%, #00B0FF 100%);
    border: none;
    border-radius: 25px;
    padding: 8px 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: white;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 229, 255, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    /* Add these properties for perfect centering */
    display: block;
    margin: 20px auto;
    text-align: center;
    width: fit-content;

}

/* Alternative: If you want both buttons in the same container centered together */
.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px auto;
    flex-wrap: wrap;
}

.button-container ,
.button-container #generate {
    margin: 0;
}

        .verify-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 25px rgba(0, 229, 255, 0.6);
            background: linear-gradient(135deg, #00B0FF 0%, #0091EA 100%);
        }

        
  