/* =============================================
   CODE QUEST CITY - GTA-Style Coding Game
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: #0a0a1a;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    color: #fff;
}

/* =============================================
   GAME CONTAINER
   ============================================= */
#game-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* =============================================
   LOADING SCREEN
   ============================================= */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 50%, #0f1f3f 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-content {
    text-align: center;
}

#loading h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, #00d4ff, #00ff88, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    text-shadow: 0 0 50px rgba(0, 212, 255, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
    }

    to {
        filter: drop-shadow(0 0 40px rgba(0, 255, 136, 0.8));
    }
}

.tagline {
    font-size: 20px;
    color: #888;
    margin-bottom: 40px;
    letter-spacing: 3px;
}

.loader {
    width: 80px;
    height: 80px;
    border: 4px solid #2a2a4a;
    border-top-color: #00d4ff;
    border-right-color: #00ff88;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 30px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-tip {
    color: #ffd700;
    font-size: 16px;
}

/* =============================================
   HUD (Heads-Up Display)
   ============================================= */
#hud {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
    background: linear-gradient(135deg, rgba(10, 10, 30, 0.9), rgba(20, 20, 50, 0.8));
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    backdrop-filter: blur(10px);
    min-width: 200px;
}

.hud-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    color: #00d4ff;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.hud-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-label {
    font-size: 10px;
    color: #666;
    letter-spacing: 1px;
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    color: #00ff88;
    font-weight: bold;
}

.current-zone {
    background: rgba(0, 212, 255, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: #00d4ff;
    border-left: 3px solid #00d4ff;
}

/* =============================================
   MINIMAP
   ============================================= */
#minimap {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
    background: rgba(10, 10, 30, 0.9);
    border-radius: 50%;
    padding: 10px;
    border: 3px solid rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

#minimap-canvas {
    border-radius: 50%;
    display: block;
}

.minimap-legend {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    font-size: 10px;
    white-space: nowrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot.player {
    background: #00d4ff;
}

.dot.mission {
    background: #00aaff;
}

.dot.npc {
    background: #ffff00;
}

/* =============================================
   CONTROLS INFO
   ============================================= */
#controls-info {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 100;
    background: rgba(10, 10, 30, 0.8);
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

#controls-info h4 {
    color: #ffd700;
    font-size: 12px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.control-grid {
    display: grid;
    gap: 5px;
    font-size: 12px;
    color: #aaa;
}

.key {
    display: inline-block;
    background: linear-gradient(145deg, #3a3a5a, #2a2a4a);
    border: 1px solid #5a5a7a;
    border-radius: 4px;
    padding: 2px 8px;
    margin: 0 2px;
    font-family: 'Orbitron', monospace;
    font-size: 10px;
    font-weight: bold;
    color: #fff;
}

/* =============================================
   MISSION PANEL
   ============================================= */
#mission-panel {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background: rgba(10, 10, 30, 0.9);
    padding: 15px 30px;
    border-radius: 0 0 15px 15px;
    border: 1px solid rgba(255, 170, 0, 0.3);
    border-top: 3px solid #ffaa00;
    backdrop-filter: blur(10px);
    text-align: center;
    max-width: 400px;
}

#mission-panel h3 {
    color: #ffaa00;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

#mission-text {
    color: #fff;
    font-size: 14px;
    margin-bottom: 10px;
}

.mission-progress {
    height: 4px;
    background: #2a2a4a;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ffaa00, #ff6600);
    width: 0%;
    transition: width 0.5s ease;
}

/* =============================================
   DIALOGUE BOX
   ============================================= */
#dialogue-box {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 500;
    background: linear-gradient(135deg, rgba(20, 20, 50, 0.95), rgba(30, 30, 70, 0.95));
    padding: 25px 35px;
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.5);
    backdrop-filter: blur(15px);
    max-width: 600px;
    width: 90%;
    display: none;
    flex-direction: column;
    gap: 15px;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateX(-50%) translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.dialogue-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

#npc-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    display: none;
}

#npc-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    color: #ffd700;
}

#dialogue-text {
    font-size: 16px;
    line-height: 1.6;
    color: #fff;
}

#dialogue-continue {
    align-self: flex-end;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Rajdhani', sans-serif;
    font-size: 14px;
    transition: transform 0.2s, box-shadow 0.2s;
}

#dialogue-continue:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

/* =============================================
   PUZZLE OVERLAY (Code Terminal)
   ============================================= */
#puzzle-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

#puzzle-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

#puzzle-box {
    background: linear-gradient(145deg, #0d1117, #161b22);
    border: 2px solid #30363d;
    border-radius: 20px;
    padding: 30px;
    max-width: 650px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 0 60px rgba(0, 212, 255, 0.2);
    animation: modalSlide 0.4s ease;
}

@keyframes modalSlide {
    from {
        transform: scale(0.9) translateY(20px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.puzzle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.puzzle-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    color: #00d4ff;
}

.puzzle-level {
    background: linear-gradient(135deg, #00d4ff, #00ff88);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 12px;
}

.puzzle-zone {
    color: #8b949e;
    font-size: 14px;
    margin-bottom: 20px;
}

.puzzle-challenge {
    background: rgba(0, 212, 255, 0.1);
    border-left: 4px solid #00d4ff;
    padding: 15px 20px;
    border-radius: 0 10px 10px 0;
    margin-bottom: 20px;
}

.challenge-title {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 5px;
}

.challenge-desc {
    color: #8b949e;
    font-size: 14px;
}

/* Code Editor */
.code-editor {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.editor-header {
    background: #161b22;
    padding: 10px 15px;
    border-bottom: 1px solid #30363d;
}

.file-tab {
    background: #0d1117;
    padding: 5px 15px;
    border-radius: 5px 5px 0 0;
    font-size: 12px;
    color: #8b949e;
}

.file-tab.active {
    color: #fff;
    border-bottom: 2px solid #00d4ff;
}

#code-input {
    width: 100%;
    min-height: 120px;
    background: #0d1117;
    border: none;
    color: #00ff88;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 16px;
    padding: 15px;
    resize: vertical;
    outline: none;
}

#code-input::placeholder {
    color: #484f58;
}

.puzzle-hint {
    background: rgba(255, 215, 0, 0.1);
    border-left: 3px solid #ffd700;
    padding: 10px 15px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 15px;
    font-size: 14px;
    color: #ffd700;
}

.puzzle-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.btn-run,
.btn-submit {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-run {
    background: #238636;
    color: #fff;
}

.btn-run:hover {
    background: #2ea043;
    box-shadow: 0 5px 20px rgba(35, 134, 54, 0.4);
}

.btn-submit {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #fff;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #00ff88, #00cc66);
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.4);
}

#code-output {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 15px;
    font-family: monospace;
    font-size: 14px;
    min-height: 60px;
}

.output-label {
    color: #8b949e;
    font-size: 12px;
}

#output-text {
    color: #00ff88;
    margin-top: 5px;
    white-space: pre-wrap;
}

#puzzle-feedback {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    min-height: 24px;
    margin-bottom: 10px;
}

#puzzle-feedback.success {
    color: #00ff88;
}

#puzzle-feedback.error {
    color: #ff4444;
    animation: shake 0.5s ease;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-10px);
    }

    75% {
        transform: translateX(10px);
    }
}

.btn-close {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 1px solid #30363d;
    color: #8b949e;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Rajdhani', sans-serif;
    transition: all 0.2s;
}

.btn-close:hover {
    border-color: #ff4444;
    color: #ff4444;
}

/* =============================================
   ACHIEVEMENT POPUP
   ============================================= */
#achievement-popup {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    padding: 15px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.5);
    transition: top 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

#achievement-popup.show {
    top: 80px;
}

.achievement-icon {
    font-size: 32px;
}

.achievement-text h4 {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.6);
    letter-spacing: 2px;
}

.achievement-text p {
    font-size: 18px;
    color: #000;
    font-weight: bold;
}

/* =============================================
   NOTIFICATION
   ============================================= */
#notification {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: bold;
    transition: bottom 0.4s ease;
    white-space: nowrap;
}

#notification.show {
    bottom: 30px;
}

#notification.success {
    background: linear-gradient(135deg, #00cc66, #00ff88);
    color: #000;
}

#notification.info {
    background: linear-gradient(135deg, #0099cc, #00d4ff);
    color: #fff;
}

#notification.warning {
    background: linear-gradient(135deg, #ff8c00, #ffd700);
    color: #000;
}

/* =============================================
   FULL MAP OVERLAY
   ============================================= */
#full-map-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 800;
    backdrop-filter: blur(10px);
}

.map-container {
    text-align: center;
}

.map-container h2 {
    font-family: 'Orbitron', sans-serif;
    color: #00d4ff;
    margin-bottom: 20px;
    font-size: 28px;
}

#full-map-canvas {
    border: 3px solid #00d4ff;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.3);
}

.map-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.legend-zone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.zone-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.zone-color.tutorial {
    background: #4CAF50;
}

.zone-color.logic {
    background: #2196F3;
}

.zone-color.loop {
    background: #FF9800;
}

.zone-color.function {
    background: #9C27B0;
}

.zone-color.array {
    background: #E91E63;
}

.zone-color.object {
    background: #00BCD4;
}

#close-map {
    margin-top: 25px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

#close-map:hover {
    background: linear-gradient(135deg, #00ff88, #00cc66);
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.4);
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */
@media (max-width: 768px) {
    #loading h1 {
        font-size: 32px;
    }

    #hud {
        top: 10px;
        left: 10px;
        padding: 15px;
        min-width: auto;
    }

    .hud-header h2 {
        font-size: 14px;
    }

    .stat-value {
        font-size: 18px;
    }

    #minimap {
        width: 100px;
        height: 100px;
        top: 10px;
        right: 10px;
        padding: 5px;
    }

    #minimap-canvas {
        width: 90px !important;
        height: 90px !important;
    }

    .minimap-legend {
        display: none;
    }

    #controls-info {
        display: none;
    }

    #mission-panel {
        font-size: 12px;
        padding: 10px 20px;
    }

    #puzzle-box {
        padding: 20px;
        margin: 10px;
    }

    .puzzle-header h2 {
        font-size: 18px;
    }

    #code-input {
        font-size: 14px;
    }
}

/* =============================================
   SCROLLBAR STYLING
   ============================================= */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0d1117;
}

::-webkit-scrollbar-thumb {
    background: #30363d;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #484f58;
}

/* =============================================
   SLMT BRANDING - LOADING SCREEN
   ============================================= */
.slmt-header {
    margin-bottom: 20px;
}

.presents {
    font-size: 14px;
    color: #ffd700;
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

.subtagline {
    font-size: 16px;
    color: #aaa;
    margin-bottom: 20px;
}

.free-session-badge {
    background: linear-gradient(135deg, #ff4444, #ff8800);
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: bold;
    margin: 20px auto;
    display: inline-block;
    animation: pulse-badge 1.5s ease-in-out infinite;
}

.free-session-badge span {
    display: block;
    font-size: 12px;
    font-weight: normal;
    margin-top: 5px;
}

@keyframes pulse-badge {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 68, 68, 0.5);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(255, 136, 0, 0.8);
    }
}

/* =============================================
   SLMT PROMOTIONAL BANNER
   ============================================= */
#slmt-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    background: linear-gradient(135deg, #1a1a3e, #2a2a5e);
    border: 2px solid #ffd700;
    border-radius: 15px;
    padding: 15px 20px;
    box-shadow: 0 5px 30px rgba(255, 215, 0, 0.3);
    animation: slide-in-banner 1s ease 3s both;
}

@keyframes slide-in-banner {
    from {
        transform: translateX(200%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.banner-logo {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #000;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 8px;
}

.banner-text {
    display: flex;
    flex-direction: column;
}

.banner-title {
    color: #ffd700;
    font-weight: bold;
    font-size: 14px;
}

.banner-sub {
    color: #aaa;
    font-size: 11px;
}

#banner-cta {
    background: linear-gradient(135deg, #00d4ff, #00ff88);
    border: none;
    color: #000;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
}

#banner-cta:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.5);
}

/* =============================================
   SLMT INTERNSHIP POPUP
   ============================================= */
#internship-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    backdrop-filter: blur(10px);
    overflow-y: auto;
    padding: 20px;
}

.internship-content {
    background: linear-gradient(145deg, #0a0a2a, #1a1a4a);
    border: 3px solid #ffd700;
    border-radius: 25px;
    padding: 40px;
    max-width: 700px;
    width: 100%;
    position: relative;
    animation: popup-scale 0.4s ease;
}

@keyframes popup-scale {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-internship {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: #888;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s;
}

.close-internship:hover {
    color: #ff4444;
}

.internship-header {
    text-align: center;
    margin-bottom: 30px;
}

.presents-small {
    color: #ffd700;
    font-size: 12px;
    letter-spacing: 3px;
}

.internship-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    color: #fff;
    margin: 10px 0;
    background: linear-gradient(135deg, #00d4ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subhead {
    color: #aaa;
    font-size: 16px;
}

.special-offer {
    background: linear-gradient(135deg, #ff4444, #ff8800);
    color: #fff;
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    animation: pulse-badge 2s ease-in-out infinite;
}

.special-offer p {
    font-size: 14px;
    font-weight: normal;
    margin-top: 8px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 12px;
    border-left: 3px solid #00d4ff;
}

.benefit-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.benefit-item strong {
    color: #fff;
    display: block;
    margin-bottom: 5px;
}

.benefit-item p {
    color: #888;
    font-size: 13px;
    margin: 0;
}

.target-audience {
    text-align: center;
    padding: 15px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 25px;
}

.target-audience p {
    margin: 0;
    color: #fff;
}

.company-logos {
    text-align: center;
    margin-bottom: 25px;
}

.company-logos>p {
    color: #888;
    font-size: 14px;
    margin-bottom: 15px;
}

.logos {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.logo-box {
    background: linear-gradient(145deg, #2a2a5a, #3a3a7a);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
}

.game-reward {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 255, 136, 0.2));
    border: 2px solid #00ff88;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    margin-bottom: 25px;
}

.game-reward h3 {
    color: #00ff88;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 10px;
}

.game-reward>p {
    color: #aaa;
    margin-bottom: 15px;
}

.progress-reward {
    height: 20px;
    background: #1a1a3a;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff, #00ff88);
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 10px;
}

.progress-text {
    color: #00d4ff;
    font-size: 14px;
}

.cta-section {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
}

.cta-btn {
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-btn.call {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #fff;
}

.cta-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.enroll-footer {
    text-align: center;
}

.limited {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #000;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    display: inline-block;
    animation: pulse-badge 1.5s ease-in-out infinite;
}

/* =============================================
   RESPONSIVE - SLMT ELEMENTS
   ============================================= */
@media (max-width: 768px) {
    #slmt-banner {
        bottom: 10px;
        right: 10px;
        left: 10px;
        padding: 10px 15px;
    }

    .banner-content {
        gap: 10px;
    }

    .banner-logo {
        font-size: 12px;
        padding: 5px 8px;
    }

    .banner-title {
        font-size: 12px;
    }

    .internship-content {
        padding: 25px;
    }

    .internship-header h2 {
        font-size: 22px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .special-offer {
        font-size: 18px;
        padding: 15px;
    }

    .cta-section {
        flex-direction: column;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }

    .free-session-badge {
        font-size: 16px;
        padding: 12px 20px;
    }
}

/* =============================================
   MOBILE TOUCH CONTROLS
   ============================================= */
#mobile-controls {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    padding: 20px;
    pointer-events: none;
}

#joystick-container {
    position: absolute;
    bottom: 30px;
    left: 30px;
    pointer-events: auto;
}

#joystick {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid rgba(0, 212, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#joystick-handle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00d4ff, #00ff88);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    transition: transform 0.1s;
}

#action-buttons {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 15px;
    pointer-events: auto;
}

.action-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid rgba(0, 212, 255, 0.5);
    background: rgba(0, 212, 255, 0.2);
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.action-btn:active {
    background: rgba(0, 255, 136, 0.4);
    transform: scale(0.9);
}

.action-btn.sprint {
    background: rgba(255, 170, 0, 0.2);
    border-color: rgba(255, 170, 0, 0.5);
}

.action-btn.sprint.active {
    background: rgba(255, 170, 0, 0.5);
}

/* SLMT Mobile CTA */
#slmt-mobile-cta {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 150;
    background: linear-gradient(90deg, #ff4444, #ff8800);
    padding: 10px 15px;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

#slmt-mobile-cta span {
    color: #fff;
    font-weight: bold;
    font-size: 12px;
}

#slmt-mobile-cta button {
    background: #fff;
    color: #ff4444;
    border: none;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 12px;
}

/* Show mobile controls on touch devices */
@media (max-width: 1024px) and (pointer: coarse) {
    #mobile-controls {
        display: block;
    }

    #slmt-mobile-cta {
        display: flex;
    }

    #controls-info {
        display: none;
    }

    #slmt-banner {
        display: none;
    }

    #hud {
        top: 50px;
        left: 10px;
        padding: 10px;
        font-size: 12px;
    }

    .hud-header h2 {
        font-size: 12px;
    }

    .stat-value {
        font-size: 16px;
    }

    #minimap {
        top: 50px;
        right: 10px;
        width: 80px;
        height: 80px;
        padding: 5px;
    }

    #mission-panel {
        top: auto;
        bottom: 160px;
        left: 50%;
        transform: translateX(-50%);
        padding: 8px 15px;
        max-width: 90%;
    }
}

/* Landscape mobile */
@media (max-height: 500px) and (pointer: coarse) {
    #joystick {
        width: 80px;
        height: 80px;
    }

    #joystick-handle {
        width: 35px;
        height: 35px;
    }

    .action-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }

    #mission-panel {
        display: none;
    }
}

/* =============================================
   PLAYER REGISTRATION POPUP
   ============================================= */
#register-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 5000;
    backdrop-filter: blur(10px);
    padding: 20px;
}

.register-content {
    background: linear-gradient(145deg, #0a0a2a, #1a1a4a);
    border: 3px solid #00d4ff;
    border-radius: 20px;
    padding: 30px;
    max-width: 450px;
    width: 100%;
    position: relative;
    animation: popup-scale 0.4s ease;
}

.close-register {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    color: #666;
    font-size: 20px;
    cursor: pointer;
}

.register-header {
    text-align: center;
    margin-bottom: 25px;
}

.register-header h2 {
    font-family: 'Orbitron', sans-serif;
    color: #00d4ff;
    font-size: 22px;
    margin-bottom: 8px;
}

.register-header p {
    color: #ffd700;
    font-size: 14px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    color: #aaa;
    font-size: 13px;
    margin-bottom: 5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-family: 'Rajdhani', sans-serif;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
}

.form-group input::placeholder {
    color: #666;
}

.register-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #00d4ff, #00ff88);
    border: none;
    border-radius: 12px;
    color: #000;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.4);
}

.register-note {
    text-align: center;
    color: #888;
    font-size: 12px;
    margin-top: 15px;
}