/* ===== 99 FOREST LANDING - VIBRANT STYLES ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00d26a;
    --primary-dark: #00a854;
    --secondary: #7c3aed;
    --accent: #f59e0b;
    --pink: #ec4899;
    --cyan: #06b6d4;
    --gold: #fbbf24;
    --white: #ffffff;
    --dark: #1e1b4b;
}

html, body {
    font-family: 'Poppins', Arial, sans-serif;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e1b4b 100%);
    background-size: 400% 400%;
    animation: gradientShift 12s ease infinite;
    min-height: 100vh;
    color: white;
    text-align: center;
    overflow-x: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===== ANIMATED BACKGROUND ===== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 210, 106, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.15) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.loading-content {
    text-align: center;
}

.loading-logo {
    width: 150px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 30px rgba(0, 210, 106, 0.6));
    animation: floatLogo 3s ease-in-out infinite;
    border-radius: 20px;
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 25px auto;
    box-shadow: 0 0 20px rgba(0, 210, 106, 0.3);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.loading-content p {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
}

/* ===== MAIN CONTAINER ===== */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    padding-bottom: 140px;
    position: relative;
    z-index: 1;
}


/* ===== LOGO & HEADER ===== */
.logo-container {
    text-align: center;
    padding: 20px 0;
}

.logo-container img {
    max-width: 100px;
    border-radius: 20px;
    filter: drop-shadow(0 0 25px rgba(0, 210, 106, 0.5));
    transition: all 0.4s ease;
    margin-bottom: 15px;
}

.logo-container img:hover {
    transform: scale(1.08) rotate(-2deg);
}

.main-title {
    font-size: 2.2em;
    font-weight: 900;
    background: linear-gradient(135deg, #00d26a, #7c3aed, #f59e0b);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerTitle 3s linear infinite;
    margin-bottom: 8px;
}

@keyframes shimmerTitle {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.subtitle {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

/* ===== TOP BAR ===== */
.top-bar {
    display: flex;
    justify-content: center;
    padding: 15px 0;
}

.active-users-box {
    background: linear-gradient(135deg, rgba(0, 210, 106, 0.2), rgba(124, 58, 237, 0.2));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 210, 106, 0.4);
    border-radius: 50px;
    padding: 12px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1em;
    font-weight: 700;
    box-shadow: 0 8px 32px rgba(0, 210, 106, 0.2);
}

.active-users-count {
    font-size: 1.2em;
    color: var(--gold);
    text-shadow: 0 0 15px rgba(251, 191, 36, 0.8);
    animation: countPulse 2s ease-in-out infinite;
}

@keyframes countPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ===== STEP SYSTEM ===== */
.step {
    display: none;
}

.step.active {
    display: block;
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-container {
    background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(248,250,252,0.98));
    border-radius: 30px;
    padding: 40px;
    color: var(--dark);
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.step-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

/* ===== SELECT TITLE ===== */
.select-title {
    margin: 20px 0 15px 0;
    font-size: 1.5em;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #fff, var(--primary), #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 3s linear infinite;
}

@keyframes shimmerText {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.selection-counter {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: inline-block;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(0, 210, 106, 0.4);
}

/* ===== SECTION TITLES ===== */
.section-title {
    margin: 25px 0 12px 0;
    padding: 10px 20px;
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary), var(--pink));
    border-radius: 12px;
    font-size: 1em;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(124, 58, 237, 0.3);
    border: none;
}


/* ===== ITEMS GRID ===== */
.items-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    padding: 8px;
    margin-bottom: 15px;
}

.item-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.05));
    border-radius: 15px;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    backdrop-filter: blur(5px);
}

.item-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--cyan);
    box-shadow: 0 12px 35px rgba(6, 182, 212, 0.3);
    background: linear-gradient(145deg, rgba(255,255,255,0.18), rgba(255,255,255,0.08));
}

.item-card.selected {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: var(--gold);
    box-shadow: 0 0 25px rgba(0, 210, 106, 0.5), 0 0 50px rgba(251, 191, 36, 0.2);
    animation: selectedPop 0.3s ease;
}

@keyframes selectedPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.item-card.legendary-rarity {
    border: 3px solid var(--gold);
    background: linear-gradient(145deg, rgba(251, 191, 36, 0.15), rgba(255,255,255,0.05));
}

.item-card.legendary-rarity::after {
    content: '⭐';
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, var(--gold), #f59e0b);
    color: #1a1a2e;
    font-size: 0.7em;
    padding: 4px 8px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.5);
}

.item-checkbox {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    background: transparent;
    transition: all 0.3s ease;
}

.item-card.selected .item-checkbox {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.item-card.selected .item-checkbox::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #1a1a2e;
    font-size: 11px;
    font-weight: 900;
}

.item-img {
    width: 75px;
    height: 75px;
    object-fit: contain;
    margin-bottom: 8px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
    transition: all 0.3s ease;
}

.item-card:hover .item-img {
    transform: scale(1.1);
}

.item-name {
    font-size: 0.75em;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.item-card.selected .item-name {
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* ===== STICKY GENERATE BUTTON ===== */
.sticky-generate {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent, rgba(30, 27, 75, 0.95) 20%, rgba(30, 27, 75, 0.98));
    padding: 15px 20px 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.sticky-selection {
    background: rgba(255,255,255,0.1);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1em;
    border: 2px solid rgba(255,255,255,0.2);
}

.sticky-selection #stickyCount {
    color: var(--gold);
    font-size: 1.2em;
}

.generate-btn {
    padding: 16px 50px;
    font-size: 1.2em;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), #00a854);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 30px rgba(0, 210, 106, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.generate-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 210, 106, 0.5);
}

.generate-btn.ready {
    background: linear-gradient(135deg, var(--gold), #f59e0b);
    color: #1a1a2e;
    animation: readyPulse 1s ease-in-out infinite;
}

@keyframes readyPulse {
    0%, 100% { box-shadow: 0 8px 30px rgba(251, 191, 36, 0.4); transform: scale(1); }
    50% { box-shadow: 0 12px 40px rgba(251, 191, 36, 0.6); transform: scale(1.02); }
}

.generate-btn.shake {
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}


/* ===== POPUP ===== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-overlay.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.popup-content {
    background: linear-gradient(145deg, #312e81, #1e1b4b);
    padding: 35px;
    border-radius: 25px;
    width: 90%;
    max-width: 420px;
    text-align: center;
    color: white;
    box-shadow: 0 25px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(0, 210, 106, 0.3);
    animation: popupSlide 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.popup-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

@keyframes popupSlide {
    from { transform: translateY(50px) scale(0.9); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.popup-header h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: white;
}

.popup-selected-items {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.popup-selected-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 10px;
    border: 2px solid var(--primary);
    background: rgba(255,255,255,0.1);
    padding: 5px;
}

.popup-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--primary);
    margin-bottom: 15px;
    box-shadow: 0 0 30px rgba(0, 210, 106, 0.4);
}

.popup-username {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #aaa;
}

.input-group input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255,255,255,0.1);
    color: white;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 0 20px rgba(0, 210, 106, 0.2);
}

.input-group input::placeholder {
    color: rgba(255,255,255,0.5);
}

.popup-error {
    color: #ff6b6b;
    font-size: 0.9em;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 10px;
}

.popup-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.cancel-btn, .continue-btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s ease;
}

.cancel-btn {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 2px solid rgba(255,255,255,0.2);
}

.cancel-btn:hover {
    background: rgba(255,255,255,0.2);
}

.continue-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 8px 25px rgba(0, 210, 106, 0.4);
}

.continue-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 210, 106, 0.5);
}

.continue-btn.full-width {
    width: 100%;
    margin-top: 15px;
}

.error-icon {
    font-size: 4em;
    margin: 20px 0;
}

.error-text {
    color: #ff6b6b;
    font-size: 1.1em;
    margin-bottom: 20px;
}

/* ===== SEARCHING ANIMATION ===== */
.searching-animation {
    margin: 30px 0;
}

.folding {
    margin: 0 auto;
    width: 60px;
    height: 60px;
    position: relative;
    transform: rotateZ(45deg);
}

.sk-cube {
    float: left;
    width: 50%;
    height: 50%;
    position: relative;
    transform: scale(1.1);
}

.sk-cube:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    animation: sk-foldCubeAngle 2.4s infinite linear both;
    transform-origin: 100% 100%;
    box-shadow: 0 0 15px rgba(0, 210, 106, 0.5);
}

.sk-cube2 { transform: scale(1.1) rotateZ(90deg); }
.sk-cube3 { transform: scale(1.1) rotateZ(180deg); }
.sk-cube4 { transform: scale(1.1) rotateZ(270deg); }

.sk-cube2:before { animation-delay: 0.3s; }
.sk-cube3:before { animation-delay: 0.6s; }
.sk-cube4:before { animation-delay: 0.9s; }

@keyframes sk-foldCubeAngle {
    0%, 10% { transform: perspective(140px) rotateX(-180deg); opacity: 0; }
    25%, 75% { transform: perspective(140px) rotateX(0deg); opacity: 1; }
    90%, 100% { transform: perspective(140px) rotateY(180deg); opacity: 0; }
}

.searching-text {
    color: rgba(255,255,255,0.8);
    font-size: 1.1em;
    margin-top: 20px;
}


/* ===== OFFERS STEP ===== */
.selected-items-display {
    margin-bottom: 25px;
}

.mini-items-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.mini-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9em;
    box-shadow: 0 5px 20px rgba(0, 210, 106, 0.3);
}

.mini-item img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.offers-subtitle {
    color: #666;
    font-size: 1.1em;
    margin-bottom: 25px;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.trust-badges .badge {
    background: linear-gradient(135deg, rgba(0, 210, 106, 0.1), rgba(124, 58, 237, 0.1));
    border: 2px solid var(--primary);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: 700;
    color: var(--dark);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.offer-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border: 3px solid transparent;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.offer-card:hover::before {
    transform: scaleX(1);
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 210, 106, 0.2);
    border-color: var(--primary);
}

.offer-image img {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.offer-title {
    color: var(--dark);
    font-size: 1em;
    font-weight: 700;
    margin-bottom: 8px;
}

.offer-desc {
    color: #666;
    font-size: 0.85em;
    margin-bottom: 15px;
}

.offer-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 210, 106, 0.3);
}

.offer-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 210, 106, 0.4);
}

/* ===== WAITING STEP ===== */
.selected-items-card {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.waiting-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 210, 106, 0.3);
}

.waiting-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.waiting-item span {
    font-size: 0.85em;
    font-weight: 600;
}

.verification-section {
    text-align: center;
    margin-bottom: 30px;
}

.verification-title {
    font-size: 1.6em;
    color: var(--secondary);
    margin-bottom: 10px;
}

.verification-subtitle {
    color: #666;
    margin-bottom: 25px;
}

.verification-progress {
    max-width: 500px;
    margin: 0 auto;
}

.progress-bar-animated {
    height: 10px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 25px;
}

.progress-fill-animated {
    height: 100%;
    width: 60%;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    background-size: 200% 100%;
    border-radius: 10px;
    animation: progressShimmer 2s ease-in-out infinite;
}

@keyframes progressShimmer {
    0% { background-position: 0% 50%; width: 50%; }
    50% { background-position: 100% 50%; width: 70%; }
    100% { background-position: 0% 50%; width: 50%; }
}

.verification-steps {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.v-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.v-step.completed { opacity: 1; }
.v-step.completed .v-step-icon { 
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)); 
    color: white;
}

.v-step.active { opacity: 1; }
.v-step.active .v-step-icon { 
    background: linear-gradient(135deg, var(--gold), var(--accent));
    color: #1a1a2e;
    animation: stepPulse 1.5s ease-in-out infinite;
}

@keyframes stepPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.v-step-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
}

.v-step-text {
    font-size: 0.8em;
    font-weight: 600;
    color: var(--dark);
    text-align: center;
}

.speedup-section {
    background: linear-gradient(135deg, rgba(0, 210, 106, 0.05), rgba(124, 58, 237, 0.05));
    border: 2px solid var(--primary);
    border-radius: 20px;
    padding: 25px;
    margin-top: 30px;
}

.speedup-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.speedup-icon {
    font-size: 1.5em;
    animation: flashIcon 1s ease-in-out infinite;
}

@keyframes flashIcon {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.speedup-header h3 {
    color: var(--secondary);
    font-size: 1.2em;
    margin: 0;
}

.speedup-desc {
    color: #555;
    margin-bottom: 20px;
    text-align: center;
}


/* ===== SUCCESS STEP ===== */
.success-animation {
    text-align: center;
    padding: 40px;
}

.success-icon {
    font-size: 5em;
    margin-bottom: 20px;
    animation: successBounce 1s ease infinite;
}

@keyframes successBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

.success-animation h2 {
    color: var(--secondary);
    font-size: 2em;
    margin-bottom: 15px;
}

.success-animation p {
    color: #666;
    font-size: 1.1em;
}

.success-details {
    margin: 30px 0;
}

.success-items {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.success-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 12px 20px;
    border-radius: 30px;
    color: white;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(0, 210, 106, 0.3);
}

.success-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.play-again-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-top: 20px;
    box-shadow: 0 10px 35px rgba(0, 210, 106, 0.4);
}

.play-again-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 45px rgba(0, 210, 106, 0.5);
}

/* ===== SOCIAL PROOF ===== */
.social-proof {
    position: fixed;
    bottom: 100px;
    left: 15px;
    background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(248,250,252,0.98));
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border: 2px solid var(--primary);
    z-index: 999;
    width: 50%;
    min-width: 220px;
    max-width: 300px;
    animation: slideInProof 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideInProof {
    from { transform: translateX(-120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.proof-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.proof-item-icon img {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    border: 2px solid var(--primary);
    object-fit: contain;
    background: rgba(0, 210, 106, 0.1);
    padding: 3px;
}

.proof-info {
    text-align: left;
    min-width: 0;
    flex: 1;
}

.proof-main {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
}

.proof-name {
    font-weight: 700;
    color: #1a1a2e;
    font-size: 0.9em;
}

.proof-flag {
    width: 18px;
    height: 13px;
    border-radius: 2px;
}

.proof-item-name {
    font-size: 0.85em;
    color: #555;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.proof-time {
    font-size: 0.65em;
    color: #999;
    margin-top: 1px;
}

/* ===== TOAST MESSAGE ===== */
.toast-message {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: linear-gradient(135deg, var(--pink), #db2777);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.4);
}

.toast-message.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}


/* ===== LANGUAGE SELECTOR ===== */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(248,250,252,0.95));
    border: 2px solid var(--primary);
    border-radius: 50px;
    padding: 10px 18px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.lang-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 210, 106, 0.3);
}

.lang-flag {
    font-size: 1.3em;
}

.btn-flag-img {
    width: 26px;
    height: 18px;
    border-radius: 3px;
}

.lang-name {
    font-size: 0.95em;
    color: #333;
}

.lang-arrow {
    font-size: 0.75em;
    transition: transform 0.3s;
    color: #666;
}

.language-selector.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.95);
    transition: all 0.3s ease;
    min-width: 200px;
    max-height: 400px;
    overflow-y: auto;
    border: 2px solid rgba(0, 210, 106, 0.3);
}

.language-selector.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #e0e0e0;
    color: #333;
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: linear-gradient(135deg, rgba(0, 210, 106, 0.1), rgba(124, 58, 237, 0.05));
    padding-left: 25px;
}

.lang-option.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.option-flag-img {
    width: 30px;
    height: 20px;
    border-radius: 4px;
}

.option-name {
    font-weight: 700;
    font-size: 0.95em;
    color: inherit;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .items-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 900px) {
    .items-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
    .item-img { width: 65px; height: 65px; }
    .main-title { font-size: 1.6em; }
}

@media (max-width: 600px) {
    .items-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .item-card { padding: 10px 6px; border-radius: 12px; }
    .item-img { width: 55px; height: 55px; }
    .item-name { font-size: 0.65em; }
    .main-title { font-size: 1.3em; }
    .select-title { font-size: 1em; }
    .logo-container img { max-width: 70px; }
    .social-proof { left: 15px; width: 50%; min-width: 200px; max-width: 280px; bottom: 90px; }
    .lang-name { display: none; }
    .verification-steps { flex-direction: column; gap: 15px; }
    .step-container { padding: 25px 20px; border-radius: 20px; }
    .sticky-generate { padding: 12px 15px 20px; gap: 15px; }
    .generate-btn { padding: 14px 35px; font-size: 1em; }
    .sticky-selection { padding: 8px 15px; font-size: 0.9em; }
}

/* ===== RTL SUPPORT ===== */
html[dir="rtl"] body, body.rtl {
    direction: rtl;
    text-align: right;
}

body.rtl .language-selector { right: auto; left: 20px; }
body.rtl .lang-dropdown { right: auto; left: 0; }
body.rtl .social-proof { left: auto; right: 25px; }
body.rtl .proof-info { text-align: right; }
body.rtl .proof-content { flex-direction: row-reverse; }
body.rtl .proof-main { flex-direction: row-reverse; }
body.rtl .mini-item { flex-direction: row-reverse; }
body.rtl .lang-option:hover { padding-left: 20px; padding-right: 25px; }

@media (max-width: 600px) {
    body.rtl .social-proof { right: 15px; left: auto; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
}
