/* =================================
   Base Styles - Video Player
   ================================= */
iframe,
#html5 {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.container-watch {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.cob {
  background-color: #fff0;
}

.vdo-container {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
}

/* =================================
   Channel List Styles
   ================================= */
.tv-ch-online {
  float: left;
  margin: 4px;
  width: 138px;
  height: auto;
}

.tv-ch-online:hover {
  animation-name: tv-ch-glowAnim;
  animation-duration: 500ms;
  animation-iteration-count: infinite;
}

.tv-ch-online.active {
  border: 2px solid #ffcc00;
  box-shadow: 0 0 10px #ffcc00;
}

@keyframes tv-ch-glowAnim {
  from {
    box-shadow: 0 0 10px #e6dc76;
  }
  to {
    box-shadow: 0 0 4px #d6cc66;
  }
}

/* =================================
   Watermark Hide (Fullscreen)
   ================================= */
.watermark-hide {
  display: inline-block;
  width: 32px;
  height: 40px;
  content: " ";
  position: absolute;
  background-color: #000;
  z-index: 2000;
}

.full-sc {
  display: none;
}

/* =================================
   Overlay Display Line
   ================================= */
.displayline {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
  background-image: url(https://ballmun.live/../pic/photo_2025-08-01_17-23-49.jpg);
  
  background-size: cover;
}

/* =================================
   Overlay Content
   ================================= */
.colvideohide {
  margin: 0 0 30px 0;
  text-align: center;
}

.colvideohide h1 {
  color: white;
  font-size: 24px;
  line-height: 1.4;
  margin: 0;
  font-weight: normal;
}

/* =================================
   Button Group Container
   ================================= */
.button-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* =================================
   Button Styles
   ================================= */
.custom-button-telegram,
.custom-button {
  position: static !important;
  transform: none !important;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 12px 24px !important;
  border: none;
  border-radius: 6px !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #fff !important;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  margin: 0 !important;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
  font-family: "DB Helvethaica X 55", sans-serif;
}

.custom-button-telegram {
  background: #02b1f3 !important;
}

.custom-button {
  background: #00c300 !important;
}

/* Button Hover Effects */
.custom-button-telegram:hover {
  background: #0099d6 !important;
  transform: scale(1.05) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.custom-button:hover {
  background: #00a300 !important;
  transform: scale(1.05) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Button Hidden State */
.custom-button.delete,
.custom-button-telegram.delete {
  display: none !important;
}

/* Button Images */
.custom-button-telegram img,
.custom-button img {
  width: 25px;
  height: 20px;
}

/* =================================
   Media Queries - Tablet
   ================================= */
@media only screen and (max-width: 768px) {
  .displayline {
    padding: 15px;
  }

  .colvideohide {
    margin: 0 0 20px 0;
  }

  .colvideohide h1 {
    font-size: 18px;
  }

  .button-group {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .custom-button-telegram,
  .custom-button {
    width: 100%;
    max-width: 120px;
    font-size: 14px !important;
    padding: 10px 20px !important;
  }
}

/* =================================
   Media Queries - Mobile
   ================================= */
@media only screen and (max-width: 500px) {
  .tv-ch-online {
    float: left;
    margin: 3px;
    width: 15%;
    height: auto;
  }
}

/* =================================
   Media Queries - Small Mobile
   ================================= */
@media only screen and (max-width: 480px) {
  .colvideohide h1 {
    font-size: 16px;
  }

  .custom-button-telegram,
  .custom-button {
    font-size: 13px !important;
    padding: 8px 16px !important;
  }

  .custom-button-telegram img,
  .custom-button img {
    width: 20px;
    height: 16px;
  }
}

/* =================================
   Media Queries - Large Desktop
   ================================= */
@media only screen and (min-width: 1920px) {
  .colvideohide h1 {
    font-size: 32px;
  }

  .button-group {
    gap: 30px;
  }

  .custom-button-telegram,
  .custom-button {
    font-size: 20px !important;
    padding: 16px 32px !important;
  }

  .custom-button-telegram img,
  .custom-button img {
    width: 30px;
    height: 24px;
  }
}

/* =================================
   Media Queries - 4K TV
   ================================= */
@media only screen and (min-width: 3840px) {
  .displayline {
    padding: 40px;
  }

  .colvideohide {
    margin: 0 0 40px 0;
  }

  .colvideohide h1 {
    font-size: 48px;
  }

  .button-group {
    gap: 40px;
  }

  .custom-button-telegram,
  .custom-button {
    font-size: 32px !important;
    padding: 24px 48px !important;
  }

  .custom-button-telegram img,
  .custom-button img {
    width: 48px;
    height: 40px;
  }
}

/* =================================
   Animation Classes
   ================================= */
.animate__animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.animate__flipInX {
  backface-visibility: visible !important;
  animation-name: flipInX;
}

@keyframes flipInX {
  from {
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    animation-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    animation-timing-function: ease-in;
  }

  60% {
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }

  80% {
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }

  to {
    transform: perspective(400px);
  }
}

/* =================================
   Utility Classes
   ================================= */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.w-100 {
  width: 100%;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.imgsd {
  margin-bottom: 20px;
}

/* =================================
   Breadcrumb Styles
   ================================= */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;
  list-style: none;
  background-color: rgba(0, 0, 0, 0.55);
  border-radius: 0.25rem;
}

.breadcrumb-item {
  display: flex;
}

.breadcrumb-item + .breadcrumb-item {
  padding-left: 0.5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  display: inline-block;
  padding-right: 0.5rem;
  content: "/";
  color: #6c757d;
}

.breadcrumb-item.active {
  color: #6c757d;
}

/* =================================
   Container Adjustments
   ================================= */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* =================================
   Scrollbar Styles (optional)
   ================================= */
.scroll-bg {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.scroll-bg::-webkit-scrollbar {
  height: 8px;
}

.scroll-bg::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.scroll-bg::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.scroll-bg::-webkit-scrollbar-thumb:hover {
  background: #555;
}
