/*
 Theme Name:   Blocksy Child
 Theme URI:    https://creativethemes.com/blocksy/
 Description:  Blocksy Child Theme - 8 Ball Pool Tables Premium
 Author:       Tinqor Tech
 Template:     blocksy
 Version:      1.0.0
*/

/* === 8 Ball Pool Tables Premium CSS === */

/* Glassmorphism Cards */
.stk-hover-parent {
  background: rgba(17, 17, 17, 0.8) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 102, 0, 0.2);
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.stk-hover-parent:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 102, 0, 0.3);
  border-color: rgba(0, 102, 0, 0.5);
}

/* Button Glow */
.stk-button {
  transition: all 0.3s ease !important;
  position: relative;
}
.stk-button:hover {
  box-shadow: 0 0 20px rgba(0, 102, 0, 0.6), 0 0 40px rgba(0, 102, 0, 0.3) !important;
}

/* Scroll Fade-In */
.gpt-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.gpt-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Header Glass Effect */
header[data-id="type-1"].ct-header {
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
header[data-id="type-1"].ct-header.header-glass {
  background: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 102, 0, 0.3);
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #000000; }
::-webkit-scrollbar-thumb { background: #006600; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #008800; }
html { scrollbar-color: #006600 #000000; }

/* Animated Underlines */
.stk-block-heading__text {
  position: relative;
  display: inline-block;
}

/* Image Hover Zoom */
.stk-img-wrapper {
  overflow: hidden;
}
.stk-img-wrapper img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.stk-img-wrapper:hover img {
  transform: scale(1.05);
}

/* Noise Texture Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Accent Dividers */
.stk-block-background + .stk-block-background {
  border-top: 2px solid rgba(0, 102, 0, 0.3);
}

/* Selection Color */
::selection {
  background: #006600;
  color: #ffffff;
}

/* Smooth Link Transitions */
a {
  transition: color 0.3s ease, opacity 0.3s ease;
}

/* Video Background Smooth */
.stk-video-background {
  transition: opacity 1s ease;
}

/* Mobile Responsive Tweaks */
@media (max-width: 767px) {
  .stk-hover-parent:hover {
    transform: none;
  }
}