/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f4f8;
    color: #1a1a2e;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === Header === */
.header {
    background: linear-gradient(135deg, #002060 0%, #003399 100%);
    color: white;
    padding: 30px 0 24px;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid #ffcc00;
    flex-shrink: 0;
    min-height: 100px;
}

.header-content {
    text-align: center;
}

.header h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 6px rgba(0,0,0,0.2);
    margin-bottom: 6px;
}

.subtitle {
    font-size: 0.9rem;
    opacity: 0.85;
    font-style: italic;
    letter-spacing: 0.5px;
}

/* === Sections General === */
section {
    margin: 50px 0;
}

section h2 {
    font-size: 1.8rem;
    color: #00247D;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #ffcc00;
    display: inline-block;
}

/* === Context Section === */
.context-section p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

/* === Screenshots Section === */
.screenshots-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
    align-items: stretch;
}

.screenshots-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.screenshot-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.screenshot-card:hover {
    transform: none;
    box-shadow: none;
}

.screenshot-right {
    display: flex;
}

.screenshot-img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
}

.screenshots-left .screenshot-img {
    max-height: 240px;
}

/* === MEP List Section === */
.mep-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 36, 125, 0.08);
    border: 1px solid #e0e6ef;
}

.mep-intro {
    margin-bottom: 30px;
    font-size: 1.05rem;
}

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

.mep-card-link {
    background: #f8fafc;
    border-radius: 10px;
    padding: 25px 20px 20px;
    text-align: center;
    border: 1px solid #e0e6ef;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.mep-card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 36, 125, 0.12);
}

.mep-card-link h3 {
    font-size: 1.1rem;
    color: #00247D;
    margin-bottom: 5px;
}

.mep-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffcc00;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.mep-card h3,
.mep-card-link h3 {
    font-size: 1.1rem;
    color: #00247D;
    margin-bottom: 5px;
}

.status-label {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.status-pedophile {
    color: #cc0000;
    background: #ffe6e6;
    padding: 2px 10px;
    border-radius: 4px;
    display: inline-block;
    letter-spacing: 1px;
}

.reason {
    font-size: 0.95rem;
    color: #b30000;
    font-weight: 700;
    margin-top: 8px;
}

.mep-email {
    margin-top: 2px;
    margin-bottom: 4px;
    font-size: 0.75rem;
}

.mep-email a {
    color: #00247D;
    text-decoration: none;
    word-break: break-all;
    font-weight: 400;
}

.mep-email a:hover {
    text-decoration: underline;
}

/* === Removal Section === */
.removal-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 36, 125, 0.08);
}

.removal-box p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.data-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.data-list li {
    padding: 12px 15px;
    background: #f0f4f8;
    border-left: 4px solid #00247D;
    border-radius: 4px;
    margin-bottom: 8px;
    color: #1a1a2e;
    font-weight: 500;
}

.email-box {
    text-align: center;
    margin: 25px 0;
    padding: 20px;
    background: #00247D;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 36, 125, 0.3);
}

.email-box a {
    color: #ffcc00;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 1px;
    transition: opacity 0.2s ease;
}

.email-box a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* === Footer === */
.footer {
    background: #00247D;
    color: white;
    text-align: center;
    padding: 25px 0;
    margin-top: 60px;
    border-top: 5px solid #0033a0;
}

.footer p {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* === Detail Page === */
.back-link {
    margin-bottom: 20px;
}

.back-link a {
    color: #00247D;
    text-decoration: none;
    font-weight: 600;
}

.back-link a:hover {
    text-decoration: underline;
}

.mep-detail {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.mep-detail-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.mep-detail-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #ffcc00;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.mep-detail-info h2 {
    font-size: 2rem;
    color: #00247D;
    margin-bottom: 10px;
    border-bottom: none;
    display: block;
}

.mep-detail-body p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* === Responsive Design === */
@media (max-width: 1024px) {
    .mep-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

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

    .mep-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .mep-section {
        padding: 20px;
    }

    .removal-section {
        padding: 25px;
    }

    .mep-img {
        width: 100px;
        height: 100px;
    }

    .email-box a {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .mep-grid {
        grid-template-columns: 1fr;
    }

    .header h1 {
        font-size: 1.6rem;
    }
}