:root {
    --primary: #5c72ff;
    --secondary: #8a3ffc;
    --accent: #00d1ff;
    --bg-light: #f8faff;
    --card-bg: rgba(255, 255, 255, 0.7);
    --text-dark: #1a1e2e;
    --text-muted: #6b7280;
    --glass-border: rgba(255, 255, 255, 0.4);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --shadow-soft: 0 10px 30px rgba(92, 114, 255, 0.1);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
}

/* 2026 Dynamic Background */
.bg-gradient-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 10%, rgba(92, 114, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(0, 209, 255, 0.08) 0%, transparent 40%),
        linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
    z-index: -2;
}

.glass-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Logo */
header {
    padding: 30px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-orb {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(92, 114, 255, 0.4);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.logo-text span {
    color: var(--primary);
}

.live-count {
    background: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 2s infinite;
}

/* Glass Cards */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 40px;
    box-shadow: var(--shadow-premium);
    display: none;
    animation: fadeInSlide 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 20px;
}

.glass-card.active {
    display: block;
}

.card-header {
    text-align: center;
    margin-bottom: 35px;
}

.step-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(92, 114, 255, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

h2 {
    font-family: var(--font-heading);
    font-size: 2.22rem;
    font-weight: 800;
}

h2 span {
    color: var(--primary);
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Input Phase */
.premium-input-box {
    max-width: 450px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input[type="email"] {
    width: 100%;
    padding: 20px 25px;
    border-radius: 16px;
    border: 2px solid white;
    background: white;
    box-shadow: var(--shadow-soft);
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

input[type="email"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(92, 114, 255, 0.1);
}

.action-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 20px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(92, 114, 255, 0.3);
}

.trust-footer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    font-size: 0.8rem;
    color: #cbd5e1;
}

/* Platforms & Cards */
.platform-selector {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.p-opt {
    flex: 1;
    padding: 25px;
    background: white;
    border: 2px solid transparent;
    border-radius: 20px;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.p-opt:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.modern-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
}

.m-card {
    background: white;
    padding: 12px;
    border-radius: 20px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.m-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 8px;
}

.m-card-info {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
}

.m-card:hover {
    border-color: var(--primary);
    transform: scale(1.05);
}

/* Minimalist Generator UI (Anti-2017) */
.gen-layout {
    display: flex;
    align-items: center;
    gap: 40px;
}

.gen-visual {
    flex: 0 0 180px;
}

.sync-orb {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 5px solid rgba(0, 0, 0, 0.03);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inner-sync {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 5px solid transparent;
    border-top-color: var(--primary);
    animation: rotate 2s linear infinite;
}

.sync-percent {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.gen-details {
    flex: 1;
    text-align: left;
}

.gen-details h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.data-stream {
    height: 120px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stream-line {
    font-size: 0.9rem;
    color: var(--text-muted);
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

.stream-line b {
    color: var(--primary);
    font-weight: 600;
}

/* Verification */
.verify-layout {
    text-align: center;
}

.status-icon {
    width: 60px;
    height: 60px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.reward-preview {
    margin: 30px 0;
    background: white;
    padding: 30px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    box-shadow: var(--shadow-soft);
}

.reward-preview img {
    max-width: 100px;
    border-radius: 12px;
}

.code-display {
    text-align: left;
}

.code-mask {
    font-family: monospace;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-dark);
    filter: blur(4px);
}

.email-target {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.verify-action-btn {
    width: 100%;
    max-width: 400px;
    padding: 22px;
    background: var(--text-dark);
    color: white;
    border: none;
    border-radius: 18px;
    font-weight: 800;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
}

.verify-action-btn:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* Activity Sidebar */
.activity-sidebar {
    position: fixed;
    left: 30px;
    top: 100px;
    width: 220px;
    padding: 20px;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    z-index: 10;
}

.activity-header {
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 20px;
}

.a-item {
    font-size: 0.8rem;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--text-muted);
}

.a-item b {
    color: var(--text-dark);
}

/* Chat Refinement */
.chat-wrapper {
    position: fixed;
    right: 30px;
    bottom: 0;
    width: 320px;
    background: white;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-wrapper.minimized .chat-body {
    height: 0;
}

.chat-header-bar {
    padding: 15px 20px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.chat-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.unread-badge {
    background: #ff3b30;
    color: white;
    font-size: 0.7rem;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: 800;
    box-shadow: 0 2px 10px rgba(255, 59, 48, 0.3);
    animation: popIn 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

@keyframes popIn {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

.chat-header-bar:hover {
    background: #f8fafc;
}

.chat-body {
    display: flex;
    flex-direction: column;
    height: 380px;
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.chat-msgs {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    font-size: 0.85rem;
}

.c-msg {
    margin-bottom: 12px;
}

.c-msg b {
    color: var(--primary);
}

.chat-input-area {
    padding: 15px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    gap: 8px;
}

.chat-input-area input {
    flex: 1;
    border: none;
    background: #f8fafc;
    padding: 10px 15px;
    border-radius: 10px;
    outline: none;
}

.chat-input-area button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
}

/* Mobile Optimizations */
@media (max-width: 1200px) {
    .activity-sidebar {
        display: none;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    h2 {
        font-size: 1.85rem;
    }

    .gen-layout {
        flex-direction: column;
        text-align: center;
    }

    .gen-details {
        text-align: center;
    }

    .chat-wrapper {
        width: 100%;
        left: 0;
        right: 0;
        border-radius: 20px 20px 0 0;
    }

    .p-opt {
        padding: 15px;
        font-size: 0.9rem;
    }

    .modern-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(92, 114, 255, 0.2);
    padding: 18px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: toastSlideIn 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}

@keyframes toastSlideIn {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes toastSlideOut {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(-100px);
        opacity: 0;
    }
}

/* CPA Locker Interface */
.overlay-locker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(248, 250, 255, 0.9);
    backdrop-filter: blur(20px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.overlay-locker.active {
    display: flex;
    opacity: 1;
}

.locker-modal {
    max-width: 500px;
    width: 90%;
    text-align: center;
    padding: 50px 30px;
    border: 1px solid rgba(92, 114, 255, 0.3);
    display: block;
    /* Override glass-card display:none */
}

.locker-header h2 {
    font-size: 2.22rem;
    margin-bottom: 10px;
}

.locker-header p {
    font-size: 1rem;
    margin-bottom: 30px;
}

.locker-status {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.offer-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.offer-item {
    background: white;
    padding: 18px 25px;
    border-radius: 16px;
    border: 2px solid transparent;
    box-shadow: var(--shadow-soft);
    text-align: left;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.offer-item:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.offer-name {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1rem;
}

.offer-payout {
    font-size: 0.75rem;
    color: #10b981;
    font-weight: 800;
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 10px;
    border-radius: 50px;
}

/* Special Highlighting */
.featured-offer {
    border-color: #ffd700;
    background: linear-gradient(to right, #ffffff, #fffdf0);
    position: relative;
}

.featured-tag {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #ffd700;
    color: #000;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.locker-footer {
    font-size: 0.8rem;
    color: #cbd5e1;
    font-weight: 600;
}


.trust-footer {
    color: var(--text-muted) !important;
    font-weight: 600;
}
.locker-modal { display: block !important; }


* { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-user-drag: none; }

