/* =========================
   ROOT VARIABLES
========================= */
:root {
    --n-red: #E50914;
    --n-black: #000000;
    --n-gray: #1a1a1a;
    --n-blue: #007bff;
}

/* =========================
   GLOBAL RESET / BODY
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--n-black);
    color: #fff;
    overflow-x: hidden;
}

/* =========================
   NETFLIX STYLE HEADER
========================= */
.netflix-header {
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 18px;
    background: rgba(0,0,0,0.95);
    position: sticky;
    top: 0;
    z-index: 2000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #111;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    color: #E50914;
    letter-spacing: 1px;
}

/* RIGHT SIDE ACTIONS */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-btn {
    background: #111;
    border: 1px solid #222;
    color: #fff;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.icon-btn:hover {
    background: #222;
}

.phone-btn {
    background: #E50914;
    color: #fff;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 12px;
    text-decoration: none;
    font-weight: 600;
}



/* =========================
   HOME / ROW SECTION
========================= */
.row-container {
    margin: 25px 0 30px 15px;
    padding: 0 30px 0 30px;
}

.row-header {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.row-header span {
    color: var(--n-red);
    font-size: 10px;
}

/* =========================
   SLIDER / CARDS
========================= */
.slider {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.slider::-webkit-scrollbar {
    display: none;
}

.card {
    flex: 0 0 160px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: var(--n-gray);
    border: 1px solid #333;
    cursor: pointer;
    transition: transform 0.2s;
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    filter: brightness(0.9);
}

.card-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px 8px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
    text-align: center;
}

.card-info b {
    display: block;
    font-size: 14px;
}

.card-info span {
    font-size: 11px;
    color: #aaa;
}

/* =========================
   MODAL (PROFILE POPUP)
========================= */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 37px;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.modal-content {
    background: #000;
    margin: 40px auto;
    width: 92%;
    max-width: 450px;
    max-height: 85vh;
    border-radius: 24px;
    border: 1px solid #333;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #222;
    position: relative;
    text-align: center;
    flex-shrink: 0;
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 18px;
    color: #666;
    font-size: 28px;
    cursor: pointer;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    flex-grow: 1;
}

.modal-body::-webkit-scrollbar {
    width: 5px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--n-red);
    border-radius: 10px;
}

/* =========================
   PROFILE INFO GRID
========================= */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.info-item {
    border-bottom: 1px solid #222;
    padding-bottom: 8px;
}

.info-item.full {
    grid-column: span 2;
}

.info-label {
    font-size: 10px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
    margin-top: 3px;
}

/* =========================
   BUTTONS
========================= */
.btn-contact {
    width: 100%;
    background: var(--n-red);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
}

.action-row {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-action {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #333;
    background: #1a1a1a;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}

.btn-action i {
    font-size: 16px;
}

.btn-whatsapp { color: #25D366; }
.btn-share { color: #3498db; }
.btn-report { color: #e74c3c; }

.btn-action:hover {
    background: #222;
    border-color: #444;
}

/* =========================
   RESPONSIVE CARDS SYSTEM
========================= */

/* Default (Desktop Large) → 7 cards */
.slider {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    overflow-x: unset;
}

/* Card full width in grid */
.card {
    width: 100%;
}

/* =========================
   LAPTOP / SMALL DESKTOP
   (5 cards)
========================= */
@media (max-width: 1200px) {
    .slider {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* =========================
   TABLET
   (5 cards optional small tablets OR 4)
========================= */
@media (max-width: 992px) {
    .slider {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* =========================
   MOBILE LARGE
   (3 cards)
========================= */
@media (max-width: 768px) {
    .slider {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =========================
   MOBILE SMALL
   (2 cards)
========================= */
@media (max-width: 480px) {
    .slider {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .card img {
        height: 180px;
    }
}
