* {
    user-select: none;
    -webkit-user-select: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
    overscroll-behavior: none;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, #1a0000 0%, #1a0000 50%, #000000 100%);
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    line-height: 1.6;
}

.container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 50px;
    padding: 20px;
    background: linear-gradient(45deg, #000000, #3d0202, #000000);
    border-radius: 25px;
    border: 2px solid rgba(255, 0, 0, 0.3);
    box-shadow: 0 20px 60px rgba(255, 0, 0, 0.2);
}

::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #0a0a0a, #1a0000);
    border-radius: 0px;
    border-left: 1px solid #ff0000;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #ff0000, #cc0000, #ff0000);
    border-radius: 8px;
    border: 2px solid #000000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #ff3333, #ff0000, #ff3333);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.9);
    transform: scale(1.05);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(45deg, #ff6666, #ff0000, #ff6666);
    box-shadow: 0 0 25px rgba(255, 0, 0, 1);
}

::-webkit-scrollbar-corner {
    background: #0a0a0a;
    border-top: 1px solid #ff0000;
    border-left: 1px solid #ff0000;
}

::-webkit-scrollbar-track:hover {
    box-shadow: inset 0 0 30px rgba(255, 0, 0, 0.2);
}

* {
    scrollbar-width: thin;
    scrollbar-color: #ff0000 #0a0a0a;
}

@keyframes pulse-red {
    0% { box-shadow: 0 0 15px rgba(255, 0, 0, 0.7); }
    50% { box-shadow: 0 0 25px rgba(255, 0, 0, 0.9); }
    100% { box-shadow: 0 0 15px rgba(255, 0, 0, 0.7); }
}

::-webkit-scrollbar-thumb:hover {
    animation: pulse-red 1.5s infinite;
}

.header h1 {
    font-family: 'Orbitron', sans-serif !important;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 10px;
    margin-left: 15px;
    background: linear-gradient(45deg, #ff0000, #cc0000, #ff0000);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientShift 3s ease infinite;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center;
}

.header p {
    color: #cccccc;
    font-size: 1.4rem;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 0, 0, 0.1);
    text-align: center;
}

.navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
	margin-right: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.nav-btn {
    background: linear-gradient(135deg, rgba(80, 0, 0, 0.7), rgba(40, 0, 0, 0.7));
    color: #ffffff;
    border: 2px solid rgba(255, 0, 0, 0.4);
    padding: 15px 30px;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-align: center;
}

.nav-btn:hover {
    background: linear-gradient(135deg, rgba(120, 0, 0, 0.8), rgba(60, 0, 0, 0.8));
    border-color: rgba(255, 0, 0, 0.7);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
}

.nav-btn.active {
    background: linear-gradient(135deg, #8B0000, #cc0000);
    border-color: rgba(255, 0, 0, 0.8);
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.4);
}

.section {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.section.active {
    display: block;
}

.content-box {
    background: linear-gradient(145deg, rgba(40, 0, 0, 0.8), rgba(20, 0, 0, 0.8));
    border: 2px solid rgba(255, 0, 0, 0.4);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 15px 50px rgba(255, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.section-title {
    color: #ff0303 !important;
    font-size: 3rem !important;
    margin-bottom: 30px;
    padding: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    text-align: center !important;
    font-family: 'Audiowide', sans-serif !important;
    font-weight: 1000 !important;
    text-shadow: 
        0 0 20px rgba(255, 0, 0, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.5) !important; 
    display: inline-block !important;
    width: 100% !important;
}

.team-subtitle {
    color: #fff !important;
    font-size: 1.8rem !important;
    margin: 0 0 35px 0 !important;
    padding: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    text-align: center !important;
    font-family: 'Orbitron', sans-serif !important;
    font-weight: 700 !important;
    text-shadow: 
        0 0 20px rgba(255, 0, 0, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.5) !important;
    position: relative !important;
    display: inline-block !important;
    width: 100% !important;
} 

.team-subtitle::after {
    content: '' !important;
    position: absolute !important;
    bottom: -12px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100px !important;
    height: 4px !important;
    background: linear-gradient(90deg, 
        #ff0000,
        #ff4444,
        #ff0000) !important;
    border-radius: 2px !important;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5) !important;
} 
.info-card {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    text-align: center;
}

.info-card p {
    color: #e8e8e8;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: center;
}

.info-card p:last-child {
    margin-bottom: 0;
}

.info-highlight {
    color: #ff6666 !important;
    font-weight: 600;
}
 
.admin-access-container {
    position: absolute;
    top: 40px;
    right: 40px;
}

.admin-access-btn {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.7), rgba(204, 0, 0, 0.7));
    color: white;
    border: 2px solid rgba(255, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.admin-access-btn:hover {
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.8), rgba(255, 0, 0, 0.8));
    border-color: rgba(255, 0, 0, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.3);
}
 
.admin-form {
    max-width: 400px;
    margin: 0 auto;
}

.admin-form-container {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
}

.admin-form-container h3 {
    color: #ff0000;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-input, .form-textarea {
	width: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.6) 0%,
        rgba(20, 0, 0, 0.8) 100%);
    border: 2px solid rgba(255, 0, 0, 0.4);
    border-radius: 12px;
    padding: 15px 50px 15px 20px;
    color: #ff9999;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.3),
        0 5px 15px rgba(255, 0, 0, 0.1);
} 
.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: rgba(255, 0, 0, 0.7);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: -87px;
    cursor: pointer;
}

.form-group label {
    color: #cccccc;
    display: flex;
    align-items: center;
    margin-left: 260px !important;
    gap: 100px;
    cursor: pointer;
} 

.form-group label[for="newsIsImportant"] {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #ff9999;
    font-weight: 600;
    margin-left: 260px !important;
    user-select: none;
}

.form-group label[for="newsIsImportant"]::before {
    content: '';
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 0, 0, 0.4);
    border-radius: 6px;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.6) 0%,
        rgba(20, 0, 0, 0.8) 100%);
    box-shadow: 0 2px 5px rgba(255, 0, 0, 0.2);
    transition: all 0.3s ease;
    margin-left: 260px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
 
#newsIsImportant:checked + label::before {
    content: '✓';
    color: #ff0000; 
    font-weight: bold;
    border-color: #ff0000;
    margin-left: 260px !important;
    background: linear-gradient(135deg, 
        rgba(255, 0, 0, 0.2) 0%,
        rgba(204, 0, 0, 0.3) 100%);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}  
 
.admin-interface {
    max-width: 800px;
    margin: 0 auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 0, 0, 0.3);
}

.admin-header h3 {
    color: #ff0000;
    font-size: 1.8rem;
}

.logout-btn {
    background: rgba(255, 0, 0, 0.2);
    color: #ff6666;
    border: 1px solid rgba(255, 0, 0, 0.4);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: rgba(255, 0, 0, 0.4);
    color: white;
}

.news-loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.news-loading .loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

.news-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid #e74c3c;
}

.news-item.first-news {
    border-left: 4px solid #2ecc71;
    background: #f9fff9;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.news-date {
    color: #7f8c8d;
    font-size: 0.9em;
}

.news-badge {
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: bold;
    display: inline-block;
}

.badge-default {
    border-radius: 4px;
}

.badge-rounded {
    border-radius: 20px;
}

.badge-outline {
    background: transparent !important;
    border: 2px solid;
    color: inherit;
}

.badge-glow {
    box-shadow: 0 0 10px currentColor;
}

.news-item {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid #ff4444;
}

.news-item.first-news {
    border-left: 4px solid #44ff44;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.news-date {
    color: #aaa;
    font-size: 0.9em;
}

.news-item h3 {
    color: white;
    margin: 0 0 10px 0;
    font-size: 1.2em;
}

.news-content {
    color: #ddd;
    line-height: 1.5;
}

.news-content .news-link {
    color: #44aaff;
    text-decoration: none;
}

.news-content .news-link:hover {
    text-decoration: underline;
}

.news-author {
    color: #888;
    font-size: 0.9em;
    margin-top: 10px;
    font-style: italic;
}

.news-loading {
    text-align: center;
    padding: 30px;
    color: #aaa;
}

.loading-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #333;
    border-top: 3px solid #ff4444;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.retry-btn {
    background: #ff4444;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
}

.retry-btn:hover {
    background: #ff6666;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.create-news-form {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
}

.create-news-form h4 {
    color: #fff !important;
    font-size: 1.8rem !important;
    margin: 0 0 35px 0 !important;
    padding: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    text-align: center !important;
    font-family: 'Orbitron', sans-serif !important;
    font-weight: 700 !important;
    text-shadow: 
        0 0 20px rgba(255, 0, 0, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.5) !important;
    position: relative !important;
    display: inline-block !important;
    width: 100% !important;
} 

.create-news-form h4::after {
    content: '' !important;
    position: absolute !important;
    bottom: -12px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100px !important;
    height: 4px !important;
    background: linear-gradient(90deg, 
        #ff0000,
        #ff4444,
        #ff0000) !important;
    border-radius: 2px !important;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5) !important;
}

.existing-news {
    background: linear-gradient(135deg, 
        rgba(10, 0, 0, 0.98) 0%,
        rgba(20, 0, 0, 0.95) 50%,
        rgba(15, 0, 0, 0.97) 100%) !important;
    border: 2px solid transparent !important;
    border-radius: 20px !important;
    padding: 30px !important;
    margin: 40px 0 !important;
    box-shadow: 
        0 20px 60px rgba(255, 0, 0, 0.15),
        0 0 0 1px rgba(255, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    position: relative !important;
    overflow: hidden !important;
    backdrop-filter: blur(10px) !important;
}

.existing-news::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 2px !important;
    background: linear-gradient(90deg, 
        transparent 0%,
        #ff0000 50%,
        transparent 100%) !important;
    z-index: 1 !important;
}

.existing-news h4 {
    color: #fff !important;
    font-size: 1.8rem !important;
    margin: 0 0 35px 0 !important;
    padding: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    text-align: center !important;
    font-family: 'Orbitron', sans-serif !important;
    font-weight: 700 !important;
    text-shadow: 
        0 0 20px rgba(255, 0, 0, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.5) !important;
    position: relative !important;
    display: inline-block !important;
    width: 100% !important;
}

.existing-news h4::after {
    content: '' !important;
    position: absolute !important;
    bottom: -12px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100px !important;
    height: 4px !important;
    background: linear-gradient(90deg, 
        #ff0000,
        #ff4444,
        #ff0000) !important;
    border-radius: 2px !important;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5) !important;
}

.news-admin-content {
	margin-top: 30px; 	
}
 
.news-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
    max-height: 700px !important;
    overflow-y: auto !important;
    padding: 10px 15px 10px 5px !important;
    scrollbar-width: thin !important;
    scrollbar-color: #ff0000 rgba(255, 0, 0, 0.1) !important;
}

.news-list::-webkit-scrollbar {
    width: 10px !important;
}

.news-list::-webkit-scrollbar-track {
    background: rgba(255, 0, 0, 0.05) !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255, 0, 0, 0.1) !important;
}

.news-list::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, 
        #ff0000,
        #ff4444,
        #ff0000) !important;
    border-radius: 10px !important;
    border: 2px solid rgba(20, 0, 0, 0.8) !important;
    box-shadow: 
        inset 0 0 6px rgba(255, 255, 255, 0.3),
        0 0 10px rgba(255, 0, 0, 0.5) !important;
}

.news-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, 
        #ff4444,
        #ff6666,
        #ff4444) !important;
    box-shadow: 
        inset 0 0 6px rgba(255, 255, 255, 0.4),
        0 0 15px rgba(255, 0, 0, 0.7) !important;
}

/* Carte d'actualité - DESIGN PREMIUM */
.news-item-admin {
    background: linear-gradient(145deg, 
        rgba(15, 0, 0, 0.9) 0%,
        rgba(25, 0, 0, 0.85) 100%) !important;
    border: 1px solid rgba(255, 0, 0, 0.25) !important;
    border-radius: 18px !important;
    padding: 30px !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 
        0 10px 30px rgba(255, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(5px) !important;
}

.news-item-admin:hover {
    transform: translateY(-8px) scale(1.01) !important;
    border-color: rgba(255, 0, 0, 0.5) !important;
    box-shadow: 
        0 25px 60px rgba(255, 0, 0, 0.25),
        0 15px 20px rgba(255, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.news-item-admin::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 6px !important;
    height: 100% !important;
    background: linear-gradient(to bottom, 
        #ff0000 0%,
        #ff4444 50%,
        #ff0000 100%) !important;
    border-radius: 18px 0 0 18px !important;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4) !important;
}

.news-item-admin::after {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    left: -50% !important;
    width: 200% !important;
    height: 200% !important;
    background: radial-gradient(circle, 
        rgba(255, 0, 0, 0.1) 0%,
        transparent 70%) !important;
    opacity: 0 !important;
    transition: opacity 0.4s ease !important;
    z-index: 0 !important;
}

.news-item-admin:hover::after {
    opacity: 1 !important;
}

/* En-tête de l'actualité */
.news-admin-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    margin-bottom: 25px !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Section auteur - STYLE VIP */
.news-admin-author {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    flex: 1 !important;
    min-width: 250px !important;
}

.news-admin-avatar {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    border: 4px solid rgba(255, 0, 0, 0.4) !important;
    object-fit: cover !important;
    box-shadow: 
        0 0 30px rgba(255, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 20px rgba(0, 0, 0, 0.5) !important;
    transition: all 0.4s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.news-admin-avatar::before {
    content: '' !important;
    position: absolute !important;
    top: -10px !important;
    left: -10px !important;
    right: -10px !important;
    bottom: -10px !important;
    background: linear-gradient(45deg, 
        rgba(255, 0, 0, 0.2),
        rgba(255, 100, 0, 0.2),
        rgba(255, 0, 0, 0.2)) !important;
    border-radius: 50% !important;
    z-index: -1 !important;
    opacity: 0 !important;
    transition: opacity 0.4s ease !important;
}

.news-admin-avatar:hover {
    transform: scale(1.1) rotate(5deg) !important;
    border-color: rgba(255, 0, 0, 0.8) !important;
    box-shadow: 
        0 0 50px rgba(255, 0, 0, 0.8),
        0 0 0 2px rgba(255, 255, 255, 0.2),
        inset 0 0 30px rgba(0, 0, 0, 0.7) !important;
}

.news-admin-avatar:hover::before {
    opacity: 1 !important;
}

/* Infos auteur */
.news-admin-author-info {
    flex: 1 !important;
}

.news-admin-author-info strong {
    color: #fff !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    display: block !important;
    margin-bottom: 12px !important;
    text-shadow: 
        0 0 15px rgba(255, 0, 0, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.5) !important;
    background: linear-gradient(45deg, #fff, #ffcccc) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    position: relative !important;
    padding-left: 10px !important;
}

.news-admin-author-info strong::before {
    content: '📰' !important;
    position: absolute !important;
    left: -25px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 1.2rem !important;
    opacity: 0.8 !important;
}

.news-admin-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    align-items: center !important;
}

.news-admin-date {
    color: #ff8888 !important;
    font-size: 0.95rem !important;
    background: linear-gradient(45deg, 
        rgba(255, 50, 50, 0.2),
        rgba(255, 100, 100, 0.15)) !important;
    padding: 8px 18px !important;
    border-radius: 25px !important;
    border: 1px solid rgba(255, 50, 50, 0.3) !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    box-shadow: 
        0 4px 15px rgba(255, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease !important;
}

.news-admin-date:hover {
    transform: translateY(-2px) !important;
    box-shadow: 
        0 6px 20px rgba(255, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}

.news-admin-by {
    color: #cccccc !important;
    font-size: 0.95rem !important;
    font-style: italic !important;
    background: rgba(255, 255, 255, 0.05) !important;
    padding: 5px 12px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.news-admin-actions {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;   
    justify-content: flex-end !important;
}

.news-admin-badge { 
    margin: 0 !important; 
    color: white !important;
    padding: 10px 24px !important;
    border-radius: 30px !important;
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 
        0 6px 25px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 2px 0 rgba(255, 255, 255, 0.2) !important;
    min-width: 50px !important;
    text-align: center !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative !important;
    overflow: hidden !important;
    backdrop-filter: blur(5px) !important;
}

.news-admin-badge::before {
    content: '' !important;
    position: absolute !important; 
    top: -50% !important;
    left: -50% !important;
    width: 200% !important;
    height: 200% !important;
    background: linear-gradient(45deg, 
        transparent 30%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 70%) !important;
    transform: rotate(45deg) !important;
    transition: transform 0.6s ease !important;
    opacity: 0 !important;
}

.news-admin-badge:hover {
    transform: translateY(-4px) scale(1.08) !important;
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.6),
        0 0 0 2px rgba(255, 255, 255, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.3) !important;
    letter-spacing: 2px !important;
}

.news-admin-badge:hover::before {
    transform: rotate(45deg) translateX(100%) !important;
    opacity: 1 !important;
}
 
.delete-news-btn {
    margin: 0 !important;   
    background: linear-gradient(135deg, 
        rgba(255, 0, 0, 0.25),
        rgba(255, 50, 50, 0.15)) !important;
    color: #ff4444 !important;
    border: 2px solid rgba(255, 50, 50, 0.4) !important;
    border-radius: 12px !important;
    width: 48px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 
        0 6px 20px rgba(255, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    position: relative !important;
    overflow: hidden !important;
}

.delete-news-btn::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, 
        rgba(255, 0, 0, 0.3),
        rgba(255, 50, 50, 0.2)) !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    z-index: 0 !important;
}

.delete-news-btn:hover {
    background: linear-gradient(135deg, 
        rgba(255, 0, 0, 0.35),
        rgba(255, 50, 50, 0.25)) !important;
    color: #ff6666 !important;
    border-color: rgba(255, 50, 50, 0.6) !important;
    transform: translateY(-4px) scale(1.1) !important;
    box-shadow: 
        0 12px 30px rgba(255, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.delete-news-btn:hover::before {
    opacity: 1 !important;
}

.delete-news-btn:active {
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 
        0 8px 25px rgba(255, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.delete-news-btn svg {
    position: relative !important;
    z-index: 1 !important;
    transition: transform 0.3s ease !important;
}

.delete-news-btn:hover svg {
    transform: rotate(90deg) scale(1.2) !important;
}

/* Contenu de l'actualité */
.news-item-admin p {
    color: #f0f0f0 !important;
    font-size: 1.15rem !important;
    line-height: 1.8 !important;
    margin: 25px 0 0 0 !important;
    padding: 25px !important;
    background: linear-gradient(135deg, 
        rgba(255, 0, 0, 0.05),
        rgba(255, 50, 50, 0.03)) !important;
    border-radius: 15px !important;
    border: 1px solid rgba(255, 0, 0, 0.15) !important;
    position: relative !important;
    box-shadow: 
        inset 0 2px 10px rgba(0, 0, 0, 0.2),
        0 5px 15px rgba(255, 0, 0, 0.1) !important;
    backdrop-filter: blur(3px) !important;
    font-family: 'Segoe UI', system-ui, sans-serif !important;
} 

.news-item-admin p::before {
    top: 10px !important;
    left: 15px !important;
}

.news-item-admin p::after {
    bottom: 10px !important;
    right: 15px !important;
}

/* Message vide - DESIGN ÉPURÉ */
.no-news-message {
    text-align: center !important;
    padding: 60px 40px !important;
    color: #888888 !important;
    background: linear-gradient(135deg, 
        rgba(20, 0, 0, 0.6),
        rgba(25, 0, 0, 0.5)) !important;
    border-radius: 20px !important;
    border: 2px dashed rgba(255, 0, 0, 0.25) !important;
    box-shadow: 
        inset 0 0 30px rgba(255, 0, 0, 0.1),
        0 10px 40px rgba(255, 0, 0, 0.1) !important;
    backdrop-filter: blur(5px) !important;
}

.no-news-message svg {
    width: 80px !important;
    height: 80px !important;
    margin-bottom: 25px !important;
    opacity: 0.7 !important;
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.3)) !important;
}

.no-news-message h3 {
    color: #cccccc !important;
    margin-bottom: 15px !important;
    font-size: 1.5rem !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.no-news-message p {
    color: #999999 !important;
    font-size: 1.1rem !important;
    max-width: 500px !important;
    margin: 0 auto !important;
    line-height: 1.6 !important;
}

/* Responsive - ADAPTATION PARFAITE */
@media (max-width: 1024px) {
    .news-item-admin {
        padding: 25px !important;
    }
    
    .news-admin-author {
        min-width: 200px !important;
    }
    
    .news-admin-avatar {
        width: 70px !important;
        height: 70px !important;
    }
}

@media (max-width: 768px) {
    .existing-news {
        padding: 25px !important;
        margin: 30px 0 !important;
    }
    
    .news-admin-header {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 25px !important;
    }
    
    .news-admin-author {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
        gap: 15px !important;
    }
    
    .news-admin-avatar {
        width: 90px !important;
        height: 90px !important;
    }
    
    .news-admin-author-info strong {
        text-align: center !important;
        padding-left: 0 !important;
    }
    
    .news-admin-author-info strong::before {
        display: none !important;
    }
    
    .news-admin-meta {
        justify-content: center !important;
        text-align: center !important;
        gap: 12px !important;
    }
    
    .news-admin-actions {
        display: flex !important;
        justify-content: center !important;
        gap: 20px !important;
        margin-top: 15px !important;
    }
    
    .news-item-admin p {
        padding: 20px !important;
        font-size: 1.1rem !important;
    }
}

@media (max-width: 480px) {
    .existing-news {
        padding: 20px !important;
        border-radius: 15px !important;
    }
    
    .news-item-admin {
        padding: 20px !important;
        border-radius: 15px !important;
    }
    
    .news-admin-date,
    .news-admin-by {
        font-size: 0.85rem !important;
        padding: 6px 12px !important;
    }
    
    .news-admin-badge {
        padding: 8px 20px !important;
        font-size: 0.85rem !important;
        letter-spacing: 1px !important;
    }
    
    .delete-news-btn {
        width: 44px !important;
        height: 44px !important;
    }
    
    .news-item-admin p {
        padding: 18px !important;
        font-size: 1.05rem !important;
    }
}

/* Animation d'entrée */
@keyframes fadeInUp {
    from {
        opacity: 0 !important;
        transform: translateY(30px) !important;
    }
    to {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

.news-item-admin {
    animation: fadeInUp 0.6s ease-out !important;
}

/* Effet de particules */
.news-item-admin:hover {
    animation: floatEffect 3s ease-in-out infinite !important;
}

@keyframes floatEffect {
    0%, 100% {
        transform: translateY(-8px) scale(1.01) !important;
    }
    50% {
        transform: translateY(-12px) scale(1.02) !important;
    }
}

.news-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.news-item-admin {
    background: rgba(40, 0, 0, 0.6);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.news-item-admin:hover {
    background: rgba(60, 0, 0, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.2);
}

.news-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.news-admin-header strong {
    color: white;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
}

.news-admin-date {
    color: #888888;
    font-size: 0.85rem;
    margin-right: 10px;
}

.news-admin-badge {
    background: linear-gradient(45deg, #ff0000, #cc0000);
    color: white;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
}

.delete-news-btn {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.4);
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ff6666;
    flex-shrink: 0;
}

.delete-news-btn:hover {
    background: rgba(255, 0, 0, 0.4);
    color: white;
    transform: scale(1.1);
}

.news-item-admin p {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-top: 10px;
}

.no-news {
    text-align: center;
    color: #888888;
    font-style: italic;
    padding: 30px;
}

.success-message {
    background: rgba(0, 128, 0, 0.2);
    border: 1px solid rgba(0, 255, 0, 0.4);
    color: #88ff88;
    padding: 12px 20px;
    border-radius: 10px;
    margin-top: 15px;
    text-align: center;
}

.error-message {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.4);
    color: #ff8888;
    padding: 12px 20px;
    border-radius: 10px;
    margin-top: 15px;
    text-align: center;
}
 
@media (max-width: 768px) {
    .admin-access-container {
        position: static;
        display: flex;
        justify-content: center;
        margin: 20px 0;
    }
    
    .admin-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .create-news-form,
    .admin-form-container {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .admin-access-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .form-input, .form-textarea {
        padding: 10px 12px;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.service-card {
    background: linear-gradient(145deg, rgba(60, 0, 0, 0.7), rgba(30, 0, 0, 0.7));
    border: 2px solid rgba(255, 0, 0, 0.3);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 0, 0.6);
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.3);
}

.service-card h3 {
    color: #ff0000;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-align: center;
}

.service-card p {
    color: #cccccc;
    font-size: 1rem;
    text-align: center;
}

.server-stats-section {
    margin: 50px 0;
}

.server-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.stats-header {
    display: flex;
    justify-content: center;  
    align-items: center;
    margin-bottom: 25px;
    gap: 15px;
    flex-wrap: wrap;
    width: 100%;
    text-align: center;
}

.refresh-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(145deg, 
        rgba(139, 0, 0, 0.8) 0%,
        rgba(178, 34, 34, 0.9) 50%,
        rgba(139, 0, 0, 0.8) 100%);
    color: #ffcccc;
    border: 2px solid rgba(255, 0, 0, 0.5);
    border-radius: 15px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 25px rgba(255, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2); 
    position: relative;
    top: -5px;  
    transform: translateY(-5px);  
}
 
.refresh-btn { 
    margin-top: -5px;  
    margin-left: auto; 
    margin-right: 0;
}
 
.refresh-btn:hover:not(:disabled) {
    background: linear-gradient(145deg, 
        rgba(178, 34, 34, 0.9) 0%,
        rgba(205, 92, 92, 1) 50%,
        rgba(178, 34, 34, 0.9) 100%);
    border-color: rgba(255, 50, 50, 0.8);
    color: #ffffff; 
    transform: translateY(-15px) scale(1.02);  
    box-shadow: 
        0 15px 35px rgba(255, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.refresh-btn:active:not(:disabled) {
    transform: translateY(-13px) scale(1.02); 
    box-shadow: 
        0 5px 20px rgba(255, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.refresh-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed; 
    transform: translateY(-10px) !important;
}

.refresh-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.6s ease;
}

.refresh-btn:hover:not(:disabled) {
    background: linear-gradient(145deg, 
        rgba(178, 34, 34, 0.9) 0%,
        rgba(205, 92, 92, 1) 50%,
        rgba(178, 34, 34, 0.9) 100%);
    border-color: rgba(255, 50, 50, 0.8);
    color: #ffffff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(255, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.refresh-btn:hover:not(:disabled)::before {
    left: 100%;
}

.refresh-btn:active:not(:disabled) {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 
        0 5px 20px rgba(255, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.refresh-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    background: linear-gradient(145deg, 
        rgba(80, 0, 0, 0.8) 0%,
        rgba(100, 0, 0, 0.9) 50%,
        rgba(80, 0, 0, 0.8) 100%);
    border-color: rgba(255, 0, 0, 0.3);
    color: #ff9999;
}

.refresh-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 3px rgba(255, 0, 0, 0.5));
}

.refresh-btn:hover:not(:disabled) svg {
    transform: rotate(180deg);
    filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.8));
}

.refresh-btn.loading svg {
    animation: spin 1s linear infinite;
    filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.8));
}

.refresh-btn.loading span {
    opacity: 0.8;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.refresh-btn span {
    font-weight: 800;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}
 
@keyframes pulseRed {
    0%, 100% {
        box-shadow: 
            0 8px 25px rgba(255, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            0 0 0 rgba(255, 0, 0, 0);
    }
    50% {
        box-shadow: 
            0 8px 25px rgba(255, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            0 0 20px rgba(255, 0, 0, 0.6);
    }
}

.server-stats-section .section-title {
    text-align: center;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: -50px;
}

.server-stat-card {
    background: linear-gradient(145deg, rgba(60, 0, 0, 0.7), rgba(30, 0, 0, 0.7));
    border: 2px solid rgba(255, 0, 0, 0.3);
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.server-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff0000, #cc0000, #ff0000);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.server-stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 0, 0.6);
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.3);
}

.server-stat-card:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    font-size: 2.5rem;
    width: 70px;
    height: 70px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 0, 0, 0.3);
    flex-shrink: 0; 
}

.stat-content {
    flex: 1;
}

.stat-content h3 {
    color: #ff6666;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.stat-value {
    color: #afafaf;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 5px;
    font-family: 'Cinzel', 'UnifrakturMaguntia', 'MedievalSharp', cursive;
}

.stat-trend {
    color: #cccccc;
    font-size: 0.9rem;
}

.trend-up {
    color: #00ff00;
    font-weight: 600;
}

.stat-percentage {
    color: #ff6666;
    font-size: 1rem;
    font-weight: 600;
}

.stat-label {
    color: #aaaaaa;
    font-size: 0.9rem;
}

.stat-badges {
    margin-top: 5px;
}

.badge {
    display: inline-block;
    background: linear-gradient(45deg, #ffd700, #ffaa00);
    color: #000000;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
}

.top-contributors-section {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
}

.contributor-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 0, 0, 0.3);
    margin-right: 15px;
}

.contributor-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contributor-card {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contributors-title {
    color: #ff0000;
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
}

.contributors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.contributor-card {
    background: rgba(40, 0, 0, 0.6);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.contributor-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.2);
}

.contributor-rank {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #ff0000, #cc0000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: white; 
}

.contributor-info {
    flex: 1;
}

.contributor-name {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.contributor-count {
    color: #ff6666;
    font-size: 0.9rem;
}

.contributor-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px;
}

.contributor-placeholder .loading-spinner.small {
    width: 30px;
    height: 30px;
    margin: 0 auto 15px;
}

.contributor-placeholder p {
    color: #cccccc;
    font-size: 1rem;
}

.activity-section {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 15px;
    padding: 25px;
}

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.activity-header h3 {
    color: #ff0000;
    font-size: 1.3rem;
    font-weight: 700;
}

.last-update {
    color: #888888;
    font-size: 0.9rem;
    font-weight: 600;
}

.activity-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.activity-stat {
    text-align: center;
}

.activity-label {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.activity-value {
    font-size: 1.2rem;
    font-weight: 600;
}

.status-active {
    color: #00ff00;
}

.team-hierarchy {
    margin-top: 40px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 15px;
}

.team-subtitle {
    color: #ff0000;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
}

.team-members-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.team-member {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(20, 0, 0, 0.6);
    border-radius: 10px;
    border-left: 4px solid;
    transition: all 0.3s ease;
}

.team-member:hover {
    background: rgba(40, 0, 0, 0.8);
    transform: translateX(5px);
}

.team-member.role-owner {
    border-left-color: #D49C3D;
}

.team-member.role-leader {
    border-left-color: #00ff14;
}

.team-member.role-senior {
    border-left-color: #31935b;
}

.team-member.role-member {
    border-left-color: #60a4d0;
}

.member-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 0, 0, 0.5);
    object-fit: cover;
}

.member-info {
    flex: 1;
}

.member-name {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.member-role {
    color: #ff6666;
    font-size: 0.9rem;
    font-weight: 500;
}

.role-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 0, 0, 0.2);
    border-radius: 5px;
    margin-left: 10px;
    font-size: 0.8rem;
}

.loading {
    text-align: center;
    padding: 30px;
    color: #cccccc;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    margin: 20px auto;
    border: 3px solid rgba(255, 0, 0, 0.3);
    border-top: 3px solid #ff0000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-message {
    text-align: center;
    color: #ff6666;
    padding: 20px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 10px;
    margin: 20px 0;
}

.cta-box {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
}

.cta-box p {
    color: #e8e8e8;
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-align: center;
}

.cta-box code {
    background: rgba(255, 0, 0, 0.2);
    color: #ff6666;
    padding: 5px 15px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 1.1rem;
}

.link-button {
    display: inline-block;
    background: linear-gradient(135deg, #8B0000, #cc0000);
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    margin-top: 15px; 
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.link-button:hover {
    background: linear-gradient(135deg, #cc0000, #ff0000);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.4);
}

.news-item {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    text-align: center;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.news-date {
    color: #888888;
    font-size: 0.9rem;
    font-weight: 600;
}

.news-badge {
    background: linear-gradient(45deg, #ff0000, #cc0000);
    color: white;
    padding: 5px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-badge.milestone {
    background: linear-gradient(45deg, #ffd700, #ffaa00);
}

.news-badge.promo {
    background: linear-gradient(45deg, #00ff00, #00cc00);
}

.news-item h3 {
    color: #ff0000;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-align: center;
}

.news-item p {
    color: #e8e8e8;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 10px;
    text-align: center;
}

.news-highlight {
    color: #ff6666 !important;
    font-weight: 600;
    font-size: 1.2rem !important;
}

.inline-link {
    color: #ff6666;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    text-align: center;
    display: inline-block;
    width: 100%;
}

.inline-link:hover {
    color: #ff0000;
    text-decoration: underline;
}

.footer {
    margin: 60px auto 0 auto;
    text-align: center;
    color: #888888;
    font-size: 1.1rem;
    padding: 30px;
    border-top: 2px solid rgba(255, 0, 0, 0.3);
    width: 100%; 
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
}

.footer p {
    margin-bottom: 10px;
    text-align: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
 
.guildTagContainer__63ed3 {
    display: flex;              
    justify-content: center;    
    align-items: center;      
    margin: 20px 0;             
}
 
.guildTag__63ed3 {
    display: flex;
    align-items: center;
    gap: 6px;                   
    background-color: #363636;   
    color: white;               
    font-weight: 600;
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.2s;
}

.guildTag__63ed3:hover {
    transform: scale(1.05);
}
 
.guildTag__63ed3 .badge__10651 {
    display: inline-block;
    position: relative;
    right: 2px;
    top: 2px; 
}
 
.popout {
    display: none;  
    position: absolute;  
    z-index: 1000;
    background: rgba(0,0,0,0); 
}

.popout-content {
    background: linear-gradient(145deg, rgba(20, 0, 0, 0.95), rgba(40, 0, 0, 0.95));
    border: 2px solid rgba(255, 0, 0, 0.5);
    border-radius: 20px;
    padding: 20px;
    max-width: 400px;
    width: 90%;
    color: #fff;
    text-align: center;
    box-shadow: 0 20px 60px rgba(255,0,0,0.4);
    position: relative;
}

.popout-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.popout-header img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid #ff0000;
}

.popout-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: rgba(255,0,0,0.3);
    border: 2px solid #ff0000;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
    color: white;
    cursor: pointer;
    text-align: center;
    line-height: 30px;
}

.popout-close .popout-close-icon {
    position: absolute;
    top: -3px;
    left: 4.25px;
    font-size: 2rem;
    color: #fff;
}

.btn-popout {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #8B0000, #cc0000);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
}

.popout-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid rgba(20,0,0,0.95);
    top: -10px; 
    left: 50%;
    transform: translateX(-50%);
} 

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.faq-card {
    background: linear-gradient(145deg, rgba(40, 0, 0, 0.8), rgba(20, 0, 0, 0.8));
    border: 2px solid rgba(255, 0, 0, 0.3);
    border-radius: 20px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 230px;  
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.faq-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff0000, #cc0000, #ff0000);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.faq-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 0, 0, 0.6);
    box-shadow: 0 20px 50px rgba(255, 0, 0, 0.3);
}

.faq-card:hover::before {
    transform: scaleX(1);
}

.faq-card.active {
    background: linear-gradient(145deg, rgba(80, 0, 0, 0.9), rgba(40, 0, 0, 0.9));
    border-color: rgba(255, 0, 0, 0.8);
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.4);
}

.faq-card.active::before {
    transform: scaleX(1);
}

.faq-card-number {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 0, 0, 0.2);
    color: #ff6666;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    border: 2px solid rgba(255, 0, 0, 0.3);
}

.faq-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 20px;  
}

.faq-card h3 {
    color: #ff0000;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px; 
    text-align: center;
    line-height: 1.3;  
    max-height: 60px;  
    overflow: hidden;
    display: -webkit-box; 
    -webkit-box-orient: vertical;
}

.faq-card-preview {
    color: #cccccc;
    font-size: 1rem;
    text-align: center;
    opacity: 0.9;
    line-height: 1.4; 
    max-height: 40px;  
    overflow: hidden;
    display: -webkit-box; 
    -webkit-box-orient: vertical;
}

.faq-card-icon {
    margin-top: 15px; 
    font-size: 1.5rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}
 
.faq-card:hover .faq-card-icon {
    opacity: 1;
    transform: translateY(5px);
}

#faq-modal {
    display: none;   
}

.faq-modal { 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
    background: rgba(0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    opacity: 1;
}

.faq-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: none;
    transition: opacity 0.3s ease;
}

.faq-modal.closing {
    opacity: 0;  
}

.faq-modal-content {
    position: relative;
    max-width: 800px;
    width: 90%; 
    margin: 140px auto;  
    background: linear-gradient(145deg, rgba(20, 0, 0, 0.95), rgba(40, 0, 0, 0.95));
    border: 2px solid rgba(255, 0, 0, 0.5);
    border-radius: 25px;
    overflow: visible;  
    box-shadow: 0 30px 100px rgba(255, 0, 0, 0.4);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.faq-modal-content.open {
    transform: scale(1);
    opacity: 1;
}

.faq-modal-content.close {
    transform: scale(0.8);
    opacity: 1;
}

.faq-modal-close {
    display: block !important; 
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,0,0,0.3);
    border: 2px solid rgba(255,0,0,0.5);
    cursor: pointer;
    padding: 0;
    overflow: hidden;
}

.faq-modal-close .close-icon {
    position: absolute;
    top: -7.5px;
    left: 9.5px;
    font-size: 2.5rem;
    color: #fff;
}

.faq-modal-close:hover {
    background: rgba(255, 0, 0, 0.5); 
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
}

.faq-modal-body {
    padding: 60px 40px 40px;
    overflow-y: visible; 
    max-height: none;  
}

.faq-modal-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-modal-title {
    color: #ff0000;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    margin-top: 30px !important;
    text-align: center;
}

.faq-modal-number {
    display: inline-block;
    background: linear-gradient(45deg, #ff0000, #cc0000);
    color: white;
    padding: 8px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    text-align: center;
    margin: 0 auto;
}

.faq-modal-content .faq-answer {
    color: #ffffff;
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
}

.faq-modal-content .faq-answer p {
    margin-bottom: 25px;
    text-align: center;
}

.faq-modal-content .info-highlight {
    color: #ff3333 !important;
    font-size: 1.4rem !important;
    font-weight: 700;
    text-align: center;
    display: block;
    margin: 25px 0;
    padding: 15px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 15px;
    border-left: 4px solid #ff0000;
}

.faq-modal-content ul {
    margin: 20px 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.faq-modal-content li {
    margin-bottom: 15px;
    padding: 12px 20px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 10px;
    border-left: 3px solid #ff3333;
    text-align: center;
}

.faq-modal-content code {
    background: rgba(255, 0, 0, 0.2);
    color: #ff6666;
    padding: 8px 15px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 1.1rem;
    text-align: center;
    display: inline-block;
    margin: 5px 0;
}
 
.server-info-container {
    width: 100%;
    max-width: 800px;
    margin: 30px auto 40px auto;
    display: flex;
    justify-content: center;
}

.server-info-card {
    background: linear-gradient(145deg, rgba(20, 0, 0, 0.95), rgba(30, 0, 0, 0.95));
    border: 2px solid rgba(255, 0, 0, 0.5);
    border-radius: 25px;
    padding: 35px;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(255, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}
 
.server-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1.5px;
    background: linear-gradient(90deg, #ff0000, #cc0000, #ff0000);
    background-size: 200% 100%;
    animation: borderGlow 3s ease infinite;
}
 
.server-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 80px rgba(255, 0, 0, 0.25);
    border-color: rgba(255, 0, 0, 0.7);
}
 
.server-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}
 
.server-icon-container {
    position: relative;
    width: 100px;
    height: 100px;
}

.server-icon {
    width: 100%;
    height: 100%;
    border-radius: 25px; ;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.server-info-card:hover .server-icon { 
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.4);
} 
 
.server-badge.loading {
    position: relative;
    color: transparent !important;
    background: rgba(255, 0, 0, 0.1) !important;
    overflow: hidden;
}

.server-badge.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.2), transparent);
    animation: loadingShimmer 1.5s infinite;
}

@keyframes loadingShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.server-titles {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.server-name {
    color: #ff0000;
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0;
    margin-left: 35px;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
    letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif;
}
 
.server-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.server-badge {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.2), rgba(204, 0, 0, 0.2));
    color: #ff9999;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 700;
    border: 1px solid rgba(255, 0, 0, 0.4);
    transition: all 0.3s ease;
    white-space: nowrap;
    backdrop-filter: blur(5px);
}

.server-badge.online {
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.15), rgba(0, 200, 0, 0.15));
    color: #88ff88;
    border-color: rgba(0, 255, 0, 0.4);
}

.server-badge:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.3), rgba(204, 0, 0, 0.3));
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.2);
}
 
.server-description {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    padding: 25px;
    margin: 25px 0 30px 0;
    border: 1px solid rgba(255, 0, 0, 0.3);
    text-align: center;
}

.server-description p {
    color: #e0e0e0;
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.server-description p:first-child {
    color: #ff6666;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
 
.server-join-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #8B0000, #cc0000);
    color: white;
    padding: 18px 40px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 2px solid rgba(255, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    width: auto;
    min-width: 250px;
}
 
.server-join-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.server-join-btn:hover::before {
    left: 100%;
}

.server-join-btn:hover {
    background: linear-gradient(135deg, #cc0000, #ff0000);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(255, 0, 0, 0.5);
    border-color: rgba(255, 0, 0, 0.7);
}

.server-join-btn span {
    position: relative;
    z-index: 1;
}

.server-join-btn svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.server-join-btn:hover svg {
    transform: translateX(8px);
}
 
@keyframes borderGlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}
 
@keyframes pulseGreen {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 255, 0, 0.8);
        transform: scale(1.1);
    }
}
 
.guildTagContainer__63ed3 {
    display: flex;
    justify-content: center;
    margin: 20px 0 30px 0;
}

.guildTag__63ed3 {
    background: linear-gradient(135deg, #8B0000, #cc0000);
    color: white;
    font-weight: 800;
    font-size: 1rem;
    padding: 10px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.3);
    cursor: default;
    border: 2px solid rgba(255, 0, 0, 0.5);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.guildTag__63ed3:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 0, 0, 0.4);
}

.guildTag__63ed3 .badge__10651 {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.tagText__10651 {
    font-weight: 800;
    letter-spacing: 1px;
}
 
@media (max-width: 768px) {
    .server-info-container {
        margin: 20px auto 30px auto;
        padding: 0 15px;
    }
    
    .server-info-card {
        padding: 25px 20px;
        border-radius: 20px;
    }
    
    .server-icon-container {
        width: 80px;
        height: 80px;
    }
    
    .server-name {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .server-badges {
        gap: 8px;
    }
    
    .server-badge {
        padding: 6px 14px;
        font-size: 0.85rem;
    }
    
    .server-description {
        padding: 20px 15px;
        margin: 20px 0 25px 0;
    }
    
    .server-description p {
        font-size: 1.05rem;
        text-align: center;
    }
    
    .server-join-btn {
        padding: 16px 30px;
        font-size: 1.1rem;
        min-width: 200px;
    }
    
    .guildTag__63ed3 {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .server-info-card {
        padding: 20px 15px;
    }
    
    .server-name {
        font-size: 1.6rem;
    }
    
    .server-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .server-badge {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
    
    .server-join-btn {
        width: 100%;
        min-width: auto;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {
    body {
        padding: 20px 15px;
    }

    .header {
        padding: 25px 15px;
        margin-bottom: 30px;
        border-radius: 20px;
    }

    .header h1 {
        font-size: 2.5rem;
        margin-left: 0;
        letter-spacing: 2px;
        text-align: center;
    }

    .header p {
        font-size: 1.1rem;
        padding: 12px 20px;
        text-align: center;
    }

    .navigation {
        gap: 10px;
        margin-bottom: 30px;
    }

    .nav-btn {
        padding: 12px 20px;
        font-size: 1rem;
        text-align: center;
    }

    .content-box {
        padding: 25px 20px;
        border-radius: 15px;
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
        text-align: center;
    }

    .info-card {
        padding: 20px;
        text-align: center;
    }

    .info-card p {
        font-size: 1rem;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service-card {
        padding: 20px;
        text-align: center;
    }

    .service-card h3 {
        font-size: 1.3rem;
        text-align: center;
    }

    .service-card p {
        text-align: center;
    }

    .server-stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .server-stat-card {
        padding: 20px;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    .contributors-grid {
        grid-template-columns: 1fr;
    }

    .news-item h3 {
        font-size: 1.3rem;
        text-align: center;
    }

    .news-item p {
        font-size: 1rem;
        text-align: center;
    }

    .footer {
        margin-top: 40px;
        padding: 20px;
        border-radius: 15px;
        font-size: 1rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .faq-card {
        padding: 25px;
        min-height: 180px;
    }
    
    .faq-card h3 {
        font-size: 1.2rem;
    }
    
    .faq-modal-content {
        width: 95%;
        margin: 2.5vh auto;
    }
    
    .faq-modal-body {
        padding: 50px 20px 30px;
    }
    
    .faq-modal-title {
        font-size: 2rem;
    }
    
    .faq-modal-content .faq-answer {
        font-size: 1.1rem;
    }
}


.color-picker-wrapper {
    margin-top: 10px;
}

.color-picker {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 0, 0, 0.2);
}

.selected-color-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.selected-color-display label {
    color: #cccccc;
    font-size: 0.9rem;
    font-weight: 600;
}

.selected-color {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    border: 3px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.color-options-container {
    flex: 1;
}

.color-options {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    position: relative; 
    left: 230px !important;
}

.color-option {
    width: 35px;
    height: 35px;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
}

.color-option:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.color-option.selected {
    border: 3px solid white !important;
    box-shadow: 
        0 0 15px rgba(255, 255, 255, 0.7),
        0 0 25px rgba(255, 0, 0, 0.5);
    transform: scale(1.15);
    z-index: 1;
}

.color-option.selected::after { 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 14px;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
}

#createNewsBtn {
    margin-left: 266px !important;
    margin-right: 0 !important;
    display: block !important;
    width: fit-content !important;
    margin-top: 20px !important;
}
 
@media (max-width: 768px) {
    .color-picker {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .color-options {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .selected-color {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .color-options {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .color-option {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 2rem;
        text-align: center;
    }

    .header p {
        font-size: 1rem;
        padding: 10px 15px;
        text-align: center;
    }

    .nav-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
        text-align: center;
    }

    .section-title {
        font-size: 1.5rem;
        text-align: center;
    }

    .content-box {
        padding: 20px 15px;
    }

    .activity-header {
        flex-direction: column;
        text-align: center;
    }

    .activity-stats {
        grid-template-columns: 1fr;
    }

    .faq-card {
        padding: 20px;
        min-height: 160px;
    }
    
    .faq-card h3 {
        font-size: 1.1rem;
    }
    
    .faq-modal-body {
        padding: 40px 15px 25px;
    }
    
    .faq-modal-title {
        font-size: 1.8rem;
    }
    
    .faq-modal-close {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
	 
#news-container {
    margin-top: 20px;
}

.news-loading {
    text-align: center;
    padding: 40px;
    color: #888;
}

.news-loading .loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #333;
    border-top: 4px solid #ff4444;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

.news-item {
    background: #1a1a1a !important;  
    border-radius: 10px !important;
    padding: 20px !important;
    margin-bottom: 15px !important;
    border-left: 4px solid #ff4444 !important;
    color: white !important;
}

.news-item.first-news {
    border-left: 4px solid #44ff44 !important;
    background: #222 !important;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.news-date {
    color: #aaa !important;
    font-size: 0.9em;
}

.news-badge {
    color: white !important;
    padding: 4px 12px !important;
    border-radius: 4px !important;
    font-size: 0.8em !important;
    font-weight: bold !important;
    display: inline-block !important;
}

.badge-default {
    border-radius: 4px !important;
}

.badge-rounded {
    border-radius: 20px !important;
}

.badge-outline {
    background: transparent !important;
    border: 2px solid !important;
    color: inherit !important;
}

.badge-glow {
    box-shadow: 0 0 10px currentColor !important;
}

.news-item h3 {
    color: white !important;
    margin: 0 0 10px 0 !important;
    font-size: 1.3em !important;
    text-align: left !important;
}

.news-content {
    color: #ddd !important;
    line-height: 1.6 !important;
    text-align: left !important;
}

.news-content .news-link {
    color: #44aaff !important;
    text-decoration: none !important;
    word-break: break-all !important;
}

.news-content .news-link:hover {
    text-decoration: underline !important;
}

.news-author {
    color: #888 !important;
    font-size: 0.9em !important;
    margin-top: 10px !important;
    font-style: italic !important;
    text-align: left !important;
}

.no-news {
    text-align: center !important;
    padding: 40px !important;
    color: #666 !important;
}

.news-error {
    text-align: center !important;
    padding: 40px !important;
}

.error-message {
    background: rgba(255, 0, 0, 0.1) !important;
    border: 1px solid rgba(255, 0, 0, 0.3) !important;
    border-radius: 10px !important;
    padding: 20px !important;
}

.error-message h3 {
    color: #ff4444 !important;
    margin-bottom: 10px !important;
}

.retry-btn {
    background: #ff4444 !important;
    color: white !important;
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 0.9em !important;
    margin-top: 10px !important;
}

.retry-btn:hover {
    background: #ff6666 !important;
} 
 
#news-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 20px 0;
} 
	
@keyframes newsFadeIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
 
.news-item {
    background: linear-gradient(145deg, 
        rgba(20, 0, 0, 0.95) 0%,
        rgba(40, 0, 0, 0.9) 50%,
        rgba(60, 0, 0, 0.85) 100%);
    border: 2px solid rgba(255, 0, 0, 0.3);
    border-radius: 25px;
    padding: 35px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    animation: newsFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 20px 40px rgba(255, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}
 
.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        #ff0000 0%,
        #cc0000 33%,
        #ff3333 66%,
        #ff0000 100%);
    background-size: 300% 100%;
    animation: borderFlow 3s linear infinite;
    z-index: 2;
}
 
.news-item.first-news {
    background: linear-gradient(145deg,
        rgba(30, 0, 0, 0.98) 0%,
        rgba(50, 0, 0, 0.95) 50%,
        rgba(70, 0, 0, 0.9) 100%);
    border: 3px solid rgba(255, 0, 0, 0.5);
    box-shadow: 
        0 30px 60px rgba(255, 0, 0, 0.25),
        0 0 0 1px rgba(255, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.news-item.first-news::before {
    height: 4px;
    background: linear-gradient(90deg,
        #00ff00 0%,
        #44ff44 33%,
        #00ff00 66%,
        #44ff44 100%);
    animation: borderFlow 2s linear infinite;
}
 
.news-item:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(255, 0, 0, 0.7);
    box-shadow: 
        0 35px 70px rgba(255, 0, 0, 0.3),
        0 0 0 2px rgba(255, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
 
@keyframes borderFlow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 300% 50%;
    }
}
 
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
    position: relative;
}
 
.news-date {
    color: #ff9999;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 8px 18px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.news-date::before {
    content: '📅';
    font-size: 1rem;
}

.news-date:hover {
    background: rgba(255, 0, 0, 0.2);
    transform: translateY(-2px);
}
 
.news-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.news-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    opacity: 0.8;
    z-index: 1;
}

.news-badge span {
    position: relative;
    z-index: 2;
}

.news-badge::after {
    content: '🔴';
    font-size: 0.8rem;
    position: relative;
    z-index: 2;
}
 
.badge-default {
    background: linear-gradient(45deg, #ff0000, #cc0000, #ff0000);
    border-color: rgba(255, 0, 0, 0.4);
}

.badge-rounded {
    border-radius: 50px;
    padding: 10px 25px;
}

.badge-outline {
    background: transparent !important;
    border: 2px solid;
    box-shadow: 0 0 20px currentColor;
}

.badge-outline::before {
    display: none;
}

.badge-glow {
    animation: badgePulse 2s infinite;
    box-shadow: 0 0 30px currentColor;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 20px currentColor;
    }
    50% {
        box-shadow: 0 0 40px currentColor;
    }
}
 
.news-item h3 {
    color: #ff0000;
    font-size: 2rem;
    font-weight: 900;
    margin: 0 0 25px 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.3;
    text-shadow: 
        0 2px 10px rgba(255, 0, 0, 0.3),
        0 4px 20px rgba(255, 0, 0, 0.2);
    position: relative;
    padding-bottom: 15px;
}

.news-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff0000, transparent);
}

.news-item.first-news h3 {
    font-size: 2.3rem;
    color: #44ff44;
    text-shadow: 
        0 2px 15px rgba(68, 255, 68, 0.4),
        0 4px 30px rgba(68, 255, 68, 0.3);
}

.news-item.first-news h3::after {
    background: linear-gradient(90deg, transparent, #44ff44, transparent);
}
 
.news-content {
    color: #f0f0f0;
    font-size: 1.2rem;
    line-height: 1.9;
    margin-bottom: 30px;
    text-align: center;
    padding: 0 20px;
}

.news-content p {
    margin-bottom: 20px;
}

.news-content strong {
    color: #ff6666;
    font-weight: 700;
}

.news-content em {
    color: #ff9999;
    font-style: italic;
}
 
.news-link {
    color: #ff6666;
    text-decoration: none;
    font-weight: 700;
    position: relative;
    padding: 2px 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 0 5px;
}

.news-link::after {
    content: '↗';
    margin-left: 5px;
    font-size: 0.9em;
    opacity: 0.7;
}

.news-link:hover {
    color: #ff0000;
    background: rgba(255, 0, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.2);
}
 
.news-author {
    color: #888888;
    font-size: 1rem;
    margin-top: 25px;
    font-style: italic;
    text-align: center;
    font-weight: 600;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 0, 0, 0.2);
    position: relative;
}

.news-author::before {
    content: '👤';
    margin-right: 8px;
    font-style: normal;
}
 
.no-news {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    text-align: center;
}

.news-placeholder {
    background: rgba(20, 0, 0, 0.6);
    border: 2px dashed rgba(255, 0, 0, 0.3);
    border-radius: 20px;
    padding: 60px 40px;
    max-width: 500px;
    width: 100%;
}

.news-placeholder h3 {
    color: #ff6666;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.news-placeholder p {
    color: #999999;
    font-size: 1.2rem;
    text-align: center;
}
 
.news-error {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    text-align: center;
}

.error-message {
    background: rgba(40, 0, 0, 0.8);
    border: 2px solid rgba(255, 0, 0, 0.5);
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 500px;
    width: 100%;
}

.error-message h3 {
    color: #ff0000;
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
}

.retry-btn {
    background: linear-gradient(135deg, #8B0000, #cc0000);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.retry-btn:hover {
    background: linear-gradient(135deg, #cc0000, #ff0000);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 0, 0, 0.3);
}

.retry-btn::before {
    content: '🔄';
    font-size: 1.2rem;
}
 
.news-loading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    text-align: center;
}

.news-loading .loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 0, 0, 0.2);
    border-top: 4px solid #ff0000;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
    margin-bottom: 25px;
}

.news-loading p {
    color: #ff9999;
    font-size: 1.2rem;
    font-weight: 600;
} 
	
.admin-interface {
    background: rgba(10, 0, 0, 0.8);
    border: 2px solid rgba(255, 0, 0, 0.4);
    border-radius: 20px;
    padding: 30px;
    margin-top: 20px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 0, 0, 0.3);
}

.admin-header h3 {
    color: #ff0000;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}
  
.logout-container {
    display: block !important;
    width: 100% !important;
    margin-top: 30px !important;
    padding-top: 20px !important;
    border-top: 1px solid rgba(255, 0, 0, 0.3) !important;
    text-align: right !important;
    position: relative !important;
    clear: both !important;
}

.logout-btn {
    background: linear-gradient(135deg, 
        rgba(255, 0, 0, 0.2), 
        rgba(204, 0, 0, 0.2)) !important;
    color: #ff9999 !important;
    border: 2px solid rgba(255, 0, 0, 0.4) !important;
    padding: 12px 30px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    float: right !important;
    position: static !important;
    margin: 0 !important;
}

.logout-btn:hover {
    background: linear-gradient(135deg, 
        rgba(255, 0, 0, 0.3), 
        rgba(204, 0, 0, 0.3)) !important;
    color: #ffcccc !important;
    border-color: rgba(255, 0, 0, 0.6) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.2) !important;
}
 
#createNewsBtn {
    margin: 20px auto 0 auto !important;
    display: block !important;
    width: auto !important;
    min-width: 200px !important;
}
 
.stats-header {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
    flex-wrap: wrap !important;
    margin-bottom: 25px !important;
    position: relative !important;
}

.refresh-btn {
    position: static !important;
    margin: 0 !important;
    transform: none !important;
    top: auto !important;
    right: auto !important;
}
 
.form-group label[for="newsIsImportant"] {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    cursor: pointer !important;
    color: #ff9999 !important;
    font-weight: 600 !important;
    margin-left: 0 !important;
    justify-content: center !important;
}

.form-group input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    accent-color: #ff0000 !important;
    margin: 0 !important;
}

.form-group label {
    margin-left: 0 !important;
    justify-content: center !important;
    text-align: center !important;
}

.news-admin-badge {
    margin-right: 0 !important;
    margin-left: auto !important;
}

.news-admin-actions {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    justify-content: flex-end !important;
    width: auto !important;
    flex-shrink: 0 !important;
}

.news-item-admin p::before,
.news-item-admin p::after {
    display: none !important;
}

.news-item-admin p {
    padding: 20px !important;
    background: rgba(0, 0, 0, 0.3) !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255, 0, 0, 0.2) !important;
    text-align: left !important;
    margin: 15px 0 !important;
    position: relative !important;
}
 
.news-admin-author {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    max-width: 100% !important;
}

.news-admin-avatar {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    border: 2px solid rgba(255, 0, 0, 0.4) !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
}
 
.color-picker {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    align-items: center !important;
}

.color-options {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 10px !important;
    left: 0 !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 300px !important;
}
 
@media (max-width: 768px) { 
    .news-admin-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }
    
    .news-admin-actions {
        width: 100% !important;
        justify-content: space-between !important;
    }
    
    .news-admin-badge {
        margin-left: 0 !important;
    }
     
    .logout-container {
        text-align: center !important;
    }
    
    .logout-btn {
        float: none !important;
        margin: 0 auto !important;
    }
     
    .color-options {
        grid-template-columns: repeat(4, 1fr) !important;
        left: 0 !important;
    }
    
    #createNewsBtn {
        width: 100% !important;
        max-width: 300px !important;
        margin: 20px auto !important;
    }
}

@media (max-width: 480px) { 
    .news-admin-author {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .news-admin-meta {
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
    }
    
    .color-options {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .logout-btn {
        width: 100% !important;
        max-width: 250px !important;
        justify-content: center !important;
    }
}
 
.admin-access-container {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 1000 !important;
}

.existing-news {
    position: relative !important;
    z-index: 1 !important;
}
 
.logout-container,
.logout-btn,
.admin-interface {
    border: none !important;
    background: none !important;
}
 
.server-stats-section .section-title {
    margin-bottom: 20px !important;
    width: 100% !important;
    text-align: center !important;
}

.refresh-btn {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
 
.form-group {
    margin-bottom: 20px !important;
}

.form-group:last-child {
    margin-bottom: 0 !important;
}
 
.form-submit-container {
    display: flex !important;
    justify-content: center !important;
    margin-top: 25px !important;
    width: 100% !important;
}

.form-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 0, 0, 0.3);
    border-radius: 12px;
    padding: 15px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: rgba(255, 0, 0, 0.7);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}
 
@media (max-width: 768px) {
    .color-options {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .color-picker {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .selected-color {
        align-self: center;
    }
}

.color-input-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

#newsBadgeColor {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    border: 2px solid rgba(255, 0, 0, 0.3);
    cursor: pointer;
    padding: 3px;
}

#newsBadgeColor::-webkit-color-swatch-wrapper {
    padding: 0;
}

#newsBadgeColor::-webkit-color-swatch {
    border: none;
    border-radius: 8px;
}

.color-preview {
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 120px;
    text-align: center;
}
 
.form-group label[for="newsIsImportant"] {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #ff9999;
    font-weight: 600;
}

#newsIsImportant {
    width: 20px;
    height: 20px;
    accent-color: #ff0000;
}
 
.existing-news {
    background: rgba(20, 0, 0, 0.6);
    border: 2px solid rgba(255, 0, 0, 0.3);
    border-radius: 20px;
    padding: 30px;
}

.existing-news h4 {
    color: #ff6666;
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: center;
}

.news-list {
    display: grid;
    gap: 20px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.news-list::-webkit-scrollbar {
    width: 8px;
}

.news-list::-webkit-scrollbar-track {
    background: rgba(255, 0, 0, 0.1);
    border-radius: 4px;
}

.news-list::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #ff0000, #cc0000);
    border-radius: 4px;
}

.news-item-admin {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.news-item-admin:hover {
    background: rgba(20, 0, 0, 0.6);
    border-color: rgba(255, 0, 0, 0.4);
    transform: translateX(5px);
}

.news-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.news-admin-header > div {
    flex: 1;
}

.news-admin-header strong {
    color: #ff6666;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 8px;
}

.news-admin-date {
    color: #888888;
    font-size: 0.9rem;
    margin-right: 15px;
}

.news-admin-badge {
    background: linear-gradient(45deg, #ff0000, #cc0000);
    color: white;
    padding: 4px 12px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
}

.delete-news-btn {
    background: rgba(255, 0, 0, 0.2);
    border: 2px solid rgba(255, 0, 0, 0.4);
    border-radius: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ff6666;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.delete-news-btn:hover {
    background: rgba(255, 0, 0, 0.4);
    transform: scale(1.1);
}

.news-item-admin p {
    color: #cccccc;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.no-news {
    text-align: center;
    color: #888888;
    font-style: italic;
    padding: 40px;
    font-size: 1.1rem;
}
 
.success-message {
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.1), rgba(0, 200, 0, 0.1));
    color: #00ff00;
    border: 2px solid rgba(0, 255, 0, 0.3);
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
}

.error-message {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1), rgba(200, 0, 0, 0.1));
    color: #ff0000;
    border: 2px solid rgba(255, 0, 0, 0.3);
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
}
 
.admin-access-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.admin-access-btn {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.2), rgba(204, 0, 0, 0.2));
    color: #ff9999;
    border: 2px solid rgba(255, 0, 0, 0.4);
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.admin-access-btn:hover {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.3), rgba(204, 0, 0, 0.3));
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.2);
} 

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.shimmer-text {
    background: linear-gradient(90deg,
        #ff0000 0%,
        #ff6666 25%,
        #ff0000 50%,
        #ff6666 75%,
        #ff0000 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}
 
.news-item.important {
    position: relative;
    overflow: hidden;
}

.news-item.important::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle,
        rgba(255, 0, 0, 0.1) 0%,
        transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
} 

@media (max-width: 1024px) {
    .news-item {
        padding: 30px;
    }
    
    .news-item h3 {
        font-size: 1.8rem;
    }
    
    .news-content {
        font-size: 1.1rem;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    #news-container {
        gap: 20px;
    }
    
    .news-item {
        padding: 25px 20px;
        margin-bottom: 20px;
    }
    
    .news-item.first-news {
        margin-bottom: 30px;
    }
    
    .news-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .news-date,
    .news-badge {
        align-self: center;
    }
    
    .news-item h3 {
        font-size: 1.6rem;
        padding-bottom: 12px;
    }
    
    .news-item.first-news h3 {
        font-size: 1.8rem;
    }
    
    .news-content {
        font-size: 1rem;
        padding: 0;
    }
    
    .admin-interface,
    .create-news-form,
    .existing-news {
        padding: 20px;
    }
    
    .admin-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .form-input,
    .form-textarea {
        padding: 12px;
    }
}
 
    .news-item {
        padding: 20px 15px;
        border-radius: 20px;
    }
    
    .news-item h3 {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }
    
    .news-badge {
        font-size: 0.8rem;
        padding: 8px 15px;
    }
    
    .news-content {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .admin-access-container {
        top: 10px;
        right: 10px;
    }
    
    .admin-access-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
} 

@media (prefers-color-scheme: dark) {
    .news-item {
        background: linear-gradient(145deg,
            rgba(20, 0, 0, 0.95),
            rgba(40, 0, 0, 0.9));
    }
    
    .news-placeholder,
    .error-message {
        background: rgba(20, 0, 0, 0.8);
    }
}

@media (prefers-color-scheme: light) {
    .news-item {
        background: linear-gradient(145deg,
            rgba(255, 230, 230, 0.95),
            rgba(255, 200, 200, 0.9));
        border-color: rgba(255, 0, 0, 0.4);
        color: #333333;
    }
    
    .news-item h3 {
        color: #cc0000;
    }
    
    .news-content {
        color: #555555;
    }
} 

@media (prefers-reduced-motion: reduce) {
    .news-item,
    .news-badge,
    .news-link,
    .retry-btn,
    .logout-btn,
    .admin-access-btn,
    .delete-news-btn {
        transition: none;
        animation: none;
    }
    
    .news-item::before,
    .news-item.important::after {
        animation: none;
    }
}
 
.news-link:focus,
.retry-btn:focus,
.logout-btn:focus,
.admin-access-btn:focus,
.delete-news-btn:focus,
.form-input:focus {
    outline: 3px solid rgba(255, 0, 0, 0.6);
    outline-offset: 2px;
}
 
@media (prefers-contrast: high) {
    .news-item {
        border: 3px solid #ff0000;
    }
    
    .news-badge {
        border: 2px solid #ffffff;
    }
    
@media (max-width: 768px) {
    .refresh-btn {
        padding: 10px 18px;
        font-size: 14px;
        gap: 8px;
    }
    
    .refresh-btn svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .refresh-btn {
        padding: 8px 16px;
        font-size: 13px;
        border-radius: 12px;
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .refresh-btn span {
        font-size: 13px;
    }
}

@keyframes pulseRed {
    0%, 100% {
        box-shadow: 
            0 8px 25px rgba(255, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            0 0 0 rgba(255, 0, 0, 0);
    }
    50% {
        box-shadow: 
            0 8px 25px rgba(255, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            0 0 20px rgba(255, 0, 0, 0.6);
    }
} 
}