/*
Theme Name: GPS Locator Pro
Theme URI: https://gpslocator.pinterestdownloader.com.in/
Author: GPS Locator Team
Author URI: https://gpslocator.pinterestdownloader.com.in/
Description: Ultra-fast, 100% multi-device flexible WordPress theme tailored for GPS Locator tutorials, mock location guides, and policy compliance.
Version: 4.8.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: gps-locator-pro
*/

:root {
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #eff6ff;
  --accent-color: #7c3aed;
  
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  
  --border-color: #e2e8f0;
  --container-max-width: 1200px;
  --header-height: 64px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.12);
}

[data-theme="dark"] {
  --bg-body: #0f172a;
  --bg-card: #1e293b;
  --bg-alt: #334155;
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-light: #64748b;
  --border-color: #334155;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

.site-wrapper {
  width: 100%;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  word-break: break-word;
}

a:hover {
  text-decoration: underline;
}

img, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 100% FLUID CONTAINER FOR ALL DEVICES */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 2rem);
  box-sizing: border-box;
}

.site-main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: clamp(1rem, 3vw, 2.25rem);
  margin: clamp(1rem, 2.5vw, 2rem) auto;
  align-items: start;
  width: 100%;
}

.site-main-layout:not(:has(> .site-sidebar)),
.site-main-layout:has(> .site-sidebar:empty) {
  grid-template-columns: minmax(0, 1fr) !important;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.main-content {
  width: 100%;
  min-width: 0;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  min-height: var(--header-height);
  width: 100%;
}

[data-theme="dark"] .site-header {
  background: rgba(30, 41, 59, 0.94);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 0.5rem 1.25rem;
  gap: 1rem;
}

.site-logo {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-badge {
  background: var(--primary-color);
  color: #fff;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 800;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 1.25rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.main-navigation a {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
}

.theme-toggle-btn {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.45rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.reading-progress-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
}

.reading-progress-bar {
  height: 100%;
  background: var(--primary-color);
  width: 0%;
  transition: width 0.1s ease;
}

/* ==========================================================================
   TUTORIAL HERO CARD & META STYLING
   ========================================================================== */
.tutorial-hero-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  margin-bottom: 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

.tutorial-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1rem;
}

.hero-tag {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
}

.tag-guide {
  background: rgba(37, 99, 235, 0.2);
  color: #60a5fa;
  border-color: rgba(96, 165, 250, 0.3);
}

.tag-android {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.3);
}

.tag-free {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
  border-color: rgba(192, 132, 252, 0.3);
}

.tutorial-hero-title {
  font-size: clamp(1.35rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.28;
  margin: 0 0 0.75rem 0;
}

.tutorial-hero-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.tutorial-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  background: rgba(15, 23, 42, 0.6);
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.meta-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

.meta-icon {
  font-size: 1.3rem;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.meta-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
}

.meta-card strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
}

/* Tutorial Article & Card Styling */
.tutorial-step-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  width: 100%;
  box-sizing: border-box;
}

.step-badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.step-num-badge {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.step-category-badge {
  background: var(--bg-alt);
  color: var(--text-muted);
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  border: 1px solid var(--border-color);
}

.step-heading {
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-main);
  line-height: 1.3;
}

.step-description {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Phone Mockup Grids */
.phone-mockup-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
  width: 100%;
}

.phone-mockup-grid.single-mockup {
  max-width: 420px;
  margin: 1.5rem auto;
}

.phone-mockup-grid.gallery-4 {
  grid-template-columns: repeat(4, 1fr);
}

.phone-mockup-grid.gallery-2 {
  grid-template-columns: repeat(2, 1fr);
}

.phone-mockup-card {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-screen-frame {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #000;
}

.phone-screen-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.phone-caption {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.6rem;
  text-align: center;
}

.caption-num {
  background: var(--primary-color);
  color: #fff;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.7rem;
  margin-right: 0.3rem;
}

/* Brand Section Boxes */
.brand-section-box {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-top: 1.5rem;
  border-left: 4px solid var(--primary-color);
}

.brand-box-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.brand-icon {
  font-size: 0.8rem;
  font-weight: 800;
  background: var(--primary-color);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.brand-instruction {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Pro Tips & Disclosures */
.pro-tip-box, .disclaimer-box, .prominent-disclosure-box {
  background: var(--primary-light);
  border-left: 4px solid var(--primary-color);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  margin-top: 1.5rem;
}

[data-theme="dark"] .pro-tip-box,
[data-theme="dark"] .disclaimer-box,
[data-theme="dark"] .prominent-disclosure-box {
  background: rgba(37, 99, 235, 0.15);
}

.tip-header {
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
}

/* Post Cards */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.post-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.post-card-body {
  padding: 1.25rem;
}

.post-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.post-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 1rem;
}

/* Footer Styling */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 3rem 0 1.5rem 0;
  margin-top: auto;
}

.footer-column .disclaimer-box {
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--primary-color);
  color: #cbd5e1;
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column h3, .footer-column h4 {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* AdSense Isolation Engine */
.adsense-wrapper {
  margin: 1.5rem auto;
  clear: both;
  text-align: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.adsense-placeholder {
  padding: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-light);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
}

/* ==========================================================================
   TUTORIAL VIDEO POPUP STYLES - 100% SCREEN CENTERED OVERLAY
   ========================================================================== */
.tutorial-popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100vw;
	height: 100vh;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(15, 23, 42, 0.65);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	opacity: 1;
	transition: opacity 0.3s ease;
}

.tutorial-popup-overlay.hidden {
	display: none !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.tutorial-popup-card {
	position: relative;
	width: 100%;
	max-width: 420px;
	margin: auto;
	background: var(--bg-card, #ffffff);
	border-radius: 20px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45), 0 0 30px rgba(37, 99, 235, 0.25);
	border: 1px solid var(--border-color, #e2e8f0);
	overflow: hidden;
	animation: tutorialCenterPop 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tutorial-popup-overlay.expanded .tutorial-popup-card {
	max-width: 520px;
}

@keyframes tutorialCenterPop {
	from {
		opacity: 0;
		transform: scale(0.85) translateY(15px);
	}
	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

.tutorial-popup-close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 30;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(15, 23, 42, 0.65);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.25);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(4px);
	transition: all 0.2s ease;
}

.tutorial-popup-close:hover {
	background: #ef4444;
	color: #ffffff;
	transform: rotate(90deg) scale(1.1);
	border-color: #ef4444;
}

.tutorial-header-badge {
	background: linear-gradient(135deg, #2563eb, #1d4ed8);
	color: #ffffff;
	padding: 12px 18px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.9rem;
	font-weight: 700;
}

.tutorial-popup-card ins.adsbygoogle,
.tutorial-popup-card .google-auto-placed,
.tutorial-popup-card [data-ad-client] {
	display: none !important;
	height: 0 !important;
	width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.pulse-dot {
	width: 8px;
	height: 8px;
	background-color: #22c55e;
	border-radius: 50%;
	box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
	animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
	0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
	70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
	100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.tutorial-thumbnail-box {
	position: relative;
	width: 100%;
	height: 200px;
	cursor: pointer;
	overflow: hidden;
	background: #0f172a;
}

.tutorial-thumb-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
	display: block;
}

.tutorial-thumbnail-box:hover .tutorial-thumb-img {
	transform: scale(1.06);
}

.yt-play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 60px;
	height: 42px;
	background: #ff0000;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	box-shadow: 0 6px 20px rgba(255, 0, 0, 0.5);
	transition: all 0.25s ease;
}

.tutorial-thumbnail-box:hover .yt-play-btn {
	background: #cc0000;
	transform: translate(-50%, -50%) scale(1.15);
	box-shadow: 0 8px 25px rgba(255, 0, 0, 0.7);
}

.tutorial-card-body {
	padding: 16px 18px 18px;
}

.tutorial-card-body h4 {
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0 0 6px 0;
	color: var(--text-main, #0f172a);
}

.tutorial-card-body p {
	font-size: 0.85rem;
	color: var(--text-muted, #475569);
	margin: 0 0 14px 0;
	line-height: 1.4;
}

.tutorial-action-btn {
	width: 100%;
	padding: 12px 16px;
	background: linear-gradient(135deg, #2563eb, #1d4ed8);
	color: #ffffff;
	border: none;
	border-radius: 12px;
	font-weight: 700;
	font-size: 0.95rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
	transition: all 0.2s ease;
}

.tutorial-action-btn:hover {
	background: linear-gradient(135deg, #1d4ed8, #1e40af);
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
}

.tutorial-step-player.hidden {
	display: none !important;
}

.tutorial-lang-selector {
	padding: 14px 18px;
	background: var(--bg-alt, #f1f5f9);
	border-bottom: 1px solid var(--border-color, #e2e8f0);
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.lang-label {
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--text-muted, #475569);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.lang-tabs {
	display: flex;
	gap: 10px;
}

.lang-tab {
	flex: 1;
	padding: 10px 14px;
	font-size: 0.9rem;
	font-weight: 700;
	border-radius: 10px;
	border: 1px solid var(--border-color, #cbd5e1);
	background: var(--bg-card, #ffffff);
	color: var(--text-main, #0f172a);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	transition: all 0.2s ease;
}

.lang-tab:hover {
	border-color: var(--primary-color, #2563eb);
	color: var(--primary-color, #2563eb);
}

.lang-tab.active {
	background: var(--primary-color, #2563eb);
	color: #ffffff;
	border-color: var(--primary-color, #2563eb);
	box-shadow: 0 3px 12px rgba(37, 99, 235, 0.35);
}

.tutorial-video-wrapper {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	height: 0;
	background: #0f172a url('https://img.youtube.com/vi/6_jp5c8mZjU/maxresdefault.jpg') center/cover no-repeat;
	overflow: hidden;
	border-radius: 12px;
}

.tutorial-video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.tutorial-unmute-btn {
	position: absolute;
	bottom: 12px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(37, 99, 235, 0.92);
	color: #ffffff;
	border: none;
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 0.82rem;
	font-weight: 700;
	cursor: pointer;
	z-index: 10;
	display: flex;
	align-items: center;
	gap: 6px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(8px);
	transition: all 0.2s ease;
}

.tutorial-unmute-btn:hover {
	background: #1d4ed8;
	transform: translateX(-50%) scale(1.04);
}

.tutorial-unmute-btn.hidden {
	display: none !important;
}

/* ==========================================================================
   COMPLETE RESPONSIVE MEDIA QUERIES FOR ALL MOBILE & TABLET DEVICES
   ========================================================================== */

@media (max-width: 992px) {
  .site-main-layout {
    grid-template-columns: 1fr !important;
  }
  .sidebar {
    width: 100% !important;
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .phone-mockup-grid.gallery-4 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }
  .phone-mockup-grid.gallery-2 {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
  .post-grid {
    grid-template-columns: 1fr !important;
  }
  .footer-widgets {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .tutorial-step-card {
    padding: 1.25rem 1rem !important;
  }
  .tutorial-meta-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
}

@media (max-width: 640px) {
  .tutorial-popup-overlay {
    padding: 12px !important;
  }
  .tutorial-popup-card {
    max-width: 100% !important;
    border-radius: 16px !important;
  }
  .tutorial-thumbnail-box {
    height: 165px !important;
  }
  .header-container {
    flex-direction: row;
    justify-content: space-between;
    padding: 0.5rem 1rem;
  }
  .main-navigation {
    display: none;
  }
}

@media (max-width: 480px) {
  .phone-mockup-grid.gallery-4 {
    grid-template-columns: 1fr !important;
  }
  .step-heading {
    font-size: 1.2rem !important;
  }
  .step-description {
    font-size: 0.9rem !important;
  }
}

/* ==========================================================================
   PRIVACY POLICY PAGE STYLES (PREMIUM UI & RESPONSIVE DESIGN)
   ========================================================================== */
.policy-hero-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(124, 58, 237, 0.06) 100%);
  border-bottom: 1px solid var(--border-color);
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  margin-bottom: 2rem;
}

[data-theme="dark"] .policy-hero-banner {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.95) 100%);
  border-bottom: 1px solid #1e293b;
}

.policy-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.policy-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-main);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.chip-google-play {
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.3);
  background: rgba(37, 99, 235, 0.08);
}

.chip-adsense {
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.08);
}

.chip-gdpr {
  color: #8b5cf6;
  border-color: rgba(139, 92, 246, 0.3);
  background: rgba(139, 92, 246, 0.08);
}

.policy-title {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.policy-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 780px;
  margin-bottom: 1.5rem;
}

.policy-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  align-items: center;
  font-size: clamp(0.82rem, 2.5vw, 0.92rem);
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  width: 100%;
}

.meta-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
  min-width: 0;
  max-width: 100%;
}

.meta-label {
  color: var(--text-light);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.meta-link {
  color: var(--primary-color);
  font-weight: 700;
  white-space: nowrap;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.meta-val {
  color: var(--text-main);
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .policy-meta-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }
  
  .meta-item {
    width: 100%;
    justify-content: flex-start;
  }
}

/* Prominent Location Disclosure Card */
.prominent-disclosure-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.prominent-disclosure-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, #2563eb 0%, #10b981 100%);
}

.disclosure-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.disclosure-icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.disclosure-title-group {
  display: flex;
  flex-direction: column;
}

.disclosure-kicker {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #2563eb;
}

.disclosure-title-group h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 800;
  color: var(--text-main);
}

.disclosure-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.disclosure-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.highlight-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.highlight-text {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.55;
}

/* Policy Section Cards */
.policy-section-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.policy-section-box h2 {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.policy-section-box p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.policy-section-box ul, .policy-section-box ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.policy-section-box li {
  margin-bottom: 0.6rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Permissions Table */
.permissions-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  margin-top: 1rem;
  -webkit-overflow-scrolling: touch;
}

.permissions-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
  min-width: 540px;
}

.permissions-table th {
  background: var(--bg-alt);
  color: var(--text-main);
  font-weight: 700;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

.permissions-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-muted);
  vertical-align: middle;
}

.permissions-table tr:last-child td {
  border-bottom: none;
}

.permissions-table code {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-family: monospace;
}

/* Contact Card Box */
.contact-card-box {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(16, 185, 129, 0.06) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1rem;
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-color);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.contact-card-details h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.contact-card-details p {
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
}

.btn-contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-color);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25);
}

.btn-contact-email:hover {
  background: var(--primary-dark);
  text-decoration: none;
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .contact-card-box {
    flex-direction: column;
  }
}
