/* =========================================================
   GLOBAL ERROR
========================================================= */
.yt-error{
  text-align:center;
  color:#d10000;
  font-weight:700;
  margin-top:20px;
}

/* =========================================================
   TOOL 1: CHANNEL ANALYZER
========================================================= */
.yt-tool-form{
  max-width:560px;
  margin:30px auto;
  display:flex;
  gap:12px;
}
.yt-tool-form input{
  flex:1;
  width:100%;
  padding:14px;
  font-size:15px;
  border-radius:10px;
  border:1px solid #ddd;
}
.yt-tool-form button{
  padding:14px 22px;
  background:#d10000;
  color:#fff;
  border:none;
  border-radius:10px;
  font-size:15px;
  cursor:pointer;
  font-weight:700;
  white-space:nowrap;
}
.yt-result-card{
  max-width:560px;
  margin:40px auto;
  background:#fff;
  padding:30px;
  border-radius:18px;
  box-shadow:0 25px 60px rgba(0,0,0,.12);
  text-align:center;
}
.yt-result-card img{
  width:96px;
  height:96px;
  border-radius:50%;
  margin-bottom:10px;
}
.yt-result-card h3{
  margin:10px 0 20px;
  font-size:22px;
}
.yt-metrics{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}
.yt-metrics div{
  background:#fff5f5;
  padding:14px;
  border-radius:12px;
}
.yt-metrics strong{
  display:block;
  font-size:20px;
  color:#d10000;
}
.yt-metrics span{
  font-size:13px;
  color:#444;
}
.yt-since{
  margin-top:18px;
  font-size:14px;
  color:#555;
}
@media (max-width:640px){
  .yt-tool-form{flex-direction:column;}
  .yt-tool-form button{width:100%;}
  .yt-metrics{grid-template-columns:1fr;}
}

/* =========================================================
   TOOL 2: CHANNEL COMPARISON
========================================================= */
.yt-compare-form{
  max-width:760px;
  margin:30px auto;
  display:grid;
  grid-template-columns:1fr 1fr auto;
  gap:12px;
}
.yt-compare-form input{
  width:100%;
  padding:14px;
  font-size:15px;
  border-radius:10px;
  border:1px solid #ddd;
}
.yt-compare-form button{
  background:#d10000;
  color:#fff;
  border:none;
  padding:14px 22px;
  border-radius:10px;
  font-weight:700;
  cursor:pointer;
  white-space:nowrap;
}
.yt-compare-wrapper{
  max-width:1000px;
  margin:60px auto;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:30px;
}
.yt-compare-card{
  background:#fff;
  border-radius:18px;
  padding:30px;
  text-align:center;
  box-shadow:0 25px 60px rgba(0,0,0,.12);
}
.yt-compare-card img{
  width:90px;
  height:90px;
  border-radius:50%;
  margin-bottom:10px;
}
.yt-compare-card ul{list-style:none;padding:0;}
.yt-compare-card li{margin-bottom:8px;font-size:15px;}
.yt-vs{
  width:70px;
  height:70px;
  border-radius:50%;
  background:#d10000;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:20px;
  box-shadow:0 15px 40px rgba(209,0,0,.4);
}
@media (max-width:768px){
  .yt-compare-form{grid-template-columns:1fr;}
  .yt-compare-form button{width:100%;}
  .yt-compare-wrapper{grid-template-columns:1fr;}
  .yt-vs{margin:10px auto;}
}

/* =========================================================
   TOOL 3: SUBSCRIBER COUNTER
========================================================= */
.yt-anim{
  font-size:42px;
  font-weight:800;
  color:#d10000;
}
.yt-sub-short{
  font-size:15px;
  color:#555;
  margin-top:6px;
}

/* =========================================================
   TOOL 4: SUBSCRIBER COMPARE
========================================================= */
.yt-sub-compare{
  max-width:900px;
  margin:40px auto;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:20px;
  align-items:center;
  text-align:center;
}
.yt-sub-box{
  background:#fff;
  padding:30px;
  border-radius:14px;
  box-shadow:0 12px 35px rgba(0,0,0,.12);
}
.yt-sub-box img{
  width:90px;
  height:90px;
  border-radius:50%;
  margin-bottom:10px;
}
@media (max-width:768px){
  .yt-sub-compare{grid-template-columns:1fr;}
}

/* =========================================================
   TOOL 5: VIDEO PERFORMANCE
========================================================= */
.yt-video-result{
  text-align:center;
  background:#fff;
  padding:28px;
  border-radius:18px;
  max-width:560px;
  margin:40px auto;
  box-shadow:0 25px 60px rgba(0,0,0,.12);
}
.yt-video-stats{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
  margin-top:18px;
}
.yt-video-stats div{
  background:#fff5f5;
  padding:14px;
  border-radius:12px;
}
.yt-video-stats strong{
  display:block;
  font-size:20px;
  color:#d10000;
}
@media(max-width:600px){
  .yt-video-stats{grid-template-columns:1fr;}
}

/* =========================================================
   TOOL 6: SHORTS CALCULATOR
========================================================= */
.yt-short-result{
  text-align:center;
  background:#fff;
  padding:28px;
  border-radius:18px;
  max-width:560px;
  margin:40px auto;
  box-shadow:0 25px 60px rgba(0,0,0,.12);
}
.yt-performance{
  margin-top:16px;
  font-size:16px;
  font-weight:600;
}

/* =========================================================
   TOOL 7: UPLOAD FREQUENCY
========================================================= */
.yt-frequency-result{
  background:#fff;
  padding:28px;
  border-radius:18px;
  max-width:560px;
  margin:40px auto;
  box-shadow:0 25px 60px rgba(0,0,0,.12);
  text-align:center;
}
.yt-channel-logo{
  width:96px;
  height:96px;
  border-radius:50%;
  margin-bottom:10px;
}
.yt-engagement{
  background:#ffe2e2 !important;
}

/* =========================================================
   TOOL 8: BEST TIME TO UPLOAD
========================================================= */
.yt-best-time{
  background:#fff;
  padding:28px;
  border-radius:18px;
  max-width:560px;
  margin:40px auto;
  box-shadow:0 25px 60px rgba(0,0,0,.12);
  text-align:center;
}

/* =========================================================
   TOOL 9: SHORTS VS LONG
========================================================= */
.yt-svsl-result{
  max-width:600px;
  margin:40px auto;
  background:#fff;
  padding:30px;
  border-radius:20px;
  box-shadow:0 25px 60px rgba(0,0,0,.12);
  text-align:center;
}

/* =========================================================
   TOOL 10: RPM CPM
========================================================= */
.yt-rpm-result{
  max-width:520px;
  margin:40px auto;
  background:#fff;
  padding:30px;
  border-radius:18px;
  box-shadow:0 25px 60px rgba(0,0,0,.12);
  text-align:center;
}
.yt-earn{
  font-size:22px;
  font-weight:800;
  color:#d10000;
  margin-top:14px;
}

/* =========================================================
   TOOL 11: CHANNEL AGE & GROWTH
========================================================= */
.yt-growth-result{
  max-width:560px;
  margin:40px auto;
  background:#fff;
  padding:30px;
  border-radius:20px;
  box-shadow:0 25px 60px rgba(0,0,0,.12);
  text-align:center;
}
.yt-growth-stats{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
  margin-top:20px;
}
.yt-growth-stats p{
  background:#fff5f5;
  padding:14px;
  border-radius:12px;
  font-size:14px;
}
.yt-stage{
  margin-top:20px;
  font-size:20px;
  font-weight:800;
  color:#d10000;
}
@media(max-width:768px){
  .yt-growth-stats{grid-template-columns:1fr;}
}

/* =========================================================
   END
========================================================= */
