@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Barlow+Condensed:ital,wght@0,600;0,700;1,700&display=swap");

/* La Roche-Posay LAB — mevcut yayın sayfası düzeni */
:root {
    --brand: #ED1C24;          /* panelden değiştirilebilir (buton rengi) */
    --brand-hover: #FF3A41;
    --navy-900: #050F45;
    --navy-800: #081C6E;
    --navy-700: #0A2690;
    --royal: #0B3FC8;
    --neon: #5FD2FF;
    --glass: rgba(8, 28, 110, .55);
    --glass-strong: rgba(6, 20, 90, .72);
    --glass-border: rgba(255, 255, 255, .18);
    --text: #F2F6FF;
    --muted: #B9CBF2;
    --radius: 16px;
}

*:focus { outline: none; }

html { background: #3A74EC; }

body.bdy {
    display: flow-root; /* Keep the first banner margin inside the page background. */
    font-family: "Poppins", system-ui, sans-serif;
    color: var(--text);
    min-height: 100vh;
    background-color: #3A74EC;
    background-image: radial-gradient(110% 95% at 50% 30%, #4A86F5 0%, #3A74EC 40%, #2D63DC 75%, #2556CC 100%);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 40px;
}

/* ---------- Üst görsel (Login / Banner 2360x240) ---------- */
.top-banner { padding-top: 6px; }
.top-banner img {
    display: block; width: 100%; height: auto; aspect-ratio: 2360 / 240; object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    box-shadow: 0 18px 40px rgba(0, 20, 80, .28), 0 0 0 1px rgba(95, 210, 255, .08);
}

/* ---------- Poster (640x480) ---------- */
.poster { max-width: 500px; }
.poster img, .poster-side {
    display: block; width: 100%; height: auto; aspect-ratio: 640 / 480; object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    box-shadow: 0 16px 36px rgba(0, 20, 80, .28);
}

/* ---------- Cam panel (şifre / kayıt) ---------- */
.panel {
    max-width: 620px;
    background: linear-gradient(180deg, rgba(20, 52, 170, .62), var(--glass-strong));
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 30px 32px 26px;
    text-align: center;
    box-shadow: 0 18px 44px rgba(0, 20, 80, .28), inset 0 1px 0 rgba(255, 255, 255, .12);
    color: var(--text);
}
.panel h4 {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700; font-size: 24px; letter-spacing: .06em; text-transform: uppercase;
    color: #fff; margin-bottom: 20px;
}
.panel h4::after {
    content: ""; display: block; width: 56px; height: 4px; margin: 10px auto 0;
    border-radius: 4px; background: linear-gradient(90deg, var(--brand), var(--neon));
}
.panel .col-form-label { color: var(--muted); font-weight: 500; font-size: 15px; }
.panel .form-check-label { color: var(--muted); font-size: 14px; }
.panel .form-check-label a { color: #fff; font-weight: 600; }
.panel .form-check-input { background-color: rgba(255,255,255,.9); border-color: rgba(255,255,255,.5); }
.panel .form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.req { color: #FF6B70; }

.panel .form-control {
    background: rgba(255, 255, 255, .95);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 15px;
    color: #0A1A55;
    transition: border-color .2s, box-shadow .2s;
}
.panel .form-control:focus {
    border-color: var(--neon);
    box-shadow: 0 0 0 4px rgba(95, 210, 255, .25);
}
.panel .login-password { max-width: 260px; }
.panel .alert { border-radius: 12px; font-size: 14px; }

.btn-brand {
    background: linear-gradient(180deg, var(--brand-hover), var(--brand));
    color: #fff; font-weight: 700; border: 0; border-radius: 12px; padding: 10px 30px;
    letter-spacing: .03em;
    box-shadow: 0 8px 20px rgba(237, 28, 36, .35), inset 0 1px 0 rgba(255, 255, 255, .3);
    transition: transform .15s, box-shadow .2s, filter .2s;
}
.btn-brand:hover, .btn-brand:focus {
    color: #fff; filter: brightness(1.08); transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(237, 28, 36, .45), inset 0 1px 0 rgba(255, 255, 255, .3);
}

/* ---------- Oynatıcı (Player 1280x720) ---------- */
.player-box {
    position: relative; width: 100%; aspect-ratio: 16 / 9; background: #020A30; overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 48px rgba(0, 20, 80, .35), 0 0 60px rgba(95, 210, 255, .12);
}
.player-box > iframe, .player-box > div, .player-box .player-img {
    position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; padding: 0 !important; border: 0;
}
.player-box .player-img { object-fit: cover; }
.player-box > div > iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

.help-bar {
    display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 12px;
    border: 1px solid var(--glass-border); border-radius: 12px; padding: 12px 16px;
    background: var(--glass); color: var(--muted);
    font-family: "Barlow Condensed", sans-serif; font-size: 16px; font-weight: 700; letter-spacing: .08em; text-align: left;
    transition: background-color .2s, color .2s;
}
.help-bar::before { content: "?"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 14px; }
.help-bar:hover { background: rgba(20, 52, 170, .8); color: #fff; }

/* ---------- Soru kutusu ---------- */
.question {
    background: linear-gradient(180deg, rgba(20, 52, 170, .62), var(--glass-strong));
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 14px;
    box-shadow: 0 16px 36px rgba(0, 20, 80, .28);
}
.question::before {
    content: "Sorunuzu İletin";
    display: block; margin: 2px 2px 10px;
    font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 18px; letter-spacing: .08em; text-transform: uppercase; color: #fff;
}
.question input, .question textarea {
    display: block; width: 100%; border: 2px solid transparent; border-radius: 12px;
    background: rgba(255, 255, 255, .95); color: #0A1A55; font-size: 14px; padding: 10px 12px; margin-bottom: 10px;
    transition: border-color .2s, box-shadow .2s;
}
.question input:focus, .question textarea:focus { border-color: var(--neon); box-shadow: 0 0 0 4px rgba(95, 210, 255, .22); }
.question textarea { height: 150px; resize: none; }
.question button {
    display: block; width: 100%; border: 0; border-radius: 12px; padding: 11px;
    background: linear-gradient(180deg, var(--brand-hover), var(--brand)); color: #fff;
    font-size: 15px; font-weight: 700; letter-spacing: .03em;
    box-shadow: 0 8px 20px rgba(237, 28, 36, .35), inset 0 1px 0 rgba(255, 255, 255, .3);
    transition: filter .2s, transform .15s;
}
.question button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.question button:disabled { opacity: .6; transform: none; }
.question #question-msg { padding: 8px 2px 0; }
.question #question-msg:empty { display: none; }
.question .text-success { color: #7CF2B0 !important; }
.question .text-danger { color: #FF9A9E !important; }

/* ---------- Yardım penceresi ---------- */
.modal-content { border: 0; border-radius: var(--radius); overflow: hidden; }
.modal-header { background: var(--navy-800); color: #fff; border-bottom: 3px solid var(--brand); }
.modal-header .btn-close { filter: invert(1); }
.modal-body a { color: var(--royal); font-weight: 600; }

@media (max-width: 991px) {
    .top-banner img { border-radius: 10px; }
    .panel { padding: 24px 18px; }
}

/* Onaylı beyaz / mavi görsellerle uyumlu etkinlik teması. */
:root {
    --brand: #007daf;
    --brand-hover: #006a95;
    --navy-800: #006a95;
    --royal: #006a95;
    --glass: rgba(255,255,255,.95);
    --glass-strong: #fff;
    --glass-border: #d9e4ea;
    --text: #17242c;
    --muted: #435762;
    --radius: 10px;
}
html { background: #fff; }
body.bdy { background-color: #fff; background-image: none; }
.top-banner img { object-fit: contain; background: #fff; box-shadow: 0 6px 24px rgba(28,68,88,.06); }
.poster img, .poster-side { aspect-ratio: 16 / 9; object-fit: contain; background: #fff; box-shadow: 0 6px 24px rgba(28,68,88,.08); }
.panel, .question { background: rgba(255,255,255,.97); box-shadow: 0 10px 36px rgba(28,68,88,.09); backdrop-filter: none; }
.panel h4, .question::before { color: #17242c; }
.panel .form-control, .question input, .question textarea { background: #f5f8fa; border-color: #d4e0e6; color: #17242c; }
.panel .form-check-label a, .panel .form-text { color: #435762; }
.panel .form-check-label a { text-decoration: underline; }
.panel .form-check-input { border-color: #7a8e99; }
.panel legend { line-height: 1.5; font-size: 14px !important; }
.req { color: #b32433; }
.btn-brand, .question button { background: var(--brand); box-shadow: 0 4px 12px rgba(0,125,175,.15); }
.btn-brand:hover, .btn-brand:focus, .question button:hover { background: var(--brand-hover); box-shadow: 0 5px 16px rgba(0,125,175,.2); }
.player-box { background: #fff; box-shadow: 0 10px 36px rgba(28,68,88,.1); }
.player-box .player-img { object-fit: contain; }
.help-bar:hover { background: #e8f5fb; color: #17242c; }
.question .text-success { color: #176139 !important; }
.question .text-danger { color: #b32433 !important; }
:focus-visible { outline: 3px solid #007daf; outline-offset: 3px; }

/* Shared action row keeps both buttons aligned, including feedback states. */
.live-layout {
    display: grid;
    grid-template-areas: "player" "help" "poster" "question" "send" "feedback";
    grid-template-columns: minmax(0, 1fr);
    gap: 12px 16px;
}
.live-layout .player-box { grid-area: player; align-self: start; }
.live-layout .help-bar { grid-area: help; margin: 0; min-height: 48px; }
.live-layout .poster-side { grid-area: poster; align-self: start; }
.live-layout .question { grid-area: question; display: flex; flex-direction: column; min-width: 0; }
.live-layout .question textarea { flex: 1; min-height: 100px; margin-bottom: 0; }
.live-layout #question-send {
    grid-area: send; width: 100%; min-height: 48px; padding: 11px;
    font-size: 15px; transform: none;
}
.live-layout #question-send:disabled { opacity: .6; }
.live-layout #question-msg { grid-area: feedback; overflow-wrap: anywhere; }
.live-layout #question-msg:empty { display: none; }
.live-layout #question-msg.text-success { color: #176139 !important; }
.live-layout #question-msg.text-danger { color: #b32433 !important; }
@media (min-width: 992px) {
    .live-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
        grid-template-rows: auto minmax(0, 1fr) auto auto;
        grid-template-areas: "poster player" "question player" "send help" "feedback .";
    }
}
