/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0.2
*/

/* ═══════════════════════════════════════════════════
   HERO ULTIMATE TCG
   À coller dans style.css du child theme
   ═══════════════════════════════════════════════════ */

#utcg-hero *, #utcg-hero *::before, #utcg-hero *::after {
  box-sizing: border-box; margin: 0; padding: 0;
}
#utcg-hero {
  position: relative;
  width: 100%;
  min-height: 460px;
  overflow: hidden;
  background: #07131c;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
}
#utcg-hero canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
#utcg-hero .nebula {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 70% at 55% 50%, rgba(29,64,74,.55) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(17,80,100,.3) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 20% 80%, transparent 0%, transparent 60%);
}
#utcg-hero .vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 100% 100% at 50% 50%, transparent 40%, #07131c 100%);
}
#utcg-hero .hero-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1196px;
  margin: 0 auto;
  padding: 32px 28px;
  display: flex;
  align-items: center;
  gap: 40px;
}
#utcg-hero .hero-text {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
}
#utcg-hero .hero-text h1 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.05;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,180,200,.3);
}
#utcg-hero .hero-text h1 em {
  font-style: normal;
  color: #4fc8d8;
}
#utcg-hero .hero-pills {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  margin-bottom: 14px;
}
#utcg-hero .hero-pills span {
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #4fc8d8;
  border: 1px solid rgba(79,200,216,.35);
  border-radius: 3px;
  padding: 3px 8px;
  white-space: nowrap;
}
#utcg-hero .hero-text p {
  font-size: .95rem;
  line-height: 1.65;
  color: rgba(255,255,255,.65);
  margin-bottom: 28px;
  max-width: 360px;
}
#utcg-hero .hero-btns {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
}
#utcg-hero .btn-primary {
  display: inline-block;
  padding: 10px 15px;
  background: #1d4a56;
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(79,200,216,.4);
  border-radius: 4px;
  white-space: nowrap;
  transition: background .2s, box-shadow .2s;
}
#utcg-hero .btn-primary:hover {
  background: #255e6e;
  box-shadow: 0 0 20px rgba(79,200,216,.25);
}
#utcg-hero .btn-secondary {
  display: inline-block;
  padding: 10px 15px;
  background: transparent;
  color: rgba(255,255,255,.75);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 4px;
  white-space: nowrap;
  transition: border-color .2s, color .2s;
}
#utcg-hero .btn-secondary:hover {
  border-color: rgba(255,255,255,.5);
  color: #fff;
}

/* ── Card stage ── */
#utcg-hero .card-stage {
  flex: 0 0 520px;
  width: 520px;
  position: relative;
  align-self: stretch;
  overflow: visible;
}
#utcg-hero .center-logo {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, calc(-50% + 20px));
  z-index: 25;
  pointer-events: none;
  width: 180px;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(79,200,216,.35)) drop-shadow(0 0 6px rgba(79,200,216,.2));
  animation: logoPulse 3s ease-in-out infinite;
  display: block;
}
@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 14px rgba(79,200,216,.3)) drop-shadow(0 0 4px rgba(79,200,216,.15)); }
  50%       { filter: drop-shadow(0 0 22px rgba(79,200,216,.5)) drop-shadow(0 0 8px rgba(79,200,216,.3)); }
}
#utcg-hero .logo-ring {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 15;
  pointer-events: none;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,200,216,.2) 0%, transparent 65%);
  animation: ringPulse 3s ease-in-out infinite;
}
@keyframes ringPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: .7; }
  50%       { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

/* ── Cards ── */
#utcg-hero .tcg-card {
  position: absolute;
  width: 130px;
  height: 182px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
  transform-origin: bottom center;
  will-change: transform;
  backface-visibility: hidden;
}
#utcg-hero .tcg-card:hover {
  z-index: 30 !important;
  box-shadow: 0 16px 40px rgba(0,0,0,.75), 0 0 35px rgba(79,200,216,.55), 0 0 70px rgba(79,200,216,.2) !important;
}
#utcg-hero .tcg-card .card-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
#utcg-hero .tcg-card .card-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 10px;
}
#utcg-hero .tcg-card .card-img ~ .card-placeholder { display: none; }
#utcg-hero .tcg-card .card-placeholder .ph-icon { font-size: 2.2rem; opacity: .7; }
#utcg-hero .tcg-card .card-placeholder .ph-label {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  text-align: center;
  padding: 0 6px;
}
#utcg-hero .tcg-card .card-shine {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  pointer-events: none;
}
#utcg-hero .tcg-card .card-tag {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 6px 7px;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  border-radius: 0 0 10px 10px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  z-index: 2;
}

/* ── Card positions & colors ── */
#utcg-hero .card-pokemon {
  --card-bg: linear-gradient(145deg, #1a2e66 0%, #2d4eaa 50%, #1a2e66 100%);
  --card-border: rgba(255,203,5,.5);
  left: 65px; top: 50%;
  transform: translateY(-60%) rotate(-18deg);
  z-index: 11;
  box-shadow: 0 10px 30px rgba(0,0,0,.6);
  animation: float1 4.2s ease-in-out infinite;
}
#utcg-hero .card-pokemon:hover  { transform: translateY(-50%) rotate(-8deg) scale(1.12) !important; }

#utcg-hero .card-onepiece {
  --card-bg: linear-gradient(145deg, #5a0a0a 0%, #b01818 50%, #5a0a0a 100%);
  --card-border: rgba(240,160,30,.5);
  left: 115px; top: 50%;
  transform: translateY(-60%) rotate(-9deg);
  z-index: 12;
  box-shadow: 0 10px 30px rgba(0,0,0,.6);
  animation: float2 3.8s ease-in-out infinite;
}
#utcg-hero .card-onepiece:hover { transform: translateY(-50%) rotate(-4deg) scale(1.12) !important; }

#utcg-hero .card-riftbound {
  --card-bg: linear-gradient(145deg, #1a0a38 0%, #5a1fa0 50%, #1a0a38 100%);
  --card-border: rgba(160,100,255,.5);
  left: 275px; top: 50%;
  transform: translateY(-60%) rotate(9deg);
  z-index: 12;
  box-shadow: 0 10px 30px rgba(0,0,0,.6);
  animation: float3 4.5s ease-in-out infinite;
}
#utcg-hero .card-riftbound:hover { transform: translateY(-50%) rotate(4deg) scale(1.12) !important; }

#utcg-hero .card-lorcana {
  --card-bg: linear-gradient(145deg, #0a1e50 0%, #1a5ca0 50%, #0a1e50 100%);
  --card-border: rgba(200,162,40,.5);
  left: 330px; top: 50%;
  transform: translateY(-60%) rotate(18deg);
  z-index: 11;
  box-shadow: 0 10px 30px rgba(0,0,0,.6);
  animation: float4 4s ease-in-out infinite;
}
#utcg-hero .card-lorcana:hover  { transform: translateY(-50%) rotate(8deg) scale(1.12) !important; }

#utcg-hero .ground-glow {
  position: absolute;
  bottom: 15%; left: 50%;
  transform: translateX(-50%);
  width: 60%; height: 80px;
  background: radial-gradient(ellipse at center bottom, rgba(79,200,216,.12) 0%, transparent 80%);
  pointer-events: none;
  z-index: 5;
}

/* ── Float animations ── */
@keyframes float1 {
  0%, 100% { transform: translateY(calc(-60% - 8px)) rotate(-18deg); }
  50%       { transform: translateY(calc(-60% + 8px)) rotate(-18deg); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(calc(-60% + 6px)) rotate(-9deg); }
  50%       { transform: translateY(calc(-60% - 10px)) rotate(-9deg); }
}
@keyframes float3 {
  0%, 100% { transform: translateY(calc(-60% - 10px)) rotate(9deg); }
  50%       { transform: translateY(calc(-60% + 6px)) rotate(9deg); }
}
@keyframes float4 {
  0%, 100% { transform: translateY(calc(-60% + 4px)) rotate(18deg); }
  50%       { transform: translateY(calc(-60% - 12px)) rotate(18deg); }
}
#utcg-hero .tcg-card:hover { animation: none !important; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  #utcg-hero .hero-inner { flex-direction: column-reverse; padding: 40px 20px; gap: 8px; }
  #utcg-hero .hero-text  { flex: none; max-width: 100%; text-align: center; }
  #utcg-hero .hero-pills,
  #utcg-hero .hero-btns  { justify-content: center; }
  #utcg-hero .hero-text p { margin: 0 auto 28px; }
  #utcg-hero .card-stage  { flex: none; width: 460px; max-width: 100%; height: 260px; margin: 0 auto; }
  #utcg-hero .tcg-card    { width: 90px; height: 126px; }
  #utcg-hero .center-logo { width: 90px; }
  #utcg-hero .card-pokemon   { left: 40px; }
  #utcg-hero .card-onepiece  { left: 110px; }
  #utcg-hero .card-riftbound { left: 258px; }
  #utcg-hero .card-lorcana   { left: 322px; }
}
@media (max-width: 480px) {
  #utcg-hero .card-stage  { width: 320px; max-width: 100%; height: 200px; }
  #utcg-hero .tcg-card    { width: 70px; height: 98px; border-radius: 7px; }
  #utcg-hero .hero-btns   { flex-direction: column; align-items: center; }
  #utcg-hero .btn-primary,
  #utcg-hero .btn-secondary { width: 100%; max-width: 280px; text-align: center; }
  #utcg-hero .center-logo { width: 72px; }
  #utcg-hero .card-pokemon   { left: 40px; }
  #utcg-hero .card-onepiece  { left: 71px; }
  #utcg-hero .card-riftbound { left: 169px; }
  #utcg-hero .card-lorcana   { left: 203px; }
}

/* Contenir le z-index du hero — menu mobile passe par-dessus */
#utcg-hero {
  isolation: isolate;
  z-index: 1;
  position: relative;
}


/* Contact form */

.cf7-row {
  margin-bottom: 20px;
}
 
.cf7-row label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #C7CDD1;
  letter-spacing: 0.3px;
}
 
.cf7-row .required {
  color: #4FC8D8;
  font-weight: 400;
  font-size: 13px;
  margin-left: 4px;
}
 
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 12px 16px;
  background: #13242C;
  border: 1px solid #2A3F48;
  border-radius: 8px;
  color: #E7ECEF;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, background 0.2s;
}
 
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: #1E4E59;
  background: #1A333D;
}
 
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: #7F8D94;
}
 
.wpcf7-form select {
  appearance: none;
  cursor: pointer;
}
 
.wpcf7-form textarea {
  min-height: 150px;
  resize: vertical;
}
 
.cf7-submit input[type="submit"],
.wpcf7-form .wpcf7-submit {
  padding: 12px 32px;
  background: #1E4E59;
  color: #E7ECEF;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
 
.cf7-submit input[type="submit"]:hover,
.wpcf7-form .wpcf7-submit:hover {
  background: #286370;
  box-shadow: 0 0 20px rgba(79, 200, 216, 0.2);
}
 
.wpcf7-not-valid-tip {
  color: #C86B6B;
  font-size: 13px;
  margin-top: 4px;
}
 
.wpcf7-response-output {
  border-radius: 8px;
  padding: 12px 16px !important;
  margin-top: 20px !important;
  border: none !important;
}
 
.wpcf7-mail-sent-ok {
  background: #17241D;
  color: #6FAE84 !important;
}
 
.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
  background: #2A1A1A;
  color: #C86B6B !important;
}

/* Single product — limiter la taille de la galerie */
.product_image_wrapper .woocommerce-product-gallery {
  max-width: 400px !important;
}

.product_image_wrapper .woocommerce-product-gallery__image img {
  width: 400px !important;
  max-width: 400px !important;
  height: auto !important;
}
