:root {
    --primary: #f2a900;
    --primary-hover: #e09900;
    --secondary: #2c2f33;
    --bg-dark: #0f1014;
    --text-light: #ffffff;
    --text-gray: #aab8c2;
    --success: #2ecc71;
    --glass-bg: rgba(25, 27, 33, 0.85);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body {
    margin: 0;
    min-height: 100vh;
    background-image: linear-gradient(rgba(5, 12, 20, 0.72), rgba(5, 12, 20, 0.82)), url(img/pubg-bg.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
}



.container {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 500px;
    margin: 20px auto;
}

header {
    text-align: center;
    margin-bottom: 25px;
}

.logo {
    max-width: 150px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(242,169,0,0.5));
}

h1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card {
    background: rgba(15, 16, 20, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    overflow: hidden;
    position: relative;
}

.step {
    display: none;
    animation: fadeIn 0.4s ease-out forwards;
}

.step.active {
    display: block;
}

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

h2 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #fff;
    text-align: center;
}

p {
    color: var(--text-gray);
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.5;
}

.input-group {
    margin-bottom: 15px;
}

input {
    width: 100%;
    padding: 15px;
    background: rgba(0,0,0,0.4);
    border: 2px solid var(--glass-border);
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s;
}

input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(242,169,0,0.3);
}

.secure-text {
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: var(--success);
    margin-bottom: 25px;
}

.btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.primary-btn {
    background: linear-gradient(45deg, var(--primary), #ffa700);
    color: #000;
    box-shadow: 0 5px 15px rgba(242,169,0,0.4);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(242,169,0,0.6);
}

.primary-btn:disabled {
    background: #555;
    color: #888;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.secondary-btn {
    background: var(--secondary);
    color: #fff;
    margin-bottom: 10px;
}

.secondary-btn:hover {
    background: #3a3f45;
}

/* Loader */
.loader {
    width: 50px;
    height: 50px;
    border: 4px solid var(--glass-border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 30px auto;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* Account Details */
.account-details {
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    border: 1px solid var(--glass-border);
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    border: 2px solid var(--primary);
}

.details {
    display: flex;
    flex-direction: column;
}

.player-name {
    font-weight: 700;
    font-size: 18px;
    color: #fff;
}

.player-id-display {
    color: var(--primary);
    font-size: 14px;
}

/* UC Grid */
.uc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.uc-option {
    background: rgb(11 20 31);
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.uc-option img {
    width: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease;
    animation: floatImage 3s ease-in-out infinite;
}

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

.uc-option span {
    display: block;
    font-weight: 700;
    font-size: 16px;
}

.uc-option:hover {
    border-color: rgba(242,169,0,0.5);
    background: rgba(242,169,0,0.1);
}

.uc-option:hover img {
    animation-play-state: paused;
    transform: scale(1.15) translateY(-5px);
    filter: drop-shadow(0 5px 15px rgba(242, 169, 0, 0.6));
}

.uc-option.selected {
    border-color: var(--primary);
    background: rgba(242,169,0,0.15);
    box-shadow: 0 0 15px rgba(242,169,0,0.2);
}

.popular {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #e74c3c;
    color: white !important;
    font-size: 10px !important;
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
}

/* Summary */
.summary {
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 16px;
}

.summary-item:last-child {
    margin-bottom: 0;
    border-top: 1px solid var(--glass-border);
    padding-top: 10px;
}

.highlight {
    color: var(--primary);
    font-size: 18px;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(242,169,0,0.7); }
    70% { box-shadow: 0 0 0 15px rgba(242,169,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(242,169,0,0); }
}

/* Progress */
.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(0,0,0,0.5);
    border-radius: 6px;
    overflow: hidden;
    margin: 20px 0;
}

.progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #ffa700);
    transition: width 0.3s ease;
}

.process-log {
    list-style: none;
    font-size: 13px;
    color: var(--text-gray);
    text-align: right;
    max-height: 100px;
    overflow: hidden;
}

.process-log li {
    margin-bottom: 5px;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

/* Verification */
.success-icon {
    width: 60px;
    height: 60px;
    background: rgba(46, 204, 113, 0.2);
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
}

.verification-box {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.verification-box h3 {
    color: #e74c3c;
    margin-bottom: 10px;
}

.verify-btn {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    margin-top: 15px;
    box-shadow: 0 5px 15px rgba(231,76,60,0.4);
}

.verify-btn:hover {
    box-shadow: 0 8px 20px rgba(231,76,60,0.6);
}

footer {
    text-align: center;
    margin-top: 30px;
    color: rgba(255,255,255,0.4);
    font-size: 12px;
}

@media (max-width: 480px) {
    .card { padding: 20px; }
    .uc-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .uc-option { padding: 10px 5px; }
    .uc-option span { font-size: 13px; }
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease-out forwards;
}

.modal-content {
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: scale(0.9);
    animation: scaleIn 0.3s ease-out forwards;
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.error-icon {
    width: 60px;
    height: 60px;
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
    margin: 0 auto 20px;
    border: 2px solid #e74c3c;
}

.modal-content h3 {
    color: #e74c3c;
    margin-bottom: 10px;
    font-size: 22px;
}

.modal-content p {
    margin-bottom: 25px;
}

.hero-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Dots Loader */
.dots-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.dots-loader .dot {
    width: 15px;
    height: 15px;
    background-color: var(--primary);
    border-radius: 50%;
    animation: bounce 0.5s infinite alternate;
}

.dots-loader .dot:nth-child(2) {
    animation-delay: 0.15s;
}

.dots-loader .dot:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes bounce {
    to {
        transform: translateY(-10px);
        background-color: #ffa700;
        box-shadow: 0 5px 15px rgba(242,169,0,0.6);
    }
}