:root {
    --bg-color: #0b0d17;
    --card-bg: #15192b;
    --text-primary: #e0e6ed;
    --text-secondary: #94a3b8;
    --accent: #00d4ff;
    --success: #00ff9d;
    --warning: #ffbd00;
    --danger: #ff0055;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(21, 25, 43, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent);
}

.controls button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    margin-left: 0.5rem;
    font-weight: 600;
}

.controls button.primary {
    background: linear-gradient(135deg, #00d4ff, #005bea);
    color: #fff;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

button.primary:hover {
    background: linear-gradient(135deg, #005bea, #00d4ff);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

/* HARİTA MODALI (STILLER) */
#map {
    height: 300px;
    width: 100%;
    border-radius: 10px;
    margin-top: 15px;
    background: #1a1c2c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.map-search-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--accent), #eebb00);
    color: #0b0d17;
    font-weight: bold;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    font-family: inherit;
}

.map-search-btn:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

.map-coords {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 10px;
}

/* Leaflet Dark Theme Adjustments */
.leaflet-container {
    background: #111 !important;
}

.leaflet-control-attribution {
    display: none !important;
}

.leaflet-bar a {
    background-color: #1a1c2c !important;
    color: var(--accent) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.leaflet-bar a:hover {
    background-color: #2a2d45 !important;
    color: #fff !important;
}

.leaflet-touch .leaflet-bar a {
    width: 34px;
    height: 34px;
    line-height: 34px;
}

/* --- MODAL VE TAKVİM CSS --- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideIn 0.3s ease;
    position: relative;
}

@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    color: #aaa;
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
}

.close-modal:hover,
.close-modal:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.load-more-btn {
    background: linear-gradient(135deg, var(--accent), #005bea);
    color: #0b0d17;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 15px;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.load-more-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
    color: #fff;
}

.cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 35px;
    padding: 0 10px;
}

.cal-header button {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cal-header button:hover {
    background: var(--accent);
    color: #0b0d17;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
}

.cal-day-name {
    font-weight: bold;
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.cal-cell {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 5px;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.cal-cell.today {
    border: 1px solid var(--accent);
    background: rgba(0, 212, 255, 0.1);
}

.cal-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
    align-self: flex-start;
}

.cal-moon svg {
    width: 30px;
    height: 30px;
}

.btn-cal {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s;
}

.btn-cal:hover {
    background: var(--accent);
    color: #000;
}

main {
    padding: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.status-bar {
    margin-bottom: 2rem;
    padding: 0.6rem 1rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    color: var(--accent);
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* --- ASTRO-AI PANEL STILLERI --- */
.ai-panel {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(21, 25, 43, 0.9), rgba(11, 13, 23, 0.95));
    border-radius: 24px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ai-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.ai-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.ai-badge {
    background: linear-gradient(135deg, #00d4ff, #005bea);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.ai-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ai-content {
    display: flex;
    gap: 2rem;
    position: relative;
    z-index: 1;
    align-items: center;
}

.ai-status-icon {
    font-size: 3.5rem;
    min-width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ai-message-wrapper {
    flex: 1;
}

.ai-main-msg {
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.ai-meta-grid {
    display: none;
}

.ai-meta-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ai-meta-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.ai-meta-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.ai-pulse {
    width: 8px;
    height: 8px;
    background: #00ff9d;
    border-radius: 50%;
    position: relative;
    display: inline-block;
    margin-right: 8px;
}

.ai-pulse::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    animation: ai-pulse 2s infinite;
}

@keyframes ai-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.ai-status-green {
    border-color: rgba(0, 255, 157, 0.3);
}

.ai-status-green .ai-badge {
    background: linear-gradient(135deg, #00ff9d, #00b36e);
}

.ai-status-yellow {
    border-color: rgba(255, 189, 0, 0.3);
}

.ai-status-yellow .ai-badge {
    background: linear-gradient(135deg, #ffbd00, #ff8c00);
}

.ai-status-red {
    border-color: rgba(255, 0, 85, 0.3);
}

.ai-status-red .ai-badge {
    background: linear-gradient(135deg, #ff0055, #b3003b);
}

@media (max-width: 768px) {
    .ai-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .ai-status-icon {
        margin: 0 auto;
    }
}

.card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 1.25rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    overflow: hidden;
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.clickable-hint {
    position: absolute;
    bottom: 8px;
    right: 8px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.2);
    pointer-events: none;
    transition: color 0.3s;
}

.card:hover .clickable-hint {
    color: rgba(255, 255, 255, 0.6);
}

.card-title {
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.card-icon {
    font-size: 1.5rem;
}

.card-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.card-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.good {
    color: var(--success);
}

.mid {
    color: var(--warning);
}

.bad {
    color: var(--danger);
}

footer {
    margin-top: auto;
    padding: 2rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.moon-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.moon-visual {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

/* --- GEZEGEN LİSTESİ CSS (GÜNCELLENDİ) --- */
.planet-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.planet-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

/* Durum Renkleri */
.planet-item.visible {
    background: linear-gradient(135deg, rgba(0, 255, 157, 0.1), rgba(0, 255, 157, 0.02));
    border-color: rgba(0, 255, 157, 0.4);
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.1);
}

.planet-item.hidden {
    background: linear-gradient(135deg, rgba(255, 0, 85, 0.05), rgba(255, 0, 85, 0.02));
    border-color: rgba(255, 0, 85, 0.2);
    opacity: 0.7;
}

.planet-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* CSS Gezegen İkonları */
.planet-visual {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: inset -5px -5px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    flex-shrink: 0;
}

.planet-visual.mercury {
    background: linear-gradient(135deg, #a5a5a5, #5f5f5f);
}

.planet-visual.venus {
    background: linear-gradient(135deg, #e6c229, #d4af37);
    box-shadow: 0 0 10px #e6c229;
}

.planet-visual.mars {
    background: linear-gradient(135deg, #ff4d4d, #b30000);
}

.planet-visual.jupiter {
    background: repeating-linear-gradient(180deg, #d4a373 0%, #d4a373 10%, #a98467 10%, #a98467 20%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.planet-visual.saturn {
    background: #e0c097;
    margin: 5px;
    /* Halka için yer aç */
}

.planet-visual.saturn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(20deg);
    width: 54px;
    height: 12px;
    border: 4px solid rgba(200, 180, 150, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

.planet-visual.uranus {
    background: linear-gradient(135deg, #00ffff, #008b8b);
}

.planet-visual.neptune {
    background: linear-gradient(135deg, #3366ff, #000080);
}

.planet-name {
    font-weight: 800;
    color: #fff;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.planet-times {
    text-align: right;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Durum Rozeti (Sağ Alt) */
.planet-status-badge {
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 4px;
    display: block;
    text-align: right;
}

.planet-item.visible .planet-status-badge {
    color: #00ff9d;
}

.planet-item.hidden .planet-status-badge {
    color: #ff0055;
}

/* Bilgilendirme Footer */
.planet-legend {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    color: #888;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.legend-dot.green {
    background: #00ff9d;
    box-shadow: 0 0 5px #00ff9d;
}

.legend-dot.red {
    background: #ff0055;
    box-shadow: 0 0 5px #ff0055;
}

/* --- MOBİL UYUMLULUK (RESPONSIVE) --- */
@media (max-width: 600px) {
    header {
        padding: 1rem;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .logo {
        font-size: 1.4rem;
    }

    .controls {
        display: flex;
        width: 100%;
        justify-content: center;
        gap: 5px;
    }

    .controls button {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        margin: 0;
    }

    .controls button.primary {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    main {
        padding: 1rem;
    }

    .status-bar {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        font-size: 0.85rem;
        padding: 1rem;
    }

    .ai-panel {
        padding: 1.5rem 1.25rem;
        border-radius: 16px;
        margin-bottom: 1.5rem;
    }

    .ai-header {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 5px;
    }

    .ai-title {
        font-size: 1.5rem;
        margin-bottom: 0;
    }

    .ai-status-icon {
        font-size: 2.8rem;
        min-width: 65px;
        height: 65px;
        margin-bottom: 10px;
    }

    .ai-main-msg {
        font-size: 1rem;
        text-align: center;
    }

    .ai-badge {
        padding: 5px 12px;
        font-size: 0.7rem;
    }

    .grid-container {
        gap: 1rem;
        grid-template-columns: 1fr;
    }

    .card {
        padding: 1.25rem;
        border-radius: 16px;
    }

    .card-title {
        font-size: 0.75rem;
    }

    .card-value {
        font-size: 2.2rem;
    }

    .card-desc {
        font-size: 0.8rem;
    }

    .card-icon {
        font-size: 1.3rem;
    }

    .modal-content {
        padding: 15px;
        width: 92%;
        max-height: 85vh;
        overflow-y: auto;
        margin-top: 20px;
    }

    .cal-header {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        margin-top: 35px;
    }

    .cal-header h2 {
        font-size: 1.2rem;
    }

    .cal-grid {
        gap: 4px;
    }

    .cal-cell {
        min-height: 55px;
        padding: 4px;
    }

    .cal-date {
        font-size: 0.65rem;
    }

    .cal-moon svg {
        width: 22px;
        height: 22px;
    }

    .cal-day-name {
        font-size: 0.6rem;
    }

    .close-modal {
        top: 5px;
        right: 12px;
        font-size: 26px;
    }
}

/* --- BİLGİ İKONU VE POPOVER (Round 27 Update) --- */
.card {
    position: relative;
    overflow: visible;
    /* Kart Stili (Parlak Işık Efekti - Arttırılmış) */
    background: radial-gradient(circle at top right, rgba(0, 220, 255, 0.18), transparent 60%),
        linear-gradient(135deg, rgba(20, 20, 45, 0.65), rgba(10, 10, 30, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 130, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.25);
    background: radial-gradient(circle at top right, rgba(0, 220, 255, 0.25), transparent 65%),
        linear-gradient(135deg, rgba(25, 25, 50, 0.7), rgba(15, 15, 35, 0.9));
}

.info-icon {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
}

.info-icon:hover {
    background: var(--accent);
    color: #fff;
    transform: scale(1.1);
}

/* Popover Stili */
.info-popover {
    position: absolute;
    bottom: 35px;
    top: auto;
    left: 10px;
    width: 200px;
    background: #151725;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
    z-index: 1000;
    color: #ccc;
    font-size: 0.75rem;
    line-height: 1.3;
    display: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.info-popover.active {
    display: block;
    opacity: 1;
}

/* Konuşma balonu ucu */
.info-popover::after {
    content: '';
    position: absolute;
    bottom: -6px;
    top: auto;
    left: 6px;
    width: 10px;
    height: 10px;
    background: #151725;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.info-popover strong {
    display: block;
    color: #fff;
    margin-bottom: 3px;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2px;
}

/* --- KIRMIZI GECE MODU (Round 27 Fix - Overlay Yöntemi) --- */
#night-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    pointer-events: none;
    /* Tıklamaları engelleme! */
    background: rgba(255, 0, 0, 0.05);
    /* Hafif kırmızı tint */
    backdrop-filter: sepia(100%) hue-rotate(-50deg) saturate(400%) brightness(0.7) contrast(1.2);
    display: none;
    transition: opacity 0.5s ease;
}

body.red-mode {
    /* Body filtresi kaldırıldı - Artık background karartma var */
    background-color: #050000 !important;
}

/* Gece Modu Butonu (FAB) */
#night-mode-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(20, 20, 30, 0.8);
    border: 1px solid rgba(200, 50, 50, 0.5);
    color: #ff5555;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

#night-mode-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.4);
    background: rgba(40, 10, 10, 0.9);
}

/* Gezegen Kartı (Hala özel kalsın - Altın vari) */
.card.planet-card {
    background: radial-gradient(circle at top right, rgba(255, 215, 0, 0.15), transparent 60%),
        linear-gradient(135deg, rgba(30, 30, 60, 0.7), rgba(15, 15, 40, 0.9));
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 25px rgba(255, 200, 0, 0.15);
}

/* Modal Content Update (Round 28 Premium) */
.modal-content {
    background: radial-gradient(circle at top left, rgba(40, 40, 60, 0.95), rgba(15, 15, 20, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 20px rgba(100, 100, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    color: #e0e6ed;
}

/* Modallardaki Başlıklar */
.modal-content h2,
.modal-content h3 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* --- ROUND 28: RENKLİ KARTLAR --- */

/* 1. SICAKLIK (Kırmızı/Turuncu) */
.card.card-temp {
    background: radial-gradient(circle at top right, rgba(255, 80, 80, 0.15), transparent 60%),
        linear-gradient(135deg, rgba(40, 20, 20, 0.7), rgba(20, 10, 10, 0.9));
    border-color: rgba(255, 100, 100, 0.2);
}

.card.card-temp:hover {
    box-shadow: 0 10px 30px rgba(255, 50, 50, 0.2);
    border-color: rgba(255, 100, 100, 0.4);
    background: radial-gradient(circle at top right, rgba(255, 80, 80, 0.25), transparent 65%),
        linear-gradient(135deg, rgba(50, 25, 25, 0.8), rgba(25, 12, 12, 0.95));
}

.card.card-temp .card-icon {
    filter: drop-shadow(0 0 5px rgba(255, 50, 50, 0.6));
}

/* 2. NEM (Mavi/Cyan) */
.card.card-hum {
    background: radial-gradient(circle at top right, rgba(0, 200, 255, 0.15), transparent 60%),
        linear-gradient(135deg, rgba(10, 20, 40, 0.7), rgba(5, 10, 20, 0.9));
    border-color: rgba(0, 200, 255, 0.2);
}

.card.card-hum:hover {
    box-shadow: 0 10px 30px rgba(0, 200, 255, 0.2);
    border-color: rgba(0, 200, 255, 0.4);
    background: radial-gradient(circle at top right, rgba(0, 200, 255, 0.25), transparent 65%),
        linear-gradient(135deg, rgba(15, 30, 50, 0.8), rgba(8, 15, 25, 0.95));
}

.card.card-hum .card-icon {
    filter: drop-shadow(0 0 5px rgba(0, 200, 255, 0.6));
}

/* 3. BULUTLULUK (Beyaz/Gümüş) */
.card.card-cloud {
    background: radial-gradient(circle at top right, rgba(200, 200, 220, 0.15), transparent 60%),
        linear-gradient(135deg, rgba(30, 30, 35, 0.7), rgba(15, 15, 20, 0.9));
    border-color: rgba(200, 200, 220, 0.2);
}

.card.card-cloud:hover {
    box-shadow: 0 10px 30px rgba(200, 200, 255, 0.15);
    border-color: rgba(200, 200, 220, 0.4);
    background: radial-gradient(circle at top right, rgba(200, 200, 220, 0.25), transparent 65%),
        linear-gradient(135deg, rgba(40, 40, 45, 0.8), rgba(20, 20, 25, 0.95));
}

.card.card-cloud .card-icon {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.6));
}

/* 4. GÖRÜŞ (Mor/Mint) */
.card.card-vis {
    background: radial-gradient(circle at top right, rgba(150, 100, 255, 0.15), transparent 60%),
        linear-gradient(135deg, rgba(30, 20, 40, 0.7), rgba(15, 10, 20, 0.9));
    border-color: rgba(150, 100, 255, 0.2);
}

.card.card-vis:hover {
    box-shadow: 0 10px 30px rgba(150, 100, 255, 0.2);
    border-color: rgba(150, 100, 255, 0.4);
    background: radial-gradient(circle at top right, rgba(150, 100, 255, 0.25), transparent 65%),
        linear-gradient(135deg, rgba(40, 25, 50, 0.8), rgba(20, 12, 25, 0.95));
}

.card.card-vis .card-icon {
    filter: drop-shadow(0 0 5px rgba(150, 100, 255, 0.6));
}

/* 5. RÜZGAR (Yeşil/Turkuaz) */
.card.card-wind {
    background: radial-gradient(circle at top right, rgba(50, 255, 150, 0.15), transparent 60%),
        linear-gradient(135deg, rgba(10, 30, 20, 0.7), rgba(5, 15, 10, 0.9));
    border-color: rgba(50, 255, 150, 0.2);
}

.card.card-wind:hover {
    box-shadow: 0 10px 30px rgba(50, 255, 150, 0.2);
    border-color: rgba(50, 255, 150, 0.4);
    background: radial-gradient(circle at top right, rgba(50, 255, 150, 0.25), transparent 65%),
        linear-gradient(135deg, rgba(15, 40, 25, 0.8), rgba(8, 20, 12, 0.95));
}

.card.card-wind .card-icon {
    filter: drop-shadow(0 0 5px rgba(50, 255, 150, 0.6));
}

/* 6. GÖZLEM (İndigo/Lacivert) */
.card.card-obs {
    background: radial-gradient(circle at top right, rgba(80, 80, 255, 0.15), transparent 60%),
        linear-gradient(135deg, rgba(10, 10, 50, 0.7), rgba(5, 5, 25, 0.9));
    border-color: rgba(80, 80, 255, 0.2);
}

.card.card-obs:hover {
    box-shadow: 0 10px 30px rgba(80, 80, 255, 0.2);
    border-color: rgba(80, 80, 255, 0.4);
    background: radial-gradient(circle at top right, rgba(80, 80, 255, 0.25), transparent 65%),
        linear-gradient(135deg, rgba(15, 15, 60, 0.8), rgba(8, 8, 30, 0.95));
}

.card.card-obs .card-icon {
    filter: drop-shadow(0 0 5px rgba(80, 80, 255, 0.6));
}

/* 7. IŞIK KİRLİLİĞİ (Altın/Sarı - Gezegen Kartı Benzeri) */
.card.card-lp {
    background: radial-gradient(circle at top right, rgba(255, 200, 0, 0.12), transparent 60%),
        linear-gradient(135deg, rgba(30, 25, 10, 0.7), rgba(15, 12, 5, 0.9));
    border-color: rgba(255, 200, 0, 0.2);
}

.card.card-lp:hover {
    box-shadow: 0 10px 30px rgba(255, 200, 0, 0.2);
    border-color: rgba(255, 200, 0, 0.4);
    background: radial-gradient(circle at top right, rgba(255, 200, 0, 0.22), transparent 65%),
        linear-gradient(135deg, rgba(40, 35, 15, 0.8), rgba(20, 18, 8, 0.95));
}

.card.card-lp .card-icon {
    filter: drop-shadow(0 0 5px rgba(255, 200, 0, 0.6));
}


/* --- MODAL TEMALARI (Round 28) --- */

/* Sıcaklık Modalı */
.modal-content.modal-temp {
    background: radial-gradient(circle at top left, rgba(60, 20, 20, 0.95), rgba(20, 10, 10, 0.98));
    border-color: rgba(255, 100, 100, 0.3);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 50, 50, 0.15);
}

/* Nem Modalı */
.modal-content.modal-hum {
    background: radial-gradient(circle at top left, rgba(10, 30, 50, 0.95), rgba(5, 15, 25, 0.98));
    border-color: rgba(0, 200, 255, 0.3);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 200, 255, 0.15);
}

/* Bulutluluk Modalı */
.modal-content.modal-cloud {
    background: radial-gradient(circle at top left, rgba(50, 50, 55, 0.95), rgba(20, 20, 25, 0.98));
    border-color: rgba(200, 200, 220, 0.3);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 255, 255, 0.1);
}

/* Görüş Modalı */
.modal-content.modal-vis {
    background: radial-gradient(circle at top left, rgba(40, 20, 50, 0.95), rgba(15, 10, 25, 0.98));
    border-color: rgba(150, 100, 255, 0.3);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(150, 100, 255, 0.15);
}

/* Rüzgar Modalı */
.modal-content.modal-wind {
    background: radial-gradient(circle at top left, rgba(20, 40, 30, 0.95), rgba(10, 20, 15, 0.98));
    border-color: rgba(50, 255, 150, 0.3);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(50, 255, 150, 0.15);
}

/* --- ROUND 29: GEZEGEN ROZETLERİ (BADGES) --- */
.planet-badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.planet-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(20, 20, 40, 0.6);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* Gezegen Renkleri */
.badge-mercury {
    color: #b0b0b0;
    border-color: rgba(176, 176, 176, 0.4);
    box-shadow: 0 0 8px rgba(176, 176, 176, 0.2);
}

.badge-venus {
    color: #ffcc33;
    border-color: rgba(255, 204, 51, 0.4);
    box-shadow: 0 0 8px rgba(255, 204, 51, 0.2);
}

.badge-mars {
    color: #ff6666;
    border-color: rgba(255, 102, 102, 0.4);
    box-shadow: 0 0 8px rgba(255, 102, 102, 0.2);
}

.badge-jupiter {
    color: #ffccaa;
    border-color: rgba(255, 204, 170, 0.4);
    box-shadow: 0 0 8px rgba(255, 204, 170, 0.2);
}

.badge-saturn {
    color: #ffe082;
    border-color: rgba(255, 224, 130, 0.4);
    box-shadow: 0 0 8px rgba(255, 224, 130, 0.2);
}

.badge-uranus {
    color: #80deea;
    border-color: rgba(128, 222, 234, 0.4);
    box-shadow: 0 0 8px rgba(128, 222, 234, 0.2);
}

.badge-neptune {
    color: #7986cb;
    border-color: rgba(121, 134, 203, 0.4);
    box-shadow: 0 0 8px rgba(121, 134, 203, 0.2);
}

.planet-badge:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}