/* ================================
   5. CARDS & HOTEL DISPLAYS
   ================================ */

/* Destinations Grid */
.destinations-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.destinations-row {
    display: grid;
    gap: 20px;
}

.destinations-row.first {
    grid-template-columns: 1fr 1fr;
}

.destinations-row.second {
    grid-template-columns: 1fr 1fr 1fr;
}

.destination-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.destination-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.destination-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.destination-card:hover .destination-image {
    transform: scale(1.05);
}

.destination-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 100%);
    display: flex;
    align-items: flex-start;
    padding: 25px;
}

.destination-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.destination-name {
    color: white;
    font-size: 20px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Flags */
.flag {
    width: 28px;
    height: 20px;
    border-radius: 3px;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.flag.benin {
    background: linear-gradient(to right, #009639 66.66%, #fcd116 33.33%, #ce1126 33.33%);
}

.flag.benin3 {
    background: linear-gradient(to bottom, #009639 33.33%, #fcd116 33.33%, #ce1126 66.66%);
    position: relative;
}

.flag.france {
    background: linear-gradient(to right, #0055a4 33.33%, #ffffff 33.33%, #ffffff 66.66%, #ef4135 66.66%);
}

.flag.togo {
    background: repeating-linear-gradient(0deg, #006a4e 0, #006a4e 20%, #ffce00 20%, #ffce00 40%);
    position: relative;
}

.flag.togo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 60%;
    background: #d21034;
}

.flag.togo::after {
    content: '★';
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
}

.flag.uae {
    background: linear-gradient(to bottom, #009639 33.33%, #ffc402ff 33.33%, #b12b0aff 66.66%);
    position: relative;
}

.flag.uae::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 25%;
    height: 100%;
    background: #ce1126;
}

/* Stars Rating */
.stars {
    position: relative;
    display: inline-block;
    font-size: 20px;
    letter-spacing: 5px;
}

.stars::before {
    content: "★★★★★";
    color: #333;
    opacity: 0.5;
}

.stars::after {
    position: absolute;
    left: 0;
    top: 0;
    background: #FF8C00;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(3px 3px 6px rgba(0,0,0,0.5));
    animation: starGlow 2s ease-in-out infinite alternate;
}

.stars[data-rating="1"]::after { 
    content: "★"; 
    color: gold; 
    position: absolute;
}

.stars[data-rating="2"]::after { 
    content: "★★"; 
    color: gold; 
    position: absolute;
}

.stars[data-rating="3"]::after { 
    content: "★★★"; 
    color: gold; 
    position: absolute;
}

.stars[data-rating="4"]::after { 
    content: "★★★★"; 
    color: gold; 
    position: absolute;
}

.stars[data-rating="5"]::after { 
    content: "★★★★★"; 
    color: gold; 
    position: absolute;
}

.stars:hover::after {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Stars 3D Version */
.stars-3d {
    position: relative;
    display: inline-block;
    font-size: 45px;
    letter-spacing: 8px;
    margin: 20px 0;
    perspective: 1000px;
}

.stars-3d::before {
    content: "★★★★★";
    color: #222;
    opacity: 0.2;
}

.stars-3d::after {
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(45deg, #FFD700 0%, #FFED4E 50%, #FF8C00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 
        0 1px 0 #ccc,
        0 2px 0 #c9c9c9,
        0 3px 0 #bbb,
        0 4px 0 #b9b9b9,
        0 5px 0 #aaa,
        0 6px 1px rgba(0,0,0,.1),
        0 0 5px rgba(0,0,0,.1),
        0 1px 3px rgba(0,0,0,.3),
        0 3px 5px rgba(0,0,0,.2),
        0 5px 10px rgba(0,0,0,.25);
    transform: rotateX(10deg) rotateY(-5deg);
    animation: float 3s ease-in-out infinite;
}

.stars-3d[data-rating="1"]::after { content: "★"; }
.stars-3d[data-rating="2"]::after { content: "★★"; }
.stars-3d[data-rating="3"]::after { content: "★★★"; }
.stars-3d[data-rating="4"]::after { content: "★★★★"; }
.stars-3d[data-rating="5"]::after { content: "★★★★★"; }

/* Offers Grid */
.offers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.offer-card-left {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAwIiBoZWlnaHQ9IjMwMCIgdmlld0JveD0iMCAwIDUwMCAzMDAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxyZWN0IHdpZHRoPSI1MDAiIGhlaWdodD0iMzAwIiBmaWxsPSIjODc3MjUzIi8+CjxyZWN0IHg9IjUwIiB5PSI1MCIgd2lkdGg9IjE1MCIgaGVpZ2h0PSIxMDAiIGZpbGw9IiM2ZDU5NDEiLz4KPHJlY3QgeD0iMjUwIiB5PSI0MCIgd2lkdGg9IjEyMCIgaGVpZ2h0PSIxMjAiIGZpbGw9IiM2ZDU5NDEiLz4KPHJlY3QgeD0iNDAiIHk9IjE4MCIgd2lkdGg9IjgwIiBoZWlnaHQ9IjYwIiBmaWxsPSIjNGE5MGUyIi8+CjxyZWN0IHg9IjE1MCIgeT0iMTkwIiB3aWR0aD0iMTAwIiBoZWlnaHQ9IjQwIiBmaWxsPSIjNGE5MGUyIi8+CjxyZWN0IHg9IjMwMCIgeT0iMTgwIiB3aWR0aD0iMTIwIiBoZWlnaHQ9IjUwIiBmaWxsPSIjNGE5MGUyIi8+CjxjaXJjbGUgY3g9IjQwMCIgY3k9IjEwMCIgcj0iMzAiIGZpbGw9IiNmZmZmZmYiIG9wYWNpdHk9IjAuNiIvPgo8cG9seWdvbiBwb2ludHM9IjEwMCwxMDAgMTUwLDEwMCAxMjUsMTIwIiBmaWxsPSIjMmVjYzcxIi8+Cjxwb2x5Z29uIHBvaW50cz0iMzMwLDgwIDM4MCw4MCAzNTUsMTAwIiBmaWxsPSIjMmVjYzcxIi8+CjwvZGVmcz4KPC9zdmc+') center/cover;
    border-radius: 15px;
    padding: 30px;
    color: white;
    position: relative;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.offer-card-right {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 250px;
}

.offer-tag {
    background: rgba(255, 255, 255, 1);
    color: black;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.offer-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.offer-title.white {
    color: white;
}

.offer-title.dark {
    color: #2c3e50;
}

.offer-description {
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.6;
    text-align: center;
}

.offer-description.white {
    color: rgba(255, 255, 255, 0.9);
}

.offer-description.dark {
    color: #000000ff;
    text-align: center;
}

.offer-btn {
    background: #4a90e2;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    width: 200px;
}

.offer-btn:hover {
    background: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

.offer-content-left {
    flex: 1;
}

.offer-content-right {
    flex: 1;
}

.offer-image-small {
    width: 120px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    margin-left: 20px;
    position: relative;
    overflow: hidden;
}

.offer-image-small::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.offer-image-small::after {
    content: '';
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

/* Account Section */
.account-section_nkz {
    background-color: #f5f5f5;
    padding: 40px 20px;
    margin: 40px 0;
}

.account-card_nkz {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.account-title_nkz {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.account-subtitle_nkz {
    font-size: 20px;
    font-weight: 600;
    color: #2c2c2c;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.account-description_nkz {
    font-size: 16px;
    color: #555555;
    margin: 0 0 30px 0;
    line-height: 1.6;
}

.account-buttons_nkz {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-connect_nkz {
    background-color: rgba(2, 122, 8, 1);
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn-connect_nkz:hover {
    background-color: rgba(2, 122, 8, 1);
    text-decoration: none;
    color: #ffffff;
}

.btn-signup_nkz {
    color: rgba(2, 122, 8, 1);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 20px;
    transition: color 0.3s ease;
}

.btn-signup_nkz:hover {
    color: rgba(2, 122, 8, 1);
    text-decoration: underline;
}

/* App Download Section */
.app-download-section {
    background: linear-gradient(155deg, #126302ff 0%, #027515ff 100%);
    border-radius: 10px;
    padding: 40px 50px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.app-download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(52, 152, 219, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.content_playnk {
    flex: 1;
    z-index: 2;
    position: relative;
}

.title_google {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: white;
}

.description {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 25px;
    opacity: 0.9;
    max-width: 500px;
}

.download-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background-color: #000;
    border: 2px solid #ffffffff;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    min-width: 140px;
    justify-content: flex-start;
}

.download-btn:hover {
    background-color: #e2a829ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-text-small {
    font-size: 0.65rem;
    opacity: 0.8;
    line-height: 1;
}

.btn-text-large {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1;
    margin-top: 1px;
}

.app-icon-container {
    margin-left: 30px;
    z-index: 2;
    position: relative;
}

.app-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.app-icon::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #c87f0a 0%, #a0621a 100%);
    border-radius: 20px;
    top: 8px;
    left: -8px;
    z-index: -1;
}

.app-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    border-radius: 20px;
}

.checkmark {
    width: 40px;
    height: 40px;
    color: white;
    z-index: 2;
    position: relative;
}
