/*
Theme Name: Global Gambling Traffic v13 ClickFix
Theme URI: https://globalgamblingtraffic.com/
Author: Global Gambling Traffic
Description: Affiliate-style iGaming traffic theme (Sports Betting, Casino, Slots) with EN/PT/ES and GEO/Tier pages.
Version: 13.3
License: GPLv2 or later
Text Domain: ggt
*/

:root{
  --bg:#06080d;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(0,0,0,.35);
  --stroke: rgba(255,255,255,.14);
  --text:#e9edf6;
  --muted:#b7c0d3;
  --accent:#2b76ff;
  --accent2:#5fd1ff;
  --radius:18px;
  --max:1200px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, Helvetica, sans-serif;
  color:var(--text);
  background: radial-gradient(1200px 700px at 50% -20%, rgba(43,118,255,.35), transparent 65%),
              radial-gradient(900px 600px at 80% 10%, rgba(95,209,255,.18), transparent 55%),
              linear-gradient(180deg, #03050a 0%, #050a12 40%, #050812 100%);
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}
.container{width:min(var(--max), calc(100% - 48px)); margin:0 auto;}
/* Header */
.site-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(0,0,0,.55);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner{
  display:flex; align-items:center; gap:18px;
  padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:12px; min-width:240px;
}
.brand img{width:42px; height:42px; object-fit:cover; border-radius:10px; border:1px solid rgba(255,255,255,.14)}
.brand .name{font-weight:700; letter-spacing:.2px; opacity:.95}

.lang-switch{
  display:flex; align-items:center; gap:10px;
  padding:8px 12px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
}
.lang-switch a{
  padding:6px 10px;
  border-radius:999px;
  font-weight:700;
  font-size:13px;
  opacity:.85;
}
.lang-switch a{display:flex; align-items:center; gap:8px;}
.lang-switch a .flag{width:16px; height:16px; border-radius:3px; box-shadow:0 0 0 1px rgba(0,0,0,.25);}
.lang-switch a.active{background: rgba(43,118,255,.22); border:1px solid rgba(43,118,255,.55); opacity:1}

.nav-wrap{margin-left:auto; display:flex; align-items:center; gap:18px;}
.primary-nav ul{list-style:none; display:flex; gap:18px; margin:0; padding:0; align-items:center;}
.primary-nav a{
  display:inline-block; padding:10px 10px; border-radius:10px;
  font-weight:650; font-size:14px; opacity:.92;
}
.primary-nav a:hover{background: rgba(255,255,255,.06);}

/* Mobile */
.menu-toggle{display:none; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); color:var(--text); padding:10px 12px; border-radius:12px}
@media (max-width: 980px){
  .brand{min-width:auto}
  .primary-nav{display:none}
  .menu-toggle{display:inline-flex}
  .nav-wrap{gap:10px}
  .primary-nav.open{display:block; position:absolute; left:0; right:0; top:64px; background: rgba(0,0,0,.92); border-bottom:1px solid rgba(255,255,255,.08);}
  .primary-nav.open ul{flex-direction:column; padding:12px 0}
}

/* Hero */
.hero{
  position:relative;
  min-height: 70vh;
  display:flex;
  align-items:stretch;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.62) 45%, rgba(0,0,0,.30) 78%, rgba(0,0,0,.55) 100%),
    radial-gradient(900px 500px at 25% 60%, rgba(43,118,255,.20), transparent 70%);
  z-index:1;
}
.hero-bg{
  position:absolute; inset:0;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  transform: scale(1.03);
  filter: saturate(1.1) contrast(1.02);
}
.hero-inner{
  position:relative; z-index:2;
  padding:54px 0 40px 0;
  display:grid;
  grid-template-columns: 1.2fr .9fr;
  gap:28px;
  align-items:end;
}
@media (max-width: 980px){
  .hero{min-height: 78vh}
  .hero-inner{grid-template-columns: 1fr; align-items:start; padding:34px 0 22px}
}
.hero h1{
  margin:0 0 14px;
  font-size: clamp(34px, 5vw, 62px);
  line-height:1.02;
  letter-spacing:-.6px;
  text-shadow: 0 10px 35px rgba(0,0,0,.55);
}
.hero p.lead{
  margin:0 0 18px;
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(233,237,246,.92);
  max-width: 680px;
  text-shadow: 0 6px 22px rgba(0,0,0,.55);
}
.cta-row{display:flex; flex-wrap:wrap; gap:12px; margin-top:10px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:14px 18px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  font-weight:800;
  letter-spacing:.3px;
  box-shadow: 0 18px 55px rgba(0,0,0,.40);
}
.btn.primary{
  background: linear-gradient(180deg, rgba(43,118,255,.95), rgba(43,118,255,.55));
  border: 1px solid rgba(43,118,255,.85);
}
.btn:hover{transform: translateY(-1px)}
.chips{display:flex; flex-wrap:wrap; gap:10px; margin-top:14px}
.chip{
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.28);
  font-weight:750;
  font-size:13px;
  color: rgba(233,237,246,.92);
}
.hero-card{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding:18px 18px 16px;
  box-shadow: 0 28px 80px rgba(0,0,0,.45);
  max-width: 420px;
  justify-self:end;
}
@media (max-width: 980px){ .hero-card{justify-self:start; max-width:100%}}
.hero-card h3{margin:0 0 10px; font-size:18px}
.hero-card p{margin:0; color: rgba(233,237,246,.88); line-height:1.5}

/* Section */
.section{padding:44px 0}
.section h2{margin:0 0 16px; font-size:34px; letter-spacing:-.3px}
.section p{color: rgba(233,237,246,.86); line-height:1.6}
.grid-3{display:grid; grid-template-columns: repeat(3, 1fr); gap:16px}
@media (max-width: 980px){ .grid-3{grid-template-columns:1fr}}
.card{
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding:18px;
  transition: transform .15s ease, background .15s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.card:hover{transform: translateY(-2px); background: rgba(255,255,255,.07)}
.card .icon{font-size:22px; opacity:.95}
.card h3{margin:10px 0 8px; font-size:16px}
.card p{margin:0; color: rgba(233,237,246,.82); font-size:14px}
.card a.stretch{position:absolute; inset:0; border-radius: var(--radius)}
.card.rel{position:relative}

/* Tabs */
.tabs{
  display:flex; flex-wrap:wrap; gap:10px;
  margin:14px 0 12px;
}
.tab{
  padding:10px 14px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.25);
  font-weight:800;
  font-size:13px;
}
.tab.active{background: rgba(43,118,255,.18); border-color: rgba(43,118,255,.55)}
.subtabs{
  display:flex; gap:10px; flex-wrap:wrap;
  margin-top:10px;
}
.subtab{
  padding:10px 14px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  font-weight:800;
  font-size:13px;
}
.subtab.active{background: rgba(95,209,255,.12); border-color: rgba(95,209,255,.45)}

/* Testimonial */
.quote{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:20px;
  align-items:end;
  padding:22px;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
}
@media (max-width:980px){.quote{grid-template-columns:1fr}}
.quote .text{font-size:16px; line-height:1.6; color:rgba(233,237,246,.88)}
.quote .author{margin-top:10px; font-weight:800}
.quote .role{color:rgba(233,237,246,.72); font-size:13px}

/* Footer */
.site-footer{
  border-top:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.60);
  padding:34px 0;
}
.footer-grid{display:grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap:18px}
@media (max-width: 980px){.footer-grid{grid-template-columns:1fr}}
.footer-grid h4{margin:0 0 10px; font-size:14px; letter-spacing:.3px}
.footer-grid a{display:block; padding:6px 0; color:rgba(233,237,246,.82)}
.footer-grid a:hover{color:#fff}
.smallprint{margin-top:16px; color:rgba(233,237,246,.60); font-size:12px}

/* Page */
.page-hero{padding:42px 0 18px}
.page-hero h1{margin:0; font-size:42px; letter-spacing:-.3px}
.page-content{padding:18px 0 44px}
.prose{max-width: 900px}
.prose h2{margin-top:22px}
.prose ul{line-height:1.7}


/* Footer social */
.footer-social{ margin-top:14px; }
.footer-social-title{ font-weight:800; margin-bottom:8px; color: rgba(233,237,246,.92); }
.social-row{ display:flex; flex-wrap:wrap; gap:10px; margin-top:6px; }
a.social{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: rgba(233,237,246,.92);
  font-weight:800;
  font-size:13px;
}
a.social:hover{ background: rgba(255,255,255,.07); }


/* Footer social list + icons */
.social-list{ list-style:none; margin:10px 0 0; padding:0; display:flex; flex-direction:column; gap:10px; }
.social-list li{ margin:0; padding:0; }
.footer-grid .social-list a.social{ display:inline-flex; width:fit-content; }
.social-icon{ width:18px; height:18px; display:inline-flex; align-items:center; justify-content:center; }
.social-icon svg{ width:18px; height:18px; fill:rgba(233,237,246,.92); display:block; }

/* Simple contact form */
.contact-form label{ display:block; margin: 10px 0; font-weight:800; color: rgba(233,237,246,.90); }
.contact-form input, .contact-form textarea{
  width:100%;
  margin-top:8px;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: rgba(233,237,246,.95);
  outline:none;
}
.contact-form input::placeholder, .contact-form textarea::placeholder{ color: rgba(233,237,246,.55); }
.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
@media (max-width: 820px){ .grid-2{ grid-template-columns:1fr; } }


/* --- Language blocks (EN/PT/ES) --- */
.ggt-lang{display:block;}
body.ggt-lang-en .ggt-lang:not(.ggt-lang-en){display:none;}
body.ggt-lang-pt .ggt-lang:not(.ggt-lang-pt){display:none;}
body.ggt-lang-es .ggt-lang:not(.ggt-lang-es){display:none;}

/* --- Tier grid (GEOs page) --- */
.ggt-tier-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:16px;}
.ggt-tier{background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.08);border-radius:16px;padding:16px;}
.ggt-tier-badge{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:12px;letter-spacing:.08em;text-transform:uppercase;
  padding:6px 10px;border-radius:999px;background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.10);margin-bottom:10px;}
@media (max-width: 900px){.ggt-tier-grid{grid-template-columns:1fr;}}

/* --- Footer (isolated from Elementor) --- */
.ggt-footer{background:#06070a;border-top:1px solid rgba(255,255,255,0.08);padding:40px 0 18px 0;position:relative;z-index:1;}
.ggt-footer__grid{display:grid;grid-template-columns:1.2fr .8fr;gap:24px;align-items:start;}
.ggt-footer__logo{height:34px;width:auto;display:block;}
.ggt-footer__tag{margin:10px 0 0 0;color:rgba(255,255,255,.75);max-width:520px;}
.ggt-footer__title{font-weight:700;margin-bottom:12px;}
.ggt-social{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;}
.ggt-social li::marker{content:'';}
.ggt-social li{list-style:none;}

.ggt-social__link{display:flex;align-items:center;gap:10px;text-decoration:none !important;color:rgba(255,255,255,.88) !important;}
.ggt-social__link:hover{color:#fff !important;}
.ggt-social__icon{width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;opacity:.9;flex:0 0 20px;}
.ggt-social__icon svg,.ggt-social__icon img{width:20px;height:20px;fill:currentColor;display:block;}
.ggt-footer__bottom{margin-top:24px;padding-top:14px;border-top:1px solid rgba(255,255,255,0.08);
  display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:space-between;color:rgba(255,255,255,.65);font-size:13px;}
.ggt-footer__links a{color:rgba(255,255,255,.75) !important;text-decoration:none !important;}
.ggt-footer__links a:hover{color:#fff !important;}
.ggt-footer__links .sep{opacity:.5;margin:0 8px;}
@media (max-width: 900px){.ggt-footer__grid{grid-template-columns:1fr;}}


/* --- Footer hard reset against Elementor/global styles --- */
.ggt-footer ul.ggt-social{list-style:none !important; padding-left:0 !important; margin:0 !important;}
.ggt-footer ul.ggt-social li{list-style:none !important; margin:0 !important; padding:0 !important;}
.ggt-footer .ggt-social__link{background:transparent !important;}
.ggt-footer .ggt-social__icon, .ggt-footer .ggt-social__icon svg{max-width:20px !important; max-height:20px !important;}



/* --- FIX: hard isolate footer socials against Elementor/global list/svg styles --- */
.ggt-footer .ggt-social, .ggt-footer .ggt-social li{margin:0 !important; padding:0 !important; list-style:none !important;}
.ggt-footer .ggt-social li::marker{content:"" !important;}
.ggt-footer .ggt-social li:before, .ggt-footer .ggt-social li:after{content:none !important;}
.ggt-footer .ggt-social__link{position:relative !important; display:flex !important; align-items:center !important; gap:10px !important; background:transparent !important;}
.ggt-footer .ggt-social__icon{width:20px !important; height:20px !important; flex:0 0 20px !important; overflow:hidden !important;}
.ggt-footer .ggt-social__icon svg{width:20px !important; height:20px !important; max-width:20px !important; max-height:20px !important; display:block !important; position:static !important;}
.ggt-footer svg{max-width:20px !important; max-height:20px !important;}



/* --- Hard override to prevent Elementor/global CSS from blowing up footer icons --- */
.ggt-footer .ggt-social, .ggt-footer .ggt-social ul{list-style:none !important; margin:0 !important; padding:0 !important;}
.ggt-footer .ggt-social li{list-style:none !important; margin:0 !important; padding:0 !important;}
.ggt-footer .ggt-social li::marker, .ggt-footer .ggt-social li:before{content:"" !important; display:none !important;}
.ggt-footer .ggt-social__icon{width:20px !important; height:20px !important; max-width:20px !important; max-height:20px !important; flex:0 0 20px !important;}
.ggt-footer .ggt-social__icon svg{width:20px !important; height:20px !important; max-width:20px !important; max-height:20px !important; display:block !important;}

/* --- Region/Tier quick links on Home --- */
.grid-5{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;}
@media (max-width: 980px){.grid-5{grid-template-columns:repeat(2,1fr);} }
@media (max-width: 520px){.grid-5{grid-template-columns:1fr;} }

.mini-card{display:flex;align-items:center;justify-content:center;text-align:center;
  padding:14px 12px;border-radius:14px;background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.10);color:rgba(255,255,255,0.92);
  text-decoration:none !important;font-weight:800;letter-spacing:.2px;
  transition:transform .12s ease, background .12s ease, border-color .12s ease;
}
.mini-card:hover{transform:translateY(-1px);background:rgba(255,255,255,0.08);border-color:rgba(255,255,255,0.16);color:#fff;}


/* --- Footer social hard lock (beats Elementor) --- */
.ggt-footer .ggt-social{list-style:none !important;margin:0 !important;padding:0 !important;}
.ggt-footer .ggt-social li{list-style:none !important;margin:0 !important;padding:0 !important;}
.ggt-footer .ggt-social li::marker,
.ggt-footer .ggt-social li:before{content:"" !important;display:none !important;}
.ggt-footer .ggt-social__link{color:rgba(233,237,246,.92) !important;}
.ggt-footer .ggt-social__icon{width:18px !important;height:18px !important;flex:0 0 18px !important;}
.ggt-footer .ggt-social__icon svg{width:18px !important;height:18px !important;max-width:18px !important;max-height:18px !important;fill:currentColor !important;color:rgba(233,237,246,.92) !important;display:block !important;}
.ggt-footer .ggt-social__icon svg path{fill:currentColor !important;}


/* --- Home quick nav (GEOs + Tiers) --- */
.ggt-quick-nav{padding:22px 0 34px 0;background:linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(6,7,10,0.85) 100%);border-top:1px solid rgba(255,255,255,0.06);}
.ggt-quick-nav__title{font-weight:800;text-align:center;margin:0 0 12px 0;letter-spacing:.2px;}
.ggt-quick-nav__row{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;}
.ggt-quick-nav__row--tiers{margin-top:10px;}

/* Home GEO content blocks */
.ggt-geo-sections{margin-top:26px;}
.ggt-geo{display:none;}
.ggt-geo.is-active{display:block;}
.ggt-geo-placeholder{margin-top:16px;padding:14px 16px;border:1px solid rgba(255,255,255,0.10);background:rgba(255,255,255,0.04);border-radius:14px;color:rgba(233,237,246,.82);text-align:center;}
.ggt-geo-placeholder.is-hidden{display:none;}
.ggt-geo{padding:18px 0 10px;border-top:1px solid rgba(255,255,255,.07);}
.ggt-geo:first-child{border-top:none;}
.ggt-geo h2{margin:0 0 6px;font-size:22px;letter-spacing:.2px;}
.ggt-geo p{margin:0 0 12px;color:rgba(233,237,246,.78);max-width:860px;}
.ggt-geo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.ggt-geo-card{border:1px solid rgba(255,255,255,.10);background:rgba(0,0,0,.18);border-radius:14px;padding:12px 14px;color:rgba(233,237,246,.86);line-height:1.35;}
.ggt-geo-card strong{color:#fff;}
.ggt-geo--tiers .ggt-geo-card{border-color:rgba(98,153,255,.22);}
@media (max-width: 860px){
  .ggt-geo-grid{grid-template-columns:1fr;}
}
.ggt-pill{display:inline-flex;align-items:center;justify-content:center;padding:9px 14px;border-radius:999px;border:1px solid rgba(255,255,255,0.16);background:rgba(255,255,255,0.04);color:rgba(233,237,246,.92) !important;text-decoration:none !important;font-weight:700;font-size:13px;line-height:1;}
.ggt-pill:hover{background:rgba(255,255,255,0.08);border-color:rgba(255,255,255,0.24);color:#fff !important;}
.ggt-pill--tier{border-color:rgba(59,130,246,0.45);background:rgba(59,130,246,0.10);}
.ggt-pill.is-active, .tab.is-active, .subtab.is-active, .mini-card.is-active{
  background:rgba(59,130,246,0.18) !important;
  border-color:rgba(59,130,246,0.55) !important;
  color:#fff !important;
}

/* Elementor content: keep the_content for editing, hide it on live site to avoid unwanted empty sections */
.ggt-elementor-content{display:none !important;}
.elementor-editor-active .ggt-elementor-content,
.elementor-editor-preview .ggt-elementor-content,
.elementor-edit-mode .ggt-elementor-content,
body.elementor-editor-active .ggt-elementor-content{
  display:block !important;
}
