:root {
    --pubg-dark: #0a0e27;
    --pubg-darker: #050812;
    --pubg-orange: #f77f00;
    --pubg-yellow: #fcbf49;
    --pubg-green: #06d6a0;
    --pubg-red: #ef233c;
    --pubg-gray: #2b2d42;
}

body {
    background: linear-gradient(135deg, #050812 0%, #0a0e27 100%);
    color: #e0e0e0;
    min-height: 100vh;
}

p {
    color: #ffffff;
}

.card {
    background: rgba(43, 45, 66, 0.9);
    border: 1px solid rgba(247, 127, 0, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.btn-primary {
    background: linear-gradient(135deg, #f77f00 0%, #d66d00 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(247, 127, 0, 0.4);
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 127, 0, 0.6);
}

.btn-danger {
    background: linear-gradient(135deg, #ef233c 0%, #d00025 100%);
    border: none;
}

.btn-success {
    background: linear-gradient(135deg, #06d6a0 0%, #05b88a 100%);
    border: none;
}

.navbar {
    background: linear-gradient(90deg, #050812 0%, #2b2d42 100%);
    border-bottom: 2px solid #f77f00;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
    color: #f77f00 !important;
    font-size: 1.5rem;
}

.nav-link {
    color: #e0e0e0 !important;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #fcbf49 !important;
}

.text-muted {
    color: rgba(252, 247, 247, 0.7) !important;
}

.form-control, .form-select {
    background: rgba(43, 45, 66, 0.8);
    border: 1px solid rgba(247, 127, 0, 0.3);
    color: #e0e0e0;
}

h4, h5, p, label,  textarea[name="caption"]::placeholder, 
input[name="comment"]::placeholder, span  {
    color: #e0e0e0;
}



.form-control:focus, .form-select:focus {
    background: rgba(43, 45, 66, 0.9);
    border-color: #f77f00;
    color: #e0e0e0;
    box-shadow: 0 0 0 0.25rem rgba(247, 127, 0, 0.25);
}


.badge {
    font-weight: 600;
}

.badge.bg-success {
    background: #06d6a0 !important;
}

.badge.bg-danger {
    background: #ef233c !important;
}

.badge.bg-warning {
    background: #fcbf49 !important;
    color: #050812 !important;
}

.post-img, .post-video {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    border-radius: 8px;
    background: #000;
    display: block;
    margin: 0 auto;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f77f00;
}

.avatar-lg {
    width: 200px;
    height: 200px;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.profile-grid-item {
    position: relative;
    padding-bottom: 100%;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.profile-grid-item img,
.profile-grid-item video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.profile-grid-item:hover img,
.profile-grid-item:hover video {
    transform: scale(1.1);
}

.profile-grid-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.profile-grid-item:hover .overlay {
    opacity: 1;
}

.comment-nickname {
    color: #fcbf49;
    font-weight: 600;
}

.online-indicator {
    width: 10px;
    height: 10px;
    background: #06d6a0;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.sidebar-sticky {
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.sidebar-sticky::-webkit-scrollbar {
    width: 6px;
}

.sidebar-sticky::-webkit-scrollbar-track {
    background: rgba(43, 45, 66, 0.5);
}

.sidebar-sticky::-webkit-scrollbar-thumb {
    background: #f77f00;
    border-radius: 3px;
}

.comments-section {
    max-height: 400px;
    overflow-y: auto;
}

.comments-section::-webkit-scrollbar {
    width: 6px;
}

.comments-section::-webkit-scrollbar-track {
    background: rgba(43, 45, 66, 0.5);
}

.comments-section::-webkit-scrollbar-thumb {
    background: #f77f00;
    border-radius: 3px;
}

.like-btn.liked {
    color: #ef233c !important;
}

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://cdn1.epicgames.com/spt-assets/53ec4985296b4facbe3a8d8d019afba9/pubg-battlegrounds-19vwb.jpg') center/cover no-repeat fixed;
    position: relative;
}

.auth-container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 8, 18, 0.75);
    z-index: 1;
}

.auth-card {
    max-width: 450px;
    width: 100%;
    position: relative;
    z-index: 2;
    padding: 0 15px;
}
