@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Staatliches&family=Inter:wght@400;500;700;800;900&display=swap');

:root {
    --cc-black: #050505;
    --cc-card-bg: #111111;
    --cc-yellow: #FFC107;
    --cc-text-gray: #ceced2;
    --cc-white: #ffffff;
    --cc-transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --cc-border-width: 2px;
}

.cc-guests-container {
    background: var(--cc-black);
    color: var(--cc-white);
    padding: 40px 0;
    font-family: 'Inter', sans-serif;
}

/* Header & Filters */
.cc-guests-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    padding: 0 10px;
}

.cc-guests-main-title {
    font-family: 'Staatliches', sans-serif;
    font-size: 42px;
    color: var(--cc-yellow);
    margin: 0;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: 1px;
    line-height: 1;
}

.cc-guests-filters {
    display: flex;
    gap: 15px;
}

.cc-guests-filter-wrapper,
.cc-guests-search-wrapper {
    position: relative;
    border: 1px solid #333;
    background: #111;
}

.cc-guests-search-wrapper {
    border-color: #444;
}

.cc-guest-cat-filter,
.cc-guest-search {
    background: transparent;
    border: none;
    color: var(--cc-white);
    padding: 0 15px;
    height: 40px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    outline: none;
    font-weight: 500;
}

.cc-guest-cat-filter {
    padding-right: 35px;
    appearance: none;
}

.cc-guests-filter-wrapper::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    pointer-events: none;
    font-size: 12px;
}

.cc-guest-search {
    width: 250px;
    padding-right: 40px;
}

.cc-guests-search-wrapper i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #555;
    font-size: 14px;
}

/* Grid */
.cc-guests-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.cc-guest-card {
    background: var(--cc-card-bg);
    border: var(--cc-border-width) solid var(--cc-yellow);
    position: relative;
    transition: var(--cc-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cc-guest-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-8px);
    border-color: #fff;
}

.cc-guest-image {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #333;
}

.cc-guest-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--cc-transition);
}

.cc-guest-card:hover .cc-guest-image img {
    transform: scale(1.05);
}

.cc-guest-content {
    padding: 15px 18px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cc-guest-name {
    font-family: 'Staatliches', sans-serif;
    font-size: 26px;
    line-height: 1;
    margin: 0 0 10px 0;
    color: var(--cc-yellow);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cc-guest-type-tag {
    display: inline-block;
    background: var(--tag-color);
    color: #fff;
    font-family: 'Staatliches', sans-serif;
    font-size: 11px;
    padding: 3px 8px;
    margin-bottom: 20px;
    width: fit-content;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.cc-guest-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
    flex-grow: 1;
}

.cc-guest-feat {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 11.5px;
    color: #e0e0e0;
    line-height: 1.4;
}

.cc-guest-feat i,
.cc-guest-feat svg {
    margin-top: 2px;
    width: 20px;
    height: auto;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cc-guest-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
}

.cc-guest-day {
    background: var(--cc-yellow);
    color: #000;
    font-family: 'Staatliches', sans-serif;
    font-size: 11px;
    padding: 3px 8px;
    font-weight: 500;
    text-transform: uppercase;
}

.cc-guest-btn {
    background: var(--btn-color);
    color: #000;
    text-decoration: none;
    font-family: 'Staatliches', sans-serif;
    font-size: 10.5px;
    padding: 3px 10px;
    letter-spacing: 0.5px;
    transition: var(--cc-transition);
    text-transform: uppercase;
    font-weight: 500;
}

.cc-guest-btn:hover {
    background: #fff;
    color: #000;
}

/* Responsiveness */
@media (max-width: 1100px) {
    .cc-guests-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .cc-guests-header {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        text-align: center;
    }
    .cc-guests-main-title {
        font-size: 36px;
    }
    .cc-guests-filters {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }
    .cc-guests-filter-wrapper,
    .cc-guests-search-wrapper {
        flex: 1;
        min-width: 0;
    }
    .cc-guest-search {
        width: 100%;
    }
    .cc-guests-grid {
        display: flex;
        overflow-x: auto;
        padding-bottom: 30px;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding-left: 20px;
        padding-right: 20px;
        scrollbar-width: thin;
        scrollbar-color: #000 var(--cc-yellow);
    }
    .cc-guest-card {
        flex: 0 0 82%;
        scroll-snap-align: center;
    }
    
    /* Custom Scrollbar for Mobile */
    .cc-guests-grid::-webkit-scrollbar {
        height: 12px;
    }
    .cc-guests-grid::-webkit-scrollbar-track {
        background: var(--cc-yellow);
        border-radius: 20px;
    }
    .cc-guests-grid::-webkit-scrollbar-thumb {
        background: #000;
        border-radius: 20px;
        border: 2px solid var(--cc-yellow);
    }
}
