.escort-agencies-wrapper {
    width: 100%;
    padding: 40px 20px;
    background: linear-gradient(135deg, #ffe5ec 0%, #ffd6e0 25%, #ffe9f0 50%, #fff5f7 75%, #ffffff 100%);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    min-height: 100vh;
}

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

.escort-agencies-container {
    max-width: 1200px;
    margin: 0 auto;
}

.agencies-title {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 50px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.agencies-table {
    display: grid;
    gap: 20px;
}

.agency-card {
    background: linear-gradient(135deg, rgba(255, 230, 240, 0.6) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 245, 250, 0.6) 100%);
    border-radius: 30px 10px 30px 10px;
    padding: 30px;
    display: flex;
    gap: 25px;
    box-shadow: 0 10px 40px rgba(255, 182, 193, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 192, 203, 0.4);
}

.agency-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(255, 182, 193, 0.35);
}

.agency-card[data-position="1"],
.agency-card[data-position="2"],
.agency-card[data-position="19"] {
    background: linear-gradient(135deg, rgba(255, 230, 200, 0.7) 0%, rgba(255, 240, 245, 0.9) 50%, rgba(255, 255, 255, 0.9) 100%);
    border: 2px solid rgba(255, 192, 203, 0.6);
}

.agency-card[data-position="1"] {
    background: linear-gradient(135deg, rgba(255, 215, 180, 0.8) 0%, rgba(255, 230, 240, 0.9) 50%, rgba(255, 255, 255, 0.95) 100%);
    border: 2px solid rgba(251, 191, 36, 0.7);
    box-shadow: 0 10px 40px rgba(255, 192, 203, 0.3), 0 0 30px rgba(251, 191, 36, 0.2);
}

.agency-rank {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}

.rank-number {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.agency-card[data-position="1"] .rank-number {
    background: linear-gradient(135deg, #fbbf24 0%, #ff6b9d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.agency-card[data-position="2"] .rank-number {
    background: linear-gradient(135deg, #94a3b8 0%, #ff6b9d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.agency-card[data-position="3"] .rank-number {
    background: linear-gradient(135deg, #d97706 0%, #ff6b9d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.medal-icon {
    font-size: 32px;
    margin-top: 5px;
}

.agency-content {
    flex: 1;
}

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

.agency-name {
    font-size: 28px;
    font-weight: 700;
    color: #3d4f5d;
    margin: 0;
    line-height: 1.2;
}

.agency-card[data-position="1"] .agency-name,
.agency-card[data-position="2"] .agency-name {
    background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.agency-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.rating-number {
    font-size: 24px;
    font-weight: 700;
    color: #ff6b9d;
    background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rating-stars {
    display: flex;
    gap: 2px;
    font-size: 14px;
}

.star {
    color: #FFD700;
}

.star.empty {
    color: #CBD5E0;
}

.agency-description {
    font-size: 16px;
    line-height: 1.6;
    color: #5a6c7d;
    margin: 0 0 20px 0;
}

.agency-footer {
    display: flex;
    justify-content: flex-end;
}

.agency-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c084fc 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 20px 8px 20px 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.agency-link:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 25px rgba(255, 107, 157, 0.5);
    color: #ffffff;
    text-decoration: none;
}

.agency-card[data-position="1"] .agency-link,
.agency-card[data-position="2"] .agency-link {
    background: linear-gradient(135deg, #fbbf24 0%, #ff6b9d 100%);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.agency-card[data-position="1"] .agency-link:hover,
.agency-card[data-position="2"] .agency-link:hover {
    box-shadow: 0 6px 25px rgba(255, 107, 157, 0.5);
}

.agencies-footer {
    margin-top: 40px;
    text-align: center;
}

.disclaimer {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-style: italic;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .escort-agencies-wrapper {
        padding: 30px 15px;
    }
    
    .agencies-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .agency-card {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .agency-rank {
        flex-direction: row;
        justify-content: center;
        min-width: auto;
        gap: 15px;
    }
    
    .agency-name {
        font-size: 22px;
    }
    
    .rating-number {
        font-size: 20px;
    }
    
    .agency-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .agency-rating {
        align-items: flex-start;
    }
    
    .agency-footer {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .agencies-title {
        font-size: 22px;
    }
    
    .agency-name {
        font-size: 18px;
    }
    
    .rank-number {
        font-size: 24px;
    }
    
    .medal-icon {
        font-size: 24px;
    }
}
