/* Anasayfa — bağımsız modern tasarım */

.home-page {
    background: #f8fafc;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.home-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.home-login-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 900;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 8px 28px rgba(220, 38, 38, 0.4);
    text-decoration: none !important;
    transition: transform 0.2s, box-shadow 0.2s;
}

.home-login-fab:hover {
    transform: scale(1.06);
    color: #fff;
}

.home-hero {
    background: linear-gradient(180deg, #fff 0%, #f0fdfa 100%);
    padding: 48px 0 56px;
    border-bottom: 1px solid #e2e8f0;
}

.home-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.home-hero-grid > div:first-child {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 0;
}

@media (max-width: 900px) {
    .home-hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }
}

.home-hero-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 180, 182, 0.15);
}

@media (max-width: 900px) {
    .home-hero-img {
        width: auto;
        max-width: min(100%, 360px);
        height: auto;
        margin: 0 auto;
    }
}

.home-hero-badge {
    display: inline-block;
    background: #e0f7f7;
    color: #0d4f56;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.home-hero h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    margin: 0 0 20px;
}

.home-hero h1 span { color: #00b4b6; }

.home-hero-text {
    font-size: 17px;
    line-height: 1.75;
    color: #475569;
    margin: 0;
}

.home-hero-text + .home-hero-text { margin-top: 14px; }

.home-poll { padding: 56px 0; }

.home-poll-card {
    background: #fff;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    padding: 40px 32px;
    margin-bottom: 40px;
}

.home-poll-title {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    color: #0f172a;
    text-align: center;
    margin: 0 0 28px;
    line-height: 1.35;
}

.home-countdown {
    max-width: 480px;
    margin: 0 auto 36px;
}

.home-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.home-option-label {
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 8px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.home-chat-grid {
    display: grid;
    grid-template-columns: repeat(var(--cols, 1), 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .home-chat-grid { grid-template-columns: 1fr; }
}

.home-chat-col {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    background: #fafbfc;
}

.home-chat-box {
    max-height: 300px;
    overflow-y: auto;
    padding: 12px;
}

.home-chat-row {
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.home-chat-row-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 6px;
    flex-wrap: wrap;
    gap: 8px;
}

.home-meclis {
    background: linear-gradient(135deg, #0d4f56, #126069);
    padding: 56px 0;
}

.home-meclis-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.home-meclis-header h2 {
    font-family: 'Big Shoulders Text', cursive;
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    color: rgba(255,255,255,0.25);
    text-transform: lowercase;
    margin: 0;
}

.home-meclis-all {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none !important;
    padding: 10px 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 999px;
}

.home-meclis-all:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.home-meclis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.home-meclis-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 14px;
    padding: 16px 18px;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    transition: transform 0.2s;
}

.home-meclis-item:hover { transform: translateY(-3px); }
.home-meclis-item i { color: #ef4444; font-size: 12px; }

.home-news {
    padding: 56px 0 64px;
    background: #fff;
}

.home-news h2 {
    font-family: 'Big Shoulders Text', cursive;
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    color: #cbd5e1;
    text-transform: lowercase;
    margin: 0 0 32px;
}

.home-news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 700px) {
    .home-news-grid { grid-template-columns: 1fr; }
}

.home-news-card {
    position: relative;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    cursor: pointer;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.home-news-card:hover { transform: translateY(-4px); }

.home-news-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s;
}

.home-news-card:hover .home-news-card-bg { transform: scale(1.05); }

.home-news-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 30%, rgba(0,0,0,0.75));
    display: flex;
    align-items: flex-end;
    padding: 24px;
}

.home-news-card-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.home-news-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00b4b6;
    opacity: 0;
    transition: opacity 0.3s;
}

.home-news-card:hover .home-news-play { opacity: 1; }

.home-page #questionDialog { max-width: 560px; }
