:root {
    --primary: #00b0f0;
    --primary-glow: rgba(0, 176, 240, 0.6);
    --secondary: #ffaa00;
    --bg-dark: #0f1115;
    --bg-panel: rgba(255, 255, 255, 0.03);
    --text-main: #ffffff;
    --text-muted: #a0a5b5;
    --border-color: rgba(255, 255, 255, 0.1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-x: hidden;
    position: relative;
    padding: 20px 16px;
}

/* Dynamic Animated Background */
.background-animation {
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    top: 0; left: 0;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 10s infinite ease-in-out alternate;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: #7a00ff;
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Main Container (Glassmorphism) */
.container {
    position: relative;
    z-index: 1;
    background: var(--bg-panel);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 30px 24px;
    width: 100%;
    max-width: 560px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
    overflow-y: auto;
    margin: auto;
}

/* Scrollbar customization for container */
.container::-webkit-scrollbar {
    width: 8px;
}
.container::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1); 
    border-radius: 10px;
}
.container::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2); 
    border-radius: 10px;
}

header {
    margin-bottom: 30px;
}

header .logo {
    width: 80px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 2px;
}

header h1 span {
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
}

header p {
    color: var(--text-muted);
    margin-top: 10px;
    font-size: 0.95rem;
}

/* Steps */
.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); }
}

.step h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Inputs */
.input-group {
    margin-bottom: 25px;
}

input[type="text"] {
    width: 100%;
    padding: 18px 20px;
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: #fff;
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s ease;
    text-align: center;
}

input[type="text"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

/* Buttons */
.btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.primary-btn {
    background: linear-gradient(135deg, #00b0f0, #007acc);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 176, 240, 0.3);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 176, 240, 0.5);
}

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

.verify-btn {
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    color: white;
    font-size: 1.2rem;
    padding: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 10px 30px rgba(58, 123, 213, 0.5);
    animation: pulse 2s infinite;
}

.verify-btn:disabled {
    animation: none;
    background: #2a4875;
    color: #a0a0a0;
    box-shadow: none;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); box-shadow: 0 15px 40px rgba(58, 123, 213, 0.7); }
    100% { transform: scale(1); }
}

/* Cards */
.robux-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.card {
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.card img {
    width: 90px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6));
}

.card h3 {
    color: var(--secondary);
    font-size: 1.2rem;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    background: rgba(255, 170, 0, 0.05);
}

.card.selected {
    border-color: var(--secondary);
    background: rgba(255, 170, 0, 0.1);
    box-shadow: 0 0 20px rgba(255, 170, 0, 0.3);
}

/* Console & Progress */
.console {
    background: #000;
    border-radius: 12px;
    padding: 15px;
    height: 120px;
    overflow-y: hidden;
    text-align: left;
    margin-bottom: 20px;
    border: 1px solid #333;
    font-family: monospace;
    font-size: 0.9rem;
    color: #0f0;
}

.console ul {
    list-style: none;
}

.console li {
    margin-bottom: 5px;
}

.progress-container {
    width: 100%;
    height: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}

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

/* Verification Box */
.verification-box {
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.05);
}

.spin-robux {
    width: 60px;
    animation: spin 3s linear infinite;
    margin-bottom: 15px;
}

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

.verification-box h3 {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.verification-box p {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Dynamic Offers List */
.offers-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.offer-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.offer-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: var(--primary);
}

.offer-item img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 15px;
}

.offer-details {
    flex: 1;
    text-align: left;
}

.offer-details h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.offer-details p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.offer-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-left: 10px;
}

.offer-action span {
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

.offer-action i {
    color: var(--primary);
}

@media (max-width: 480px) {
    body {
        padding: 16px 12px;
        align-items: flex-start;
    }
    .container {
        padding: 24px 16px;
        border-radius: 18px;
    }
    header h1 {
        font-size: 1.9rem;
    }
    .robux-cards {
        gap: 10px;
    }
    .card {
        padding: 14px 10px;
    }
    .card img {
        width: 60px;
    }
    .offer-details h4 {
        font-size: 0.9rem;
    }
    .offer-details p {
        font-size: 0.75rem;
    }
    .locker-modal {
        max-height: 95dvh;
        border-radius: 16px;
    }
    .locker-header {
        padding: 14px 16px;
    }
}

/* ===== CONTENT LOCKER OVERLAY ===== */
.locker-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.locker-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.locker-modal {
    position: relative;
    z-index: 1;
    background: linear-gradient(145deg, #16191f, #0f1115);
    border: 1px solid rgba(0, 176, 240, 0.3);
    border-radius: 20px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 60px rgba(0, 176, 240, 0.15), 0 30px 60px rgba(0,0,0,0.6);
    animation: lockerSlideIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes lockerSlideIn {
    from { opacity: 0; transform: translateY(-30px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.locker-header {
    background: linear-gradient(135deg, rgba(0,176,240,0.15), rgba(122,0,255,0.1));
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.locker-title {
    flex: 1;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.locker-title i {
    color: var(--primary);
}

.locker-user {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.locker-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.locker-body::-webkit-scrollbar { width: 6px; }
.locker-body::-webkit-scrollbar-track { background: transparent; }
.locker-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 10px; }

.locker-reward {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 170, 0, 0.08);
    border: 1px solid rgba(255, 170, 0, 0.25);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 14px;
    font-size: 1rem;
    color: var(--secondary);
    font-weight: 600;
}

.locker-reward strong {
    color: var(--secondary);
    font-size: 1.2rem;
}

.locker-instruction {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.locker-loading {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.locker-loading i {
    margin-right: 8px;
    color: var(--primary);
}

/* Locker offer items */
.locker-offers {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.locker-offer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 12px 14px;
    text-decoration: none;
    color: #fff;
    transition: all 0.25s ease;
    cursor: pointer;
}

.locker-offer-item:hover {
    background: rgba(0, 176, 240, 0.08);
    border-color: var(--primary);
    transform: translateX(4px);
}

.locker-offer-item img {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.locker-offer-info {
    flex: 1;
    min-width: 0;
}

.locker-offer-info h4 {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.locker-offer-info p {
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.locker-offer-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.locker-offer-cta .badge {
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
}

.locker-offer-cta i {
    color: var(--primary);
    font-size: 0.85rem;
}

.locker-error {
    text-align: center;
    padding: 20px;
    color: #ff6b6b;
    font-size: 0.9rem;
}

