/* style.css - DreamVora Enhanced */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background: #f0f4f8;
    min-height: 100vh;
    color: #1a1a2e;
    margin: 0;
    width: 100%;
    overflow-x: hidden;
}

/* ===== HEADER - White/Blue Gradient ===== */
.app-header {
    background: linear-gradient(135deg, #ffffff 0%, #e8edf5 30%, #d0dce8 60%, #d0dbf7 100%);
    height: 76px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #f5a623;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-image {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    color: #1a1a3e;
    font-weight: 900;
    font-size: 22px;
    letter-spacing: -0.5px;
}

.logo-text span {
    color: #f5a623;
}

.logo-sub {
    font-size: 9px;
    color: #21334b;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-top: -2px;
}

.online-badge {
    background: #ecfdf5;
    color: #16a34a;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #bbf7d0;
}

.online-dot {
    width: 10px;
    height: 10px;
    background-color: #2ecc71;
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
    box-shadow: 0 0 12px rgba(46, 204, 113, 0.5);
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

.header-right {
    display: flex;
    align-items: center;
}

.wallet-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: white;
    padding: 8px 18px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.25);
    min-width: 140px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wallet-title {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.7;
    display: block;
    text-transform: uppercase;
}

.wallet-amount {
    font-size: 16px;
    font-weight: 800;
    display: block;
}

/* ===== SLOGAN - Gradient Background ===== */
.slogan-section {
    background: linear-gradient(135deg, #0d1b3e 0%, #1a1a3e 50%, #21334b 100%);
    padding: 16px 20px;
    text-align: center;
    
    position: relative;
    overflow: hidden;
}

.slogan-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(245, 166, 35, 0.08) 0%, transparent 60%);
    animation: rotate-glow 25s linear infinite;
}

@keyframes rotate-glow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.slogan-text {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.slogan-text .highlight {
    color: #f5a623;
}

/* ===== MAIN CONTENT ===== */
#main-page {
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #21334b;
}

.content-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.content-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 20px;
    width: 100%;
}

/* ===== USER CARDS ===== */
.user-card {
    background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 40%, #eef2f7 100%);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(33, 51, 75, 0.1);
    position: relative;
    color: #1a1a2e;
}

.user-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #f5a623;
}

/* ===== BADGE - Top Right ===== */
.user-card .badge-top-right {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #f5a623, #e67e22);
    color: rgb(36, 26, 26);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(245, 166, 35, 0.3);
    z-index: 2;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.user-card .badge-top-right.green {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 2px 8px rgba(0, 61, 41, 0.3);
}

.card-top {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
    align-items: flex-start;
}

.profile-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f5a623;
    background: #e8edf5;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-weight: 700;
    font-size: 16px;
    color: #1a1a2e;
}

.country-tag {
    font-size: 11px;
    color: #21334b;
    background: #e8edf5;
    padding: 2px 10px;
    border-radius: 12px;
    display: inline-block;
    margin-top: 2px;
    font-weight: 600;
}

.status-text {
    font-size: 12px;
    color: #2ecc71;
    margin-top: 3px;
    font-weight: 600;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 3px;
    font-size: 13px;
    color: #21334b;
}

.star {
    color: #f5a623;
}

.favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #001d3a;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #bdc3c7;
    font-weight: bold;
    font-size: 12px;
    transition: all 0.3s;
}

.user-card:hover .favorite-btn {
    background: #e8f8f5;
    color: #2ecc71;
}
.detail-line {
    font-size: 13px;
    margin-bottom: 4px;
    color: #21334b;
}

.detail-line strong {
    color: #6b7a8f;
    font-weight: 500;
}

.action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e8edf5;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-chat {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-chat:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.price-container {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.price-tag {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 6px 14px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.usd-equivalent {
    font-size: 10px;
    color: #6b7a8f;
    margin-top: 3px;
    font-weight: 500;
}

/* ===== FOOTER - Smaller ===== */
.site-footer {
    width: 100%;
    margin-top: 30px;
    background: linear-gradient(135deg, #0a0a1a 0%, #0d1b3e 50%, #1a1a3e 100%);
    color: #ffffff;
    padding: 25px 24px 15px;
    border-top: 3px solid #f5a623;
}

.footer-logo {
    height: 30px;
    width: auto;
    margin-bottom: 6px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-section h4 {
    color: #f5a623;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 700;
}

.footer-section p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 4px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #f5a623;
}

.footer-bottom {
    max-width: 1200px;
    margin: 12px auto 0;
    text-align: center;
    padding-top: 10px;
}

.footer-bottom p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.5px;
}

/* ===== CHAT DETAILS - Gradient Background ===== */
#chat-details-container {
    flex: 1;
    background: linear-gradient(135deg, #eef2f7 0%, #dce4ed 50%, #c8d4e0 100%);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.chat-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid rgba(245, 166, 35, 0.3);
    gap: 12px;
    flex-shrink: 0;
}

.back-btn {
    font-size: 22px;
    cursor: pointer;
    color: #1a1a2e;
    padding-right: 5px;
    background: none;
    border: none;
    transition: color 0.3s;
}

.back-btn:hover {
    color: #f5a623;
}

.chat-profile-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f5a623;
    background: #e8edf5;
}

.chat-user-details {
    flex: 1;
}

.chat-user-name {
    font-weight: 700;
    font-size: 15px;
    color: #1a1a2e;
}

.chat-status {
    font-size: 12px;
    color: #2ecc71;
    font-weight: 500;
}

.details-content {
    flex: 1;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.details-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    padding: 35px 30px;
    border-radius: 20px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
}

.details-card .profile-img-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    border: 3px solid #f5a623;
    background: #e8edf5;
}

.details-card h2 {
    color: #1a1a2e;
    font-size: 20px;
    margin-bottom: 4px;
}

.country-badge {
    font-size: 13px;
    color: #21334b;
    background: #e8edf5;
    padding: 4px 14px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
    font-weight: 500;
}

.payment-info {
    background: rgba(236, 253, 245, 0.8);
    padding: 16px;
    border-radius: 12px;
    margin: 12px 0;
    border: 1px solid rgba(187, 247, 208, 0.5);
}

.payment-info .amount {
    font-size: 30px;
    font-weight: 800;
    color: #ef4444;
}

.payment-info .duration {
    font-size: 13px;
    color: #6b7a8f;
}

.details-card .description {
    font-size: 14px;
    color: #21334b;
    margin: 12px 0;
    line-height: 1.7;
}

.btn-register {
    background: linear-gradient(135deg, #f5a623, #e67e22);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    margin-bottom: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(245, 166, 35, 0.4);
}

.btn-back {
    background: rgba(240, 244, 248, 0.8);
    color: #1a1a2e;
    border: 1px solid rgba(232, 237, 245, 0.5);
    padding: 14px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
}

.btn-back:hover {
    background: #e8edf5;
}

/* ===== WHATSAPP POPUP ===== */
#whatsapp-popup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99999;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    animation: bounce 2s infinite;
}

.whatsapp-label {
    background: #25D366;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

#whatsapp-popup img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s;
}

#whatsapp-popup:hover img {
    transform: scale(1.1);
}

.notification-badge {
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    margin-top: -8px;
    margin-left: 38px;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 768px) {
    .app-header {
        padding: 0 16px;
        height: 64px;
    }
    
    .logo-image {
        height: 34px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .online-badge {
        font-size: 12px;
        padding: 5px 14px;
    }
    
    .online-dot {
        width: 8px;
        height: 8px;
    }
    
    .wallet-box {
        padding: 5px 12px;
        min-width: 110px;
    }
    
    .wallet-amount {
        font-size: 14px;
    }
    
    .slogan-text {
        font-size: 15px;
    }
    
    .content-list {
        grid-template-columns: 1fr 1fr;
    }
    
    .content-wrapper {
        padding: 12px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media screen and (max-width: 600px) {
    .content-list {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .app-header {
        padding: 0 12px;
        height: 56px;
    }
    
    .logo-image {
        height: 28px;
    }
    
    .logo-text {
        font-size: 15px;
    }
    
    .logo-sub {
        font-size: 7px;
    }
    
    .online-badge {
        font-size: 10px;
        padding: 3px 10px;
        gap: 4px;
    }
    
    .online-dot {
        width: 6px;
        height: 6px;
    }
    
    .wallet-box {
        padding: 4px 10px;
        min-width: 80px;
    }
    
    .wallet-title {
        font-size: 7px;
    }
    
    .wallet-amount {
        font-size: 11px;
    }
    
    .slogan-text {
        font-size: 13px;
    }
    
    .user-card {
        padding: 16px;
    }
    
    .profile-img {
        width: 44px;
        height: 44px;
    }
    
    .user-name {
        font-size: 14px;
    }
    
    .btn-chat {
        font-size: 12px;
        padding: 8px 16px;
    }
    
    .price-tag {
        font-size: 12px;
        padding: 4px 10px;
    }
    
    .user-card .badge-top-right {
        font-size: 8px;
        padding: 3px 10px;
    }
    
    .details-card {
        padding: 20px 15px;
    }
    
    .payment-info .amount {
        font-size: 22px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    #whatsapp-popup {
        bottom: 15px;
        right: 15px;
    }
    
    #whatsapp-popup img {
        width: 48px;
        height: 48px;
    }
    
    .whatsapp-label {
        font-size: 10px;
        padding: 4px 10px;
    }
    
    .notification-badge {
        width: 18px;
        height: 18px;
        font-size: 9px;
        margin-left: 32px;
    }
}

@media screen and (max-width: 360px) {
    .logo-image {
        height: 24px;
    }
    
    .logo-text {
        font-size: 13px;
    }
    
    .online-badge {
        font-size: 8px;
        padding: 2px 8px;
    }
    
    .wallet-box {
        min-width: 65px;
        padding: 3px 8px;
    }
    
    .wallet-amount {
        font-size: 10px;
    }
    
    .slogan-text {
        font-size: 11px;
    }
}