* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --they-live-black: #000000;
    --they-live-white: #FFFFFF;
    --they-live-gray: #808080;
    --danger-red: #FF0000;
    --warning-orange: #FF9900;
}

body {
    font-family: 'Courier New', monospace;
    background: var(--they-live-black);
    color: var(--they-live-white);
    line-height: 1.4;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.03) 0px,
        rgba(255, 255, 255, 0.03) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 9999;
    animation: scanlines 8s linear infinite;
}

@keyframes scanlines {
    0% { transform: translateY(0); }
    100% { transform: translateY(10px); }
}

/* Warning Banner */
.warning-banner {
    background: var(--they-live-black);
    color: var(--they-live-white);
    padding: 20px;
    text-align: center;
    font-weight: 900;
    font-size: 32px;
    position: sticky;
    top: 0;
    z-index: 1000;
    letter-spacing: 8px;
    border-bottom: 5px solid var(--they-live-white);
    font-family: 'Courier New', monospace;
}

/* Header */
.main-header {
    background: var(--they-live-white);
    border-bottom: 8px solid var(--they-live-black);
    padding: 20px;
    position: sticky;
    top: 65px;
    z-index: 999;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.site-logo {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 4px;
    color: #FF0040;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px #FF0040, 0 0 20px #FF0040, 0 0 30px #FF0040;
}

.market {
    color: #00D4FF;
    font-weight: 900;
    text-shadow: 0 0 10px #00D4FF, 0 0 20px #00D4FF, 0 0 30px #00D4FF;
}

.live-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--they-live-black);
    text-align: center;
}

.stat-label {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--they-live-black);
    letter-spacing: 2px;
    font-weight: 900;
}

.stat-value {
    font-size: 28px;
    font-weight: 900;
    color: var(--they-live-black);
}

.stat-value.danger {
    color: var(--they-live-black);
}

/* Header Cart Button */
.header-cart-btn {
    background: var(--they-live-black);
    border: 4px solid var(--they-live-black);
    border-radius: 0;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--they-live-white);
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 2px;
}

.header-cart-btn:hover {
    background: var(--they-live-white);
    color: var(--they-live-black);
    border-color: var(--they-live-black);
}

.header-cart-btn .cart-icon {
    font-size: 20px;
}

.cart-details {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cart-label {
    font-size: 14px;
    font-weight: bold;
}

.cart-count-header {
    font-size: 14px;
    font-weight: bold;
}

/* Hero Section */
.hero-section {
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--danger-red), var(--bot-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.reality-check {
    background: rgba(255, 59, 59, 0.1);
    border: 2px solid var(--danger-red);
    border-radius: 12px;
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.reality-text {
    font-size: 16px;
    color: var(--text-primary);
}

.highlight {
    color: var(--danger-red);
    font-weight: 700;
    font-size: 20px;
}

/* Drop Countdown */
.drop-countdown {
    background: linear-gradient(135deg, rgba(191, 64, 255, 0.1), rgba(255, 59, 59, 0.1));
    border: 2px solid var(--bot-purple);
    border-radius: 16px;
    padding: 40px;
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
}

.countdown-container h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--bot-purple);
}

.countdown-display {
    font-size: 64px;
    font-weight: 800;
    margin: 20px 0;
    color: var(--danger-red);
    text-shadow: 0 0 20px rgba(255, 59, 59, 0.5);
    font-variant-numeric: tabular-nums;
}

.drop-warning {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Products Section */
.products-section {
    padding: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    border-color: var(--bot-purple);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(191, 64, 255, 0.3);
}

.product-card.sold-out {
    opacity: 0.5;
    pointer-events: none;
}

.product-card.sold-out::after {
    content: 'SOLD OUT';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    font-size: 48px;
    font-weight: 900;
    color: var(--danger-red);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.product-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    position: relative;
    overflow: hidden;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--danger-red);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-info h3 {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 700;
}

.product-description {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.price-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--success-green);
}

.product-price.sale-price {
    color: #ff3b3b;
    font-size: 28px;
}

.original-price {
    font-size: 16px;
    color: var(--text-secondary);
    text-decoration: line-through;
    font-weight: 600;
}

.discount-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff3b3b, #ff6b6b);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
    box-shadow: 0 2px 8px rgba(255, 59, 59, 0.3);
}

.stock-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.stock-count {
    font-size: 14px;
    color: var(--danger-red);
    font-weight: 600;
}

.stock-label {
    font-size: 11px;
    color: var(--text-secondary);
}

.bot-activity {
    background: rgba(191, 64, 255, 0.1);
    border: 1px solid var(--bot-purple);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bot-activity-icon {
    font-size: 16px;
    animation: botScan 2s infinite;
}

@keyframes botScan {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.add-to-cart-btn {
    width: 100%;
    background: var(--accent-blue);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background: #0051d5;
    transform: scale(1.02);
}

.add-to-cart-btn:active {
    transform: scale(0.98);
}

.add-to-cart-btn:disabled {
    background: var(--border-color);
    cursor: not-allowed;
    opacity: 0.5;
}

/* Bot Activity Monitor */
.bot-monitor {
    background: var(--card-bg);
    border: 2px solid var(--bot-purple);
    border-radius: 16px;
    padding: 30px;
    max-width: 1400px;
    margin: 40px auto;
    margin-left: 40px;
    margin-right: 40px;
}

.monitor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.monitor-header h3 {
    font-size: 24px;
    font-weight: 700;
}

.monitor-status {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--bot-purple);
    font-weight: 600;
}

.status-dot {
    width: 12px;
    height: 12px;
    background: var(--bot-purple);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.bot-activity-feed {
    max-height: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bot-activity-item {
    background: rgba(191, 64, 255, 0.05);
    border-left: 3px solid var(--bot-purple);
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.activity-text {
    color: var(--text-secondary);
}

.activity-timestamp {
    color: var(--text-secondary);
    font-size: 11px;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: var(--card-bg);
    border-left: 2px solid var(--border-color);
    padding: 20px;
    transition: right 0.3s ease;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cart-header h3 {
    font-size: 24px;
    font-weight: 700;
}

.close-cart {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
}

.cart-warning {
    background: rgba(255, 149, 0, 0.1);
    border: 2px solid var(--warning-orange);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.cart-warning p {
    font-size: 13px;
    color: var(--warning-orange);
    margin: 0;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
}

.empty-cart {
    text-align: center;
    color: var(--text-secondary);
    padding: 40px 20px;
    font-size: 16px;
}

.cart-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.cart-item-name {
    font-size: 16px;
    font-weight: 600;
}

.remove-item {
    background: none;
    border: none;
    color: var(--danger-red);
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

.cart-item-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--success-green);
    margin-top: 5px;
}

.cart-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
}

.checkout-btn {
    width: 100%;
    background: var(--danger-red);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-btn:hover:not(:disabled) {
    background: #cc0000;
    transform: scale(1.02);
}

.checkout-btn:disabled {
    background: var(--border-color);
    cursor: not-allowed;
    opacity: 0.5;
}

/* Cart Toggle Button */
.cart-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--amazon-blue);
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(20, 110, 180, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    position: relative;
}

.cart-toggle .cart-icon {
    color: white;
}

.cart-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 122, 255, 0.6);
}

.cart-count {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--danger-red);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.checkout-challenge {
    max-width: 700px;
}

.challenge-header {
    text-align: center;
    margin-bottom: 30px;
}

.challenge-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.challenge-subtitle {
    color: var(--danger-red);
    font-weight: 600;
}

.bot-competition {
    background: rgba(191, 64, 255, 0.1);
    border: 2px solid var(--bot-purple);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.bot-swarm {
    font-size: 32px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.bot-icon {
    animation: botFloat 2s ease-in-out infinite;
}

.bot-icon:nth-child(2) { animation-delay: 0.2s; }
.bot-icon:nth-child(3) { animation-delay: 0.4s; }
.bot-icon:nth-child(4) { animation-delay: 0.6s; }
.bot-icon:nth-child(5) { animation-delay: 0.8s; }

@keyframes botFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.competition-status p {
    color: var(--text-secondary);
}

.competition-status span {
    color: var(--danger-red);
    font-weight: 700;
}

.checkout-form {
    margin-bottom: 30px;
}

.form-step {
    animation: fadeIn 0.3s ease;
}

.form-step.hidden {
    display: none;
}

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

.form-step h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* CAPTCHA Styles */
.captcha-container {
    margin-bottom: 25px;
}

.captcha-box {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
}

.captcha-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 16px;
}

.captcha-checkbox {
    width: 24px;
    height: 24px;
    cursor: pointer;
    accent-color: var(--accent-blue);
}

.captcha-text {
    user-select: none;
}

.captcha-note {
    font-size: 12px;
    color: var(--warning-orange);
    text-align: center;
    margin: 0;
}

.time-pressure {
    background: rgba(255, 59, 59, 0.1);
    border: 2px solid var(--danger-red);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timer-countdown {
    font-size: 20px;
    font-weight: 800;
    color: var(--danger-red);
    font-variant-numeric: tabular-nums;
}

.checkout-form input {
    width: 100%;
    padding: 14px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: black;
    font-size: 16px;
    margin-bottom: 15px;
    transition: border-color 0.3s ease;
}

.checkout-form input:focus {
    outline: none;
    border-color: var(--amazon-blue);
    background: #fffef8;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.saved-card-btn {
    width: 100%;
    background: var(--amazon-orange);
    color: black;
    border: 1px solid #CC7700;
    padding: 14px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.saved-card-btn:hover {
    background: #FFAD33;
    transform: scale(1.02);
}

.form-btn {
    width: 100%;
    background: var(--accent-blue);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-btn:hover {
    background: #0051d5;
    transform: scale(1.02);
}

.bot-progress {
    margin-top: 20px;
}

.bot-progress p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 10px;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--bot-purple), var(--danger-red));
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 15px;
}

/* Choice Modal */
.choice-content {
    text-align: center;
    max-width: 600px;
}

.choice-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.choice-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.choice-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.choice-btn {
    flex: 1;
    padding: 60px 40px;
    font-size: 32px;
    font-weight: bold;
    border: 3px solid var(--border-color);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.choice-btn:hover {
    transform: scale(1.05);
    border-color: var(--amazon-orange);
    background: rgba(255, 153, 0, 0.1);
}

.choice-btn .arrow {
    font-size: 48px;
}

/* Result Modal */
.result-content {
    text-align: center;
}

.result-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.result-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.result-content p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 20px;
}

#resultDetails {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: left;
}

.modal-btn {
    background: var(--accent-blue);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn:hover {
    background: #0051d5;
    transform: scale(1.05);
}

/* Footer */
.site-footer {
    background: var(--card-bg);
    border-top: 2px solid var(--border-color);
    padding: 60px 40px 30px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-stats h4 {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.stat-box {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--bot-purple);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-disclaimer {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-disclaimer p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-header {
        padding: 15px 20px;
    }
    
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .site-logo {
        font-size: 24px;
    }
    
    .live-stats {
        gap: 15px;
    }
    
    .hero-content h2 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .countdown-display {
        font-size: 48px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .modal-content {
        padding: 20px;
        width: 95%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bot-purple);
}
