@font-face {
    font-family: 'Graphite';
    src: url('graphite.otf') format('opentype');
}

body {
    font-family: 'Graphite', sans-serif;
    background: url('bg.jpg') no-repeat center center fixed;
    background-size: cover;
    background-color: #222;
    color: white;
    margin: 0;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

nav {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    text-align: center;
}

button {
    font-family: 'Graphite', sans-serif;
    background-color: #ff69b4 !important;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

button:hover {
    filter: brightness(1.2);
    box-shadow: 0 0 15px #ff69b4;
}

button:active { transform: scale(0.9); }

.content-section {
    padding: 40px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    margin: 20px auto;
    width: 80%;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.news-item {
    background: rgba(255, 182, 193, 0.15);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.news-item:hover {
    background: rgba(255, 182, 193, 0.3);
    transform: translateX(10px);
    border-left: 5px solid #ff69b4;
}

/* Modal Smoothness */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.4s ease;
}

.modal.show {
    display: block;
    background-color: rgba(0, 0, 0, 0.85);
}

.modal-content {
    background-color: #1a1a1a;
    margin: 10% auto;
    padding: 35px;
    width: 60%;
    border-radius: 20px;
    border: 3px solid #ff69b4;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
    opacity: 1;
}

.close-btn {
    float: right;
    font-size: 30px;
    cursor: pointer;
    color: #ff69b4;
}

.corrosion-text {
    color: #ff69b4; 
    font-weight: bold;
    text-shadow: 0 0 8px rgba(255, 105, 180, 0.6), -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.new-badge {
    display: inline-block;
    background-color: #ff69b4;
    color: white;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 5px;
    margin-bottom: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.8);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}