*{
  box-sizing:border-box;
}

:root{
  --bg:#050505;
  --panel:#0d0d0d;
  --panel2:#141414;
  --red:#e50914;
  --text:#ffffff;
  --muted:#8d8d8d;
  --border:#242424;
}

html,body{
  margin:0;
  padding:0;
  background:var(--bg);
  color:var(--text);
  font-family:Arial,Helvetica,sans-serif;
  min-height:100%;
}

body{
  padding-bottom:80px;
}

button,input{
  font:inherit;
}

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(5,5,5,.96);
  border-bottom:1px solid #181818;
  padding:16px;
  backdrop-filter:blur(12px);
}

.brand{
  display:flex;
  align-items:center;
  justify-content:center;
}

.brand-text{
  font-size:30px;
  font-weight:900;
  letter-spacing:-2px;
}

.brand-text .bro{
  color:#fff;
}

.brand-text .tube{
  color:var(--red);
}

.container{
  width:min(760px,100%);
  margin:0 auto;
  padding:14px;
}

.install-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  margin-bottom:14px;
  border:1px solid #202020;
  border-radius:14px;
  background:#0d0d0d;
  color:#aaa;
  font-size:13px;
}

.install-bar button{
  border:0;
  border-radius:9px;
  background:var(--red);
  color:white;
  font-weight:800;
  padding:9px 14px;
  cursor:pointer;
}

.tabs{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:7px;
  margin-bottom:14px;
}

.tab{
  border:1px solid var(--border);
  border-radius:11px;
  background:#101010;
  color:#888;
  padding:11px 5px;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}

.tab.active{
  background:var(--red);
  border-color:var(--red);
  color:#fff;
}

.search-form{
  display:flex;
  gap:8px;
  margin-bottom:15px;
}

.search-form input{
  flex:1;
  min-width:0;
  height:48px;
  padding:0 15px;
  border:1px solid #292929;
  border-radius:13px;
  outline:none;
  background:#101010;
  color:white;
}

.search-form input:focus{
  border-color:var(--red);
}

.search-form input::placeholder{
  color:#777;
}

.search-form button{
  border:0;
  border-radius:13px;
  padding:0 20px;
  background:var(--red);
  color:#fff;
  font-weight:900;
  cursor:pointer;
}

.status{
  text-align:center;
  color:#777;
  padding:35px 10px;
}

.hidden{
  display:none !important;
}

.player-shell{
  overflow:hidden;
  margin-bottom:20px;
  border:1px solid #202020;
  border-radius:17px;
  background:#0c0c0c;
}

.player-video{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  background:#000;
}

.player-video iframe,
#player{
  width:100%;
  height:100%;
}

.track-info{
  padding:14px 15px 5px;
}

.track-info h2{
  margin:0;
  color:white;
  font-size:17px;
  line-height:1.3;
}

.track-info p{
  margin:5px 0 0;
  color:var(--red);
  font-size:13px;
}

.volume-row{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 15px 15px;
}

.volume-row button{
  width:38px;
  height:38px;
  border:1px solid #292929;
  border-radius:10px;
  background:#151515;
  color:white;
}

.volume-row input{
  flex:1;
  accent-color:var(--red);
}

.volume-row span{
  width:42px;
  color:#aaa;
  font-size:12px;
}

.results{
  display:flex;
  flex-direction:column;
  gap:9px;
}

.card{
  position:relative;
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px;
  border:1px solid #1c1c1c;
  border-radius:14px;
  background:#0d0d0d;
}

.card-main{
  flex:1;
  min-width:0;
  display:flex;
  align-items:center;
  gap:11px;
  cursor:pointer;
}

.thumb-wrap{
  position:relative;
  flex:0 0 125px;
  width:125px;
  aspect-ratio:16/9;
  overflow:hidden;
  border-radius:10px;
  background:#161616;
}

.thumb-wrap img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.duration-badge{
  position:absolute;
  right:5px;
  bottom:5px;
  padding:3px 5px;
  border-radius:5px;
  background:rgba(0,0,0,.85);
  color:#fff;
  font-size:10px;
  font-weight:700;
}

.card h3{
  margin:0 0 6px;
  overflow:hidden;
  color:#fff;
  font-size:14px;
  line-height:1.25;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}

.card p{
  margin:0;
  color:#777;
  font-size:12px;
}

.favorite-btn{
  flex:0 0 38px;
  width:38px;
  height:38px;
  border:0;
  border-radius:50%;
  background:#171717;
  color:#777;
  font-size:23px;
  cursor:pointer;
}

.favorite-btn.saved{
  color:var(--red);
}

.favorite-empty{
  padding:45px 15px;
  text-align:center;
  color:#777;
}

.related-section{
  margin-top:25px;
}

.section-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:12px;
}

.section-title h2{
  margin:0;
  font-size:16px;
}

.section-title button{
  border:1px solid #292929;
  border-radius:9px;
  padding:8px 11px;
  background:#111;
  color:var(--red);
  font-size:11px;
  font-weight:800;
}

.footer{
  padding:28px 10px;
  text-align:center;
  color:white;
  font-size:17px;
  letter-spacing:-1px;
}

.footer .red{
  color:var(--red);
}

@media(max-width:500px){
  .container{
    padding:10px;
  }

  .brand-text{
    font-size:27px;
  }

  .tab{
    font-size:10px;
    padding:10px 3px;
  }

  .search-form input{
    height:45px;
  }

  .search-form button{
    padding:0 15px;
  }

  .thumb-wrap{
    flex-basis:105px;
    width:105px;
  }

  .card h3{
    font-size:13px;
  }
}

/* LAPTOP / MASAÜSTÜ EKRAN DÜZENİ */
@media (min-width: 769px){

  body{
    padding-bottom:0;
  }

  .topbar{
    padding:8px 16px;
  }

  .brand-text{
    font-size:24px;
  }

  .container{
    max-width:1100px;
    padding:8px 16px;
  }

  .install-bar{
    padding:7px 12px;
    margin-bottom:7px;
  }

  .tabs{
    margin-bottom:7px;
  }

  .tab{
    padding:8px 5px;
  }

  .search-form{
    margin-bottom:7px;
  }

  .search-form input{
    height:40px;
  }

  .status{
    padding:12px 10px;
  }

  .trusted-banner{
    margin-top:10px;
  }

  .trusted-banner img{
    width:auto;
    max-width:100%;
    max-height:150px;
    object-fit:contain;
  }

  .footer{
    padding:8px;
  }
}

/* GÜVENİLİR SİTELER BANNERI - SABİT BOYUT */
.trusted-banner{
  width:100%;
  margin:14px auto 6px;
  display:flex;
  justify-content:center;
  align-items:center;
  overflow:hidden;
}

.trusted-banner a{
  display:block;
  width:min(520px,90vw);
}

.trusted-banner img{
  display:block;
  width:100% !important;
  height:auto !important;
  max-width:520px !important;
  max-height:190px !important;
  object-fit:contain !important;
  margin:0 auto;
  border-radius:12px;
}

/* BROTUBE LOGO BOYUT DÜZELTME */
.topbar{
  height:70px !important;
  min-height:70px !important;
  padding:8px 20px !important;
  overflow:hidden !important;
}

.brand{
  height:54px !important;
  width:100% !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  overflow:hidden !important;
}

.brotube-logo-link{
  display:flex !important;
  align-items:center !important;
  height:54px !important;
  width:auto !important;
}

.brotube-logo{
  display:block !important;
  width:auto !important;
  height:54px !important;
  max-width:210px !important;
  max-height:54px !important;
  object-fit:contain !important;
}

html,body{
  max-width:100% !important;
  overflow-x:hidden !important;
}

/* =========================
   BROTUBE GELİŞMİŞ ÖZELLİKLER
   ========================= */

.theme-bar{
  display:flex;
  align-items:center;
  gap:7px;
  margin:7px 0;
  flex-wrap:wrap;
}

.theme-label{
  font-size:11px;
  font-weight:900;
}

.theme-btn{
  border:1px solid #3a3a3a;
  border-radius:8px;
  padding:7px 12px;
  background:#141414;
  color:#ddd;
  font-size:10px;
  font-weight:900;
  cursor:pointer;
}

.theme-btn.active{
  background:#e50914;
  color:#fff;
  border-color:#ff3640;
}

.tabs{
  grid-template-columns:repeat(5,1fr) !important;
}

.player-controls{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:11px;
  padding:10px 15px 4px;
}

.player-controls button{
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px solid #333;
  background:#151515;
  color:#fff;
  cursor:pointer;
  font-size:17px;
}

.player-controls .main-play{
  width:52px;
  height:52px;
  background:#e50914;
  border-color:#ff3039;
  font-size:20px;
}

.player-controls button.active{
  color:#fff;
  background:#e50914;
  border-color:#ff3039;
}

/* BRO KIRMIZI */
body[data-theme="bro"]{
  --bg:#080808;
  --panel:#101010;
  --red:#e50914;
}

/* AMOLED */
body[data-theme="amoled"]{
  --bg:#000000;
  --panel:#050505;
  --panel2:#090909;
  --red:#ff0015;
  background:#000 !important;
}

/* GECE */
body[data-theme="gece"]{
  --bg:#07111d;
  --panel:#0b1725;
  --panel2:#101f30;
  --red:#3b82f6;
  --border:#21354c;
}

body[data-theme="gece"] .tab.active,
body[data-theme="gece"] .search-form button,
body[data-theme="gece"] .theme-btn.active,
body[data-theme="gece"] .player-controls .main-play,
body[data-theme="gece"] .player-controls button.active{
  background:#2563eb !important;
  border-color:#4f8fff !important;
}

@media(max-width:600px){
  .tabs{
    grid-template-columns:repeat(5,1fr) !important;
    gap:3px !important;
  }

  .tab{
    font-size:7px !important;
    padding:8px 2px !important;
  }

  .theme-btn{
    padding:6px 8px;
    font-size:8px;
  }

  .player-controls{
    gap:6px;
  }

  .player-controls button{
    width:36px;
    height:36px;
  }

  .player-controls .main-play{
    width:45px;
    height:45px;
  }
}

/* =========================
   BROTUBE DUMAN EFEKTİ
   ========================= */

body::before,
body::after{
  content:"";
  position:fixed;
  z-index:0;
  pointer-events:none;
  width:520px;
  height:520px;
  border-radius:50%;
  filter:blur(70px);
  opacity:.18;
  animation:broSmoke 14s ease-in-out infinite alternate;
}

body::before{
  left:-220px;
  top:15%;
  background:
    radial-gradient(circle at 45% 45%,
      rgba(255,0,20,.38) 0%,
      rgba(255,0,20,.16) 28%,
      rgba(80,0,10,.08) 52%,
      transparent 72%);
}

body::after{
  right:-220px;
  bottom:8%;
  background:
    radial-gradient(circle at 55% 55%,
      rgba(255,0,20,.30) 0%,
      rgba(120,0,15,.14) 30%,
      rgba(40,40,40,.08) 55%,
      transparent 75%);
  animation-delay:-6s;
}

@keyframes broSmoke{
  0%{
    transform:translate3d(0,0,0) scale(1);
  }

  50%{
    transform:translate3d(40px,-35px,0) scale(1.15);
  }

  100%{
    transform:translate3d(-20px,35px,0) scale(.95);
  }
}

/* İçerik dumanın üstünde kalsın */
.topbar,
.container,
.footer{
  position:relative;
  z-index:2;
}

/* GECE temasında mavi duman */
body[data-theme="gece"]::before,
body[data-theme="gece"]::after{
  background:
    radial-gradient(circle,
      rgba(40,110,255,.28) 0%,
      rgba(20,70,180,.12) 35%,
      transparent 72%);
}

/* AMOLED'de daha hafif */
body[data-theme="amoled"]::before,
body[data-theme="amoled"]::after{
  opacity:.11;
}

/* Telefonda performans için biraz küçült */
@media(max-width:600px){
  body::before,
  body::after{
    width:340px;
    height:340px;
    filter:blur(55px);
    opacity:.14;
  }
}


/* =========================
   BROTUBE DUMAN EFEKTİ
   ========================= */

body::before,
body::after{
  content:"";
  position:fixed;
  z-index:0;
  pointer-events:none;
  width:520px;
  height:520px;
  border-radius:50%;
  filter:blur(70px);
  opacity:.18;
  animation:broSmoke 14s ease-in-out infinite alternate;
}

body::before{
  left:-220px;
  top:15%;
  background:
    radial-gradient(circle at 45% 45%,
      rgba(255,0,20,.38) 0%,
      rgba(255,0,20,.16) 28%,
      rgba(80,0,10,.08) 52%,
      transparent 72%);
}

body::after{
  right:-220px;
  bottom:8%;
  background:
    radial-gradient(circle at 55% 55%,
      rgba(255,0,20,.30) 0%,
      rgba(120,0,15,.14) 30%,
      rgba(40,40,40,.08) 55%,
      transparent 75%);
  animation-delay:-6s;
}

@keyframes broSmoke{
  0%{
    transform:translate3d(0,0,0) scale(1);
  }

  50%{
    transform:translate3d(40px,-35px,0) scale(1.15);
  }

  100%{
    transform:translate3d(-20px,35px,0) scale(.95);
  }
}

/* İçerik dumanın üstünde kalsın */
.topbar,
.container,
.footer{
  position:relative;
  z-index:2;
}

/* GECE temasında mavi duman */
body[data-theme="gece"]::before,
body[data-theme="gece"]::after{
  background:
    radial-gradient(circle,
      rgba(40,110,255,.28) 0%,
      rgba(20,70,180,.12) 35%,
      transparent 72%);
}

/* AMOLED'de daha hafif */
body[data-theme="amoled"]::before,
body[data-theme="amoled"]::after{
  opacity:.11;
}

/* Telefonda performans için biraz küçült */
@media(max-width:600px){
  body::before,
  body::after{
    width:340px;
    height:340px;
    filter:blur(55px);
    opacity:.14;
  }
}


/* =========================
   TEK EKRAN SABİT LAYOUT
   ========================= */

html,
body{
  width:100%;
  height:100%;
  margin:0;
  overflow:hidden !important;
}

body{
  min-height:100vh;
  max-height:100vh;
  display:flex;
  flex-direction:column;
  padding:0 !important;
}

/* Üst bar sabit yükseklik */
.topbar{
  flex:0 0 64px;
  height:64px !important;
}

/* Ana içerik kalan alanı kullansın */
.container{
  flex:1 1 auto;
  width:min(1100px,100%);
  min-height:0;
  max-height:calc(100vh - 64px - 54px);
  overflow:hidden !important;
  padding:8px 16px !important;
  display:flex;
  flex-direction:column;
}

/* Üst kontroller kompakt */
.install-bar{
  margin-bottom:5px !important;
  padding:6px 10px !important;
}

.theme-bar{
  margin:4px 0 !important;
}

.tabs{
  margin-bottom:5px !important;
}

.tab{
  padding:7px 4px !important;
}

.search-form{
  margin-bottom:5px !important;
}

.search-form input{
  height:38px !important;
}

.status{
  padding:8px 5px !important;
}

/* Güvenilir siteler banner küçült */
.trusted-banner{
  margin:6px auto 4px !important;
  flex:0 0 auto;
}

.trusted-banner a{
  width:min(380px,70vw) !important;
}

.trusted-banner img{
  max-width:380px !important;
  max-height:120px !important;
  object-fit:contain !important;
}

/* Footer çok küçük */
.footer{
  flex:0 0 auto;
  padding:3px !important;
  font-size:12px !important;
}

/* Sonuçlar taşarsa kendi içinde scroll */
.results{
  min-height:0;
  overflow-y:auto;
  max-height:250px;
}

/* PLAYER kompakt */
.player-shell{
  margin-bottom:6px !important;
  max-height:300px;
  overflow:hidden;
}

.player-video{
  max-height:170px;
}

.player-controls{
  padding:5px 10px 2px !important;
}

.volume-row{
  padding:4px 10px 6px !important;
}

/* =========================
   EN ALT VİDEO MİNİMAL ŞERİT
   ========================= */

.bottom-video{
  position:fixed !important;
  left:0;
  right:0;
  bottom:0;
  z-index:50;

  width:100%;
  height:54px !important;

  margin:0 !important;
  padding:0 !important;

  background:#000;
  overflow:hidden !important;

  border-top:1px solid #222;
}

.bottom-video video{
  display:block;
  width:100% !important;
  height:54px !important;
  max-width:none !important;
  max-height:54px !important;

  object-fit:cover !important;
  object-position:center !important;

  margin:0 !important;
}

/* alt şerit için içerikte yer bırak */
.container{
  padding-bottom:58px !important;
}

/* LAPTOP */
@media(min-width:769px){
  .trusted-banner a{
    width:340px !important;
  }

  .trusted-banner img{
    max-width:340px !important;
    max-height:105px !important;
  }

  .bottom-video,
  .bottom-video video{
    height:48px !important;
    max-height:48px !important;
  }

  .container{
    max-height:calc(100vh - 64px - 48px);
    padding-bottom:52px !important;
  }
}

/* TELEFON */
@media(max-width:600px){
  .topbar{
    flex-basis:56px;
    height:56px !important;
  }

  .container{
    max-height:calc(100vh - 56px - 42px);
    padding:6px 8px 46px !important;
  }

  .bottom-video,
  .bottom-video video{
    height:42px !important;
    max-height:42px !important;
  }

  .trusted-banner a{
    width:min(300px,85vw) !important;
  }

  .trusted-banner img{
    max-width:300px !important;
    max-height:90px !important;
  }
}


/* =========================
   GÜVENİLİR SİTELER
   ALT ŞERİDİN HEMEN ÜSTÜNDE
   ========================= */

.trusted-banner{
  position:fixed !important;
  left:0;
  right:0;
  bottom:48px !important;

  z-index:45;

  width:100% !important;
  height:78px !important;

  margin:0 !important;
  padding:4px 10px !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  background:rgba(0,0,0,.92);
  border-top:1px solid #1e1e1e;

  overflow:hidden !important;
}

.trusted-banner a{
  width:100% !important;
  max-width:900px !important;
  height:70px !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

.trusted-banner img{
  width:100% !important;
  height:70px !important;

  max-width:900px !important;
  max-height:70px !important;

  object-fit:contain !important;
  object-position:center !important;

  margin:0 !important;
  border-radius:8px !important;
}

/* ALTTAKİ KAYAN VIDEO */
.bottom-video{
  height:48px !important;
  bottom:0 !important;
}

.bottom-video video{
  height:48px !important;
  max-height:48px !important;
}

/* Ana içerik bannerların altında kalmasın */
.container{
  padding-bottom:135px !important;
}


/* TELEFON */
@media(max-width:600px){

  .trusted-banner{
    bottom:42px !important;
    height:66px !important;
    padding:3px 6px !important;
  }

  .trusted-banner a{
    width:100% !important;
    height:60px !important;
  }

  .trusted-banner img{
    width:100% !important;
    height:60px !important;
    max-width:none !important;
    max-height:60px !important;
    object-fit:contain !important;
  }

  .bottom-video,
  .bottom-video video{
    height:42px !important;
    max-height:42px !important;
  }

  .container{
    padding-bottom:112px !important;
  }
}


/* GÜVENİLİR SİTELER - TAM GENİŞLİK */
.trusted-banner{
  left:0 !important;
  right:0 !important;
  width:100vw !important;
  max-width:none !important;
  padding:0 !important;
  margin:0 !important;
}

.trusted-banner a{
  width:100vw !important;
  max-width:none !important;
  height:100% !important;
  margin:0 !important;
  padding:0 !important;
}

.trusted-banner img{
  display:block !important;

  width:100vw !important;
  max-width:none !important;

  height:100% !important;
  max-height:none !important;

  margin:0 !important;
  padding:0 !important;

  object-fit:cover !important;
  object-position:center !important;

  border-radius:0 !important;
}

/* MASAÜSTÜ */
@media(min-width:601px){
  .trusted-banner{
    height:90px !important;
    bottom:48px !important;
  }

  .trusted-banner img{
    height:90px !important;
  }
}

/* TELEFON */
@media(max-width:600px){
  .trusted-banner{
    height:65px !important;
    bottom:42px !important;
  }

  .trusted-banner img{
    height:65px !important;
  }
}

/* =====================================
   GÜVENİLİR SİTELER - TAM GÖRSEL
   ===================================== */

.trusted-banner{
  position:fixed !important;
  left:0 !important;
  right:0 !important;
  bottom:48px !important;

  width:100vw !important;
  height:150px !important;

  margin:0 !important;
  padding:0 !important;

  background:#000 !important;
  overflow:hidden !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  z-index:45 !important;
}

.trusted-banner a{
  width:100% !important;
  height:100% !important;
  max-width:none !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  margin:0 !important;
  padding:0 !important;
}

.trusted-banner img{
  display:block !important;

  width:100% !important;
  height:100% !important;

  max-width:none !important;
  max-height:none !important;

  object-fit:contain !important;
  object-position:center !important;

  margin:0 !important;
  padding:0 !important;

  border-radius:0 !important;
}

/* Laptop */
@media(min-width:601px){
  .trusted-banner{
    height:150px !important;
    bottom:48px !important;
  }
}

/* Telefon */
@media(max-width:600px){
  .trusted-banner{
    height:105px !important;
    bottom:42px !important;
  }

  .bottom-video,
  .bottom-video video{
    height:42px !important;
  }
}


/* =====================================
   GÜVENİLİR SİTELER - TAM GÖRSEL
   ===================================== */

.trusted-banner{
  position:fixed !important;
  left:0 !important;
  right:0 !important;
  bottom:48px !important;

  width:100vw !important;
  height:150px !important;

  margin:0 !important;
  padding:0 !important;

  background:#000 !important;
  overflow:hidden !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  z-index:45 !important;
}

.trusted-banner a{
  width:100% !important;
  height:100% !important;
  max-width:none !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  margin:0 !important;
  padding:0 !important;
}

.trusted-banner img{
  display:block !important;

  width:100% !important;
  height:100% !important;

  max-width:none !important;
  max-height:none !important;

  object-fit:contain !important;
  object-position:center !important;

  margin:0 !important;
  padding:0 !important;

  border-radius:0 !important;
}

/* Laptop */
@media(min-width:601px){
  .trusted-banner{
    height:150px !important;
    bottom:48px !important;
  }
}

/* Telefon */
@media(max-width:600px){
  .trusted-banner{
    height:105px !important;
    bottom:42px !important;
  }

  .bottom-video,
  .bottom-vi
cat >> /var/www/brotube/style.css <<'EOF'

/* =====================================
   GÜVENİLİR SİTELER - TAM GÖRSEL
   ===================================== */

.trusted-banner{
  position:fixed !important;
  left:0 !important;
  right:0 !important;
  bottom:48px !important;

  width:100vw !important;
  height:150px !important;

  margin:0 !important;
  padding:0 !important;

  background:#000 !important;
  overflow:hidden !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  z-index:45 !important;
}

.trusted-banner a{
  width:100% !important;
  height:100% !important;
  max-width:none !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  margin:0 !important;
  padding:0 !important;
}

.trusted-banner img{
  display:block !important;

  width:100% !important;
  height:100% !important;

  max-width:none !important;
  max-height:none !important;

  object-fit:contain !important;
  object-position:center !important;

  margin:0 !important;
  padding:0 !important;

  border-radius:0 !important;
}

/* Laptop */
@media(min-width:601px){
  .trusted-banner{
    height:150px !important;
    bottom:48px !important;
  }
}

/* Telefon */
@media(max-width:600px){
  .trusted-banner{
    height:105px !important;
    bottom:42px !important;
  }

  .bottom-video,
  .bottom-video video{
    height:42px !important;
  }
}


/* ==========================================
   PLAYER KONTROLLERİ GÖRÜNSÜN
   ========================================== */

.player-shell{
  max-height:none !important;
  height:auto !important;
  overflow:visible !important;
  margin-bottom:6px !important;
}

.player-video{
  width:100% !important;
  height:260px !important;
  max-height:260px !important;
  aspect-ratio:auto !important;
  overflow:hidden !important;
  background:#000;
}

.player-video iframe,
#player{
  width:100% !important;
  height:260px !important;
}

.track-info{
  padding:8px 14px 4px !important;
}

.track-info h2{
  font-size:18px !important;
  margin:0 !important;
}

.track-info p{
  margin:4px 0 0 !important;
}

/* KARŞTIR / ÖNCEKİ / PLAY / SONRAKİ / TEKRAR / EKLE */
.player-controls{
  display:flex !important;
  visibility:visible !important;
  opacity:1 !important;

  width:100% !important;
  min-height:58px !important;

  align-items:center !important;
  justify-content:center !important;

  gap:12px !important;
  padding:5px 10px 7px !important;

  overflow:visible !important;
}

.player-controls button{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  flex:0 0 40px !important;
  width:40px !important;
  height:40px !important;

  padding:0 !important;

  border:1px solid #444 !important;
  border-radius:50% !important;

  background:#111 !important;
  color:#fff !important;

  font-size:17px !important;
}

.player-controls .main-play{
  flex-basis:50px !important;
  width:50px !important;
  height:50px !important;

  background:#ef0712 !important;
  border-color:#ff3038 !important;
}

.player-controls button.active{
  background:#ef0712 !important;
  border-color:#ff3038 !important;
}

.volume-row{
  padding:3px 12px 8px !important;
}


/* TELEFON */
@media(max-width:600px){

  .player-video,
  .player-video iframe,
  #player{
    height:190px !important;
    max-height:190px !important;
  }

  .track-info{
    padding:7px 10px 2px !important;
  }

  .track-info h2{
    font-size:14px !important;
  }

  .player-controls{
    gap:7px !important;
    min-height:52px !important;
    padding:4px 5px 6px !important;
  }

  .player-controls button{
    flex-basis:34px !important;
    width:34px !important;
    height:34px !important;
    font-size:14px !important;
  }

  .player-controls .main-play{
    flex-basis:43px !important;
    width:43px !important;
    height:43px !important;
  }
}


/* =========================================
   RESPONSIVE BROTUBE - PC + MOBİL
   ========================================= */

html, body{
  width:100%;
  min-height:100%;
}

/* Ana içerik masaüstünde daha geniş */
.container{
  width:100% !important;
  max-width:1280px !important;
  margin:0 auto !important;
}

/* ===== MASAÜSTÜ / LAPTOP ===== */
@media (min-width: 900px){

  .topbar{
    padding-left:28px !important;
    padding-right:28px !important;
  }

  .container{
    max-width:1280px !important;
    padding:12px 28px 205px !important;
  }

  .install-bar{
    width:100% !important;
    font-size:14px !important;
  }

  .theme-bar{
    gap:10px !important;
  }

  .theme-label{
    font-size:13px !important;
  }

  .theme-btn{
    font-size:11px !important;
    padding:8px 15px !important;
  }

  .tabs{
    width:100% !important;
    grid-template-columns:repeat(5,1fr) !important;
    gap:10px !important;
  }

  .tab{
    min-height:44px !important;
    font-size:12px !important;
  }

  .search-form{
    width:100% !important;
    gap:10px !important;
  }

  .search-form input{
    height:48px !important;
    font-size:17px !important;
  }

  .search-form button{
    min-width:100px !important;
    font-size:16px !important;
  }

  /* Sonuçlar PC'de daha geniş */
  .results{
    width:100% !important;
    max-height:330px !important;
  }

  .card{
    width:100% !important;
    min-height:82px !important;
    padding:10px !important;
  }

  .thumb-wrap{
    flex:0 0 145px !important;
    width:145px !important;
  }

  .card h3{
    font-size:15px !important;
  }

  .card p{
    font-size:13px !important;
  }

  /* Player PC'de büyük */
  .player-shell{
    width:100% !important;
  }

  .player-video,
  .player-video iframe,
  #player{
    height:360px !important;
    max-height:360px !important;
  }

  .track-info h2{
    font-size:21px !important;
  }

  .player-controls{
    gap:16px !important;
  }

  .player-controls button{
    width:44px !important;
    height:44px !important;
    flex-basis:44px !important;
  }

  .player-controls .main-play{
    width:56px !important;
    height:56px !important;
    flex-basis:56px !important;
  }

  /* Güvenilir siteler - PC */
  .trusted-banner{
    height:135px !important;
    bottom:52px !important;
  }

  .trusted-banner img{
    width:100% !important;
    height:100% !important;
    object-fit:contain !important;
  }

  /* Kayan alt video - PC */
  .bottom-video,
  .bottom-video video{
    height:52px !important;
    max-height:52px !important;
  }
}


/* ===== ORTA BOY EKRAN ===== */
@media (min-width: 601px) and (max-width: 899px){

  .container{
    max-width:900px !important;
    padding:10px 18px 180px !important;
  }

  .player-video,
  .player-video iframe,
  #player{
    height:290px !important;
  }

  .trusted-banner{
    height:115px !important;
  }
}


/* ===== TELEFON ===== */
@media (max-width: 600px){

  .container{
    width:100% !important;
    max-width:none !important;
    padding:6px 10px 155px !important;
  }

  .tabs{
    gap:4px !important;
  }

  .tab{
    font-size:8px !important;
  }

  .search-form input{
    font-size:16px !important;
  }

  .player-video,
  .player-video iframe,
  #player{
    height:190px !important;
  }

  .results{
    max-height:250px !important;
  }

  .trusted-banner{
    height:105px !important;
    bottom:42px !important;
  }

  .trusted-banner img{
    width:100% !important;
    height:100% !important;
    object-fit:contain !important;
  }

  .bottom-video,
  .bottom-video video{
    height:42px !important;
  }
}


/* Çok geniş monitör */
@media (min-width: 1500px){
  .container{
    max-width:1450px !important;
  }

  .player-video,
  .player-video iframe,
  #player{
    height:420px !important;
  }
}

/* =========================================
   BROTUBE SİNEMA MODU
   ========================================= */

.player-shell{
  width:100% !important;
  max-width:none !important;
  border-radius:16px !important;
  overflow:visible !important;
}

/* PC / LAPTOP */
@media (min-width: 900px){

  .container{
    width:100% !important;
    max-width:1500px !important;
    margin:0 auto !important;
  }

  .player-shell{
    width:100% !important;
    max-width:none !important;
  }

  .player-video{
    width:100% !important;
    height:calc(100vh - 260px) !important;
    min-height:480px !important;
    max-height:760px !important;

    background:#000 !important;
    border-radius:16px !important;
    overflow:hidden !important;
  }

  .player-video iframe,
  .player-video #player,
  #player iframe{
    width:100% !important;
    height:100% !important;
    min-height:480px !important;
    max-height:none !important;

    display:block !important;
    border:0 !important;
  }

  .track-info{
    padding:12px 18px 6px !important;
  }

  .track-info h2{
    font-size:24px !important;
  }

  .player-controls{
    min-height:62px !important;
  }
}

/* MOBİL */
@media (max-width: 899px){

  .player-video{
    width:100% !important;
    height:auto !important;
    aspect-ratio:16/9 !important;
    min-height:0 !important;
    max-height:none !important;
  }

  .player-video iframe,
  .player-video #player,
  #player iframe{
    width:100% !important;
    height:100% !important;
    min-height:0 !important;
  }
}
/* ===== BROTUBE NORMAL SİNEMA PLAYER FIX ===== */

.player-shell{
  width:100% !important;
  max-width:none !important;
  height:auto !important;
  max-height:none !important;
  overflow:visible !important;
}

.player-video{
  width:100% !important;
  aspect-ratio:16/9 !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  background:#000 !important;
  overflow:hidden !important;
  border-radius:14px !important;
}

.player-video > div,
.player-video iframe,
#player,
#player iframe{
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:none !important;
  display:block !important;
  border:0 !important;
}

@media (min-width:900px){
  .container{
    width:calc(100vw - 32px) !important;
    max-width:none !important;
    margin:0 16px !important;
  }

  .player-video{
    height:min(72vh,760px) !important;
    aspect-ratio:auto !important;
  }

  .player-video > div,
  .player-video iframe,
  #player,
  #player iframe{
    height:100% !important;
  }
}

@media (min-width:601px) and (max-width:899px){
  .container{
    width:calc(100vw - 24px) !important;
    max-width:none !important;
    margin:0 12px !important;
  }

  .player-video{
    height:min(62vh,520px) !important;
    aspect-ratio:auto !important;
  }
}

@media (max-width:600px){
  .container{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
  }

  .player-video{
    height:auto !important;
    aspect-ratio:16/9 !important;
  }

  .player-video > div,
  .player-video iframe,
  #player,
  #player iframe{
    height:100% !important;
  }
}

/* PC ALT KAYAN VIDEO DÜZELTME */
@media (min-width: 900px){

  .bottom-video{
    height:78px !important;
    max-height:78px !important;
    background:#000 !important;
    overflow:hidden !important;
  }

  .bottom-video video{
    width:100% !important;
    height:78px !important;
    max-height:78px !important;

    object-fit:contain !important;
    object-position:center !important;

    background:#000 !important;
  }

  /* Güvenilir siteler şeridi videonun üstünde kalsın */
  .trusted-banner{
    bottom:78px !important;
  }

  /* Ana içerik alt şeritlere çarpmasın */
  .container{
    padding-bottom:230px !important;
  }
}


/* ===== BROTUBE KAYAN LOGOLAR FINAL ===== */

.logo-ticker{
  position:fixed !important;
  left:0 !important;
  right:0 !important;
  bottom:0 !important;
  width:100vw !important;
  height:56px !important;
  overflow:hidden !important;
  background:#050505 !important;
  border-top:1px solid #222 !important;
  z-index:9999 !important;
}

.logo-track{
  display:flex !important;
  align-items:center !important;
  width:max-content !important;
  height:56px !important;
  animation:broFinalScroll 45s linear infinite !important;
  will-change:transform !important;
}

.logo-set{
  display:flex !important;
  align-items:center !important;
  flex:none !important;
  height:56px !important;
}

.logo-slide{
  flex:0 0 135px !important;
  width:135px !important;
  height:56px !important;
  margin:0 8px !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden !important;
}

.logo-slide img{
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:120px !important;
  max-height:36px !important;
  min-width:0 !important;
  min-height:0 !important;
  object-fit:contain !important;
  object-position:center !important;
  margin:0 !important;
  padding:0 !important;
  transform:none !important;
}

@keyframes broFinalScroll{
  from{transform:translate3d(0,0,0);}
  to{transform:translate3d(-50%,0,0);}
}

.trusted-banner{
  bottom:56px !important;
}

/* PC */
@media(min-width:900px){
  .logo-ticker,
  .logo-track,
  .logo-set{
    height:60px !important;
  }

  .logo-slide{
    flex-basis:150px !important;
    width:150px !important;
    height:60px !important;
    margin:0 10px !important;
  }

  .logo-slide img{
    max-width:135px !important;
    max-height:40px !important;
  }

  .trusted-banner{
    bottom:60px !important;
  }
}

/* MOBİL */
@media(max-width:600px){
  .logo-ticker,
  .logo-track,
  .logo-set{
    height:48px !important;
  }

  .logo-slide{
    flex-basis:105px !important;
    width:105px !important;
    height:48px !important;
    margin:0 5px !important;
  }

  .logo-slide img{
    max-width:95px !important;
    max-height:32px !important;
  }

  .trusted-banner{
    bottom:48px !important;
  }

  .logo-track{
    animation-duration:34s !important;
  }
}


/* ===== KAYAN LOGOLAR PC + MOBIL KESIN FINAL ===== */

.logo-ticker{
  position:fixed !important;
  left:0 !important;
  right:0 !important;
  bottom:0 !important;
  width:100vw !important;
  height:58px !important;
  overflow:hidden !important;
  background:#050505 !important;
  border-top:1px solid #222 !important;
  z-index:9999 !important;
}

.logo-track{
  display:flex !important;
  align-items:center !important;
  width:max-content !important;
  height:58px !important;
  animation:broFinalScroll 45s linear infinite !important;
}

.logo-set{
  display:flex !important;
  align-items:center !important;
  flex-shrink:0 !important;
  height:58px !important;
}

.logo-slide{
  flex:0 0 140px !important;
  width:140px !important;
  height:58px !important;
  margin:0 8px !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden !important;
}

.logo-slide img{
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:125px !important;
  max-height:38px !important;
  object-fit:contain !important;
  margin:0 !important;
  padding:0 !important;
}

/* Güvenilir siteler hemen üstünde */
.trusted-banner{
  bottom:58px !important;
}

/* Mobil */
@media(max-width:600px){
  .logo-ticker,
  .logo-track,
  .logo-set{
    height:48px !important;
  }

  .logo-slide{
    flex-basis:105px !important;
    width:105px !important;
    height:48px !important;
    margin:0 5px !important;
  }

  .logo-slide img{
    max-width:95px !important;
    max-height:32px !important;
  }

  .trusted-banner{
    bottom:48px !important;
  }

  .logo-track{
    animation-duration:34s !important;
  }
}



/* ===== PC YOUTUBE PLAYER FINAL ===== */
@media(min-width:900px){

  .player-shell{
    width:100% !important;
    max-width:none !important;
    overflow:visible !important;
  }

  .player-video{
    width:100% !important;
    height:min(68vh,720px) !important;
    min-height:480px !important;
    aspect-ratio:auto !important;
    background:#000 !important;
  }

  #desktopYoutubePlayer{
    display:block !important;
    width:100% !important;
    height:100% !important;
    border:0 !important;
  }
}

