/* GME Raider Escrow - Cyberpunk Theme */

/* Variables */
:root {
    --gme-primary: #00ff00;
    --gme-secondary: #00ffff;
    --gme-accent: #ff00ff;
    --gme-danger: #ff0044;
    --gme-warning: #ffaa00;
    --gme-bg-dark: transparent; /* Changed to transparent */
    --gme-bg-darker: #050505;
    --gme-bg-panel: rgba(15, 15, 15, 0.95);
    --gme-border: #00ff00;
    --gme-text: #e0e0e0;
    --gme-text-dim: #888;
    --gme-gradient: linear-gradient(135deg, #00ff00, #00ffff);
    --gme-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
    --gme-shadow-accent: 0 0 30px rgba(255, 0, 255, 0.5);
}

/* Global Styles */
.gme-marketplace-container {
    position: relative;
    min-height: 100vh;
    background: transparent; /* Changed from var(--gme-bg-dark) */
    color: var(--gme-text);
    font-family: 'Courier New', monospace;
    overflow-x: hidden;
}

/* Minimal fix for token mint address overflow - doesn't break existing styling */

.gme-token-info code {
    /* Only target the code elements inside token info */
    word-break: break-all;
    font-size: 0.85em; /* Slightly smaller to fit better */
    line-height: 1.4;
    display: inline-block;
    max-width: 100%;
}

/* Alternative approach - if the above doesn't work, use this more specific selector */
.gme-modal .gme-token-info code {
    word-break: break-all;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
    box-sizing: border-box;
}

/* Matrix Background */
.gme-matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.gme-matrix-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

/* Hero Section */
.gme-hero-section {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 20px;
    background: transparent; /* Changed to fully transparent */
}

.gme-glitch-text {
    font-size: 3.5em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gme-primary);
    text-shadow: 
        0 0 10px var(--gme-primary),
        0 0 20px var(--gme-primary),
        0 0 30px var(--gme-primary);
    position: relative;
    display: inline-block;
    animation: gme-glitch 2s infinite;
}

.gme-glitch-text::before,
.gme-glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gme-glitch-text::before {
    animation: gme-glitch-1 0.5s infinite;
    color: var(--gme-secondary);
    z-index: -1;
}

.gme-glitch-text::after {
    animation: gme-glitch-2 0.5s infinite;
    color: var(--gme-accent);
    z-index: -2;
}

@keyframes gme-glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-1px, 1px); }
    40% { transform: translate(-1px, -1px); }
    60% { transform: translate(1px, 1px); }
    80% { transform: translate(1px, -1px); }
}

@keyframes gme-glitch-1 {
    0%, 100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); transform: translate(0); }
    25% { clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%); transform: translate(-2px, 0); }
    75% { clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%); transform: translate(2px, 0); }
}

@keyframes gme-glitch-2 {
    0%, 100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); transform: translate(0); }
    25% { clip-path: polygon(0 0, 100% 0, 100% 55%, 0 55%); transform: translate(2px, 0); }
    75% { clip-path: polygon(0 45%, 100% 45%, 100% 100%, 0 100%); transform: translate(-2px, 0); }
}

.gme-subtitle {
    font-size: 1.2em;
    color: var(--gme-secondary);
    margin-top: 20px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Panels and Cards */
.gme-cyber-panel {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 2.5rem !important;
    margin: 20px auto !important;
    max-width: min(920px, 95vw) !important;
    position: relative !important;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.1) !important;
    backdrop-filter: blur(10px) !important;
}

.gme-cyber-panel::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: transparent;
    z-index: -1;
    opacity: 0;
    animation: none;
}

@keyframes gme-pulse {
    0%, 100% { opacity: 0; }
    50% { opacity: 0; }
}

.gme-panel-title {
    font-size: 1.8em;
    color: var(--gme-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.gme-icon {
    display: inline-block;
    font-size: 1.2em;
}

/* Forms */
.gme-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
}

.gme-form-group {
    position: relative;
    width: 100%;
}

.gme-form-group.gme-full-width {
    grid-column: 1 / -1;
}

.gme-label {
    display: block;
    color: var(--gme-secondary);
    font-size: 0.9em;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.gme-input,
.gme-textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--gme-border);
    color: var(--gme-text);
    padding: 12px;
    font-family: 'Courier New', monospace;
    font-size: 1em;
    transition: all 0.3s ease;
}

.gme-input:focus,
.gme-textarea:focus {
    outline: none;
    border-color: var(--gme-secondary);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.8);
}

.gme-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.gme-input-suffix {
    position: absolute;
    right: 12px;
    color: var(--gme-text-dim);
    pointer-events: none;
}

/* Buttons */
.gme-submit-btn,
.gme-action-btn {
    background: linear-gradient(135deg, var(--gme-primary), var(--gme-secondary));
    color: #000; /* Changed from var(--gme-bg-dark) to pure black */
    border: none;
    padding: 12px 24px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gme-submit-btn {
    width: 100%;
    max-width: 520px;
    justify-content: center;
    font-size: 1.1em;
    padding: 1rem 2.5rem;
    margin-left: auto;
    margin-right: auto;
}

.gme-submit-btn::before,
.gme-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transition: left 0.3s ease;
}

.gme-submit-btn:hover::before,
.gme-action-btn:hover::before {
    left: 100%;
}

.gme-submit-btn:hover,
.gme-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 255, 0, 0.5);
}

.gme-submit-btn:disabled,
.gme-action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.gme-btn-icon {
    font-size: 1.2em;
}

/* Specific button styles */
.gme-btn-activate { background: linear-gradient(135deg, #00ff00, #44ff44); }
.gme-btn-release { background: linear-gradient(135deg, #ffaa00, #ff6600); }
.gme-btn-complete { background: linear-gradient(135deg, #00ffff, #0099ff); }
.gme-btn-satisfied { background: linear-gradient(135deg, #ff00ff, #ff0099); }
.gme-btn-dispute { background: linear-gradient(135deg, #ff0044, #ff4444); }
.gme-btn-danger { background: linear-gradient(135deg, #ff0044, #cc0033); }

/* Feedback and Notifications */
.gme-feedback {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid var(--gme-primary);
    color: var(--gme-primary);
    text-align: center;
    font-family: 'Courier New', monospace;
    display: none;
}

.gme-feedback.show {
    display: block;
    animation: gme-fade-in 0.3s ease;
}

@keyframes gme-fade-in {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.gme-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 300px;
    padding: 15px 20px;
    background: var(--gme-bg-panel);
    border: 1px solid var(--gme-border);
    z-index: 9999;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.gme-notification.show {
    transform: translateX(0);
}

.gme-notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gme-notification-success { border-color: var(--gme-primary); color: var(--gme-primary); }
.gme-notification-error { border-color: var(--gme-danger); color: var(--gme-danger); }
.gme-notification-info { border-color: var(--gme-secondary); color: var(--gme-secondary); }
.gme-notification-warning { border-color: var(--gme-warning); color: var(--gme-warning); }

/* Raids Section */
.gme-raids-section {
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.gme-section-title {
    font-size: 2em;
    color: var(--gme-primary);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Filter Bar */
.gme-filter-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.gme-filter-btn {
    background: transparent;
    border: 1px solid var(--gme-border);
    color: var(--gme-text);
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-family: 'Courier New', monospace;
}

.gme-filter-btn:hover {
    background: rgba(0, 255, 0, 0.1);
    border-color: var(--gme-secondary);
    color: var(--gme-secondary);
}

.gme-filter-btn.active {
    background: var(--gme-primary);
    color: #000; /* Changed to black for better readability */
    border-color: var(--gme-primary);
    font-weight: bold;
}

/* Specific button colors for status */
.gme-filter-btn[data-filter="all"].active {
    background: #00ff00;
    color: #000;
}

.gme-filter-btn[data-filter="active"] {
    background: #ff4444;
    color: #fff;
    border-color: #ff4444;
}

.gme-filter-btn[data-filter="in_progress"] {
    background: #ff6600;
    color: #fff;
    border-color: #ff6600;
}

.gme-filter-btn[data-filter="completed"] {
    background: #cc3333;
    color: #fff;
    border-color: #cc3333;
}

/* Raids Grid */
.gme-raids-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
}

.gme-raid-card {
    background: var(--gme-bg-panel);
    border: 1px solid #333;
    padding: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gme-raid-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--gme-primary);
    transition: width 0.3s ease;
}

.gme-raid-card:hover {
    border-color: var(--gme-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 255, 0, 0.3);
}

.gme-raid-card:hover::before {
    width: 100%;
    opacity: 0.1;
}

/* Raid status colors */
.gme-status-active { border-left: 3px solid var(--gme-primary); }
.gme-status-in-progress { border-left: 3px solid var(--gme-secondary); }
.gme-status-awaiting-release { border-left: 3px solid var(--gme-warning); }
.gme-status-completed { border-left: 3px solid #666; }
.gme-status-disputed { border-left: 3px solid var(--gme-danger); }

.gme-raid-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.gme-raid-title {
    font-size: 1.3em;
    color: var(--gme-primary);
    margin: 0;
    flex: 1;
}

.gme-raid-status {
    background: rgba(0, 255, 0, 0.2);
    color: var(--gme-primary);
    padding: 4px 12px;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.gme-raid-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.gme-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gme-meta-label {
    color: var(--gme-text-dim);
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.gme-meta-value {
    color: var(--gme-secondary);
    font-weight: bold;
}

.gme-raid-description {
    color: var(--gme-text);
    margin-bottom: 15px;
    line-height: 1.6;
}

.gme-raid-requirements {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    padding: 10px;
    margin-bottom: 15px;
    font-size: 0.9em;
    color: var(--gme-text-dim);
}

/* Progress Bar */
.gme-progress-bar {
    height: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

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

.gme-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: gme-progress-shine 2s infinite;
}

@keyframes gme-progress-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.gme-progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000000;
    font-weight: bold;
    font-size: 0.9em;
    z-index: 10;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.8);
    pointer-events: none;
}
/* Raider Controls */
.gme-raider-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gme-progress-update {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gme-progress-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 5px;
    background: rgba(0, 255, 0, 0.2);
    outline: none;
}

.gme-progress-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: var(--gme-primary);
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gme-primary);
}

.gme-progress-value {
    min-width: 40px;
    text-align: right;
    color: var(--gme-secondary);
}

/* Modals */
.gme-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gme-modal-overlay.show {
    opacity: 1;
}

.gme-modal {
    background: var(--gme-bg-panel);
    border: 1px solid var(--gme-border);
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

/* Scrollable raid application modal */
#gme-apply-modal .gme-modal {
    max-height: 90vh;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    width: min(680px, 96vw);
    max-width: 680px;
    padding: 32px 16px 28px;
    margin: 32px auto 16px;
}

#gme-apply-modal.gme-modal-overlay {
    overscroll-behavior: contain;
}

#gme-apply-modal .gme-modal-content {
    max-height: calc(90vh - 100px);
    overflow-y: auto;
    padding: 0 10px 80px 6px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

#gme-apply-modal .gme-modal::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 18px;
    width: 32px;
    height: 32px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(0, 255, 0, 0.45) 0%, rgba(0, 0, 0, 0) 70%);
    mask: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 9l7 7 7-7' stroke='%2300ff00' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/24px 24px no-repeat;
    opacity: .8;
    pointer-events: none;
    animation: gme-pulse-arrow 1.6s infinite;
}

@keyframes gme-pulse-arrow {
    0%, 100% { opacity: .2; transform: translate(-50%, 6px) scale(.95); }
    50% { opacity: .85; transform: translate(-50%, 0) scale(1); }
}

.gme-modal-overlay.show .gme-modal {
    transform: scale(1);
}

.gme-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: 1px solid var(--gme-text-dim);
    color: var(--gme-text-dim);
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    transition: all 0.3s ease;
}

.gme-modal-close:hover {
    border-color: var(--gme-danger);
    color: var(--gme-danger);
    transform: rotate(90deg);
}

.gme-modal-title {
    font-size: 1.5em;
    color: var(--gme-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Deposit Modal */
.gme-deposit-info {
    margin-top: 20px;
}

.gme-deposit-instruction {
    margin-bottom: 20px;
    color: var(--gme-text);
}

.gme-address-display {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--gme-border);
    padding: 15px;
    margin-bottom: 20px;
}

.gme-address {
    flex: 1;
    font-family: 'Courier New', monospace;
    color: var(--gme-secondary);
    word-break: break-all;
}

.gme-copy-btn {
    background: var(--gme-primary);
    color: var(--gme-bg-dark);
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gme-copy-btn:hover {
    background: var(--gme-secondary);
    transform: scale(1.1);
}

.gme-token-info {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    padding: 15px;
    margin-bottom: 20px;
}

.gme-token-info p {
    margin: 5px 0;
}

.gme-token-info code {
    font-size: 0.9em;
    color: var(--gme-secondary);
}

.gme-warning {
    display: flex;
    align-items: start;
    gap: 10px;
    background: rgba(255, 170, 0, 0.1);
    border: 1px solid rgba(255, 170, 0, 0.3);
    padding: 15px;
    color: var(--gme-warning);
}

/* Applications */
.gme-applications-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gme-application-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    padding: 20px;
    transition: all 0.3s ease;
}

.gme-application-card:hover {
    border-color: var(--gme-primary);
    background: rgba(0, 255, 0, 0.05);
}

.gme-app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.gme-app-user {
    color: var(--gme-secondary);
    margin: 0;
}

.gme-app-date {
    color: var(--gme-text-dim);
    font-size: 0.9em;
}

.gme-app-message {
    color: var(--gme-text);
    margin: 10px 0;
    font-style: italic;
}

.gme-no-applications {
    text-align: center;
    color: var(--gme-text-dim);
    padding: 40px;
}

/* Loading Spinner */
.gme-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: gme-spin 0.8s linear infinite;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .gme-glitch-text {
        font-size: 2em;
    }
    
    .gme-raids-grid {
        grid-template-columns: 1fr;
    }
    
    .gme-cyber-panel {
        padding: 1.75rem 1.1rem;
        width: calc(100vw - 24px);
        margin-left: auto;
        margin-right: auto;
        max-width: none !important;
    }

    .gme-modal {
        padding: 20px;
    }
    
    .gme-filter-bar {
        justify-content: center;
    }

    .gme-form-grid {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        width: 100%;
        padding: 1rem !important;
    }

    .gme-form-group,
    .gme-form-group .gme-input,
    .gme-form-group .gme-textarea {
        width: 100%;
    }

    .gme-task-tips,
    .gme-add-task-btn,
    #gme-add-task {
        width: 100% !important;
        max-width: none !important;
    }

    .gme-apply-modal,
    .gme-apply-modal .gme-apply-tips,
    .gme-apply-actions {
        width: 100% !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .gme-apply-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    #gme-apply-modal .gme-apply-modal {
        padding: 18px 10px 24px;
    }

    #gme-apply-modal .gme-modal {
        width: calc(100vw - 20px);
        max-width: none;
        padding: 28px 14px 24px;
        margin: 36px auto 18px;
    }

    #gme-apply-modal .gme-modal-close {
        top: 28px;
    }
}

/* Success/error state centers content; keep the close button inside the frame on phones */
@media (max-width: 768px) {
    #gme-apply-modal .gme-apply-success,
    #gme-apply-modal .gme-apply-error {
        padding-top: 18px !important;
    }

    #gme-apply-modal .gme-modal-close {
        top: 34px;
    }
}

/* Pending Deposits Section */
.gme-deposit-reminder {
    background: rgba(255, 170, 0, 0.1);
    border: 1px solid rgba(255, 170, 0, 0.3);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.gme-reminder-text {
    color: var(--gme-warning);
    margin: 0 0 10px 0;
    font-weight: bold;
}

.gme-pending-deposits {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.gme-deposit-instructions {
    margin-bottom: 30px;
}

.gme-deposit-instructions .gme-cyber-panel {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.gme-deposit-instructions h3 {
    color: var(--gme-primary);
    margin-bottom: 20px;
}

.gme-pending-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gme-pending-item {
    background: var(--gme-bg-panel);
    border: 1px solid #333;
    padding: 20px;
    transition: all 0.3s ease;
}

.gme-pending-item:hover {
    border-color: var(--gme-warning);
    box-shadow: 0 0 10px rgba(255, 170, 0, 0.3);
}

.gme-pending-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.gme-pending-header h4 {
    color: var(--gme-primary);
    margin: 0;
}

.gme-pending-amount {
    color: var(--gme-warning);
    font-size: 1.2em;
    font-weight: bold;
}

.gme-pending-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gme-text-dim);
    font-size: 0.9em;
}

.gme-no-pending {
    text-align: center;
    color: var(--gme-text-dim);
    padding: 40px;
    background: var(--gme-bg-panel);
    border: 1px solid #333;
}

/* Show Deposit Button */
.gme-btn-show-deposit {
    background: linear-gradient(135deg, #ffaa00, #ff6600);
}

/* GME Raider Escrow - Cyberpunk Theme */

/* Variables */
:root {
    --gme-primary: #00ff00;
    --gme-secondary: #00ffff;
    --gme-accent: #ff00ff;
    --gme-danger: #ff0044;
    --gme-warning: #ffaa00;
    --gme-bg-dark: transparent; /* Changed to transparent */
    --gme-bg-darker: #050505;
    --gme-bg-panel: rgba(15, 15, 15, 0.95);
    --gme-border: #00ff00;
    --gme-text: #e0e0e0;
    --gme-text-dim: #888;
    --gme-gradient: linear-gradient(135deg, #00ff00, #00ffff);
    --gme-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
    --gme-shadow-accent: 0 0 30px rgba(255, 0, 255, 0.5);
}

/* Global Styles */
.gme-marketplace-container {
    position: relative;
    min-height: 100vh;
    background: transparent; /* Changed from var(--gme-bg-dark) */
    color: var(--gme-text);
    font-family: 'Courier New', monospace;
    overflow-x: hidden;
}

/* Matrix Background */
.gme-matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.gme-matrix-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

/* Hero Section */
.gme-hero-section {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 20px;
    background: transparent; /* Changed to fully transparent */
}

.gme-glitch-text {
    font-size: 3.5em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gme-primary);
    text-shadow: 
        0 0 10px var(--gme-primary),
        0 0 20px var(--gme-primary),
        0 0 30px var(--gme-primary);
    position: relative;
    display: inline-block;
    animation: gme-glitch 2s infinite;
}

.gme-glitch-text::before,
.gme-glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gme-glitch-text::before {
    animation: gme-glitch-1 0.5s infinite;
    color: var(--gme-secondary);
    z-index: -1;
}

.gme-glitch-text::after {
    animation: gme-glitch-2 0.5s infinite;
    color: var(--gme-accent);
    z-index: -2;
}

@keyframes gme-glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-1px, 1px); }
    40% { transform: translate(-1px, -1px); }
    60% { transform: translate(1px, 1px); }
    80% { transform: translate(1px, -1px); }
}

@keyframes gme-glitch-1 {
    0%, 100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); transform: translate(0); }
    25% { clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%); transform: translate(-2px, 0); }
    75% { clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%); transform: translate(2px, 0); }
}

@keyframes gme-glitch-2 {
    0%, 100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); transform: translate(0); }
    25% { clip-path: polygon(0 0, 100% 0, 100% 55%, 0 55%); transform: translate(2px, 0); }
    75% { clip-path: polygon(0 45%, 100% 45%, 100% 100%, 0 100%); transform: translate(-2px, 0); }
}

.gme-subtitle {
    font-size: 1.2em;
    color: var(--gme-secondary);
    margin-top: 20px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Panels and Cards */
.gme-cyber-panel {
    background: var(--gme-bg-panel);
    border: 1px solid var(--gme-border);
    border-radius: 0;
    padding: 30px;
    margin: 20px auto;
    max-width: 800px;
    position: relative;
    box-shadow: var(--gme-shadow);
    backdrop-filter: blur(10px);
}

.gme-cyber-panel::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gme-gradient);
    z-index: -1;
    opacity: 0.3;
    animation: gme-pulse 4s infinite;
}

@keyframes gme-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.gme-panel-title {
    font-size: 1.8em;
    color: var(--gme-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.gme-icon {
    display: inline-block;
    font-size: 1.2em;
}

/* Forms */
.gme-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.gme-form-group {
    position: relative;
}

.gme-form-group.gme-full-width {
    grid-column: 1 / -1;
}

.gme-label {
    display: block;
    color: var(--gme-secondary);
    font-size: 0.9em;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.gme-input,
.gme-textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--gme-border);
    color: var(--gme-text);
    padding: 12px;
    font-family: 'Courier New', monospace;
    font-size: 1em;
    transition: all 0.3s ease;
}

.gme-input:focus,
.gme-textarea:focus {
    outline: none;
    border-color: var(--gme-secondary);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.8);
}

.gme-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.gme-input-suffix {
    position: absolute;
    right: 12px;
    color: var(--gme-text-dim);
    pointer-events: none;
}

/* Buttons */
.gme-submit-btn,
.gme-action-btn {
    background: linear-gradient(135deg, var(--gme-primary), var(--gme-secondary));
    color: #000; /* Changed from var(--gme-bg-dark) to pure black */
    border: none;
    padding: 12px 24px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gme-submit-btn {
    width: min(520px, 95%);
    justify-content: center;
    font-size: 1.1em;
    padding: 1rem 2.5rem;
    margin-left: auto;
    margin-right: auto;
}

.gme-submit-btn::before,
.gme-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transition: left 0.3s ease;
}

.gme-submit-btn:hover::before,
.gme-action-btn:hover::before {
    left: 100%;
}

.gme-submit-btn:hover,
.gme-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 255, 0, 0.5);
}

.gme-submit-btn:disabled,
.gme-action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.gme-btn-icon {
    font-size: 1.2em;
}

/* Specific button styles */
.gme-btn-activate { background: linear-gradient(135deg, #00ff00, #44ff44); }
.gme-btn-release { background: linear-gradient(135deg, #ffaa00, #ff6600); }
.gme-btn-complete { background: linear-gradient(135deg, #00ffff, #0099ff); }
.gme-btn-satisfied { background: linear-gradient(135deg, #ff00ff, #ff0099); }
.gme-btn-dispute { background: linear-gradient(135deg, #ff0044, #ff4444); }
.gme-btn-danger { background: linear-gradient(135deg, #ff0044, #cc0033); }

/* Feedback and Notifications */
.gme-feedback {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid var(--gme-primary);
    color: var(--gme-primary);
    text-align: center;
    font-family: 'Courier New', monospace;
    display: none;
}

.gme-feedback.show {
    display: block;
    animation: gme-fade-in 0.3s ease;
}

@keyframes gme-fade-in {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.gme-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 300px;
    padding: 15px 20px;
    background: var(--gme-bg-panel);
    border: 1px solid var(--gme-border);
    z-index: 9999;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.gme-notification.show {
    transform: translateX(0);
}

.gme-notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gme-notification-success { border-color: var(--gme-primary); color: var(--gme-primary); }
.gme-notification-error { border-color: var(--gme-danger); color: var(--gme-danger); }
.gme-notification-info { border-color: var(--gme-secondary); color: var(--gme-secondary); }
.gme-notification-warning { border-color: var(--gme-warning); color: var(--gme-warning); }

/* Raids Section */
.gme-raids-section {
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.gme-section-title {
    font-size: 2em;
    color: var(--gme-primary);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Filter Bar */
.gme-filter-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.gme-filter-btn {
    background: transparent;
    border: 1px solid var(--gme-border);
    color: var(--gme-text);
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-family: 'Courier New', monospace;
}

.gme-filter-btn:hover {
    background: rgba(0, 255, 0, 0.1);
    border-color: var(--gme-secondary);
    color: var(--gme-secondary);
}

.gme-filter-btn.active {
    background: var(--gme-primary);
    color: #000; /* Changed to black for better readability */
    border-color: var(--gme-primary);
    font-weight: bold;
}

/* Specific button colors for status */
.gme-filter-btn[data-filter="all"].active {
    background: #00ff00;
    color: #000;
}

.gme-filter-btn[data-filter="active"] {
    background: #ff4444;
    color: #fff;
    border-color: #ff4444;
}

.gme-filter-btn[data-filter="in_progress"] {
    background: #ff6600;
    color: #fff;
    border-color: #ff6600;
}

.gme-filter-btn[data-filter="completed"] {
    background: #cc3333;
    color: #fff;
    border-color: #cc3333;
}

/* Raids Grid */
.gme-raids-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
}

.gme-raid-card {
    background: var(--gme-bg-panel);
    border: 1px solid #333;
    padding: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gme-raid-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--gme-primary);
    transition: width 0.3s ease;
}

.gme-raid-card:hover {
    border-color: var(--gme-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 255, 0, 0.3);
}

.gme-raid-card:hover::before {
    width: 100%;
    opacity: 0.1;
}

/* Raid status colors */
.gme-status-active { border-left: 3px solid var(--gme-primary); }
.gme-status-in-progress { border-left: 3px solid var(--gme-secondary); }
.gme-status-awaiting-release { border-left: 3px solid var(--gme-warning); }
.gme-status-completed { border-left: 3px solid #666; }
.gme-status-disputed { border-left: 3px solid var(--gme-danger); }

.gme-raid-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.gme-raid-title {
    font-size: 1.3em;
    color: var(--gme-primary);
    margin: 0;
    flex: 1;
}

.gme-raid-status {
    background: rgba(0, 255, 0, 0.2);
    color: var(--gme-primary);
    padding: 4px 12px;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.gme-raid-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.gme-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gme-meta-label {
    color: var(--gme-text-dim);
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.gme-meta-value {
    color: var(--gme-secondary);
    font-weight: bold;
}

.gme-raid-description {
    color: var(--gme-text);
    margin-bottom: 15px;
    line-height: 1.6;
}

.gme-raid-requirements {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    padding: 10px;
    margin-bottom: 15px;
    font-size: 0.9em;
    color: var(--gme-text-dim);
}

/* Progress Bar */
.gme-progress-bar {
    height: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

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

.gme-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: gme-progress-shine 2s infinite;
}

@keyframes gme-progress-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.gme-progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--gme-text);
    font-weight: bold;
    font-size: 0.9em;
}

/* Raider Controls */
.gme-raider-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gme-progress-update {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gme-progress-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 5px;
    background: rgba(0, 255, 0, 0.2);
    outline: none;
}

.gme-progress-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: var(--gme-primary);
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gme-primary);
}

.gme-progress-value {
    min-width: 40px;
    text-align: right;
    color: var(--gme-secondary);
}

/* Modals */
.gme-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gme-modal-overlay.show {
    opacity: 1;
}

.gme-modal {
    background: var(--gme-bg-panel);
    border: 1px solid var(--gme-border);
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.gme-modal-overlay.show .gme-modal {
    transform: scale(1);
}

.gme-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: 1px solid var(--gme-text-dim);
    color: var(--gme-text-dim);
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    transition: all 0.3s ease;
}

.gme-modal-close:hover {
    border-color: var(--gme-danger);
    color: var(--gme-danger);
    transform: rotate(90deg);
}

.gme-modal-title {
    font-size: 1.5em;
    color: var(--gme-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Deposit Modal */
.gme-deposit-info {
    margin-top: 20px;
}

.gme-deposit-instruction {
    margin-bottom: 20px;
    color: var(--gme-text);
}

.gme-address-display {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--gme-border);
    padding: 15px;
    margin-bottom: 20px;
}

.gme-address {
    flex: 1;
    font-family: 'Courier New', monospace;
    color: var(--gme-secondary);
    word-break: break-all;
}

.gme-copy-btn {
    background: var(--gme-primary);
    color: var(--gme-bg-dark);
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gme-copy-btn:hover {
    background: var(--gme-secondary);
    transform: scale(1.1);
}

.gme-token-info {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    padding: 15px;
    margin-bottom: 20px;
}

.gme-token-info p {
    margin: 5px 0;
}

.gme-token-info code {
    font-size: 0.9em;
    color: var(--gme-secondary);
}

.gme-warning {
    display: flex;
    align-items: start;
    gap: 10px;
    background: rgba(255, 170, 0, 0.1);
    border: 1px solid rgba(255, 170, 0, 0.3);
    padding: 15px;
    color: var(--gme-warning);
}

/* Applications */
.gme-applications-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gme-application-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    padding: 20px;
    transition: all 0.3s ease;
}

.gme-application-card:hover {
    border-color: var(--gme-primary);
    background: rgba(0, 255, 0, 0.05);
}

.gme-app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.gme-app-user {
    color: var(--gme-secondary);
    margin: 0;
}

.gme-app-date {
    color: var(--gme-text-dim);
    font-size: 0.9em;
}

.gme-app-message {
    color: var(--gme-text);
    margin: 10px 0;
    font-style: italic;
}

.gme-no-applications {
    text-align: center;
    color: var(--gme-text-dim);
    padding: 40px;
}

/* Loading Spinner */
.gme-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: gme-spin 0.8s linear infinite;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .gme-glitch-text {
        font-size: 2em;
    }
    
    .gme-raids-grid {
        grid-template-columns: 1fr;
    }
    
    .gme-cyber-panel {
        padding: 20px;
    }
    
    .gme-modal {
        padding: 20px;
    }
    
    .gme-filter-bar {
        justify-content: center;
    }
}

/* Pending Deposits Section */
.gme-deposit-reminder {
    background: rgba(255, 170, 0, 0.1);
    border: 1px solid rgba(255, 170, 0, 0.3);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.gme-reminder-text {
    color: var(--gme-warning);
    margin: 0 0 10px 0;
    font-weight: bold;
}

.gme-pending-deposits {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.gme-deposit-instructions {
    margin-bottom: 30px;
}

.gme-deposit-instructions .gme-cyber-panel {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.gme-deposit-instructions h3 {
    color: var(--gme-primary);
    margin-bottom: 20px;
}

.gme-pending-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gme-pending-item {
    background: var(--gme-bg-panel);
    border: 1px solid #333;
    padding: 20px;
    transition: all 0.3s ease;
}

.gme-pending-item:hover {
    border-color: var(--gme-warning);
    box-shadow: 0 0 10px rgba(255, 170, 0, 0.3);
}

.gme-pending-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.gme-pending-header h4 {
    color: var(--gme-primary);
    margin: 0;
}

.gme-pending-amount {
    color: var(--gme-warning);
    font-size: 1.2em;
    font-weight: bold;
}

.gme-pending-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gme-text-dim);
    font-size: 0.9em;
}

.gme-no-pending {
    text-align: center;
    color: var(--gme-text-dim);
    padding: 40px;
    background: var(--gme-bg-panel);
    border: 1px solid #333;
}

/* Show Deposit Button */
.gme-btn-show-deposit {
    background: linear-gradient(135deg, #ffaa00, #ff6600);
}

/* Search and Filter Section */
.gme-search-section {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.gme-search-form {
    width: 100%;
}

.gme-search-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 15px;
    align-items: center;
}

@media (max-width: 768px) {
    .gme-search-grid {
        grid-template-columns: 1fr;
    }
}

.gme-search-input-wrapper {
    position: relative;
}

.gme-search-input,
.gme-filter-select {
    width: 100%;
    background: #000;
    border: 1px solid #00ff00;
    color: #00ff00;
    padding: 12px 15px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 5px rgba(0, 255, 0, 0.2);
}

.gme-search-input {
    padding-right: 40px;
}

.gme-search-input::placeholder {
    color: #00ff0066;
    font-style: italic;
}

.gme-search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.6;
    color: #00ff00;
    font-size: 18px;
}

.gme-search-input:focus,
.gme-filter-select:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5), inset 0 0 5px rgba(0, 255, 0, 0.3);
    background: rgba(0, 255, 0, 0.05);
}

.gme-filter-select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300ff00' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 35px;
}

.gme-filter-select option {
    background: #000;
    color: #00ff00;
    padding: 10px;
}

/* Updated Filter Buttons with Matrix Theme */
.gme-filter-bar {
    display: flex;
    gap: 2px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    background: #000;
    padding: 2px;
    border: 1px solid #00ff00;
}

.gme-filter-btn {
    flex: 1;
    min-width: 120px;
    background: rgba(0, 0, 0, 0.8);
    border: none;
    color: #00ff00;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.gme-filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.4), transparent);
    transition: left 0.5s;
}

.gme-filter-btn:hover::before {
    left: 100%;
}

.gme-filter-btn:hover {
    background: rgba(0, 255, 0, 0.2);
    text-shadow: 0 0 10px #00ff00;
}

.gme-filter-btn.active {
    color: #000;
    text-shadow: none;
}

.gme-filter-btn[data-filter="all"].active {
    background: #00ff00;
}

.gme-filter-btn[data-filter="active"].active {
    background: #ff4444;
}

.gme-filter-btn[data-filter="in_progress"].active {
    background: #ff6600;
}

.gme-filter-btn[data-filter="completed"].active {
    background: #cc3333;
} 

/* Fix for number input spinner overlapping with suffix text */

/* Option 1: Hide the spinner controls entirely */
.gme-input[type="number"] {
    -moz-appearance: textfield; /* Firefox */
}

.gme-input[type="number"]::-webkit-outer-spin-button,
.gme-input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none; /* Chrome, Safari, Edge */
    margin: 0;
}

/* Option 2: Alternative - Move suffix text further left and make room for spinners */
.gme-input-wrapper .gme-input[type="number"] {
    padding-right: 60px; /* More space for both spinner and suffix */
}

.gme-input-wrapper .gme-input-suffix {
    right: 35px; /* Move suffix left to avoid spinner */
    pointer-events: none;
    z-index: 1;
}

/* Option 3: If you want to keep spinners, style them to match theme */
.gme-input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    background: var(--gme-primary);
    color: #000;
    width: 20px;
    height: 20px;
    margin: 0;
    opacity: 0.8;
}

/* Recommended solution: Hide spinners and rely on keyboard input */
.gme-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.gme-input-wrapper .gme-input[type="number"] {
    /* Hide spinner arrows */
    -moz-appearance: textfield;
    padding-right: 50px; /* Space for suffix */
}

.gme-input-wrapper .gme-input[type="number"]::-webkit-outer-spin-button,
.gme-input-wrapper .gme-input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.gme-input-wrapper .gme-input-suffix {
    position: absolute;
    right: 15px;
    color: var(--gme-text-dim);
    pointer-events: none;
    font-weight: bold;
    z-index: 2;
}

/* Additional styling for better visual separation */
.gme-input-suffix {
    background: rgba(0, 0, 0, 0.7);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}

/* Fix for bounty amount overlapping with "POSTED BY" text in raid cards */

.gme-raid-meta {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* Three equal columns */
    gap: 15px; /* Increased gap for better spacing */
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
    align-items: start; /* Align items to top */
}

/* Ensure meta items don't overflow */
.gme-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0; /* Allow items to shrink */
    overflow: hidden; /* Prevent overflow */
}

.gme-meta-label {
    color: var(--gme-text-dim);
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap; /* Keep labels on one line */
}

.gme-meta-value {
    color: var(--gme-secondary);
    font-weight: bold;
    word-break: break-word; /* Break long values if needed */
    line-height: 1.2;
    font-size: 0.9em; /* Slightly smaller to fit better */
}

/* Specific handling for bounty amounts */
.gme-meta-value.gme-bounty-amount {
    font-family: 'Courier New', monospace;
    font-size: 0.85em; /* Smaller font for long numbers */
}

/* Mobile responsive - stack vertically on small screens */
@media (max-width: 600px) {
    .gme-raid-meta {
        grid-template-columns: 1fr; /* Stack vertically on mobile */
        gap: 10px;
    }
}

/* Alternative layout for very long bounty amounts */
@media (max-width: 480px) {
    .gme-raid-meta {
        grid-template-columns: 1fr 1fr; /* Two columns on very small screens */
    }
    
    .gme-meta-item:first-child {
        grid-column: 1 / -1; /* Bounty takes full width */
    }
}

/* Add this CSS to fix the datetime-local input size issue */

/* Ensure all form inputs have consistent sizing */
.gme-input[type="datetime-local"] {
    /* Override default datetime-local styling */
    -webkit-appearance: none;
    -moz-appearance: textfield;
    appearance: none;
    
    /* Force consistent sizing */
    height: 44px; /* Match other input heights */
    box-sizing: border-box;
    
    /* Consistent padding to match other inputs */
    padding: 12px !important;
    
    /* Remove any default margins */
    margin: 0;
    
    /* Ensure it doesn't expand */
    min-width: 0;
    max-width: 100%;
    
    /* Font consistency */
    font-size: 1em !important;
    line-height: 1.2;
}

/* Fix for webkit-based browsers (Chrome, Safari) */
.gme-input[type="datetime-local"]::-webkit-datetime-edit {
    padding: 0;
    margin: 0;
}

.gme-input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    opacity: 0.7;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

/* Alternative approach - if you want to make ALL inputs the same exact size */
.gme-form-grid .gme-input,
.gme-form-grid .gme-textarea,
.gme-form-grid select.gme-input {
    height: 44px;
    box-sizing: border-box;
    padding: 12px;
    margin: 0;
    font-size: 1em;
    line-height: 1.2;
}

/* Exception for textarea which should be taller */
.gme-form-grid .gme-textarea {
    height: auto;
    min-height: 100px;
}

/* Ensure grid items are the same height */
.gme-form-group {
    display: flex;
    flex-direction: column;
    min-height: fit-content;
}

.gme-form-group .gme-label {
    flex-shrink: 0;
    margin-bottom: 8px;
}

.gme-form-group .gme-input,
.gme-form-group select.gme-input {
    flex: 1;
}

add_action('wp_enqueue_scripts', function () {
  // Base child stylesheet
  wp_enqueue_style(
    'child-style',
    get_stylesheet_uri(),
    ['hello-elementor-theme-style','elementor-frontend']
  );

  // Component: Raider Escrow
  $escrow_path = get_stylesheet_directory() . '/css/gme-raider-escrow.css';
  wp_enqueue_style(
    'gme-raider-escrow',
    get_stylesheet_directory_uri() . '/css/gme-raider-escrow.css',
    ['child-style'],
    filemtime($escrow_path)
  );

  // Always-last overrides
  $ovr_path = get_stylesheet_directory() . '/css/overrides.css';
  wp_enqueue_style(
    'gme-overrides',
    get_stylesheet_directory_uri() . '/css/overrides.css',
    ['gme-raider-escrow','elementor-frontend'],
    filemtime($ovr_path)
  );
}, 100); // high priority so these come last

/* ===== RAID APPLICATIONS MODAL — MOBILE SAFE ===== */

/* Overlay: full-viewport, centered panel */
#gme-applications-modal.gme-modal-overlay {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: env(safe-area-inset-top) 12px env(safe-area-inset-bottom) 12px;
  background: rgba(0,0,0,.65);
  z-index: 100000;
}

/* Panel */
#gme-applications-modal .gme-modal-content {
  width: min(680px, 94vw);
  max-height: 88vh;
  border-radius: 16px;
  overflow: hidden;              /* clip neon glow, keep scroll inside */
  background: radial-gradient(120% 120% at 50% 0%, #14171c 0%, #0d1014 65%);
  box-shadow:
    0 0 0 2px #00ff66,
    0 0 28px #00ff66aa,
    0 0 80px #00ff6644;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Close button always tappable */
#gme-applications-modal .gme-modal-close {
  position: absolute; top: 10px; right: 10px;
  width: 36px; height: 36px; line-height: 36px;
  border-radius: 50%;
  background: #ff2748; color: #fff; font-weight: 800;
  border: 0; cursor: pointer; z-index: 3;
}

/* Sticky header */
#gme-applications-modal .gme-modal-title {
  position: sticky; top: 0; z-index: 2;
  padding: 14px 18px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid #123;
}
#gme-applications-modal .gme-modal-title h2 {
  margin: 0;
  font-size: clamp(22px, 6vw, 34px) !important;  /* override any big inline size */
  line-height: 1.15 !important;
  letter-spacing: .02em;
}

/* Scrollable body */
#gme-applications-modal .gme-applications-modal {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 18px;
}

/* Footer pinned to the bottom of panel */
#gme-applications-modal .gme-applications-footer {
  position: sticky; bottom: 0; z-index: 2;
  background: rgba(0,0,0,.35);
  padding: 14px 18px;
  border-top: 1px solid #123;
}

/* Tidy empty-state */
#gme-applications-modal .gme-no-applications {
  text-align: center;
  padding: 12px 6px;
}
#gme-applications-modal .gme-no-applications .gme-icon { font-size: 42px; }
#gme-applications-modal .gme-no-applications h3 {
  font-size: clamp(18px, 4.8vw, 22px);
  margin: 10px 0 6px;
}
#gme-applications-modal .gme-no-applications p {
  color: #c9c9c9;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 28ch;
}

/* Small phones: reduce padding a touch */
@media (max-width: 390px){
  #gme-applications-modal .gme-applications-modal { padding: 14px; }
} 

/* === Center the INNER box/content of the Applications modal === */

/* Make the content area a centering container */
#gme-applications-modal .gme-modal-content{
  display: grid !important;
  grid-auto-rows: min-content;
  justify-items: center;                   /* center children horizontally */
  align-content: start;
  box-sizing: border-box;
  padding: 18px 16px !important;
}

/* Constrain and center the main inner blocks */
#gme-applications-modal .gme-no-applications,
#gme-applications-modal .gme-applications-list,
#gme-applications-modal .gme-applications-footer{
  width: 100%;
  max-width: 680px;                        /* inner card width */
  margin: 0 auto !important;               /* force center if margins exist */
  box-sizing: border-box;
}

/* Center the title pill itself */
#gme-applications-modal .gme-modal-title{
  width: auto;
  max-width: calc(100% - 32px);
  margin: 0 auto 14px !important;          /* center + spacing below */
  justify-self: center;                    /* grid centering safety */
}

/* Kill stray left/right nudges from any plugin styles */
#gme-applications-modal .gme-modal-content > *{
  left: auto !important;
  right: auto !important;
}

/* If an old flex layout overrides grid, still center. */
@supports not (justify-items: center){
  #gme-applications-modal .gme-modal-content{
    display: flex !important;
    flex-direction: column;
    align-items: center;                    /* center children */
  }
}

/* ===== Applications modal: force the INNER box to center ===== */

/* Kill any offsets that push the inner card left/right */
#gme-applications-modal .gme-modal-content,
#gme-applications-modal .gme-applications-modal,
#gme-applications-modal .gme-no-applications{
  position: static !important;       /* ignore left/right from other CSS */
  left: auto !important;
  right: auto !important;
  transform: none !important;
}

/* Center the content block itself */
#gme-applications-modal .gme-modal-content{
  margin-left: auto !important;
  margin-right: auto !important;
  width: min(92vw, 720px) !important; /* cap width, keep responsive */
  padding: 18px 16px !important;
  box-sizing: border-box;
  display: block !important;         /* neutralize odd flex/grid rules */
}

/* Make the inner sections line up and stay centered */
#gme-applications-modal .gme-applications-modal,
#gme-applications-modal .gme-no-applications,
#gme-applications-modal .gme-applications-list,
#gme-applications-modal .gme-applications-footer{
  max-width: 680px;
  width: 100%;
  margin: 0 auto !important;
  box-sizing: border-box;
}

/* Center the title pill */
#gme-applications-modal .gme-modal-title{
  margin: 0 auto 14px !important;
  text-align: center;
  justify-self: center;
}

/* Safety: consistent sizing inside this modal only */
#gme-applications-modal * { box-sizing: border-box; }

/* === GME Applications Modal — hard reset + perfect center === */

/* Center the overlay itself */
#gme-applications-modal.gme-modal-overlay,
#gme-applications-modal.gme-modal-overlay.show {
  display: flex !important;
  align-items: center !important;   /* vertical center */
  justify-content: center !important; /* horizontal center */
  padding: 16px !important;         /* breathing room on tiny screens */
}

/* Kill any leftover positioning that nudges the card */
#gme-applications-modal .gme-modal-content,
#gme-applications-modal .gme-applications-modal,
#gme-applications-modal .gme-no-applications {
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
}

/* Force the inner card to be centered and responsive */
body #gme-applications-modal .gme-modal-content {
  width: min(92vw, 720px) !important;   /* responsive width, max 720px */
  max-width: 92vw !important;
  margin: 0 auto !important;            /* center in overlay */
  padding: 18px 16px !important;
  box-sizing: border-box !important;
  display: block !important;            /* neutralize unexpected grid/flex rules */
}

/* Make all sections inside the card span full width and stay centered */
#gme-applications-modal .gme-applications-modal,
#gme-applications-modal .gme-no-applications,
#gme-applications-modal .gme-applications-list,
#gme-applications-modal .gme-applications-footer {
  width: 100% !important;
  max-width: 680px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Title pill — make sure it’s centered */
#gme-applications-modal .gme-modal-title {
  margin: 0 auto 14px !important;
  text-align: center !important;
  align-self: center !important;
}

/* Prevent weird shrinking caused by nested boxes */
#gme-applications-modal * { box-sizing: border-box !important; }

/* Safety: sensible max height with internal scroll if needed */
@media (max-width: 768px){
  #gme-applications-modal .gme-modal-content {
    max-height: 86vh !important;
    overflow: auto !important;
  }
}

/* Center the title pill + icon inside the modal */
#gme-applications-modal .gme-modal-title{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  margin: 0 auto 14px !important;
  width: 100% !important;       /* wrapper spans full width */
  text-align: center !important;
}

/* Make the pill itself size to content and center within the wrapper */
#gme-applications-modal .gme-modal-title h2{
  display: inline-block !important;
  margin: 0 !important;
}

/* Keep the little people icon inline (no absolute offsets) */
#gme-applications-modal .gme-modal-title .gme-icon{
  position: static !important;
  left: auto !important;
  transform: none !important;
  margin: 0 !important;
}

/* === Modal title: force true center on all devices === */
#gme-applications-modal .gme-modal-content { 
  margin-left:auto !important; margin-right:auto !important;
}

#gme-applications-modal .gme-modal-title{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;   /* center horizontally */
  text-align:center !important;
  width:100% !important;
  margin:0 auto 14px !important;
  padding-left:0 !important;           /* kill stray left padding */
}

#gme-applications-modal .gme-modal-title h2,
#gme-applications-modal .gme-modal-title .gme-title{
  display:inline-flex !important;
  align-items:center !important;
  gap:10px !important;
  margin:0 auto !important;            /* center the pill itself */
}

#gme-applications-modal .gme-modal-title .gme-icon{
  position:static !important;          /* was absolute in some skins */
  left:auto !important; transform:none !important; margin:0 !important;
}

/* === GME modal: perfectly center the box inside the overlay === */
#gme-applications-modal.gme-modal-overlay{
  display:flex !important;
  align-items:center !important;      /* vertical center */
  justify-content:center !important;  /* horizontal center */
  padding: 16px !important;           /* safe viewport gutter */
  inset: 0 !important;                /* top/right/bottom/left:0 */
}

/* the immediate wrapper some skins use */
#gme-applications-modal .gme-modal-large-modal{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
}

/* the actual card */
#gme-applications-modal .gme-modal-content{
  box-sizing:border-box !important;
  margin:0 auto !important;
  float:none !important;
  position:relative !important;
  left:auto !important;
  right:auto !important;
  transform:none !important;
  max-width:680px !important;
  width:100% !important;
}

@media (max-width: 480px){
  #gme-applications-modal .gme-modal-content{
    max-width: 92vw !important;       /* avoid edge-to-edge squeeze */
  }
}

/* title pill also centered */
#gme-applications-modal .gme-modal-title{
  display:flex !important;
  justify-content:center !important;
  text-align:center !important;
  width:100% !important;
}

/* let the floating close button hang outside the panel */
#gme-applications-modal .gme-modal,
#gme-applications-modal .gme-modal.gme-large-modal{
  overflow: visible !important;
}

/* a touch more room under the button */
#gme-applications-modal .gme-modal.gme-large-modal{
  padding-top: calc(20px + var(--close-size)/2) !important;
}

/* very small phones: lift a bit less so nothing kisses the edge */
@media (max-width: 390px){
  #gme-applications-modal{ --close-lift: 45%; }
}
 
/* Task Tips - High Visibility Fix */
.gme-task-tips {
    background: rgba(0, 0, 0, 0.9) !important;
    border: 1px solid #39ff14 !important;
    border-radius: 6px !important;
    padding: 1.25rem !important;
    margin-top: 1.5rem !important;
}

.gme-task-tips h4 {
    color: #39ff14 !important;
    font-size: 1.1rem !important;
    font-weight: bold !important;
    margin: 0 0 0.75rem 0 !important;
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.6) !important;
}

.gme-task-tips li {
    color: #e0e0e0 !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 0.5rem !important;
}

/* Fix Label Readability - Dark Background + Bright Text */
.gme-form-group {
    background: rgba(0, 0, 0, 0.7) !important;
    padding: 1rem !important;
    border-radius: 6px !important;
    margin-bottom: 1rem !important;
}

.gme-label,
label.gme-label {
    color: #00ff00 !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    margin-bottom: 0.5rem !important;
    display: block !important;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.8), 0 0 20px rgba(0, 255, 0, 0.5) !important;
    background: rgba(0, 0, 0, 0.8) !important;
    padding: 0.5rem 0.75rem !important;
    border-radius: 4px !important;
    border-left: 3px solid #00ff00 !important;
}

/* Ensure form grid has dark background */
.gme-form-grid {
    background: rgba(0, 0, 0, 0.5) !important;
    padding: 1.5rem !important;
    border-radius: 8px !important;
}

/* Make section labels even more visible */
.gme-label {
    color: #39ff14 !important;
}

/* Kill all fading/glitching effects on form */
.gme-cyber-panel,
.gme-cyber-panel *,
.gme-form-grid,
.gme-form-group {
    animation: none !important;
    transition: none !important;
}

.gme-cyber-panel::before,
.gme-cyber-panel::after {
    display: none !important;
}

/* ========================================
   CYBERPUNK FORM ENHANCEMENT
   ======================================== */

/* Corner Brackets (HUD Style) */
.gme-cyber-panel {
    position: relative;
    background: rgba(0, 0, 0, 0.95) !important;
    border: 1px solid rgba(0, 255, 0, 0.3) !important;
}

/* Top-Left Corner */
.gme-cyber-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-top: 3px solid #00ff00;
    border-left: 3px solid #00ff00;
    opacity: 0.8;
}

/* Top-Right Corner */
.gme-cyber-panel::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    border-top: 3px solid #00ff00;
    border-right: 3px solid #00ff00;
    opacity: 0.8;
}

/* Panel Title with Glow */
.gme-panel-title {
    color: #ffffff !important;
    text-shadow: 
        0 0 10px rgba(255, 165, 0, 0.8),
        0 0 20px rgba(255, 165, 0, 0.5),
        0 0 30px rgba(255, 69, 0, 0.3) !important;
    letter-spacing: 0.15em !important;
    font-weight: 700 !important;
    margin-bottom: 2rem !important;
}

/* Input Fields - Neon Focus Effect */
.gme-input,
.gme-textarea,
select.gme-input {
    background: rgba(0, 0, 0, 0.8) !important;
    border: 1px solid rgba(0, 255, 0, 0.3) !important;
    color: #00ff00 !important;
    font-family: 'Courier New', 'Consolas', monospace !important;
    transition: all 0.3s ease !important;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5) !important;
}

.gme-input:focus,
.gme-textarea:focus,
select.gme-input:focus {
    border-color: #00ff00 !important;
    box-shadow: 
        inset 0 0 10px rgba(0, 0, 0, 0.5),
        0 0 15px rgba(0, 255, 0, 0.5),
        0 0 25px rgba(0, 255, 0, 0.3) !important;
    outline: none !important;
    background: rgba(0, 20, 0, 0.9) !important;
}

/* Labels with Terminal Style */
.gme-label {
    color: #00ff00 !important;
    font-family: 'Courier New', 'Consolas', monospace !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    position: relative !important;
    padding-left: 15px !important;
    margin-bottom: 0.75rem !important;
}

/* Add bracket before label */
.gme-label::before {
    content: '[ ';
    color: #00ff00;
    opacity: 0.6;
}

.gme-label::after {
    content: ' ]';
    color: #00ff00;
    opacity: 0.6;
}

/* Task Items - Glowing Borders */
.gme-task-item {
    background: rgba(0, 20, 0, 0.3) !important;
    border: 1px solid rgba(0, 255, 0, 0.4) !important;
    border-left: 3px solid #00ff00 !important;
    padding: 1rem !important;
    margin-bottom: 1rem !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

.gme-task-item:hover {
    border-color: #00ff00 !important;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3) !important;
    background: rgba(0, 30, 0, 0.5) !important;
}

/* Task Number Glow */
.gme-task-number {
    color: #00ff00 !important;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.8) !important;
    font-weight: bold !important;
    font-size: 1.2rem !important;
}

/* Add Task Button - Enhanced */
.gme-add-task-btn,
#gme-add-task {
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.9), rgba(255, 0, 64, 0.9)) !important;
    border: 1px solid rgba(255, 51, 102, 0.5) !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    padding: 1rem 2.5rem !important;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.gme-add-task-btn::before,
#gme-add-task::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.gme-add-task-btn:hover::before,
#gme-add-task:hover::before {
    left: 100%;
}

.gme-add-task-btn:hover,
#gme-add-task:hover {
    transform: translateY(-2px) !important;
    box-shadow: 
        0 5px 20px rgba(255, 51, 102, 0.5),
        0 0 30px rgba(255, 51, 102, 0.3) !important;
}

/* Submit Button - Epic Glow */
.gme-submit-btn {
    background: linear-gradient(135deg, #00ff00, #00cc88) !important;
    border: none !important;
    color: #000000 !important;
    text-transform: uppercase !important;
    font-weight: 900 !important;
    letter-spacing: 1.5px !important;
    padding: 1.1rem 2.4rem !important;
    font-size: 1.1rem !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    box-shadow: 
        0 0 20px rgba(0, 255, 0, 0.5),
        0 5px 15px rgba(0, 0, 0, 0.5) !important;
}

.gme-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.gme-submit-btn:hover::before {
    left: 100%;
}

.gme-submit-btn:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 
        0 0 30px rgba(0, 255, 0, 0.8),
        0 0 50px rgba(0, 255, 0, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.6) !important;
}

.gme-apply-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-start;
    align-items: center;
}

.gme-apply-actions .gme-submit-btn,
.gme-apply-actions .gme-cancel-btn {
    min-width: 180px;
    width: auto;
    margin: 0;
    white-space: nowrap;
}

#gme-apply-modal .gme-apply-modal {
    padding: 20px 18px 28px;
    width: 100%;
    max-width: none;
    margin: 0;
    transform: none;
}

#gme-apply-modal .gme-apply-tips,
#gme-apply-modal .gme-form-group,
#gme-apply-modal .gme-apply-actions {
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
}

/* Task Tips Box - Terminal Style */
.gme-task-tips {
    background: rgba(0, 0, 0, 0.9) !important;
    border: 1px solid rgba(0, 255, 0, 0.4) !important;
    border-left: 4px solid #00ff00 !important;
    padding: 1.5rem !important;
    margin: 1.5rem auto !important;
    width: 100%;
    max-width: 640px;
    position: relative !important;
}

.gme-task-tips::before {
    content: '>';
    position: absolute;
    left: 10px;
    top: 10px;
    color: #00ff00;
    font-size: 1.5rem;
    opacity: 0.5;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 49% { opacity: 0.5; }
    50%, 100% { opacity: 0; }
}

.gme-task-tips h4 {
    color: #00ff00 !important;
    font-family: 'Courier New', monospace !important;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.6) !important;
    margin-bottom: 1rem !important;
}

.gme-task-tips li {
    color: #cccccc !important;
    font-family: 'Courier New', monospace !important;
    line-height: 1.8 !important;
    position: relative !important;
    padding-left: 20px !important;
}

.gme-task-tips li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #00ff00;
}

/* Scanline Effect (Subtle) */
.gme-cyber-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 255, 0, 0.03) 0px,
        rgba(0, 255, 0, 0.03) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 1;
}

/* Ensure form content is above scanlines */
.gme-cyber-panel > * {
    position: relative;
    z-index: 2;
}

/* Remove Task Button - Danger Glow */
.gme-remove-task {
    background: linear-gradient(135deg, #ff3366, #cc0033) !important;
    border: 1px solid rgba(255, 51, 102, 0.5) !important;
    transition: all 0.3s ease !important;
}

.gme-remove-task:hover {
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.7) !important;
    transform: scale(1.05) !important;
}

/* Geometric Accent Lines */
.gme-form-grid::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00ff00, transparent);
    transform: translateX(-50%);
}

.gme-form-grid::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00ff00, transparent);
    transform: translateX(-50%);
}

.gme-form-grid {
    position: relative;
}

/* Date Picker Calendar Icon - Make it Visible */
input[type="datetime-local"].gme-input {
    color: #00ff00 !important;
    background: rgba(0, 0, 0, 0.8) !important;
    position: relative;
}

/* Style the calendar icon */
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%2300ff00"><path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"/></svg>');
    cursor: pointer;
    opacity: 1;
    filter: brightness(1.2);
    width: 20px;
    height: 20px;
    padding: 4px;
}

input[type="datetime-local"]::-webkit-calendar-picker-indicator:hover {
    filter: brightness(1.5) drop-shadow(0 0 5px rgba(0, 255, 0, 0.8));
}

/* Firefox date picker button */
input[type="datetime-local"]::-moz-calendar-picker-indicator {
    filter: invert(1) hue-rotate(90deg) brightness(1.5);
    cursor: pointer;
}

/* =========================================
   GME RAIDER ESCROW - FEE BREAKDOWN STYLES
   Add this to the bottom of gme-raider-escrow.css
   ========================================= */

/* Fee Breakdown Display */
.gme-fee-breakdown {
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(0, 0, 0, 0.6);
    border-left: 3px solid #ffaa00;
    border-radius: 3px;
}

.gme-fee-info {
    color: #ffaa00 !important;
    font-size: 0.75rem !important;
    font-family: 'Courier New', monospace !important;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .gme-fee-breakdown {
        padding: 0.4rem 0.6rem;
    }
    
    .gme-fee-info {
        font-size: 0.7rem !important;
    }
}

/* Platform Fee Notice */
.gme-fee-notice {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(255, 170, 0, 0.1);
    border: 1px solid #ffaa00;
    border-radius: 4px;
    color: #ffaa00;
    font-size: 0.85rem;
    text-align: center;
    font-family: 'Courier New', monospace;
}

.gme-fee-notice strong {
    color: #ffaa00;
}

/* FORCE FIX - Progress Text Positioning */
.gme-progress-bar {
    position: relative !important;
    height: 20px !important;
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid #333 !important;
    margin-bottom: 15px !important;
    overflow: hidden !important;
}

.gme-progress-text {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: #000000 !important;
    font-weight: bold !important;
    font-size: 0.85em !important;
    z-index: 100 !important;
    text-shadow: 0 0 5px rgba(255, 255, 255, 1) !important;
    pointer-events: none !important;
    white-space: nowrap !important;
}

/* Task Progress Bar - Fixed Structure */
.gme-tasks-progress-bar {
    position: relative !important;
    height: 24px !important;
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid #00ff00 !important;
    border-radius: 4px !important;
    margin-bottom: 0.75rem !important;
    overflow: hidden !important;
}

.gme-tasks-progress-fill {
    height: 100% !important;
    background: linear-gradient(90deg, #00ff00, #00cc88) !important;
    transition: width 0.3s ease !important;
}

/* Text is a sibling, not a child - use negative margin to pull it up */
.gme-tasks-progress-text {
    display: block !important;
    position: relative !important;
    top: -23px !important; /* Adjusted for better centering */
    text-align: center !important;
    color: #000000 !important;
    font-weight: bold !important;
    font-size: 0.85em !important;
    text-shadow: 0 0 5px rgba(255, 255, 255, 1) !important;
    pointer-events: none !important;
    margin-bottom: -24px !important;
    z-index: 100 !important;
    line-height: 1 !important; /* Add this for better vertical alignment */
} 

/* Assigned Raider Display */
.gme-assigned-raider .gme-meta-value {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gme-assigned-raider .gme-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #00ff00;
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.3);
}

.gme-raider-link {
    color: #00ffcc;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.gme-raider-link:hover {
    color: #00ff00;
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.5);
}
@media (max-width: 768px) {
    #gme-apply-modal .gme-modal {
        max-height: 90vh;
        min-height: 0;
        width: calc(100vw - 20px);
        max-width: none;
        margin: 36px auto 18px;
        padding: 28px 14px 24px;
        overflow: hidden !important;
    }

    #gme-apply-modal .gme-modal-content {
        max-height: calc(90vh - 40px);
        overflow-y: auto !important;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }
}
html.gme-modal-open {
    overflow: visible !important;
    overscroll-behavior: contain;
    height: 100%;
}

html.gme-modal-open body {
    overflow: hidden !important;
    height: 100%;
    width: 100%;
}
#gme-apply-modal .gme-modal-close,
#gme-apply-modal .gme-cancel-btn {
    z-index: 100001;
    pointer-events: auto;
}

@media (max-width: 768px) {
    #gme-apply-modal.gme-modal-overlay {
        align-items: flex-start;
        padding-top: calc(env(safe-area-inset-top, 0px) + 12px);
        padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
    }

    #gme-apply-modal .gme-modal {
        margin-top: 0 !important;
    }

    #gme-apply-modal .gme-modal-close {
        top: calc(env(safe-area-inset-top, 0px) + 14px) !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
    }

    #gme-apply-modal .gme-modal-content {
        padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

@media (max-width: 768px) {
    .gme-marketplace-container .gme-cyber-panel {
        width: calc(100vw - 16px) !important;
        max-width: none !important;
        margin: 12px auto !important;
        padding: 20px 12px !important;
        box-sizing: border-box !important;
    }

    .gme-marketplace-container .gme-form-grid {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 10px 0 !important;
        box-sizing: border-box !important;
    }

    .gme-marketplace-container .gme-form-group {
        padding: 12px 10px !important;
        margin-bottom: 12px !important;
        box-sizing: border-box !important;
    }
}

/* Center the DEPLOY RAID button */
.gme-marketplace-container #gme-raid-create-form > .gme-submit-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 18px auto 0 !important;
}
