/* Gallery Pages Shared Styling - For Celebrities, Fiction, and OnlyFans pages */

/* Common item styling */
.gallery-item {
    text-align: center;
    width: 200px;
    margin-bottom: 20px;
}

.gallery-item p {
    margin: 0;
    font-size: 25px;
    font-weight: bold;
    margin-top: 10px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

.gallery-item:hover p {
    color: #4b0082;
}

.gallery-item a {
    text-decoration: none;
    color: inherit;
}

/* Celebrity name styling */
.celeb-name {
    margin-top: 10px;
    margin-bottom: 8px;
}

/* Stats display - with emojis */
.celeb-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-family: Arial, sans-serif;
}

.stat-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: #1a1a1a;
    padding: 5px 10px;
    border: 2px solid #4b0082;
    border-radius: 5px;
    min-width: 55px;
    transition: all 0.3s ease;
}

.gallery-item:hover .stat-item {
    background: #2a2a2a;
    border-color: #C8A000;
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 14px;
    line-height: 1;
}

.stat-number {
    font-size: 14px;
    font-weight: bold;
    color: #C8A000;
}

.stat-label {
    font-size: 11px;
    color: #fff;
    margin-top: 2px;
}

/* Avatar styling */
.gallery-avatar {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #4b0082;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(75, 0, 130, 0.7);
}

/* Recent upload indicator */
.gallery-avatar.recent-upload {
    border: 3px solid #ff0000; /* Red border for recent uploads */
}

/* Container styling */
.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 100%;
    padding-top: 30px;
}

/* Search bar styling */
#searchBar {
    background-color: #000;
    color: #fff;
    border: 2px solid #4b0082;
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 16px;
    width: 900px;
    max-width: 90%;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Controls container */
.controls-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
    padding: 0 20px;
}

/* Filter options */
.filter-options select {
    background-color: #000;
    color: white;
    border: 2px solid #4b0082;
    padding: 5px 10px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    min-width: 200px;
}

/* Welcome text / button row */
.welcome-text {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

/* Navigation buttons */
.nav-button {
    background-color: black;
    color: white;
    padding: 15px 50px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
    white-space: nowrap;
    box-sizing: border-box;
    border: 3px solid #4b0082;
}

.nav-button:hover {
    background-color: black;
    color: #4b0082;
    border: 3px solid #4b0082;
}

/* Suggest form (for celebrities page) */
.suggest-form {
    text-align: center;
    margin-top: 30px;
    padding-bottom: 35px;
}

.suggest-form input {
    color: white;
    background-color: black;
    border: 2px solid #4b0082;
    border-radius: 5px;
    padding: 10px;
    font-size: 16px;
    width: 80%;
    max-width: 400px;
    margin: 10px auto;
}

.suggest-form input::placeholder {
    color: #ccc;
}

.suggest-form button {
    background-color: #4b0082;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
}

.suggest-form button:hover {
    background-color: #3a0066;
}

/* Responsive design - Tablet (max-width: 768px) */
@media (max-width: 768px) {
    .gallery-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        padding: 20px 10px;
    }

    .gallery-avatar {
        width: 90px;
        height: 90px;
    }

    .gallery-item {
        width: 100%;
        margin-bottom: 10px;
    }

    .gallery-item p {
        font-size: 12px;
        margin-top: 8px;
    }

    .celeb-stats {
        gap: 5px;
    }

    .stat-item {
        padding: 4px 7px;
        min-width: 45px;
        gap: 4px;
    }

    .stat-icon {
        font-size: 11px;
    }

    .stat-number {
        font-size: 11px;
    }

    #searchBar {
        width: 100%;
        max-width: 100%;
        font-size: 14px;
        margin-bottom: 10px;
    }

    .controls-container {
        flex-direction: column;
        gap: 10px;
    }

    .filter-options select {
        width: 100%;
        max-width: 300px;
        font-size: 14px;
    }

    .footer-button {
        font-size: 14px;
        padding: 8px 16px;
    }

    .top-strip h1 {
        font-size: 24px;
    }

    .nav-buttons .nav-button {
        font-size: 14px;
        padding: 8px 16px;
    }

    .welcome-text {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .suggest-form input {
        width: 50%;
    }
}

/* Small mobile screens (max-width: 480px) */
@media (max-width: 480px) {
    .gallery-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        padding: 15px 8px;
    }

    .gallery-avatar {
        width: 75px;
        height: 75px;
    }

    .gallery-item {
        width: 100%;
    }

    .gallery-item p {
        font-size: 11px;
        margin-top: 6px;
    }

    .celeb-stats {
        gap: 4px;
    }

    .stat-item {
        padding: 3px 6px;
        min-width: 40px;
        gap: 3px;
    }

    .stat-icon {
        font-size: 10px;
    }

    .stat-number {
        font-size: 10px;
    }

    #searchBar {
        font-size: 12px;
        padding: 6px 10px;
    }

    .filter-options select {
        font-size: 12px;
        padding: 6px 10px;
    }

    .footer-button {
        font-size: 12px;
        padding: 6px 12px;
    }

    .top-strip h1 {
        font-size: 20px;
    }

    .nav-buttons .nav-button {
        font-size: 12px;
        padding: 6px 12px;
    }

    .suggest-form {
        margin-top: 20px;
        padding-bottom: 20px;
    }

    .suggest-form h2 {
        font-size: 18px;
    }

    .suggest-form input {
        width: 50%;
        padding: 8px;
        font-size: 14px;
    }

    .suggest-form button {
        padding: 8px 16px;
        font-size: 14px;
    }

    .welcome-text {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
}

/* Very small screens (max-width: 360px) */
@media (max-width: 360px) {
    .gallery-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 12px 6px;
    }

    .gallery-avatar {
        width: 65px;
        height: 65px;
    }

    .gallery-item {
        width: 100%;
    }

    .gallery-item p {
        font-size: 10px;
        margin-top: 5px;
    }

    .celeb-stats {
        gap: 3px;
    }

    .stat-item {
        padding: 2px 5px;
        min-width: 35px;
        gap: 2px;
    }

    .stat-icon {
        font-size: 9px;
    }

    .stat-number {
        font-size: 9px;
    }

    #searchBar {
        font-size: 11px;
        padding: 5px 8px;
    }

    .filter-options select {
        font-size: 11px;
        padding: 5px 8px;
    }

    .footer-button {
        font-size: 11px;
        padding: 5px 10px;
    }

    .top-strip h1 {
        font-size: 18px;
    }

    .nav-buttons .nav-button {
        font-size: 11px;
        padding: 5px 10px;
    }

    .suggest-form h2 {
        font-size: 16px;
    }

    .suggest-form input {
        font-size: 12px;
        padding: 6px;
    }

    .suggest-form button {
        font-size: 12px;
        padding: 6px 12px;
    }
}

