:root {
    --brand-red: #ea2158;
    --brand-blue: #1034a6;
    --bg-color: #f0f0f2;
    --card-bg: #ffffff;
    --text-main: #1a1a1a;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Montserrat', sans-serif;
    margin: 0; padding: 20px;
    display: flex; justify-content: center; align-items: flex-start;
    min-height: 100vh; box-sizing: border-box;
}

.bg-pattern {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
    background-image: repeating-linear-gradient(-45deg, rgba(16, 52, 166, 0.04) 0px, rgba(16, 52, 166, 0.04) 20px, transparent 20px, transparent 40px);
}

.container { width: 100%; max-width: 500px; text-align: center; }

.logo-img { max-width: 150px; margin-bottom: 5px; }
.brand-sub { font-family: 'Oswald'; color: var(--brand-red); font-size: 1.1rem; letter-spacing: 3px; margin-bottom: 25px; font-weight: 700; }

.card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 25px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-bottom: 6px solid var(--brand-red);
}

.page-title { font-family: 'Oswald'; color: var(--brand-blue); font-size: 1.4rem; margin: 0 0 10px 0; }
.page-desc { font-size: 0.85rem; color: #666; line-height: 1.5; margin-bottom: 25px; }

/* ETKİNLİK KARTLARI */
.events-grid { display: flex; flex-direction: column; gap: 15px; }

.event-item {
    background: rgba(16, 52, 166, 0.03);
    border: 1px solid #eee;
    border-left: 4px solid var(--brand-blue);
    border-radius: 8px;
    padding: 15px;
    text-align: left;
    transition: transform 0.2s;
}

.event-name { font-weight: 800; font-size: 1.1rem; color: var(--brand-blue); margin-bottom: 5px; }
.event-info { font-size: 0.8rem; color: #555; margin-bottom: 3px; }
.event-info i { color: var(--brand-red); width: 18px; }
.event-branches { font-size: 0.75rem; font-style: italic; color: #888; margin-top: 5px; }

.btn-home {
    margin-top: 25px; width: 100%; padding: 15px;
    font-family: 'Oswald'; font-size: 1rem;
    color: #fff; background-color: var(--brand-blue);
    border: none; cursor: pointer; border-radius: 8px;
}

.loading-spinner { padding: 20px; color: #999; font-style: italic; }
.legal-footer { margin-top: 20px; font-size: 0.7rem; opacity: 0.5; letter-spacing: 1px; }

/* MODAL CSS (JS İÇİN) */
.modal-overlay {
    position: fixed; top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.85); z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(5px);
}
.modal-box {
    background: white; width: 85%; max-width: 350px;
    border-radius: 15px; padding: 25px; text-align: center;
    position: relative; animation: popIn 0.3s forwards;
}
@keyframes popIn { from {transform: scale(0.8); opacity:0;} to {transform: scale(1); opacity:1;} }