/* Global Presence "Perfect Look" Styles */

.locations-section-perfect {
    background: #0f172a;
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    z-index: 1;
}

/* Background Animation: Rotating Earth Grid */
.locations-section-perfect::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1400px;
    height: 1400px;
    background-image: 
        radial-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px),
        radial-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
    opacity: 0.3;
    animation: rotate-grid 120s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes rotate-grid {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Location Card "Perfect" */
.location-card-perfect {
    background: rgba(30, 41, 59, 0.4); /* Slate 800 with opacity */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 35px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.location-card-perfect:hover {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Active Status Dot */
.location-status-dot {
    position: absolute;
    top: 25px;
    right: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #10b981; /* Emerald 500 */
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 10px;
    border-radius: 50px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.location-status-dot::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Header Area */
.location-header-perfect {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.flag-wrapper-perfect {
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 2px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
}

.flag-wrapper-perfect img {
    width: 32px;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.location-title-group h4 {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 4px 0;
}

.location-badge {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 2px 0;
    display: inline-block;
}

/* Info Details */
.location-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item-perfect {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8; /* Slate 400 */
    font-size: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.location-card-perfect:hover .info-icon {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.info-content p {
    color: #cbd5e1; /* Slate 300 */
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.info-content strong {
    color: #ffffff;
    font-weight: 600;
}

/* Action Button */
.location-btn-perfect {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    gap: 10px;
}

.location-btn-perfect:hover {
    background: #ffffff;
    color: #0f172a;
    border-color: #ffffff;
}

.location-btn-perfect i {
    font-size: 0.9rem;
}
