/* ============================================= */
/* ZA MOBILEN POPRAVKA ZA EDGE BELO          */
/* ============================================= */

:root {
    --scum-primary: #c41e3a;
    --scum-primary-dark: #8a1528;
    --scum-secondary: #1a1a1a;
    --scum-dark: #0d0d0d;
    --scum-light: #2a2a2a;
    --scum-accent: #00a8ff;
    --scum-text: #f0f0f0;
    --scum-text-dim: #aaa;
    --scum-success: #28a745;
    --scum-danger: #dc3545;
    --scum-warning: #ffc107;
    --discord-blue: #5865F2;
}

/* Basic scroll handling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: 
        linear-gradient(rgba(10, 10, 10, 0.95), rgba(20, 20, 20, 0.98)),
        url('https://www.gematsu.com/wp-content/uploads/2025/06/SCUM-Date_06-06-25.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: var(--scum-text);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

.neon-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.15;
    background: 
        radial-gradient(circle at 20% 30%, var(--scum-primary) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, var(--scum-accent) 0%, transparent 50%);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 25px;
}

/* Header Styles */
.main-header {
    padding: 30px 0;
    position: relative;
    margin-bottom: 40px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, 
        rgba(20, 20, 20, 0.9) 0%, 
        rgba(30, 30, 30, 0.85) 100%);
    padding: 25px 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(196, 30, 58, 0.2);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(196, 30, 58, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.header-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--scum-primary), 
        var(--scum-accent), 
        transparent);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 25px;
}
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* За Safari */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@supports (-webkit-touch-callout: none) {
    body {
        height: -webkit-fill-available;
    }
    
    .container {
        min-height: -webkit-fill-available;
    }
    
    /* Спречи pull-to-refresh на iOS */
    body {
        overscroll-behavior-y: contain;
    }
}
.container {
    min-height: 100vh;
    position: relative;
    background: #1a1a1a; 
    overflow: hidden; 
}

.main-content {
    min-height: 100vh;
    position: relative;
    z-index: 1;
    background: inherit;
}
.logo-container {
    width: 70px;
    height: 70px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 100, 0, 0.5);
    box-shadow: 0 0 20px rgba(255, 100, 0, 0.3),
                inset 0 0 15px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}
.logo-container img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.1);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.logo-container i {
    font-size: 2.8rem;
    color: white;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.logo-image {
    width: 60px;
    height: 60px; 
    border-radius: 10px; 
    object-fit: contain; 
    filter: drop-shadow(0 0 10px rgba(255, 100, 0, 0.7));
}
/* За Chrome, Safari и новите Edge */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(20, 20, 20, 0.95);
}

::-webkit-scrollbar-thumb {
    background: #5865F2;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4752c4;
}

/* За Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #5865F2 rgba(20, 20, 20, 0.95);
}

.logo-circle {
    width: 80px; /* промени големина според потреба */
    height: 80px;
    border-radius: 50%; /* ОВА ГО ПРАВИ КРУГ */
    background: linear-gradient(135deg, rgba(88,101,242,0.9), rgba(64,78,237,0.85));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 25px rgba(88, 101, 242, 0.5),
                0 0 15px rgba(88, 101, 242, 0.3) inset;
    overflow: hidden; /* ОВА Е КЛУЧНО за да биде круг */
    position: relative;
    transition: all 0.3s ease;
}

.logo-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(88, 101, 242, 0.7),
                0 0 20px rgba(88, 101, 242, 0.4) inset;
}

.circle-logo {
    width: 85%;
    height: 85%;
    object-fit: contain; /* се прилагодува во кругот */
    border-radius: 50%; /* дополнително осигурање */
    padding: 5px;
}

/* Alternative: Neon circle effect */
.logo-circle.neon {
    background: rgba(0, 0, 0, 0.8);
    border: 3px solid #ff8a00;
    box-shadow: 0 0 30px #ff8a00,
                0 0 60px rgba(255, 138, 0, 0.3),
                0 0 20px rgba(255, 138, 0, 0.2) inset;
}

/* Alternative: SCUM-themed circle */
.logo-circle.scum-style {
    background: radial-gradient(circle, #2a2a2a 0%, #1a1a1a 100%);
    border: 3px solid #ff6b00;
    box-shadow: 0 0 25px #ff6b00,
                0 0 10px rgba(255, 107, 0, 0.4) inset;
}

.logo-circle.large {
    width: 100px;
    height: 100px;
    margin-right: 20px;
}

/* Logo size - same on all devices */
.logo-circle {
    width: 70px;
    height: 70px;
}

.logo-circle.large {
    width: 90px;
    height: 90px;
}
/* EVENT MODAL STYLES - PROPER MODAL WINDOW */
.event-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    overflow-y: auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s;
}

.event-modal.active {
    background: rgba(0, 0, 0, 0.85);
}

.event-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    cursor: pointer;
    z-index: 9998;
}

.event-modal.active .event-modal-backdrop {
    background: rgba(0, 0, 0, 0.6);
}

.event-modal-window {
    position: relative;
    background: #2a2a2a;
    border-radius: 15px;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(-100px) scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.event-modal.active .event-modal-window {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.event-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #dc3545;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.event-modal-close:hover {
    background: #c82333;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.6);
}

.event-modal-content {
    padding: 40px;
    max-height: none;
    overflow-y: visible;
    min-height: 100vh;
}

.event-modal-content::-webkit-scrollbar {
    width: 8px;
}

.event-modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.event-modal-content::-webkit-scrollbar-thumb {
    background: #5865F2;
    border-radius: 4px;
}

.event-modal-content::-webkit-scrollbar-thumb:hover {
    background: #4752c4;
}

/* Modal header */
.modal-header {
    padding-bottom: 20px;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    color: white;
    font-size: 2rem;
    margin: 0 0 15px 0;
    line-height: 1.3;
    padding-right: 50px; /* Space for close button */
}



.modal-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-meta-item i {
    color: #5865F2;
}

/* Modal body */
.modal-body {
    color: #ddd;
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.modal-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 15px 0;
}

/* Modal images grid */
.modal-images {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.modal-images h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.modal-images h3 i {
    color: #5865F2;
    margin-right: 10px;
}

 .images-grid {
        grid-template-columns: repeat(2, 1fr);
    }

.image-thumb {
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s;
}

.image-thumb:hover {
    transform: scale(1.05);
}

.image-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
}

.image-thumb-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.image-thumb:hover .image-thumb-overlay {
    opacity: 1;
}

/* Modal footer */
.modal-footer {
    flex-direction: column;
    align-items: stretch;
}

.modal-footer-info {
    color: #888;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-footer-actions {
    width: 100%;
    justify-content: center;
}




.modal-btn {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.modal-btn-share {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: white;
}

.modal-btn-share:hover {
    background: linear-gradient(135deg, #1e7e34, #146c32);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.modal-btn-close {
    background: linear-gradient(135deg, #6c757d, #545b62);
    color: white;
}

.modal-btn-close:hover {
    background: linear-gradient(135deg, #545b62, #4a5056);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
}

/* Mobile Optimizations - Disabled for Desktop Mode */
/* Most mobile styles removed to force desktop layout on all devices */

@media (max-width: 480px) {
    .event-modal-window {
        width: 100%;
        margin: 10px auto;
        border-radius: 10px;
    }
    
    .event-modal-content {
        padding: 20px;
    }
    
    .modal-title {
        font-size: 1.4rem;
    }
    
    .images-grid {
        grid-template-columns: 1fr;
    }
}

.server-title {
    display: flex;
    flex-direction: column;
}

.server-title h1 {
    font-size: 2.8rem;
    font-weight: 900;
    background: linear-gradient(to right, #fff, var(--scum-text-dim));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 1.5px;
    margin-bottom: 5px;
    position: relative;
    display: inline-block;
}

.server-title h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--scum-primary), 
        transparent);
}

.server-title p {
    color: var(--scum-text-dim);
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.status-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.online-badge {
    background: linear-gradient(135deg, var(--scum-success), #1e7e34);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 1.5px;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.online-badge .pulse {
    width: 12px;
    height: 12px;
    background: #0f0;
    border-radius: 50%;
    animation: blink 2s infinite;
    box-shadow: 0 0 10px #0f0;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.battlemetrics-wrapper {
    /* ОТСТРАНИ background: rgba(10, 10, 10, 0.8); */
    background: transparent !important;
    border-radius: 15px;
    padding: 10px;
    /* ОТСТРАНИ ИЛИ ПРОМЕНИ border и box-shadow за да бидат полесни */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    width: 500px;
    max-width: 100%;
}

/* Tabs Section */
.tabs-section {
    margin-bottom: 40px;
    position: relative;
}

.tabs-container {
    display: flex;
    justify-content: center;
    background: linear-gradient(135deg,
        rgba(25, 25, 25, 0.9) 0%,
        rgba(35, 35, 35, 0.85) 100%);
    border-radius: 15px;
    padding: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.tab {
    flex: 0 0 auto;
    padding: 20px 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    color: var(--scum-text-dim);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-radius: 10px;
    margin: 0 5px;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.tab:hover {
    color: white;
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.tab.active {
    background: linear-gradient(135deg, 
        var(--scum-primary), 
        var(--scum-primary-dark));
    color: white;
    box-shadow: 
        0 10px 25px rgba(196, 30, 58, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.tab i {
    font-size: 1.3rem;
    transition: transform 0.3s;
}

.tab.active i {
    transform: scale(1.2);
}

.tab span {
    font-size: 0.8rem;
    line-height: 1.2;
}

.tab-content {
    display: none;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content.active {
    display: block;
}

.main-section {
    margin-bottom: 60px;
    animation: slideUp 0.5s ease-out;
}
/* ============================================= */
/* MODERN EVENT CARDS STYLES - FULL CONTENT      */
/* ============================================= */

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
}

.header-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.header-title h2 {
    color: #fff;
    font-size: 2rem;
    margin: 0;
}

.header-title i {
    color: #ff8a00;
    font-size: 1.5rem;
}

.header-subtitle {
    color: #aaa;
    font-size: 1.1rem;
    margin: 0;
}

/* Event Card Container */
.events-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Event Card */
.event-card {
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid rgba(88, 101, 242, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.event-card.featured {
    border-left: 5px solid #ff8a00;
    background: linear-gradient(145deg, #2a2a2a, #2a1e2a);
    box-shadow: 0 10px 30px rgba(255, 138, 0, 0.2);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border-color: rgba(88, 101, 242, 0.2);
}

/* Event Header */
.event-card-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.event-date-badge {
    background: linear-gradient(135deg, #5865F2, #4752c4);
    border-radius: 10px;
    padding: 12px;
    min-width: 70px;
    text-align: center;
    flex-shrink: 0;
}

.event-day {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    line-height: 1;
}

.event-month {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    margin-top: 5px;
    font-weight: 600;
}

.event-header-content {
    flex: 1;
}

.event-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.event-title {
    font-size: 1.5rem;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.featured-tag {
    background: linear-gradient(135deg, #ff8a00, #e07a00);
    color: #000;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 10px;
    display: inline-block;
}

.featured-tag i {
    margin-right: 5px;
}

.event-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.event-status.upcoming {
    background: rgba(0, 255, 136, 0.15);
    color: #00ff88;
}

.event-status.ongoing {
    background: rgba(255, 138, 0, 0.15);
    color: #ff8a00;
}

.event-status.past {
    background: rgba(170, 170, 170, 0.15);
    color: #aaa;
}

.event-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #aaa;
    font-size: 0.9rem;
}

.meta-item i {
    color: #5865F2;
}

/* Event Content */
.event-card-content {
    color: #ddd;
    line-height: 1.7;
    margin-bottom: 25px;
    max-height: none;
    overflow-y: visible;
    padding-right: 15px;
}

.event-card-content::-webkit-scrollbar {
    width: 6px;
}

.event-card-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.event-card-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #5865F2, #4752c4);
    border-radius: 10px;
}

.event-card-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #4752c4, #3c45a5);
}

.event-card-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 15px 0;
}

.event-card-content h1,
.event-card-content h2,
.event-card-content h3,
.event-card-content h4 {
    color: #fff;
    margin-top: 20px;
    margin-bottom: 10px;
    border-bottom: 2px solid rgba(88, 101, 242, 0.3);
    padding-bottom: 5px;
}

.event-card-content h1 { font-size: 1.8rem; }
.event-card-content h2 { font-size: 1.5rem; }
.event-card-content h3 { font-size: 1.3rem; }
.event-card-content h4 { font-size: 1.1rem; }

.event-card-content ul,
.event-card-content ol {
    padding-left: 25px;
    margin: 15px 0;
}

.event-card-content li {
    margin-bottom: 8px;
}

.event-card-content code {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.event-card-content pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 15px 0;
}

/* Images Section */
.event-images-section {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.images-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.images-header h4 {
    color: #fff;
    margin: 0;
    font-size: 1.1rem;
}

.images-header h4 i {
    color: #5865F2;
    margin-right: 10px;
}

.image-count {
    color: #aaa;
    font-size: 0.9rem;
}

.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    margin-bottom: 15px;
}

.image-thumbnail {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s;
}

.image-thumbnail:hover {
    transform: scale(1.05);
}

.image-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
}

.view-all-images-btn {
    background: linear-gradient(135deg, #5865F2, #4752c4);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s;
}

.view-all-images-btn:hover {
    background: linear-gradient(135deg, #4752c4, #3c45a5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.3);
}

.view-all-images-btn i {
    margin-right: 8px;
}

/* Event Footer */
.event-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.posted-info {
    color: #888;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-btn {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: white;
}

.share-btn:hover {
    background: linear-gradient(135deg, #1e7e34, #146c32);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.details-btn {
    background: linear-gradient(135deg, #5865F2, #4752c4);
    color: white;
}

.details-btn:hover {
    background: linear-gradient(135deg, #4752c4, #3c45a5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.3);
}

/* Featured Events List */
.featured-events-list,
.regular-events-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Loading and No Events States */
#events-loading,
#no-events {
    text-align: center;
    padding: 60px 20px;
    color: #aaa;
}

#events-loading i {
    font-size: 3rem;
    color: #5865F2;
    margin-bottom: 20px;
}

#no-events i {
    font-size: 3rem;
    color: #888;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .event-card {
        padding: 20px;
    }
    
    .event-card-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .event-date-badge {
        align-self: flex-start;
    }
    
    .event-title-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .event-title {
        font-size: 1.3rem;
    }
    
    .event-card-content {
        max-height: none;
        font-size: 1rem;
    }
    
    .images-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .event-card-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .event-actions {
        justify-content: center;
    }
    
    .header-title h2 {
        font-size: 1.5rem;
    }
    
    .header-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .event-card {
        padding: 15px;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .event-card-content {
        max-height: none;
    }
    
    .images-preview-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    }
}

@media (max-width: 480px) {
    .event-card {
        padding: 15px;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .images-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .event-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Add this to your style.css file */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Modal animations */


@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.event-modal-container {
    animation: scaleIn 0.3s ease-out;
    max-width: 100%;
    width: 100%;
    min-height: 100vh;
    max-height: none;
    overflow-y: visible;
    margin: 0 auto;
}

.event-modal-body {
    padding: 30px;
    font-size: 1rem;
    line-height: 1.6;
    overflow-y: visible;
    min-height: 100vh;
    background: #1a1a1a;
    color: #ddd;
    border-radius: 10px;
}

.event-modal-body .scum-event-post {
    padding: 20px;
    font-size: 1.1rem;
    background: #1e1e1e;
    border-radius: 10px;
    margin: 10px 0;
}

.event-modal-body .scum-event-post h2 {
    font-size: 2rem;
}

.event-modal-body .scum-event-post h3 {
    font-size: 1.5rem;
}

.event-modal-body .scum-event-post h4 {
    font-size: 1.2rem;
}

.event-modal-body .scum-event-post p,
.event-modal-body .scum-event-post li,
.event-modal-body .scum-event-post div {
    font-size: 1.05rem;
}

.event-modal-body .scum-event-post ul,
.event-modal-body .scum-event-post ol {
    padding-left: 25px;
}

.event-modal-body .scum-event-post ul li,
.event-modal-body .scum-event-post ol li {
    margin-bottom: 8px;
}

.event-modal-body .scum-event-post img {
    max-width: 100%;
    height: auto;
}

/* Announcement styles in modal - same as events */
.event-modal-body .scum-announcement-post {
    padding: 20px;
    font-size: 1.1rem;
    background: #1e1e1e;
    border-radius: 10px;
    margin: 10px 0;
}

.event-modal-body .scum-announcement-post h2 {
    font-size: 2rem;
}

.event-modal-body .scum-announcement-post h3 {
    font-size: 1.5rem;
}

.event-modal-body .scum-announcement-post h4 {
    font-size: 1.2rem;
}

.event-modal-body .scum-announcement-post p,
.event-modal-body .scum-announcement-post li,
.event-modal-body .scum-announcement-post div {
    font-size: 1.05rem;
}

.event-modal-body .scum-announcement-post ul,
.event-modal-body .scum-announcement-post ol {
    padding-left: 25px;
}

.event-modal-body .scum-announcement-post ul li,
.event-modal-body .scum-announcement-post ol li {
    margin-bottom: 8px;
}

.event-modal-body .scum-announcement-post img {
    max-width: 100%;
    height: auto;
}

@keyframes scaleIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Ensure buttons are visible and clickable */
.action-btn {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Make sure event cards are properly spaced */
.events-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Fix for any z-index issues */
.event-modal {
    z-index: 2000 !important;
}

.image-modal {
    z-index: 3000 !important;
}

/* Ensure close button is clickable */
button[onclick*="closeEventModal"] {
    cursor: pointer;
    transition: all 0.3s;
}

button[onclick*="closeEventModal"]:hover {
    background: #c82333 !important;
    transform: scale(1.1);
}
/* MODIFIED EVENT CARDS STYLES */
.event-card {
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid rgba(88, 101, 242, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.event-card.featured {
    border-left: 5px solid #ff8a00;
    background: linear-gradient(145deg, #2a2a2a, #2a1e2a);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(88, 101, 242, 0.2);
}

.event-card-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.event-card-date {
    background: rgba(88, 101, 242, 0.1);
    border-radius: 10px;
    padding: 12px;
    min-width: 70px;
    text-align: center;
    margin-right: 20px;
}

.event-day {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    line-height: 1;
}

.event-month {
    font-size: 0.9rem;
    color: #aaa;
    text-transform: uppercase;
    margin-top: 5px;
}

.event-card-title-section {
    flex: 1;
}

.event-card-title {
    font-size: 1.4rem;
    color: #fff;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.event-featured-badge {
    background: #ff8a00;
    color: #000;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 10px;
    display: inline-block;
}

.event-card-time {
    color: #aaa;
    font-size: 0.9rem;
}

.event-card-time i {
    margin-right: 5px;
}

.event-card-body {
    margin-bottom: 20px;
    background: transparent;
    padding: 10px;
}

.event-card-content {
    color: #ddd;
    line-height: 1.6;
    margin-bottom: 20px;
    max-height: none;
    overflow-y: visible;
    padding-right: 10px;
}

.event-card-content::-webkit-scrollbar {
    width: 5px;
}

.event-card-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.event-card-content::-webkit-scrollbar-thumb {
    background: rgba(88, 101, 242, 0.5);
    border-radius: 10px;
}

.event-card-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 10px 0;
}

.event-card-content h1,
.event-card-content h2,
.event-card-content h3,
.event-card-content h4 {
    color: #fff;
    margin-top: 15px;
    margin-bottom: 10px;
}

.event-card-content ul,
.event-card-content ol {
    padding-left: 20px;
    margin: 10px 0;
}

.event-card-content li {
    margin-bottom: 5px;
}

.event-images-preview {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.images-preview-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #aaa;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.images-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
}

.preview-image-item {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.preview-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.preview-image-item:hover img {
    transform: scale(1.05);
}

.preview-more-images {
    background: rgba(88, 101, 242, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5865F2;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.preview-more-images:hover {
    background: rgba(88, 101, 242, 0.3);
}

.event-card-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.event-card-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #aaa;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 20px;
}

.event-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.event-card-posted {
    color: #888;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-card-view-images {
    color: #5865F2;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: color 0.3s;
}

.event-card-view-images:hover {
    color: #7289da;
}

/* Status colors */
.upcoming {
    color: #00ff88;
}

.ongoing {
    color: #ff8a00;
}

.past {
    color: #aaa;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .event-card {
        padding: 20px;
    }
    
    .event-card-header {
        flex-direction: column;
    }
    
    .event-card-date {
        margin-right: 0;
        margin-bottom: 15px;
        align-self: flex-start;
    }
    
    .event-card-content {
        max-height: none;
    }
    
    .event-card-meta {
        gap: 10px;
    }
    
    .event-card-meta-item {
        font-size: 0.85rem;
        padding: 5px 10px;
    }
    
    .images-preview-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    }
}

/* Events/Blog Styles */
.event-item {
    transition: all 0.3s ease;
}

.event-item:hover {
    background: #3f3f3f !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.edit-btn:hover {
    background: #218838 !important;
}

.delete-btn:hover {
    background: #c82333 !important;
}

/* Стил за textarea со ленти */
textarea {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.4;
}

/* Анимација за модал */
#edit-event-modal {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.event-item {
    background: linear-gradient(135deg, rgba(40, 40, 60, 0.8), rgba(30, 30, 50, 0.9));
    border-radius: 15px;
    margin: 25px 0;
    padding: 25px;
    border-left: 5px solid #ff8a00;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.event-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 138, 0, 0.2);
}

.event-item.featured {
    border-left: 5px solid #ff0066;
    background: linear-gradient(135deg, rgba(60, 40, 60, 0.9), rgba(50, 30, 50, 0.95));
}

.event-item.upcoming {
    border-left: 5px solid #00ff88;
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.event-title {
    font-size: 1.5rem;
    color: white;
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.event-date {
    background: rgba(255, 138, 0, 0.2);
    color: #ff8a00;
    padding: 8px 15px;
    border-radius: 25px;
    font-weight: bold;
    white-space: nowrap;
}

.event-date.past {
    background: rgba(255, 255, 255, 0.1);
    color: var(--scum-text-dim);
}

.event-meta {
    display: flex;
    gap: 20px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--scum-text-dim);
    font-size: 0.9rem;
}

.event-content {
    margin: 20px 0;
    line-height: 1.6;
    color: var(--scum-text-dim);
}

.event-content img {
    max-width: 100%;
    border-radius: 10px;
    margin: 15px 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.event-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.event-image {
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.event-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-image img:hover {
    transform: scale(1.05);
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 15px;
}

.event-author {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--scum-text-dim);
}

.author-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid rgba(255, 138, 0, 0.5);
}

.event-status {
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.status-upcoming {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
}

.status-ongoing {
    background: rgba(255, 138, 0, 0.2);
    color: #ff8a00;
    animation: pulse 2s infinite;
}

.status-ended {
    background: rgba(255, 255, 255, 0.1);
    color: var(--scum-text-dim);
}

@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

/* For admin events panel */
.admin-event-controls {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.event-actions {
    display: flex;
    gap: 10px;
}

.btn-small {
    padding: 5px 15px;
    font-size: 0.8rem;
}


/* Content Cards */
.content-card {
    background: linear-gradient(135deg, 
        rgba(20, 20, 20, 0.95) 0%, 
        rgba(30, 30, 30, 0.9) 100%);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--scum-primary), 
        var(--scum-accent), 
        var(--scum-primary));
}

.content-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.content-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--scum-text), var(--scum-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.content-header i {
    font-size: 2.5rem;
    color: var(--scum-primary);
    filter: drop-shadow(0 0 10px rgba(196, 30, 58, 0.3));
}

/* Discord Banner */
.discord-banner {
    background: linear-gradient(135deg, 
        rgba(88, 101, 242, 0.9) 0%, 
        rgba(64, 78, 237, 0.85) 100%);
    border-radius: 20px;
    padding: 30px 40px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 15px 35px rgba(88, 101, 242, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.discord-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://discord.com/assets/1c8a54f25edbc48a9da8a35d4adc26e5.svg') no-repeat right -50px center;
    background-size: contain;
    opacity: 0.1;
}

.discord-info h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.discord-info p {
    font-size: 1.2rem;
    max-width: 700px;
    opacity: 0.9;
}

.discord-join-btn {
    background: white;
    color: var(--discord-blue);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid transparent;
    position: relative;
    z-index: 1;
}

.discord-join-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    background: #f8f9fa;
}

/* Lists */
.info-list, .rules-list {
    list-style: none;
}

.info-list li, .rules-list li {
    padding: 25px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, 
        rgba(30, 30, 30, 0.7) 0%, 
        rgba(40, 40, 40, 0.6) 100%);
    border-radius: 15px;
    border-left: 4px solid var(--scum-primary);
    transition: all 0.3s;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-list li:hover, .rules-list li:hover {
    transform: translateX(10px);
    background: linear-gradient(135deg, 
        rgba(40, 40, 40, 0.8) 0%, 
        rgba(50, 50, 50, 0.7) 100%);
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.3);
}

.info-list i, .rules-list i {
    color: var(--scum-primary);
    font-size: 1.5rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    height: 220px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s;
    border: 2px solid transparent;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: var(--scum-primary);
    box-shadow: 
        0 20px 40px rgba(196, 30, 58, 0.3),
        0 0 30px rgba(196, 30, 58, 0.2);
}

.gallery-item::after {
    content: 'SCUM';
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(196, 30, 58, 0.9);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #222, #333);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--scum-primary);
}

/* Vote System */
.vote-container {
    background: linear-gradient(135deg, 
        rgba(25, 25, 25, 0.9) 0%, 
        rgba(35, 35, 35, 0.85) 100%);
    border-radius: 20px;
    padding: 35px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--scum-text);
    font-size: 1.1rem;
}

.form-control {
    width: 100%;
    padding: 18px 20px;
    background: rgba(10, 10, 10, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--scum-text);
    font-size: 1.1rem;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--scum-primary);
    box-shadow: 0 0 20px rgba(196, 30, 58, 0.3);
    background: rgba(15, 15, 15, 0.8);
}

.vote-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.vote-option {
    position: relative;
}

.vote-option input {
    display: none;
}

.vote-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, 
        rgba(40, 40, 40, 0.8) 0%, 
        rgba(50, 50, 50, 0.7) 100%);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.4s;
    border: 2px solid transparent;
    text-align: center;
    min-height: 180px;
}

.vote-option input:checked + label {
    background: linear-gradient(135deg, 
        rgba(196, 30, 58, 0.3) 0%, 
        rgba(138, 21, 40, 0.2) 100%);
    border-color: var(--scum-primary);
    box-shadow: 
        0 10px 25px rgba(196, 30, 58, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.vote-option label:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, 
        rgba(60, 60, 60, 0.9) 0%, 
        rgba(70, 70, 70, 0.8) 100%);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.vote-option i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--scum-primary);
}

.results-container {
    background: linear-gradient(135deg, 
        rgba(20, 20, 20, 0.9) 0%, 
        rgba(30, 30, 30, 0.85) 100%);
    border-radius: 20px;
    padding: 30px;
    margin-top: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Progress Bar */
.progress-bar {
    height: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    overflow: hidden;
    margin: 10px 0 20px;
    position: relative;
}

.progress-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 1s ease-out;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Application Form */
.application-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.full-width {
    grid-column: 1 / -1;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, 
        var(--scum-primary), 
        var(--scum-primary-dark));
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 25px rgba(196, 30, 58, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(196, 30, 58, 0.4),
        0 0 30px rgba(196, 30, 58, 0.2);
}

/* Footer */
.main-footer {
    margin-top: 60px;
    padding: 40px 0;
    background: linear-gradient(135deg, 
        rgba(15, 15, 15, 0.95) 0%, 
        rgba(25, 25, 25, 0.9) 100%);
    border-radius: 20px 20px 0 0;
    border-top: 3px solid var(--scum-primary);
    position: relative;
    overflow: hidden;
}

.footer-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.footer-content p {
    margin-bottom: 15px;
    color: var(--scum-text-dim);
    line-height: 1.6;
}

/* Notification */
.notification {
    position: fixed;
    top: 30px;
    right: 30px;
    padding: 20px 35px;
    background: linear-gradient(135deg, var(--scum-success), #1e7e34);
    color: white;
    border-radius: 15px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.4),
        0 5px 15px rgba(40, 167, 69, 0.3);
    display: none;
    z-index: 10000;
    animation: slideInRight 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    max-width: 400px;
    backdrop-filter: blur(10px);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: var(--scum-primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================= */
/* RESPONSIVE MOBILE - CLEAN VERSION */
/* ============================================= */

@media (max-width: 1200px) {
    .header-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .status-container {
        align-items: center;
        width: 100%;
    }
    
    .server-title h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 992px) {
    .content-card {
        padding: 30px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        padding: 20px;
    }
    
    .logo-section {
        flex-direction: column;
        gap: 15px;
    }
    
    .server-title h1 {
        font-size: 2rem;
        text-align: center;
    }
    
    .status-container {
        align-items: center;
        width: 100%;
    }
    
    .online-badge {
        padding: 10px 20px;
        font-size: 0.9rem;
        margin-bottom: 10px;
        width: 100%;
        max-width: 300px;
    }
    
    #login-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 15px auto;
    }
    
    .battlemetrics-wrapper {
        width: 100%;
        max-width: 500px;
    }
    
    .tabs-container {
        flex-direction: column;
        padding: 8px;
        gap: 5px;
    }
    
    .tab {
        margin: 0;
        padding: 16px;
        width: 100%;
    }
    
    .content-card {
        padding: 25px 20px;
        margin-bottom: 20px;
    }
    
    .content-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .content-header h2 {
        font-size: 1.6rem;
        word-break: break-word;
        line-height: 1.3;
    }
    
    #question {
        font-size: 1rem;
        padding: 15px;
        text-align: center;
        line-height: 1.4;
    }
    
    .vote-options {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .application-form {
        display: flex;
        flex-direction: column;
    }
    
    .info-list li, .rules-list li {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 15px;
    }
    
    .discord-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .notification {
        left: 20px;
        right: 20px;
        max-width: calc(100% - 40px);
    }
}

@media (max-width: 576px) {
    .server-title h1 {
        font-size: 1.8rem;
    }
    
    .content-header h2 {
        font-size: 1.4rem;
    }
    
    #question {
        font-size: 0.95rem;
        padding: 12px;
    }
    
    .btn {
        padding: 15px 25px;
    }
}

@media (max-width: 480px) {
    .tab {
        padding: 12px;
    }
    
    .content-header h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 360px) {
    .content-header h2 {
        font-size: 1.2rem;
    }
}