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

body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===================
   NAVIGATION STYLES - SAME AS MAIN PAGE
   =================== */
.navbar {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    width: auto;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.98) 0%, rgba(20, 20, 20, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 
                0 4px 16px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    position: relative;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.3s ease;
}

.nav-brand:hover {
    transform: translateY(-1px);
}

.nav-logo {
    height: 42px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.nav-logo:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.nav-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    position: relative;
}

.nav-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffffff, transparent);
    transition: width 0.3s ease;
}

.nav-brand:hover .nav-title::after {
    width: 100%;
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    background: transparent;
}

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

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.1);
}

.nav-link:active {
    transform: translateY(0);
}

.nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Modern Mobile Menu - Clean & Simple */
.nav-links.mobile-open {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background: #000000;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: auto !important;
    padding: 2rem;
}

.nav-links.mobile-open.show {
    opacity: 1;
    visibility: visible;
}

.nav-links.mobile-open .nav-link {
    font-size: 3rem;
    font-weight: 300;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem 0;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    background: none;
    width: auto;
    border-radius: 50px;
}

.nav-links.mobile-open .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

/* Touch feedback for mobile menu links */
.nav-links.mobile-open .nav-link:active::after {
    width: 100%;
}

.nav-links.mobile-open .nav-link:active {
    color: #ffffff;
    transform: scale(0.98);
}

.nav-links.mobile-open .nav-link {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.nav-links.mobile-open.show .nav-link {
    opacity: 1;
    transform: translateY(0);
}

.nav-links.mobile-open .nav-link.active {
    color: #ffffff;
}

.nav-links.mobile-open .nav-link.active::after {
    width: 100%;
}

.nav-links.mobile-open .nav-link:nth-child(1) { transition-delay: 0.1s; }
.nav-links.mobile-open .nav-link:nth-child(2) { transition-delay: 0.2s; }
.nav-links.mobile-open .nav-link:nth-child(3) { transition-delay: 0.3s; }
.nav-links.mobile-open .nav-link:nth-child(4) { transition-delay: 0.4s; }

/* Modern Hamburger Menu Button - Touch Optimized */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 16px;
    background: none;
    border: none;
    z-index: 1001;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Touch feedback instead of hover */
.nav-toggle:active {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(0.95);
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    transform-origin: center;
    margin: 2px 0;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================
   GAME STYLES - DEMO PAGE INSPIRED
   =================== */
.game-container {
    padding-top: 120px;
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.game-header {
    text-align: center;
    margin-bottom: 3rem;
}

.game-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.game-subtitle {
    font-size: 1.3rem;
    opacity: 0.8;
    margin-bottom: 2rem;
    font-weight: 300;
}

.case-template {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.case-template h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.case-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.case-details {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.case-details h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.case-details p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Game Progress */
.game-progress {
    margin-bottom: 3rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.8));
    border-radius: 6px;
    width: 16.66%;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.step-indicators {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.step {
    flex: 1;
    text-align: center;
    padding: 1rem 0.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.step:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.step.active {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.step.completed {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Game Content */
.game-content {
    margin-bottom: 3rem;
}

.game-step {
    display: none;
    animation: slideIn 0.6s ease;
}

.game-step.active {
    display: block;
}

.game-step h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 600;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.comparison-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.path-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.path-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%, rgba(255, 255, 255, 0.02) 100%);
    pointer-events: none;
}

.path-container:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.manual-path {
}

.zeroform-path {
}

.path-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.path-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.manual-path h3 {
    color: #ff6b6b;
}

.zeroform-path h3 {
    color: #ffffff;
}

.timer {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    min-width: 100px;
    text-align: center;
}

/* Mini Game Styles */
.mini-game {
    min-height: 400px;
    position: relative;
    z-index: 1;
}

.mini-game h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.mini-game p {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Auto-processing styles for ZeroForm */
.auto-processing {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    min-height: 200px;
    max-height: 200px;
    overflow-y: auto;
    position: relative;
    margin-bottom: 1.5rem;
}

.auto-processing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    animation: scan 2s infinite;
}

.code-line {
    margin-bottom: 0.3rem;
    opacity: 0;
    transform: translateX(-10px);
    animation: typeIn 0.5s ease forwards;
    color: #ffffff;
}

.code-line.comment {
    color: #888;
}

.code-line.success {
    color: #4caf50;
}

.code-line.highlight {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin: 0.5rem 0;
}

/* GUI Summary Components */
.process-summary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.process-summary.visible {
    opacity: 1;
    transform: translateY(0);
}

.summary-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.summary-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.summary-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.summary-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-label {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: #ffffff;
}

.summary-value.success {
    color: #4caf50;
}

.summary-value.highlight {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #4caf50;
    margin-top: 1rem;
    width: fit-content;
}

.status-indicator.processing {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.3);
    color: #ffc107;
}

.status-indicator.processing::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #ffc107;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.status-indicator::before {
    content: '✓';
    font-weight: bold;
}

/* Progress visualization */
.process-progress {
    margin-top: 1rem;
}

.progress-steps {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.progress-step {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.progress-step.completed {
    background: #4caf50;
}

.progress-step.active {
    background: linear-gradient(90deg, #4caf50 50%, rgba(255, 255, 255, 0.1) 50%);
    animation: progressFlow 1s infinite;
}

.progress-label {
    font-size: 0.8rem;
    opacity: 0.7;
    text-align: center;
}

/* Event details card */
.event-details {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.event-details h5 {
    color: #ffffff;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-key {
    opacity: 0.7;
}

.detail-value {
    font-weight: 500;
    color: #ffffff;
}

/* Animations */
@keyframes typeIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scan {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes progressFlow {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 0%; }
}

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

/* ===================
   RESPONSIVE DESIGN
   =================== */

/* Tablet */
@media (max-width: 991px) {
    .navbar {
        top: 15px;
        left: 15px;
        right: 15px;
    }

    .nav-container {
        padding: 12px 24px;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .game-title {
        font-size: 2.5rem;
    }

    .case-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .step-indicators {
        gap: 0.5rem;
    }

    .step {
        font-size: 0.8rem;
        padding: 0.4rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .navbar {
        top: 10px;
        left: 10px;
        right: 10px;
    }

    .nav-container {
        padding: 10px 20px;
    }

    .nav-logo {
        height: 36px;
    }

    .nav-title {
        font-size: 1.4rem;
    }

    .game-container {
        padding-top: 100px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .game-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .game-subtitle {
        font-size: 1.1rem;
    }

    .case-template {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .case-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .comparison-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .path-container {
        padding: 1.5rem;
    }

    .game-step h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .step-indicators {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .step {
        padding: 0.8rem 0.3rem;
        font-size: 0.8rem;
        min-width: 80px;
    }

    .draggable-items {
        gap: 0.8rem;
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    .draggable {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        min-width: 45%;
        text-align: center;
    }

    /* Better mobile layout for form container */
    .form-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .form-field {
        align-items: stretch;
    }

    .form-field label {
        text-align: left;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    .drop-zone {
        min-height: 50px;
        padding: 1rem;
        font-size: 0.9rem;
    }

    .next-step-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Fixed mobile layout for game results */
    .game-results {
        padding: 2rem 1rem;
        margin: 1rem;
    }

    .results-comparison {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }

    .result-card {
        padding: 1.5rem;
        margin: 0;
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .result-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .result-time, .result-errors {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .auto-processing {
        font-size: 0.8rem;
        padding: 1rem;
        min-height: 250px;
    }

    .timer {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
        min-width: 80px;
    }

    .path-header h3 {
        font-size: 1.2rem;
    }

    .mini-game h4 {
        font-size: 1.1rem;
    }

    .mini-game p {
        font-size: 0.9rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .nav-title {
        font-size: 1.2rem;
    }

    .game-title {
        font-size: 2rem;
    }

    .game-subtitle {
        font-size: 1rem;
    }

    .case-template {
        padding: 1rem;
    }

    .case-template h3 {
        font-size: 1.5rem;
    }

    .path-container {
        padding: 1rem;
    }

    .path-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .path-header h3 {
        font-size: 1rem;
    }

    .timer {
        align-self: center;
    }

    .game-step h2 {
        font-size: 1.8rem;
    }

    .step-indicators {
        grid-template-columns: repeat(3, 1fr);
        display: grid;
    }

    .step {
        padding: 0.6rem 0.2rem;
        font-size: 0.7rem;
    }

    .draggable {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        min-width: 45%;
    }

    .form-field {
        flex-direction: column;
        gap: 0.5rem;
        text-align: left;
    }

    .form-field label {
        min-width: unset;
        font-size: 0.9rem;
        font-weight: 600;
    }

    .drop-zone {
        min-height: 45px;
        padding: 0.8rem;
        font-size: 0.85rem;
    }

    /* Make draggable items more touch-friendly */
    .draggable-items {
        gap: 0.6rem;
        margin-bottom: 1.2rem;
    }

    .auto-processing {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .next-step-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Better mobile game results layout */
    .game-results {
        padding: 1.5rem 0.8rem;
        margin: 0.5rem;
    }

    .game-results h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .results-comparison {
        grid-template-columns: 1fr !important;
        gap: 1.2rem;
        margin-bottom: 1.5rem;
        padding: 0;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .result-card {
        padding: 1.2rem;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
        border-radius: 12px;
    }

    .result-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .result-time, .result-errors {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }

    .restart-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
        margin-top: 1rem;
    }
}

/* Very Small Mobile */
@media (max-width: 400px) {
    .navbar {
        top: 8px;
        left: 8px;
        right: 8px;
    }

    .nav-container {
        padding: 8px 16px;
    }

    .nav-logo {
        height: 32px;
    }

    .nav-title {
        font-size: 1rem;
    }

    .game-container {
        padding-top: 90px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .game-title {
        font-size: 1.5rem;
    }

    .step {
        font-size: 0.6rem;
        padding: 0.2rem;
    }

    /* Improved very small mobile game results */
    .game-results {
        padding: 1.2rem 0.6rem;
        margin: 0.3rem;
        border-radius: 16px;
    }

    .game-results h2 {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }

    .results-comparison {
        grid-template-columns: 1fr !important;
        gap: 1rem;
        margin-bottom: 1.2rem;
        padding: 0;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }

    .result-card {
        padding: 1rem;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
        border-radius: 10px;
        min-height: auto;
    }

    .result-card h3 {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
        line-height: 1.3;
    }

    .result-time, .result-errors {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
        line-height: 1.4;
    }

    .restart-btn {
        padding: 0.7rem 1.3rem;
        font-size: 0.9rem;
        margin-top: 0.8rem;
    }
}

/* Medical Form Styles */
.medical-form {
    margin-bottom: 1.5rem;
}

.medical-input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.medical-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.medical-input:focus {
    outline: none;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Select dropdown specific styles */
.medical-input select,
select.medical-input {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 3rem;
}

.medical-input option {
    background: #1a1a1a;
    color: white;
    padding: 0.5rem;
}

/* Error state styling */
.medical-input.error {
    border-color: #f44336 !important;
    background: rgba(244, 67, 54, 0.1) !important;
    color: #f44336 !important;
    animation: shake 0.5s ease;
}

/* Success state styling */
.medical-input.success {
    border-color: #4caf50 !important;
    background: rgba(76, 175, 80, 0.1) !important;
    color: #4caf50 !important;
}

/* Validation hint styling */
.validation-hint {
    font-size: 0.8rem;
    margin-top: 0.3rem;
    opacity: 0.7;
    color: rgba(255, 255, 255, 0.6);
}

.validation-hint.error {
    color: #f44336;
    opacity: 1;
}

/* Event Simulator Styles */
.event-simulator {
    text-align: center;
    padding: 1rem;
}

.spinner-wheel {
    width: 200px;
    height: 200px;
    border: 3px solid #00d4ff;
    border-radius: 50%;
    margin: 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(123, 104, 238, 0.1) 100%);
    overflow: hidden;
}

.wheel-option {
    position: absolute;
    font-size: 0.8rem;
    text-align: center;
    color: white;
    font-weight: 500;
}

.wheel-option:nth-child(1) { top: 10px; }
.wheel-option:nth-child(2) { right: 10px; }
.wheel-option:nth-child(3) { bottom: 10px; }
.wheel-option:nth-child(4) { left: 10px; }

.selected-event {
    font-size: 1rem;
    color: #00d4ff;
    font-weight: 600;
    text-align: center;
}

.event-result {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    text-align: left;
}

.event-result h5 {
    color: #00d4ff;
    margin-bottom: 0.5rem;
    text-align: center;
}

.detected-info p {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

/* Dark Mode Animation Effects */
@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.3); }
    50% { box-shadow: 0 0 30px rgba(0, 212, 255, 0.5); }
}

@keyframes spin {
    to { transform: rotate(720deg); }
}

.contract-preview {
    animation: glow 2s infinite;
}

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

.game-step.active {
    animation: slideIn 0.5s ease;
}

/* Menu Open State */
.navbar.menu-open {
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.navbar.menu-open .nav-brand {
    opacity: 0;
    visibility: hidden;
}

.navbar.menu-open .nav-toggle {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Form Game Styles */
.form-container {
    margin-bottom: 2rem;
}

.form-field {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.form-field label {
    min-width: 140px;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.drop-zone {
    flex: 1;
    min-height: 50px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
}

.drop-zone.drag-over {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.02);
}

.drop-zone.filled {
    border-color: #4caf50;
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    font-weight: 500;
}

.drop-zone.error {
    border-color: #f44336;
    background: rgba(244, 67, 54, 0.1);
    animation: shake 0.5s ease;
}

.draggable-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.draggable {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    cursor: grab;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.draggable:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

.draggable:active {
    cursor: grabbing;
    transform: scale(0.95);
}

.draggable.used {
    opacity: 0.4;
    pointer-events: none;
}

.draggable.mobile-selected {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3) 0%, rgba(123, 104, 238, 0.2) 100%);
    border-color: #00d4ff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

/* Medical Form Styles */
.medical-form {
    margin-bottom: 2rem;
}

.medical-input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.medical-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.medical-input:focus {
    outline: none;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Step Controls */
.step-controls {
    text-align: center;
    margin-top: 3rem;
}

.next-step-btn {
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.next-step-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.1);
}

.next-step-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

/* Game Results */
.game-results {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.game-results h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.results-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Force vertical layout on mobile and tablet */
@media (max-width: 991px) {
    .results-comparison {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        max-width: 500px;
        margin: 0 auto 2rem auto;
    }
}

.result-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
}

.result-card.zeroform {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
}

.result-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.result-time, .result-errors {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.restart-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.restart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Mobile Responsive for GUI components */
@media (max-width: 768px) {
    .process-summary {
        padding: 1rem;
        margin-top: 0.8rem;
    }

    .summary-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .summary-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .summary-title {
        font-size: 1rem;
    }

    .auto-processing {
        min-height: 180px;
        max-height: 180px;
        font-size: 0.8rem;
        padding: 1rem;
    }

    .event-details {
        padding: 0.8rem;
    }

    .status-indicator {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .process-summary {
        padding: 0.8rem;
    }

    .summary-header {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .summary-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .summary-title {
        font-size: 0.9rem;
    }

    .summary-item {
        padding: 0.6rem;
    }

    .summary-label {
        font-size: 0.7rem;
    }

    .summary-value {
        font-size: 0.85rem;
    }

    .auto-processing {
        min-height: 150px;
        max-height: 150px;
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .detail-row {
        font-size: 0.8rem;
    }

    .progress-steps {
        gap: 0.3rem;
    }

    .progress-step {
        height: 3px;
    }

    .progress-label {
        font-size: 0.7rem;
        margin-top: 0.3rem;
    }
}

/* Document Upload Styles for Step 3 */
.document-uploader {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.upload-zone {
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 2rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
}

.upload-zone:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.upload-zone i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.upload-zone p {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    color: #ffffff;
}

.upload-status {
    font-size: 0.9rem;
    opacity: 0.8;
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    font-weight: 500;
}

/* Upload States */
.upload-zone.uploading {
    border-color: #ffc107;
    background: rgba(255, 193, 7, 0.1);
    pointer-events: none;
}

.upload-zone.uploading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.3), transparent);
    animation: uploading 1.5s infinite;
}

.upload-zone.uploading .upload-status {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.upload-zone.uploaded {
    border-color: #4caf50;
    background: rgba(76, 175, 80, 0.1);
    pointer-events: none;
}

.upload-zone.uploaded i {
    color: #4caf50;
}

.upload-zone.uploaded .upload-status {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.upload-zone.error {
    border-color: #f44336;
    background: rgba(244, 67, 54, 0.1);
    animation: shake 0.5s ease;
}

.upload-zone.error i {
    color: #f44336;
}

.upload-zone.error .upload-status {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
}

/* Upload Progress Display */
.upload-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-text, .error-count {
    font-size: 1rem;
    font-weight: 500;
}

.progress-text span, .error-count span {
    font-weight: 600;
    color: #ffffff;
}

.error-count span {
    color: #f44336;
}

/* Upload Animation */
@keyframes uploading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Mobile Responsive for Document Upload */
@media (max-width: 768px) {
    .document-uploader {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .upload-zone {
        padding: 1.5rem 0.8rem;
        min-height: 120px;
        gap: 0.6rem;
    }

    .upload-zone i {
        font-size: 1.5rem;
    }

    .upload-zone p {
        font-size: 0.9rem;
    }

    .upload-status {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }

    .upload-progress {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .progress-text, .error-count {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .document-uploader {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .upload-zone {
        padding: 1rem 0.6rem;
        min-height: 100px;
        gap: 0.5rem;
    }

    .upload-zone i {
        font-size: 1.3rem;
    }

    .upload-zone p {
        font-size: 0.85rem;
    }

    .upload-status {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }
}

/* Banking Form Styles */
.banking-form {
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.banking-form .form-field {
    margin-bottom: 15px;
}

.banking-form label {
    display: block;
    color: #fff;
    font-weight: 500;
    margin-bottom: 5px;
    font-size: 14px;
}

.bank-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.bank-input:focus {
    outline: none;
    border-color: #4FC3F7;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(79, 195, 247, 0.3);
}

.bank-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.validation-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    min-height: 20px;
}

/* Mail Simulator Styles */
.mail-simulator {
    text-align: center;
    padding: 20px;
}

.mailbox {
    font-size: 64px;
    color: #4FC3F7;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 20px 0;
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mailbox:hover {
    transform: scale(1.05);
    background: rgba(79, 195, 247, 0.2);
    box-shadow: 0 8px 32px rgba(79, 195, 247, 0.3);
}

.mail-status {
    margin-top: 10px;
    font-size: 16px;
    color: #fff;
    font-weight: 500;
}

.review-process {
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.review-step {
    padding: 10px;
    margin: 8px 0;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0.5;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.mail-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.action-btn {
    padding: 10px 20px;
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid rgba(255, 193, 7, 0.5);
    border-radius: 8px;
    color: #FFC107;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.action-btn:hover:not(:disabled) {
    background: rgba(255, 193, 7, 0.3);
    transform: translateY(-2px);
}

.action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Queue Simulator Styles */
.queue-simulator {
    padding: 20px;
    text-align: center;
}

.queue-display {
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.queue-position {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
}

.progress-container {
    margin: 15px 0;
}

.progress-bar-queue {
    width: 100%;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.progress-fill-queue {
    height: 100%;
    background: linear-gradient(90deg, #4FC3F7, #29B6F6);
    transition: width 0.5s ease;
    width: 0%;
}

.queue-status {
    margin-top: 10px;
    font-size: 16px;
    color: #fff;
    font-weight: 500;
}

.queue-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.queue-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #4FC3F7, #29B6F6);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.queue-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(79, 195, 247, 0.3);
}

.queue-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .mailbox {
        font-size: 48px;
        padding: 15px;
    }
    
    .mail-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 200px;
    }
    
    .queue-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .queue-btn {
        width: 200px;
    }
    
    .banking-form {
        padding: 15px;
    }
    
    .bank-input {
        padding: 10px 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
} 