:root {
    --primary-color: #7c4dff;
    --primary-dark: #651fff;
    --secondary-color: #00e5ff;
    --secondary-dark: #00b8d4;
    --accent-color: #ff4081;
    --text-color: #ffffff;
    --text-light: #e0e0e0;
    --background-color: #0a0f2d;
    --card-background: rgba(25, 32, 72, 0.7);
    --border-color: rgba(255, 255, 255, 0.1);
    --error-color: #ff5252;
    --success-color: #69f0ae;
    --warning-color: #ffab40;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --gradient-1: linear-gradient(135deg, #7c4dff, #448aff);
    --gradient-2: linear-gradient(135deg, #00e5ff, #1e88e5);
    --gradient-3: linear-gradient(135deg, #ff4081, #ff5252);
    --gradient-4: linear-gradient(135deg, #69f0ae, #00e676);
    --glass-effect: rgba(255, 255, 255, 0.05);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-blur: blur(10px);
}

.dark {
    --primary-color: #b388ff;
    --primary-dark: #7c4dff;
    --secondary-color: #00e5ff;
    --secondary-dark: #00b8d4;
    --accent-color: #ff80ab;
    --text-color: #ffffff;
    --text-light: #e0e0e0;
    --background-color: #050a24;
    --card-background: rgba(15, 20, 45, 0.7);
    --border-color: rgba(255, 255, 255, 0.1);
    --error-color: #ff5252;
    --success-color: #69f0ae;
    --warning-color: #ffab40;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --gradient-1: linear-gradient(135deg, #b388ff, #6200ea);
    --gradient-2: linear-gradient(135deg, #00e5ff, #2979ff);
    --gradient-3: linear-gradient(135deg, #ff80ab, #ff5252);
    --gradient-4: linear-gradient(135deg, #69f0ae, #00e676);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: var(--transition);
    background-image: radial-gradient(circle at 10% 20%, rgba(124, 77, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 30%, rgba(0, 229, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 50% 80%, rgba(255, 64, 129, 0.1) 0%, transparent 20%),
        linear-gradient(135deg, #0a0f2d 0%, #192048 100%);
    background-attachment: fixed;
    background-size: cover;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E"),
        linear-gradient(135deg, rgba(10, 15, 45, 0.8) 0%, rgba(25, 32, 72, 0.8) 100%);
    z-index: -1;
}

.container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: var(--card-background);
    border-radius: 20px;
    box-shadow: var(--shadow);
    position: relative;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    overflow: hidden;
}

.container::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    z-index: -1;
    animation: pulse 15s infinite linear;
}

@keyframes pulse {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(5%, 5%);
    }

    50% {
        transform: translate(0, 10%);
    }

    75% {
        transform: translate(-5%, 5%);
    }

    100% {
        transform: translate(0, 0);
    }
}

h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    display: inline-block;
    width: 100%;
}

h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 3px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-light);
    font-size: 1rem;
}

input,
textarea,
select {
    width: 100%;
    padding: 15px;
    border: var(--glass-border);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    transition: var(--transition);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    font-size: 1rem;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.08);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

select {

    appearance: none;
    255,
    255,
    0.08);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 40px;
}

button {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

button:hover::before {
    left: 100%;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

button:disabled {
    background: linear-gradient(135deg, #9e9e9e, #757575);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.secondary-button {
    background: var(--gradient-2);
}

.button-group {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.mt-3 {
    margin-top: 15px;
}

.mt-4 {
    margin-top: 20px;
}

.error-message {
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 5px;
    min-height: 20px;
    font-weight: 500;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 40px;
}

.progress-bar {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-1);
    width: 33.33%;
    /* 1/3 for first step */
    transition: width 0.5s ease;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.progress-steps {
    display: flex;
    justify-content: space-between;
}

.progress-step {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--text-color);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    z-index: 1;
}

.progress-step::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-1);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progress-step.active {
    border-color: transparent;
    color: white;
}

.progress-step.active::before {
    opacity: 1;
}

/* Game Cards */
.game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.game-card {
    border-radius: 15px;
    overflow: hidden;
    background: var(--card-background);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
    border: var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transform: translateY(0);
    position: relative;
}

.game-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.game-card:hover::before {
    opacity: 1;
}

.game-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.game-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.7) 100%);
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-info {
    padding: 20px;
    position: relative;
}

.game-info h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
}

.game-info p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.game-price {
    margin-top: 15px;
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--success-color);
    display: inline-block;
    padding: 5px 15px;
    background: rgba(105, 240, 174, 0.1);
    border-radius: 20px;
}

/* Card Upload */
.card-upload-container {
    margin: 30px 0;
    text-align: center;
}

.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.03);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.05);
}

.upload-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.upload-instructions {
    margin-bottom: 20px;
}

.upload-instructions h3 {
    margin-bottom: 10px;
    color: var(--text-color);
}

.upload-instructions p {
    color: var(--text-light);
    margin-bottom: 5px;
}

.upload-button {
    display: inline-block;
    padding: 12px 25px;
    background: var(--gradient-1);
    color: white;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.upload-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.upload-button:hover::before {
    left: 100%;
}

.upload-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.upload-button input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.card-preview-container {
    display: none;
    margin: 20px 0;
    text-align: center;
}

.card-preview-wrapper {
    display: inline-block;
    padding: 10px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
}

.card-preview {
    max-width: 100%;
    max-height: 300px;
    border-radius: 5px;
}

/* Verification Progress */
.verification-progress {
    margin: 40px 0;
    display: none;
}

.verification-bar {
    height: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.verification-bar-fill {
    height: 100%;
    background: var(--gradient-4);
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 10px;
    position: relative;
}

.verification-bar-fill::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
    animation: shimmer 1s infinite;
}

.verification-message {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Verification Complete */
.verification-complete {
    display: none;
    text-align: center;
    margin: 40px 0;
}

.verification-complete-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    color: var(--success-color);
}

.verification-complete-message {
    margin-bottom: 30px;
}

.verification-complete-message h3 {
    font-size: 1.5rem;
    color: var(--success-color);
    margin-bottom: 10px;
}

.verification-complete-message p {
    color: var(--text-light);
    margin-bottom: 10px;
}

.notify-admin-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--gradient-4);
    color: white;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 1.1rem;
    margin-top: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.notify-admin-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Game title and price display */
.game-title-price {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.1) 0%, rgba(0, 229, 255, 0.1) 100%);
    border-radius: 15px;
    border: var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.game-title-price h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.game-title-price .price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--success-color);
    text-shadow: 0 0 10px rgba(105, 240, 174, 0.5);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 15, 45, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(124, 77, 255, 0.5);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-overlay p {
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Notification */
.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gradient-4);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    z-index: 900;
}

.notification.active {
    transform: translateY(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
}

.notification-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
}

/* Theme Toggle */
.theme-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--card-background);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    z-index: 100;
    border: var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.theme-icon {
    width: 24px;
    height: 24px;
    color: var(--text-color);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        margin: 20px;
        padding: 20px;
    }

    .detail-row {
        flex-direction: column;
    }

    .detail-label {
        margin-bottom: 5px;
    }

    .game-cards {
        grid-template-columns: 1fr;
    }

    .button-group {
        flex-direction: column;
    }

    h2 {
        font-size: 1.5rem;
    }

    .game-title-price .price {
        font-size: 1.5rem;
    }
}