/* ===================================================================
   NEWS SYSTEM - STYLING
   News and announcements with purple theme
   =================================================================== */

/* ===================================================================
   NEWS SECTION BASE STYLING
   =================================================================== */
.news-section {
    margin-top: 20px;
    margin-bottom: 25px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.news-section .section-title {
    color: #C299FF;
}

.news-container {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(194, 153, 255, 0.4);
    box-shadow: 0 0 1px rgba(194, 153, 255, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4);
    font-family: "Segoe UI", Arial, sans-serif;
    margin: 0 -15px;
}

/* ===================================================================
   NEWS ITEMS STYLING
   =================================================================== */
.news-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    font-family: "Segoe UI", Arial, sans-serif;
}

.news-item:last-child {
    margin-bottom: 0;
}

.news-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.news-title {
    font-size: 17px;
    font-weight: 700;
    color: #E6D3FF;
    margin-bottom: 12px;
    line-height: 1.4;
    font-family: "Segoe UI", Arial, sans-serif;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    padding-left: 20px;
}

.news-title::before {
    content: "📢";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 14px;
    opacity: 0.8;
}

.news-content {
    font-size: 14px;
    color: #D4C3F0;
    line-height: 1.6;
    font-family: "Segoe UI", Arial, sans-serif;
    padding-left: 20px;
    position: relative;
    margin-top: 8px;
    background-color: rgba(255, 255, 255, 0.02);
    padding: 12px 20px;
    border-radius: 8px;
    border-left: 3px solid rgba(194, 153, 255, 0.4);
}

.news-content a {
    color: #a980e8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-content a:hover {
    color: #c299ff;
    text-decoration: underline;
}

/* ===================================================================
   NEWS LOGIN REQUIRED STATE
   =================================================================== */
.news-login-required {
    text-align: center;
    padding: 40px 20px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.news-login-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    opacity: 0.6;
}

.news-login-title {
    font-size: 20px;
    font-weight: 600;
    color: #c299ff;
    margin-bottom: 10px;
    font-family: "Segoe UI", Arial, sans-serif;
}

.news-login-message {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    font-family: "Segoe UI", Arial, sans-serif;
}

.news-login-btn {
    background-color: #c299ff;
    color: #000000;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Segoe UI", Arial, sans-serif;
}

.news-login-btn:hover {
    background-color: #a980e8;
    transform: translateY(-1px);
}

/* ===================================================================
   RESPONSIVE DESIGN ADJUSTMENTS
   =================================================================== */

/* Desktop */
@media (min-width: 1024px) {
    .news-container {
        padding: 30px;
        margin: 0 -20px;
        border: 1px solid rgba(194, 153, 255, 0.4);
        box-shadow: 0 0 1px rgba(194, 153, 255, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4);
    }
}

/* Large Desktop */
@media (min-width: 1440px) {
    .news-container {
        padding: 35px;
        margin: 0 -25px;
        border: 1px solid rgba(194, 153, 255, 0.4);
        box-shadow: 0 0 1px rgba(194, 153, 255, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4);
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .news-container {
        padding: 25px;
        margin: 0 -12px;
        border: 1px solid rgba(194, 153, 255, 0.4);
        box-shadow: 0 0 1px rgba(194, 153, 255, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4);
    }
}

/* Mobile */
@media (max-width: 767px) {
    .news-container {
        padding: 16px;
        margin: 0 -8px;
        border: 1px solid rgba(194, 153, 255, 0.4);
        box-shadow: 0 0 1px rgba(194, 153, 255, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4);
    }

    .news-login-required {
        padding: 30px 15px;
    }

    .news-login-icon {
        width: 40px;
        height: 40px;
        margin: 0 auto 15px;
    }

    .news-login-title {
        font-size: 18px;
    }

    .news-login-message {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .news-login-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .news-container {
        padding: 12px;
        margin: 0 -5px;
        border: 1px solid rgba(194, 153, 255, 0.4);
        box-shadow: 0 0 1px rgba(194, 153, 255, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4);
    }
}