/* Loading Animation Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0); /* Solid black background */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Phone Icon */
.phone-icon {
    width: 60px;
    height: 100px;
    border: 3px solid #4cc9f0;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.phone-screen {
    position: absolute;
    top: 8px;
    left: 5px;
    right: 5px;
    bottom: 25px;
    background-color: rgba(76, 201, 240, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.scan-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #4cc9f0;
    box-shadow: 0 0 10px rgba(76, 201, 240, 0.8);
    animation: scanMove 2s ease-in-out infinite;
}

.signal-bar {
    position: absolute;
    height: 4px;
    background-color: #4cc9f0;
    bottom: 5px;
    left: 10%;
    width: 80%;
    border-radius: 2px;
}

/* Text Content */
.loading-title {
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.loading-subtitle {
    color: #ccc;
    font-size: 16px;
    margin-bottom: 30px;
    text-align: center;
}

.status-text {
    color: white;
    font-size: 14px;
    margin-bottom: 30px;
    text-align: center;
}

/* Processing Dots */
.dots-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: white;
    animation: pulseDot 1.5s ease-in-out infinite;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

/* SATELLITE ANIMATION STYLES */

/* Satellite Animation */
.satellite-container {
    position: relative;
    width: 230px;
    height: 230px;
    margin-bottom: 20px;
}

/* Earth */
.earth {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, 
        #4cc9f0 0%, 
        #3498db 30%, 
        #2980b9 60%, 
        #1e3a8a 100%);
    box-shadow: 0 0 30px rgba(76, 201, 240, 0.3);
    overflow: hidden;
}

.earth::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 50% 80%, rgba(255,255,255,0.1) 5%, transparent 8%),
        radial-gradient(circle at 80% 60%, rgba(255,255,255,0.1) 5%, transparent 8%),
        radial-gradient(circle at 70% 20%, rgba(255,255,255,0.1) 5%, transparent 8%),
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1) 5%, transparent 8%),
        radial-gradient(circle at 20% 60%, rgba(255,255,255,0.1) 5%, transparent 8%);
}

/* Orbits */
.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px dashed rgba(76, 201, 240, 0.3);
}

.orbit:nth-child(1) {
    width: 160px;
    height: 160px;
}

.orbit:nth-child(2) {
    width: 200px;
    height: 200px;
}

.orbit:nth-child(3) {
    width: 180px;
    height: 180px;
}

/* Satellites */
.satellite {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #7209b7;
    box-shadow: 0 0 10px #7209b7;
}

.satellite-1 {
    top: 50%;
    left: 50%;
    margin-top: -90px;
    margin-left: -6px;
    animation: orbit1 8s linear infinite;
}

.satellite-2 {
    top: 50%;
    left: 50%;
    margin-top: -6px;
    margin-left: -100px;
    animation: orbit2 12s linear infinite;
}

.satellite-3 {
    top: 50%;
    left: 50%;
    margin-top: 80px;
    margin-left: -6px;
    animation: orbit3 10s linear infinite;
}

.satellite::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 4px;
    background-color: #7209b7;
    border-radius: 2px;
}

.satellite::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    width: 18px;
    height: 4px;
    background-color: #7209b7;
    border-radius: 2px;
}

/* Signal Animations */
.signal-wave {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #4cc9f0;
    opacity: 0;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}

.target-location {
    position: absolute;
    top: 62%;
    left: 42%;
    width: 0;
    height: 0;
}

/*
.target-dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: #7209b7;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}
*/

/* Coordinates Terminal */
.coordinates-terminal {
    width: 230px;
    background-color: rgba(0, 0, 0, 0.6);
    border: 1px solid #4cc9f0;
    border-radius: 5px;
    padding: 10px;
    font-family: monospace;
    color: white;
    font-size: 12px;
    margin-bottom: 25px;
}

.terminal-header {
    color: #4cc9f0;
    border-bottom: 1px solid rgba(76, 201, 240, 0.3);
    padding-bottom: 6px;
    margin-bottom: 8px;
    font-size: 14px;
}

.terminal-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.terminal-label {
    color: rgba(255, 255, 255, 0.7);
}

.terminal-value {
    color: #4cc9f0;
}

.blink {
    animation: blink 1s infinite;
}

/* Status Bar */
.status-container {
    width: 230px;
    background-color: rgba(0, 0, 0, 0.6);
    border: 1px solid #4cc9f0;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 25px;
}

/* Animations */
@keyframes scanMove {
    0%, 100% {
        top: 5%;
        opacity: 0;
    }
    10%, 90% {
        opacity: 1;
    }
    50% {
        top: 90%;
    }
}

@keyframes pulseDot {
    0%, 100% {
        opacity: 0.4;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes orbit1 {
    0% {
        transform: rotate(0deg) translateX(80px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(80px) rotate(-360deg);
    }
}

@keyframes orbit2 {
    0% {
        transform: rotate(0deg) translateX(100px) rotate(0deg);
    }
    100% {
        transform: rotate(-360deg) translateX(100px) rotate(360deg);
    }
}

@keyframes orbit3 {
    0% {
        transform: rotate(90deg) translateX(90px) rotate(-90deg);
    }
    100% {
        transform: rotate(450deg) translateX(90px) rotate(-450deg);
    }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}


/* Terminal Animation Styles */
.terminal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    padding: 15px;
    box-sizing: border-box;
    overflow-y: auto;
}

.terminal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Terminal Container Styles */
.terminal-container {
    width: 90%;
    max-width: 450px;
    height: 300px;
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
    position: relative;
}

.terminal-header {
    background-color: #303030;
    height: 28px;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.terminal-buttons {
    display: flex;
    align-items: center;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.close-btn {
    background-color: #ff5f56;
}

.minimize-btn {
    background-color: #ffbd2e;
}

.maximize-btn {
    background-color: #27c93f;
}

.terminal-title {
    color: #d8d8d8;
    font-size: 12px;
    margin-left: 10px;
    opacity: 0.7;
}

.terminal-content {
    padding: 15px;
    height: calc(100% - 28px);
    overflow: auto;
    font-family: monospace;
    color: #d8d8d8;
    font-size: 13px;
    line-height: 1.5;
}

/* Terminal Text Styles */
.prompt {
    color: #87d441;
}

.command {
    color: white;
}

.response {
    color: #d8d8d8;
    margin-bottom: 10px;
}

.highlight {
    color: #4cc9f0;
    font-weight: bold;
}

.error {
    color: #ff5f56;
}

.success {
    color: #27c93f;
}

.warning {
    color: #ffbd2e;
}

/* Coordinate Animation Components */
.coordinates-section {
    background-color: #252525;
    padding: 10px;
    border-radius: 4px;
    margin: 15px 0;
    border-left: 3px solid #4cc9f0;
}

.coordinates-header {
    color: #4cc9f0;
    margin-bottom: 8px;
    font-weight: bold;
}

.coordinate-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.coordinate-label {
    color: #87d441;
}

.coordinate-value {
    color: white;
}

/* Progress Bar Animation for Terminal */
.progress-container {
    width: 100%;
    height: 6px;
    background-color: #303030;
    border-radius: 3px;
    overflow: hidden;
    margin: 15px 0;
}

.progress-bar {
    height: 100%;
    width: 0;
    background-color: #4cc9f0;
    border-radius: 3px;
    animation: loadProgress 30s ease-in-out forwards;
}

@keyframes loadProgress {
    0% { width: 0%; }
    5% { width: 3%; }
    10% { width: 7%; }
    15% { width: 12%; }
    20% { width: 15%; }
    25% { width: 18%; }
    30% { width: 22%; }
    35% { width: 27%; }
    40% { width: 32%; }
    45% { width: 38%; }
    50% { width: 45%; }
    55% { width: 52%; }
    60% { width: 58%; }
    65% { width: 65%; }
    70% { width: 72%; }
    75% { width: 78%; }
    80% { width: 85%; }
    85% { width: 90%; }
    90% { width: 95%; }
    95% { width: 98%; }
    100% { width: 100%; }
}

/* Blinking Cursor Animation */
.cursor {
    display: inline-block;
    width: 8px;
    height: 15px;
    background-color: white;
    margin-left: 2px;
    animation: blink 1s infinite;
    vertical-align: middle;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .terminal-container {
        height: 280px;
    }
    .terminal-header {
        height: 24px;
    }
    
    .terminal-button {
        width: 10px;
        height: 10px;
        margin-right: 6px;
    }
    
    .terminal-title {
        font-size: 10px;
    }
    
    .coordinate-row {
        font-size: 11px;
    }
}

@media (max-width: 320px) {
    .terminal-container {
        height: 240px;
    }
    
    .terminal-content {
        font-size: 10px;
        padding: 8px;
    }
    
    .coordinate-row {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 8px;
    }
    
    .coordinate-value {
        margin-left: 15px;
    }
}terminal-content {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .terminal-container {
        height: 260px;
    }
    
    .terminal-content {
        font-size: 11px;
        padding: 10px;
    }
    
    .