@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --primary-color: #ff0055;
    --secondary-color: #ffcc00;
    /* GTA Style Yellow */
    --background-color: #0f0f13;
    --text-color: #e2e2e2;
    --glass-bg: rgba(20, 20, 25, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100vh;
}

.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../background.webp') no-repeat center center/cover;
    z-index: -2;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.95) 100%);
    z-index: -1;
    z-index: -1;
}

/* Navigation Styles */
.nav-item {
    color: #ccc;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(5px);
}

.nav-item:hover {
    color: #fff;
    background: rgba(255, 0, 85, 0.2);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.4);
    transform: translateY(-2px);
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    width: 100%;
    z-index: 10;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 0, 85, 0.3));
    transition: 0.3s;
}

.logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(255, 0, 85, 0.6));
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 50px 20px;
    margin-top: 5vh;
    animation: fadeInUp 1s ease;
}

.hero h2 {
    font-size: 3.5rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 3px;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 0, 85, 0.5);
}

.hero p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
}

/* Roles Container */
.roles-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 50px 20px;
    flex-wrap: wrap;
    z-index: 5;
    position: relative;
}

.role-card {
    width: 160px;
    height: 350px;
    /* Taller GTA Style Cards */
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.role-card:hover {
    transform: translateY(-10px) scale(1.05);
    /* Pop up effect */
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(255, 0, 85, 0.4);
}

.role-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
    filter: brightness(0.8);
}

.role-card:hover img {
    filter: brightness(1.1);
    transform: scale(1.1);
}

.role-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 10px;
    background: linear-gradient(to top, black, transparent);
    text-align: center;
}

.role-info h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #fff;
    text-transform: uppercase;
    font-weight: 800;
}

.role-info p {
    font-size: 0.8rem;
    color: var(--primary-color);
    margin-top: 5px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s;
}

.role-card:hover .role-info p {
    opacity: 1;
    transform: translateY(0);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.modal-content {
    background: #111;
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    width: 90%;
    max-width: 500px;
    box-shadow: 0 0 50px rgba(255, 0, 85, 0.2);
    position: relative;
    animation: zoomIn 0.3s ease;
    color: white;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
    transition: 0.2s;
}

.close-btn:hover {
    color: var(--primary-color);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #ccc;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: #222;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
    font-size: 0.95rem;
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #1a1a1a;
}

button[type="submit"] {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
    margin-top: 10px;
}

button[type="submit"]:hover {
    background: #d40045;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 85, 0.4);
}


/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Footer */
footer {
    background: #0a0a0d;
    border-top: 1px solid #222;
    padding: 4rem 5%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.footer-left {
    max-width: 400px;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 10px;
}

.copyright {
    color: #555;
    font-size: 0.8rem;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-column h4 {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a,
.footer-column p {
    color: #888;
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.3s;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

/* Responsive Footer */
@media (max-width: 768px) {
    footer {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        gap: 2rem;
        flex-direction: column;
    }
}

/* Enter Overlay Styles Removed */

/* Server Status Widget */
.server-status {
    position: absolute;
    top: 20px;
    right: 20px;
    /* Adjust based on other elements */
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(4px);
    z-index: 100;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: blink 2s infinite;
}

.status-text {
    font-size: 0.9rem;
    color: white;
    font-weight: 600;
}

.player-count {
    color: #ccc;
    font-size: 0.8rem;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 2rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(255, 0, 85, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    opacity: 0;
    transition: 0.3s;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

/* Music Player Styles */
/* Premium Music Player Styles */
.music-player {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(10, 10, 12, 0.85);
    /* Darker, sleek background */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 12px;
    /* More modern rounded corners, less pill-shaped */
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1000;
    backdrop-filter: blur(15px);
    /* Strong blur */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    /* Deep shadow */
    transition: all 0.3s ease;
    animation: slideInUp 0.5s ease-out 1s backwards;
    /* Slide in animation */
}

.music-player:hover {
    border-color: rgba(255, 0, 85, 0.3);
    box-shadow: 0 15px 40px rgba(255, 0, 85, 0.1);
    transform: translateY(-2px);
}

.music-icon {
    font-size: 1.2rem;
    animation: spin 4s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.music-details {
    display: flex;
    flex-direction: column;
    width: 140px;
}

.song-title {
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.song-time {
    font-size: 0.7rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 2px;
}

.control-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    transition: 0.2s;
    background: rgba(255, 255, 255, 0.05);
}

.control-btn:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 15px var(--primary-color);
}

.volume-control {
    width: 80px;
    display: flex;
    align-items: center;
    margin-right: 5px;
}

.volume-control input {
    width: 100%;
    cursor: pointer;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    -webkit-appearance: none;
    appearance: none;
}

.volume-control input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    transition: 0.2s;
}

.volume-control input:hover::-webkit-slider-thumb {
    background: var(--primary-color);
    transform: scale(1.2);
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Role Disabled State */
.role-card.disabled {
    filter: grayscale(1) brightness(0.5);
    pointer-events: none;
    border-color: #333;
}

.role-card.disabled .role-info p {
    color: #ff4444;
    font-weight: bold;
}

/* Select Box Fix */
select option {
    background-color: #1a1a1a;
    color: #fff;
}