body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Card hover effects */
.card {
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Focus states for accessibility */
input:focus,
select:focus,
button:focus {
    outline: 2px solid #9333ea;
    outline-offset: 2px;
}

/* Loading animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ─── Google AdSense — Placeholder (Enabled=false) ─────────────────────── */

.ad-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 2px dashed #d1d5db;
    border-radius: 10px;
    background: #f9fafb;
    color: #9ca3af;
    font-size: 13px;
    font-style: italic;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
}

/* ─── Google AdSense — Gerçek reklam sarmalayıcı ───────────────────────── */

/* Ad containers hidden by default — revealed by JS when AdSense fills them */
.ad-container {
    display: none;
    width: 100%;
    text-align: center;
    overflow: hidden;
}

/* Show only when Google marks the ad as filled */
.ad-container:has(ins.adsbygoogle[data-ad-status="filled"]) {
    display: block !important;
}

.ad-container.ad-sidebar:has(ins.adsbygoogle[data-ad-status="filled"]) {
    display: flex !important;
    justify-content: center;
}
