/* fonts + variables */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg-dark: #1f1f1f;
    --card-bg: #2b2b2b;
    --text-light: #f0f0f0;
    --text-secondary: #aaaaaa;
    --yellow-btn: #f0d54f;
    --ad-card-bg: #3c3b3f;
    --border-color: #444;
    --play-btn-bg: #f5c400;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    margin: 0;
    padding: 0;
}

/* utilities */
.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-container {
    background: #1a1a1a;
    max-width: 29rem;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* navbar */
.navbar-custom {
    background-color: transparent;
    
}

.navbar-brand img {
    height: 40px;
}

.nav-wallet {
    background-color: #3b3b3b;
    color: var(--text-light);
    padding: 0.2rem 0.4rem;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    font-size: small;
}

.nav-wallet .fa-coins {
    color: var(--yellow-btn);
    margin-right: 0.4rem;
}

/* sidebar (reusable in other pages too) */
.sidebar-container {
    position: absolute;
    top: 0;
    left: -250px;
    /* hidden initially */
    width: 250px;
    height: 100%;
    background: inherit;
    color: white;
    transition: left 0.3s ease-in-out;
    padding-top: 60px;
   
    z-index: 50;
}

.sidebar-container.show {
    left: auto;
}

.sidebar-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-container ul li {
    margin: 20px 0;
}

.sidebar-container ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    transition: background 0.2s;
}

.sidebar-container ul li a:hover {
    background: #444;
}

.sidebar-container .close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* ad card */
.ad-card {
    background-color: var(--ad-card-bg);
    width: 100%;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
    margin-bottom: 30px;
}

.ad-card-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.ad-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    border-radius: 0 0 12px 12px;
    color: white;
}

.ad{
    width: 100%;
    height: 280px;
}
.ad-card-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.ad-card-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.ad-card .btn-book {
    background-color: var(--yellow-btn);
    color: var(--bg-dark);
    font-weight: 600;
    border-radius: 20px;
    border: none;
    padding: 0.5rem 1.5rem;
    margin-top: 0.5rem;
}
 
.ad-label {
    color: var(--text-secondary);
    font-size: 0.7rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

/* footer */
.footer {
    background: #111;
    color: #ccc;
    padding: 10px;
    font-family: "Segoe UI", sans-serif;
    margin-top: auto;
}

.footer-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 10px;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 8px;
    font-size: 1rem;
}

.footer-col p,
.footer-col ul li a {
    font-size: 0.85rem;
    line-height: 1.4;
    padding: 2px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-between;
}

.footer-col ul li {
    margin: 6px 0;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #ff9800;
}

.socials {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.socials a {
    font-size: 1.2rem;
    color: #ccc;
    transition: color 0.2s;
}

.socials a:hover {
    color: #ff9800;
}

.footer-bottom {
    border-top: 1px solid #333;

    padding-top: 5px;
    text-align: center;
    font-size: 0.75rem;
    color: #777;
}

/* responsive tweaks */
@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1rem;
    }

    .nav-wallet {
        padding: 0.2rem 0.5rem;
    }
}