/*
Theme Name: QarabagBiz Social News
Author: ChatGPT
Version: 3.0
*/

:root{
  --bg:#0f1115;
  --bg-2:#151922;
  --card:#171b24;
  --card-2:#1b2030;
  --line:#232937;
  --text:#eef2ff;
  --muted:#a7b0c0;
  --accent:#ffcc00;
  --accent-2:#ff4d6d;
  --shadow:0 12px 40px rgba(0,0,0,.35);
  --radius:28px;
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Arial, Helvetica, sans-serif;
  overflow-x:hidden;
}

img{
  max-width:100%;
  display:block;
}

a{
  color:inherit;
  text-decoration:none;
}

button,
input,
textarea{
  font:inherit;
}

::-webkit-scrollbar{
  width:8px;
  height:8px;
}

::-webkit-scrollbar-thumb{
  background:#444b5f;
  border-radius:999px;
}

::-webkit-scrollbar-track{
  background:transparent;
}

/* =========================
   HEADER
========================= */

.header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(21,25,34,.92);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--line);
}

.header-inner{
  max-width:1700px;
  margin:0 auto;
  padding:14px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.logo{
  font-size:28px;
  font-weight:800;
  color:var(--accent);
  letter-spacing:.2px;
}

.menu{
  display:flex;
  align-items:center;
  gap:22px;
  flex-wrap:wrap;
}

.menu a{
  color:#c8cfdb;
  font-size:14px;
  transition:.25s;
}

.menu a:hover{
  color:#fff;
}

.header-icons{
  display:flex;
  align-items:center;
  gap:12px;
}

.search-btn,
.menu-btn{
  width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background:#1d2230;
  border:1px solid #2a3141;
  cursor:pointer;
  transition:.25s;
  user-select:none;
}

.search-btn:hover,
.menu-btn:hover{
  background:var(--accent);
  color:#000;
  transform:translateY(-2px);
}

/* =========================
   OVERLAYS / MOBILE MENU
========================= */

.search-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.75);
  backdrop-filter:blur(10px);
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding-top:120px;
  opacity:0;
  visibility:hidden;
  transition:.25s;
  z-index:9999;
}

.search-overlay.active{
  opacity:1;
  visibility:visible;
}

.search-box{
  width:min(90vw, 680px);
  display:flex;
  gap:10px;
  align-items:center;
}

.search-box input{
  flex:1;
  height:62px;
  border:none;
  outline:none;
  border-radius:18px;
  padding:0 20px;
  background:var(--card);
  color:#fff;
  border:1px solid #2f3748;
}

.close-search{
  width:62px;
  height:62px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:18px;
  background:var(--card);
  border:1px solid #2f3748;
  cursor:pointer;
  transition:.25s;
  user-select:none;
}

.close-search:hover{
  background:var(--accent);
  color:#000;
}

.mobile-menu{
  position:fixed;
  top:86px;
  right:-320px;
  width:280px;
  max-width:calc(100vw - 24px);
  background:rgba(23,27,36,.98);
  backdrop-filter:blur(18px);
  border:1px solid #2d3447;
  border-radius:24px;
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:14px;
  transition:.28s ease;
  z-index:9998;
  box-shadow:var(--shadow);
}

.mobile-menu.active{
  right:12px;
}

.mobile-menu a{
  color:#d8deea;
  font-size:15px;
  padding:8px 4px;
}

.mobile-menu a:hover{
  color:var(--accent);
}

/* =========================
   NOTIFICATION
========================= */

.notification-bell{
  position:fixed;
  top:100px;
  right:20px;
  width:60px;
  height:60px;
  border-radius:20px;
  background:rgba(23,27,36,.94);
  backdrop-filter:blur(16px);
  border:1px solid #2d3447;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  cursor:pointer;
  z-index:9997;
  box-shadow:var(--shadow);
}

.notification-count{
  position:absolute;
  top:-6px;
  right:-6px;
  width:22px;
  height:22px;
  border-radius:999px;
  background:#ff3b30;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:700;
}

.notification-box{
  position:fixed;
  top:172px;
  right:20px;
  width:330px;
  max-width:calc(100vw - 24px);
  background:rgba(23,27,36,.98);
  backdrop-filter:blur(18px);
  border:1px solid #2d3447;
  border-radius:24px;
  padding:18px;
  z-index:9997;
  opacity:0;
  visibility:hidden;
  transform:translateY(18px);
  transition:.28s;
  box-shadow:var(--shadow);
}

.notification-box.active{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.notification-box h3{
  margin:0 0 14px;
  font-size:20px;
}

.notification-item{
  padding:12px 0;
  border-bottom:1px solid #2b3242;
  color:#d4d9e6;
  line-height:1.5;
}

.notification-item:last-child{
  border-bottom:none;
}

/* =========================
   PAGE LAYOUT
========================= */

.desktop-layout{
  max-width:1700px;
  margin:0 auto;
  padding:18px 16px 120px;
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  gap:24px;
  align-items:start;
}

.main-content{
  min-width:0;
}

.right-sidebar{
  width:360px;
  display:flex;
  flex-direction:column;
  gap:22px;
  position:sticky;
  top:96px;
}

/* =========================
   STORIES
========================= */

.story-bar{
  display:flex;
  gap:16px;
  overflow-x:auto;
  padding:18px 2px 14px;
  scrollbar-width:none;
}

.story-bar::-webkit-scrollbar{
  display:none;
}

.story{
  min-width:78px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  transition:.22s;
}

.story:hover{
  transform:translateY(-3px);
}

.story img{
  width:72px;
  height:72px;
  border-radius:50%;
  object-fit:cover;
  padding:3px;
  background:linear-gradient(45deg, #ffcc00, #ff7300, #ff0055);
  box-shadow:0 0 16px rgba(255,204,0,.2);
}

.story span{
  display:block;
  margin-top:10px;
  font-size:13px;
  color:#e6ebf5;
}

/* =========================
   SLIDER
========================= */

.top-slider{
  display:flex;
  gap:16px;
  overflow-x:auto;
  padding-bottom:6px;
  scrollbar-width:none;
}

.top-slider::-webkit-scrollbar{
  display:none;
}

.slide-item{
  position:relative;
  min-width:320px;
  height:240px;
  border-radius:26px;
  overflow:hidden;
  flex-shrink:0;
  scroll-snap-align:start;
  box-shadow:var(--shadow);
  background:#111;
}

.slide-item img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.slide-overlay{
  position:absolute;
  inset:auto 0 0 0;
  padding:20px;
  background:linear-gradient(transparent, rgba(0,0,0,.88));
}

.slide-overlay h2{
  margin:0;
  font-size:22px;
  line-height:1.35;
}

/* =========================
   BREAKING NEWS
========================= */

.breaking-news{
  margin:18px 0 20px;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:22px;
  overflow:hidden;
}

.breaking-title{
  padding:12px 16px 0;
  color:var(--accent);
  font-weight:700;
  letter-spacing:.2px;
}

.breaking-scroll{
  display:flex;
  gap:36px;
  white-space:nowrap;
  padding:12px 16px 14px;
  animation:ticker 34s linear infinite;
}

.breaking-scroll a{
  color:#d9deea;
  font-size:14px;
}

@keyframes ticker{
  from{ transform:translateX(100%); }
  to{ transform:translateX(-100%); }
}

/* =========================
   WIDGETS (HOME)
========================= */

.home-widgets{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin:22px 0;
}

.widget-card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:24px;
  padding:20px;
  box-shadow:var(--shadow);
}

.widget-card h3{
  margin:0 0 14px;
  font-size:18px;
}

.widget-big{
  font-size:34px;
  font-weight:800;
  margin-bottom:8px;
}

.currency-line{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
  border-bottom:1px solid #2b3242;
  color:#dde3f1;
}

.currency-line:last-child{
  border-bottom:none;
}

/* =========================
   READING NOW
========================= */

.reading-now{
  margin:24px 0;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:28px;
  padding:20px;
  box-shadow:var(--shadow);
}

.section-title{
  margin:0 0 18px;
  font-size:32px;
  line-height:1.2;
}

.reading-list{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.reading-item{
  display:flex;
  gap:14px;
  align-items:center;
  padding-bottom:16px;
  border-bottom:1px solid #2b3242;
  transition:.22s;
}

.reading-item:hover{
  transform:translateX(4px);
}

.reading-item:last-child{
  border-bottom:none;
  padding-bottom:0;
}

.reading-image{
  position:relative;
  width:126px;
  min-width:126px;
  border-radius:18px;
  overflow:hidden;
}

.reading-image img{
  width:100%;
  height:88px;
  object-fit:cover;
}

.reading-count{
  position:absolute;
  left:0;
  bottom:0;
  background:var(--accent);
  color:#111;
  font-weight:700;
  font-size:13px;
  padding:6px 10px;
  border-top-right-radius:12px;
}

.reading-content h3{
  margin:0;
  font-size:22px;
  line-height:1.35;
}

/* =========================
   FEED
========================= */

.feed{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  margin-top:24px;
}

.post-card{
  min-width:0;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:28px;
  overflow:hidden;
  box-shadow:var(--shadow);
  transition:.25s;
}

.post-card:hover{
  transform:translateY(-5px);
}

.post-header{
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px 16px 12px;
}

.post-avatar{
  width:46px;
  height:46px;
  border-radius:50%;
  object-fit:cover;
  flex-shrink:0;
  border:2px solid rgba(255,255,255,.08);
}

.post-author h4{
  margin:0 0 4px;
  font-size:16px;
  line-height:1.2;
}

.post-author span{
  font-size:12px;
  color:var(--muted);
}

.post-image{
  width:100%;
  height:260px;
  object-fit:cover;
  display:block;
}

.post-content{
  padding:16px 16px 0;
}

.post-title{
  margin:0 0 10px;
  font-size:22px;
  line-height:1.35;
}

.post-title a:hover{
  color:var(--accent);
}

.post-excerpt{
  color:#c6ccdb;
  line-height:1.75;
  font-size:15px;
}

.post-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  padding:14px 16px 16px;
  border-top:1px solid #242b3c;
}

.action-btn{
  color:#c3cad9;
  font-size:14px;
  cursor:pointer;
  user-select:none;
  transition:.2s;
}

.action-btn:hover{
  color:var(--accent);
}

.like-btn{
  display:flex;
  align-items:center;
  gap:6px;
}

.heart{
  color:#8b93a7;
  font-size:18px;
  transition:.2s;
}

.like-btn.active{
  color:#ff3b6d;
}

.like-btn.active .heart{
  color:#ff3b6d;
  transform:scale(1.2);
  animation:heartBeat .35s ease;
}

@keyframes heartBeat{
  0%{ transform:scale(1); }
  50%{ transform:scale(1.35); }
  100%{ transform:scale(1); }
}

.action-btn.save-post-btn.saved{
  color:#000;
  background:var(--accent);
  padding:8px 12px;
  border-radius:14px;
}

/* =========================
   LOADING / POPUPS
========================= */

.loading-area{
  display:none;
  flex-direction:column;
  gap:16px;
  margin-top:18px;
}

.loading-area.active{
  display:flex;
}

.skeleton-card{
  height:320px;
  border-radius:28px;
  background:linear-gradient(90deg, #151922 25%, #222938 50%, #151922 75%);
  background-size:400% 100%;
  animation:skeleton 1.4s ease infinite;
}

@keyframes skeleton{
  0%{ background-position:100% 0; }
  100%{ background-position:-100% 0; }
}

#load-trigger{
  height:1px;
}

.breaking-popup{
  position:fixed;
  right:20px;
  bottom:108px;
  width:340px;
  max-width:calc(100vw - 24px);
  background:rgba(23,27,36,.98);
  backdrop-filter:blur(18px);
  border:1px solid #2d3447;
  border-radius:26px;
  padding:18px;
  z-index:9998;
  box-shadow:var(--shadow);
  opacity:0;
  visibility:hidden;
  transform:translateY(24px);
  transition:.28s;
}

.breaking-popup.active{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.popup-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}

.popup-top span{
  color:#ff5f5f;
  font-size:14px;
  font-weight:700;
}

.close-popup{
  cursor:pointer;
  color:#adb5c7;
  transition:.2s;
}

.close-popup:hover{
  color:#fff;
}

.popup-content h3{
  margin:0;
  font-size:17px;
  line-height:1.55;
}

/* =========================
   SIDEBAR
========================= */

.sidebar-widget{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:26px;
  padding:18px;
  box-shadow:var(--shadow);
}

.sidebar-widget h3{
  margin:0 0 16px;
  font-size:20px;
}

.sidebar-posts{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.sidebar-post{
  display:flex;
  gap:12px;
  align-items:center;
  color:#fff;
}

.sidebar-post img{
  width:84px;
  height:84px;
  min-width:84px;
  object-fit:cover;
  border-radius:18px;
}

.sidebar-post h4{
  margin:0 0 6px;
  font-size:15px;
  line-height:1.4;
}

.sidebar-post span{
  font-size:12px;
  color:var(--muted);
}

.widget-line{
  padding:11px 0;
  border-bottom:1px solid #2b3242;
  color:#d7dcec;
  font-size:15px;
}

.widget-line:last-child{
  border-bottom:none;
}

.ad-box{
  min-height:220px;
  border-radius:20px;
  border:2px dashed #41475a;
  background:#0e1118;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#d8deea;
  font-size:20px;
  font-weight:700;
  padding:18px;
}

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

.gallery-grid img{
  width:100%;
  height:120px;
  object-fit:cover;
  border-radius:16px;
}

/* =========================
   PROFILE PAGE
========================= */

.profile-page{
  max-width:1500px;
  margin:0 auto;
  padding:26px 16px 120px;
}

.profile-cover{
  height:260px;
  border-radius:34px;
  overflow:hidden;
  background:linear-gradient(135deg, #ffcc00, #ff7300, #ff0055);
  margin-bottom:-88px;
}

.profile-cover img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.profile-card{
  position:relative;
  background:rgba(23,27,36,.88);
  backdrop-filter:blur(18px);
  border:1px solid #2d3447;
  border-radius:34px;
  padding:34px;
  box-shadow:var(--shadow);
}

.profile-top{
  display:flex;
  gap:28px;
  align-items:center;
  flex-wrap:wrap;
}

.profile-avatar img{
  width:140px;
  height:140px;
  border-radius:50%;
  border:5px solid #fff;
  object-fit:cover;
  background:#fff;
}

.profile-info{
  flex:1;
  min-width:0;
}

.profile-info h1{
  margin:0 0 12px;
  display:flex;
  align-items:center;
  gap:10px;
  font-size:40px;
  line-height:1.2;
  flex-wrap:wrap;
}

.verified-badge{
  width:28px;
  height:28px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#1da1f2;
  color:#fff;
  font-size:14px;
  flex-shrink:0;
}

.profile-bio{
  margin:0 0 22px;
  max-width:760px;
  color:#d2d8e4;
  line-height:1.8;
  font-size:16px;
}

.profile-stats{
  display:flex;
  gap:28px;
  flex-wrap:wrap;
  margin-bottom:22px;
}

.profile-stats div{
  display:flex;
  flex-direction:column;
  gap:5px;
}

.profile-stats strong{
  font-size:22px;
}

.profile-stats span{
  color:var(--muted);
  font-size:13px;
}

.profile-buttons{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.follow-btn,
.message-btn,
.save-btn{
  height:50px;
  padding:0 22px;
  border:none;
  border-radius:16px;
  cursor:pointer;
  font-weight:700;
  transition:.25s;
}

.follow-btn{
  background:var(--accent);
  color:#111;
}

.follow-btn.following{
  background:#2ecc71;
  color:#fff;
}

.message-btn{
  background:#1d2230;
  color:#fff;
  border:1px solid #2a3141;
}

.save-btn{
  background:#1d2230;
  color:#fff;
  border:1px solid #2a3141;
}

.follow-btn:hover,
.message-btn:hover,
.save-btn:hover{
  transform:translateY(-2px);
}

.profile-posts{
  margin-top:40px;
}

.profile-posts h2{
  margin:0 0 18px;
  font-size:30px;
}

.profile-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}

.profile-post-card{
  position:relative;
  height:320px;
  border-radius:24px;
  overflow:hidden;
  box-shadow:var(--shadow);
}

.profile-post-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.28s;
}

.profile-post-card:hover img{
  transform:scale(1.05);
}

.profile-post-overlay{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:18px;
  background:linear-gradient(transparent, rgba(0,0,0,.9));
}

.profile-post-overlay h3{
  margin:0;
  font-size:18px;
  line-height:1.45;
}

/* =========================
   REELS PAGE
========================= */

.reels-feed{
  height:100vh;
  overflow-y:auto;
  scroll-snap-type:y mandatory;
  background:#000;
}

.reel-item{
  position:relative;
  display:block;
  height:100vh;
  scroll-snap-align:start;
  overflow:hidden;
  color:#fff;
}

.reel-image{
  width:100%;
  height:100%;
  object-fit:cover;
}

.reel-overlay{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:30px;
  background:linear-gradient(transparent, rgba(0,0,0,.78));
}

.reel-user{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:18px;
}

.reel-user img{
  width:66px;
  height:66px;
  border-radius:50%;
  border:3px solid #fff;
  object-fit:cover;
}

.reel-user h3{
  margin:0 0 4px;
  font-size:20px;
}

.reel-user p{
  margin:0;
  font-size:14px;
  color:#d4d9e6;
}

.reel-content{
  max-width:760px;
}

.reel-content h2{
  margin:0 0 10px;
  font-size:40px;
  line-height:1.35;
}

.reel-content p{
  margin:0;
  font-size:16px;
  line-height:1.8;
  color:#eef2ff;
}

.reel-actions{
  position:absolute;
  right:18px;
  bottom:125px;
  display:flex;
  flex-direction:column;
  gap:22px;
}

.reel-action{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  font-size:28px;
  font-weight:700;
}

.reel-action span{
  font-size:13px;
}

/* =========================
   SINGLE POST
========================= */

.single-container{
  max-width:980px;
  margin:28px auto;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:30px;
  overflow:hidden;
  box-shadow:var(--shadow);
}

.single-cover{
  width:100%;
  max-height:540px;
  object-fit:cover;
}

.single-content{
  padding:30px;
}

.single-title{
  margin:0 0 16px;
  font-size:38px;
  line-height:1.35;
}

.single-meta{
  margin:0 0 24px;
  color:var(--muted);
  font-size:14px;
}

.single-text{
  color:#d7dcec;
  font-size:17px;
  line-height:2;
}

.single-text p{
  margin:0 0 18px;
}

/* =========================
   FOOTER / MOBILE NAV
========================= */

.footer{
  text-align:center;
  color:#81879a;
  padding:32px 16px 110px;
}

.mobile-navbar{
  position:fixed;
  left:50%;
  transform:translateX(-50%);
  bottom:12px;
  width:min(96vw, 520px);
  height:70px;
  background:rgba(22,26,35,.92);
  backdrop-filter:blur(18px);
  border:1px solid #2d3447;
  border-radius:26px;
  display:flex;
  align-items:center;
  justify-content:space-around;
  z-index:9998;
  box-shadow:var(--shadow);
}

.mobile-navbar a{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  color:#b7becd;
  font-size:18px;
  transition:.2s;
}

.mobile-navbar a span{
  font-size:11px;
}

.mobile-navbar a:hover{
  color:var(--accent);
  transform:translateY(-2px);
}

/* =========================
   BIG HEART
========================= */

.big-heart{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  font-size:84px;
  color:#fff;
  pointer-events:none;
  text-shadow:0 0 20px rgba(255,255,255,.35);
  animation:bigHeart .9s ease forwards;
  z-index:5;
}

@keyframes bigHeart{
  0%{ opacity:0; transform:translate(-50%,-50%) scale(.5); }
  25%{ opacity:1; transform:translate(-50%,-50%) scale(1.15); }
  100%{ opacity:0; transform:translate(-50%,-50%) scale(1.8); }
}

/* =========================
   RESPONSIVE
========================= */

@media (min-width: 1200px){
  .header-inner{
    padding:14px 24px;
  }

  .feed{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .home-widgets{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .reading-list{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:14px;
  }

  .reading-item{
    border-bottom:none;
    padding:0;
    flex-direction:column;
    align-items:flex-start;
  }

  .reading-image{
    width:100%;
    min-width:0;
  }

  .reading-image img{
    height:96px;
  }

  .reading-content h3{
    font-size:16px;
    line-height:1.45;
  }

  .right-sidebar{
    position:sticky;
    top:96px;
  }
}

@media (min-width: 768px) and (max-width: 1199px){
  .desktop-layout{
    grid-template-columns:minmax(0,1fr);
  }

  .right-sidebar{
    display:none;
  }

  .feed{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .home-widgets{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .reading-list{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .profile-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 767px){
  .header-inner{
    padding:12px 14px;
    gap:12px;
    flex-wrap:wrap;
  }

  .logo{
    font-size:24px;
  }

  .menu{
    display:none;
  }

  .notification-bell{
    top:auto;
    right:14px;
    bottom:94px;
    width:56px;
    height:56px;
    font-size:22px;
  }

  .notification-box{
    top:auto;
    right:12px;
    left:12px;
    bottom:160px;
    width:auto;
  }

  .desktop-layout{
    grid-template-columns:minmax(0,1fr);
    padding:12px 10px 116px;
  }

  .right-sidebar{
    display:none;
  }

  .story-bar{
    padding-top:10px;
  }

  .story img{
    width:66px;
    height:66px;
  }

  .top-slider{
    gap:12px;
  }

  .slide-item{
    min-width:280px;
    height:220px;
  }

  .slide-overlay h2{
    font-size:18px;
  }

  .breaking-scroll{
    gap:28px;
  }

  .home-widgets{
    grid-template-columns:1fr;
  }

  .reading-now{
    padding:18px;
  }

  .section-title{
    font-size:26px;
  }

  .feed{
    grid-template-columns:1fr;
    gap:18px;
  }

  .post-image{
    height:220px;
  }

  .post-title{
    font-size:20px;
  }

  .post-content{
    padding:14px 14px 0;
  }

  .post-actions{
    padding:14px;
  }

  .single-container{
    margin:18px 10px;
    border-radius:24px;
  }

  .single-content{
    padding:20px;
  }

  .single-title{
    font-size:28px;
  }

  .profile-card{
    padding:22px;
  }

  .profile-cover{
    height:180px;
    margin-bottom:-62px;
  }

  .profile-avatar img{
    width:106px;
    height:106px;
  }

  .profile-info h1{
    font-size:26px;
  }

  .profile-grid{
    grid-template-columns:1fr;
  }

  .profile-post-card{
    height:250px;
  }

  .reel-overlay{
    padding:20px;
  }

  .reel-user img{
    width:54px;
    height:54px;
  }

  .reel-content h2{
    font-size:26px;
  }

  .reel-content p{
    font-size:14px;
  }

  .reel-actions{
    right:10px;
    bottom:112px;
    gap:18px;
  }

  .reel-action{
    font-size:22px;
  }
}

@media (max-width: 480px){
  .search-box{
    width:92vw;
  }

  .search-box input{
    height:58px;
  }

  .close-search{
    width:58px;
    height:58px;
  }

  .mobile-navbar{
    width:94vw;
    height:66px;
    border-radius:22px;
  }

  .mobile-navbar a{
    font-size:16px;
  }

  .mobile-navbar a span{
    font-size:10px;
  }

  .breaking-popup{
    right:12px;
    left:12px;
    bottom:88px;
    width:auto;
  }

  .post-image{
    height:200px;
  }

  .slide-item{
    min-width:250px;
    height:200px;
  }

  .reading-image{
    width:104px;
    min-width:104px;
  }

  .reading-image img{
    height:78px;
  }

  .reading-content h3{
    font-size:16px;
  }

/* CATEGORY SECTIONS */

.category-sections{
display:flex;
flex-direction:column;
gap:35px;
margin:40px 0;
}

/* GENERAL */

.cat-box{
position:relative;
background:#151922;
border-radius:30px;
overflow:hidden;
padding:25px;
border:1px solid #262d3d;
}

/* HEADER */

.cat-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:25px;
position:relative;
z-index:2;
}

.cat-header h2{
margin:0;
font-size:32px;
}

.cat-header a{
color:#ffcc00;
font-weight:700;
}

/* QARABAG */

.qarabag-box{
background:#0e1724;
}

.cat-bg{
position:absolute;
inset:0;
background:url('https://media0.giphy.com/media/v1.Y2lkPTZjMDliOTUydjdqcmswMmozNGpoem1tM2V4Ym9pN3Y3bXRkb29jNDh5Z3ZoMHhnYiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/E1McHzA5oWEKonXinq/giphy.gif');
background-size:cover;
background-position:center;
opacity:.12;
}

/* GRID */

.cat-grid{
position:relative;
z-index:2;

display:grid;
grid-template-columns:
repeat(4,1fr);

gap:20px;
}

.cat-card{
position:relative;
height:260px;
border-radius:24px;
overflow:hidden;
}

.cat-card img{
width:100%;
height:100%;
object-fit:cover;
}

.cat-overlay{
position:absolute;
inset:auto 0 0 0;
padding:18px;
background:linear-gradient(
transparent,
rgba(0,0,0,.9)
);
}

.cat-overlay h3{
margin:0;
font-size:18px;
line-height:1.4;
}

/* TEDBIRLER */

.tedbir-box{
background:linear-gradient(
135deg,
#24160e,
#3a2415
);
}

.event-list{
display:flex;
flex-direction:column;
gap:15px;
}

.event-item{
background:rgba(255,255,255,.06);
padding:22px;
border-radius:22px;
transition:.3s;
}

.event-item:hover{
transform:translateX(5px);
}

.event-item h3{
margin:0 0 8px;
font-size:20px;
}

.event-item span{
color:#ccc;
font-size:14px;
}

/* MARAQLI */

.fun-box{
background:linear-gradient(
135deg,
#1a1025,
#2b173f
);
}

.fun-grid{
display:grid;
grid-template-columns:
repeat(3,1fr);
gap:18px;
}

.fun-card{
background:#222;
border-radius:22px;
overflow:hidden;
transition:.3s;
}

.fun-card:hover{
transform:translateY(-5px);
}

.fun-card img{
width:100%;
height:180px;
object-fit:cover;
}

.fun-title{
padding:15px;
font-size:16px;
line-height:1.5;
}

/* MOBILE */

@media(max-width:768px){

.cat-grid,
.fun-grid{
grid-template-columns:1fr;
}

.cat-card{
height:220px;
}

.cat-header h2{
font-size:24px;
}

/* =========================
   CATEGORY SECTIONS
========================= */

.section-top{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:18px;
gap:15px;
flex-wrap:wrap;
}

.section-more{
color:#ffcc00;
font-weight:700;
font-size:15px;
transition:.3s;
}

.section-more:hover{
color:#fff;
}

/* QARABAG */

.qarabag-section{
position:relative;
overflow:hidden;
}

.qarabag-section::before{
content:'';
position:absolute;
inset:0;

background:url('https://media0.giphy.com/media/v1.Y2lkPTZjMDliOTUydjdqcmswMmozNGpoem1tM2V4Ym9pN3Y3bXRkb29jNDh5Z3ZoMHhnYiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/E1McHzA5oWEKonXinq/giphy.gif');

background-size:cover;
background-position:center;

opacity:.08;
pointer-events:none;
}

.qarabag-section .reading-list{
position:relative;
z-index:2;
}

/* TEDBIRLER */

.tedbir-section .reading-item{
background:linear-gradient(
135deg,
#24160e,
#3a2415
);

padding:10px;
border-radius:18px;
border:none;
transition:.3s;
}

.tedbir-section .reading-item:hover{
transform:translateY(-4px);
}

/* MARAQLI */

.maraqli-section .reading-item{
background:linear-gradient(
135deg,
#1a1025,
#2b173f
);

padding:10px;
border-radius:18px;
border:none;
transition:.3s;
}

.maraqli-section .reading-item:hover{
transform:translateY(-4px);
}

/* DESKTOP */

@media (min-width:1200px){

.qarabag-section .reading-list,
.tedbir-section .reading-list,
.maraqli-section .reading-list{

display:grid;
grid-template-columns:
repeat(3,minmax(0,1fr));

gap:18px;

}

.qarabag-section .reading-item,
.tedbir-section .reading-item,
.maraqli-section .reading-item{

flex-direction:column;
align-items:flex-start;

}

.qarabag-section .reading-image,
.tedbir-section .reading-image,
.maraqli-section .reading-image{

width:100%;

}

.qarabag-section .reading-image img,
.tedbir-section .reading-image img,
.maraqli-section .reading-image img{

height:190px;

}

}

/* TABLET */

@media (min-width:768px) and (max-width:1199px){

.qarabag-section .reading-list,
.tedbir-section .reading-list,
.maraqli-section .reading-list{

display:grid;
grid-template-columns:
repeat(2,minmax(0,1fr));

gap:16px;

}

}

/* MOBILE */

@media (max-width:767px){

.section-top{
align-items:flex-start;
}

.section-title{
font-size:24px;
}

.qarabag-section .reading-image img,
.tedbir-section .reading-image img,
.maraqli-section .reading-image img{

height:90px;

}

.post-category{
display:inline-block;
padding:7px 14px;
border-radius:999px;
font-size:12px;
font-weight:700;
margin-bottom:12px;
background:linear-gradient(
135deg,
#ffcc00,
#ff8800
);
color:#111;
text-transform:uppercase;
letter-spacing:.5px;
}

/* COMMENTS */

.comments-area{
margin-top:40px;
padding:25px;
background:#151922;
border-radius:28px;
border:1px solid #262d3d;
}

.comments-title{
margin:0 0 25px;
font-size:28px;
}

.comment-list{
display:flex;
flex-direction:column;
gap:20px;
margin-bottom:30px;
}

.comment-body{
background:#1b2030;
padding:20px;
border-radius:20px;
}

.comment-author{
display:flex;
align-items:center;
gap:12px;
margin-bottom:10px;
}

.comment-author img{
border-radius:50%;
}

.comment-meta{
font-size:13px;
color:#aaa;
margin-bottom:10px;
}

.comment-form textarea,
.comment-form input{
width:100%;
background:#0f1115;
border:1px solid #2c3447;
border-radius:18px;
padding:16px;
color:#fff;
margin-bottom:15px;
}

.comment-form textarea{
min-height:140px;
resize:none;
}

.form-submit input{
background:#ffcc00;
color:#111;
border:none;
padding:14px 28px;
border-radius:16px;
font-weight:700;
cursor:pointer;
}

/* MESSAGE STYLE */

.comment-content{
margin-top:10px;
}

.comment-content p{
display:inline-block;
background:linear-gradient(
135deg,
#ffcc00,
#ff9900
);
color:#111;
padding:14px 18px;
border-radius:20px 20px 20px 6px;
font-size:15px;
line-height:1.7;
max-width:100%;
font-weight:600;
box-shadow:0 5px 18px rgba(255,204,0,.15);
}

/* ADMIN COMMENT */

.bypostauthor .comment-content p{
background:linear-gradient(
135deg,
#ff3b30,
#ff0066
);
color:#fff;
}

/* COMMENT BODY */

.comment-body{
display:flex;
flex-direction:column;
background:#1b2030;
padding:18px;
border-radius:26px;
}

/* AUTHOR ROW */

.comment-author{
display:flex;
align-items:center;
gap:12px;
margin-bottom:10px;
}

/* TIKTOK EMBED */

.tiktok-wrap{
margin:25px 0;
border-radius:24px;
overflow:hidden;
background:#000;
padding:10px;
}

.tiktok-embed{
margin:0 auto !important;
}

}
}