Files
yoapuesto/wp-content/themes/yoapuesto/page-juego-responsable.php
T

180 lines
11 KiB
PHP

<?php
/**
* Template Name: Juego responsable
*/
$legal_page_title = 'Juego Responsable';
get_header();
?>
<main class="rebet-legal-main" role="main" aria-label="Contenido">
<section class="rebet-legal-page container" aria-labelledby="legal-page-title">
<?php
echo wp_get_attachment_image(
46,
'full',
false,
array(
'class' => 'rebet-legal-page__glow',
'alt' => '',
'aria-hidden' => 'true',
'loading' => 'eager',
'fetchpriority' => 'high',
)
);
?>
<h1 id="legal-page-title" class="rebet-legal-page__title"><?php echo esc_html( $legal_page_title ); ?></h1>
<div class="yoapuesto-responsible-page">
<div class="lwrap">
<aside class="ltoc" aria-label="Índice de contenido">
<h2>En esta página</h2>
<nav>
<a href="#intro">Nuestro compromiso</a>
<a href="#menores">Protección de menores</a>
<a href="#jugador">Prevención y protección</a>
<a href="#ayuda">¿Necesitas ayuda?</a>
</nav>
</aside>
<div class="lcontent">
<p class="intro" id="intro">En <strong>www.yoapuesto.mx</strong> (en lo sucesivo "YoApuesto") sabemos que el juego es una actividad divertida y destinada a pasar el rato, por lo que tenemos un fuerte compromiso con que éste se haga de manera responsable.</p>
<section id="menores">
<h2>Protección de menores</h2>
<p>YoApuesto tiene una fuerte política de restricción de menores de edad. Todas las personas que no cuenten con al menos 18 años no podrán participar con nosotros, por lo que, como parte de nuestros procesos de seguridad, solicitamos documentos que acrediten que la persona tiene, por lo menos, la edad señalada.</p>
<p>Se sugiere lleve a cabo las acciones pertinentes en su teléfono, tableta, computadora o dispositivo, para evitar que los menores de edad tengan acceso, estableciendo perfiles o aplicando las herramientas de control parental.</p>
</section>
<section id="jugador">
<h2>Prevención y protección del jugador</h2>
<p>Es importante que al participar en YoApuesto te encuentres en un estado emocional y psicológico equilibrado que te permita pensar y reaccionar con claridad y de manera razonable. Si has consumido alcohol, drogas o cualquier otra sustancia que pueda mermar tus capacidades mentales, no deberías participar en YoApuesto.</p>
<p>Participar en YoApuesto debe ser una decisión libre y personal, con el único fin de tener un momento de diversión, solamente. <strong>El juego no debe ser una forma de generar riqueza o ganar dinero.</strong></p>
<p>El dinero que inviertas en YoApuesto y el tiempo que pases con nosotros no debe generar conflictos en casa, trabajo, relaciones personales, familiares, escolares o de amistad.</p>
</section>
<section id="ayuda">
<div class="callout warn">
<h3>¿Necesitas ayuda?</h3>
<p>Si crees que estás teniendo problemas en la forma en que puedes controlar el juego y tu persona, te recomendamos el siguiente sitio web que te podrá ayudar mucho:</p>
<div class="contact-card">
<a href="https://www.jugadoresanonimos.org" target="_blank" rel="noopener noreferrer">www.jugadoresanonimos.org <span aria-hidden="true">↗</span><span class="screen-reader-text"> (abre en una pestaña nueva)</span></a>
</div>
</div>
</section>
</div>
</div>
</div>
</section>
</main>
<style id="yoapuesto-responsible-layout">
.yoapuesto-responsible-page{--rl-bg:#0a0807;--rl-panel:#161210;--rl-line:#2a211c;--rl-orange:#ff6a00;--rl-orange-bright:#ff8c1a;--rl-ember:#ff3d00;--rl-gold:#ffb627;--rl-cream:#f6ede1;--rl-muted:#b6a392;--rl-dim:#7c6c5e;--rl-read:#d9cdbf;--rl-radius:14px;min-height:100vh;background:var(--rl-bg);color:var(--rl-read)}
.yoapuesto-responsible-page *,.yoapuesto-responsible-page *::before,.yoapuesto-responsible-page *::after{box-sizing:border-box}
.yoapuesto-responsible-page a{color:inherit;text-decoration:none}
.yoapuesto-responsible-page .lwrap{display:grid;grid-template-columns:240px minmax(0,1fr);align-items:start;gap:48px;width:100%;max-width:1180px;margin:0 auto;padding:48px clamp(18px,4vw,46px) 0px}
.yoapuesto-responsible-page .ltoc{position:sticky;top:116px;align-self:start;max-height:calc(100vh - 136px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--rl-orange) transparent}
.yoapuesto-responsible-page .ltoc h2{margin:0 0 14px;color:var(--rl-dim);text-transform:uppercase;letter-spacing:.14em}
.yoapuesto-responsible-page .ltoc nav{display:flex;flex-direction:column;border-left:1px solid var(--rl-line)}
.yoapuesto-responsible-page .ltoc a{display:block;margin-left:-1px;padding:7px 0 7px 16px;border-left:2px solid transparent;color:var(--rl-muted);transition:color .2s ease,border-color .2s ease,transform .2s ease}
.yoapuesto-responsible-page .ltoc a:hover,.yoapuesto-responsible-page .ltoc a:focus-visible{color:var(--rl-cream)}
.yoapuesto-responsible-page .ltoc a:focus-visible{outline:2px solid var(--rl-gold);outline-offset:2px}
.yoapuesto-responsible-page .ltoc a.active{border-left-color:var(--rl-orange);color:var(--rl-gold);transform:translateX(2px)}
.yoapuesto-responsible-page .lcontent{min-width:0;color:var(--rl-read)}
.yoapuesto-responsible-page .lcontent .intro{margin:0 0 38px;padding:4px 0 4px 20px;border-left:3px solid var(--rl-orange);color:var(--rl-cream);scroll-margin-top:116px}
.yoapuesto-responsible-page .lcontent section{margin:0 0 40px;scroll-margin-top:116px}
.yoapuesto-responsible-page .lcontent h2{margin:0 0 18px;padding-top:6px;color:var(--rl-cream);text-transform:uppercase;letter-spacing:.01em}
.yoapuesto-responsible-page .lcontent h3{margin:24px 0 10px;color:var(--rl-gold)}
.yoapuesto-responsible-page .lcontent p{margin:0 0 16px}
.yoapuesto-responsible-page .lcontent ul{display:flex;flex-direction:column;gap:11px;margin:0 0 18px;padding:0;list-style:none}
.yoapuesto-responsible-page .lcontent ul li{position:relative;padding-left:24px}
.yoapuesto-responsible-page .lcontent ul li::before{position:absolute;top:.72em;left:0;width:9px;height:9px;border-radius:2px;background:linear-gradient(var(--rl-gold),var(--rl-ember));content:"";transform:rotate(45deg)}
.yoapuesto-responsible-page .lcontent strong{color:var(--rl-cream)}
.yoapuesto-responsible-page .lcontent a.inline{border-bottom:1px solid rgba(255,182,39,.4);color:var(--rl-gold);transition:color .2s ease,border-color .2s ease}
.yoapuesto-responsible-page .lcontent a.inline:hover,.yoapuesto-responsible-page .lcontent a.inline:focus-visible{border-color:var(--rl-orange);color:var(--rl-orange-bright)}
.yoapuesto-responsible-page .callout{margin:0 0 18px;padding:20px 22px;border:1px solid var(--rl-line);border-radius:var(--rl-radius);background:rgba(255,106,0,.05)}
.yoapuesto-responsible-page .callout.warn{border-color:rgba(255,61,0,.4);background:rgba(255,61,0,.06)}
.yoapuesto-responsible-page .callout h3{margin-top:0}
.yoapuesto-responsible-page .contact-card{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:10px}
.yoapuesto-responsible-page .contact-card a{padding:9px 15px;border:1px solid var(--rl-line);border-radius:10px;background:rgba(255,106,0,.08);color:var(--rl-gold);transition:background-color .2s ease,border-color .2s ease}
.yoapuesto-responsible-page .contact-card a:hover,.yoapuesto-responsible-page .contact-card a:focus-visible{border-color:var(--rl-orange);background:rgba(255,106,0,.16)}
@media(max-width:1024px){.yoapuesto-responsible-page .lwrap{grid-template-columns:210px minmax(0,1fr);gap:32px}}
@media(max-width:900px){
.yoapuesto-responsible-page .lwrap{grid-template-columns:minmax(0,1fr);gap:30px}
.yoapuesto-responsible-page .ltoc{position:static;max-height:none;overflow:visible;padding:18px 20px;border:1px solid var(--rl-line);border-radius:var(--rl-radius);background:var(--rl-panel)}
.yoapuesto-responsible-page .ltoc nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;border-left:0}
.yoapuesto-responsible-page .ltoc a{margin-left:0;padding:7px 0;border-left:0;border-bottom:1px solid rgba(182,163,146,.16)}
.yoapuesto-responsible-page .ltoc a.active{border-bottom-color:var(--rl-orange);transform:none}
}
@media(max-width:767px){
.yoapuesto-responsible-page .lwrap{gap:24px;padding-top:32px;padding-bottom:56px}
.yoapuesto-responsible-page .lcontent .intro,.yoapuesto-responsible-page .lcontent section{scroll-margin-top:92px}
}
@media(max-width:479px){
.yoapuesto-responsible-page .lwrap{padding-right:16px;padding-left:16px}
.yoapuesto-responsible-page .ltoc{padding:16px}
.yoapuesto-responsible-page .ltoc nav{grid-template-columns:minmax(0,1fr)}
.yoapuesto-responsible-page .lcontent .intro{padding-left:15px}
.yoapuesto-responsible-page .callout{padding:18px 16px}
}
@media(prefers-reduced-motion:reduce){.yoapuesto-responsible-page .ltoc a,.yoapuesto-responsible-page .lcontent a.inline,.yoapuesto-responsible-page .contact-card a{transition:none}}
</style>
<script>
(function(){
"use strict";
var page=document.querySelector(".yoapuesto-responsible-page");
if(!page)return;
var links=Array.prototype.slice.call(page.querySelectorAll(".ltoc a[href^=\"#\"]"));
var header=document.querySelector("[data-site-header]");
var reduce=window.matchMedia("(prefers-reduced-motion: reduce)");
var items=links.map(function(link){
var target=page.querySelector(link.getAttribute("href"));
return target?{link:link,target:target}:null;
}).filter(Boolean);
if(!items.length)return;
function offset(){return(header?header.getBoundingClientRect().height:0)+20}
function activate(id){
items.forEach(function(item){
var active=item.target.id===id;
item.link.classList.toggle("active",active);
if(active)item.link.setAttribute("aria-current","location");else item.link.removeAttribute("aria-current");
});
}
items.forEach(function(item){
item.link.addEventListener("click",function(event){
event.preventDefault();
window.scrollTo({top:Math.max(0,item.target.getBoundingClientRect().top+window.scrollY-offset()),behavior:reduce.matches?"auto":"smooth"});
if(history.replaceState)history.replaceState(null,"","#"+item.target.id);
activate(item.target.id);
});
});
if("IntersectionObserver" in window){
var observer=new IntersectionObserver(function(entries){
var visible=entries.filter(function(entry){return entry.isIntersecting}).sort(function(a,b){return b.intersectionRatio-a.intersectionRatio});
if(visible.length)activate(visible[0].target.id);
},{rootMargin:"-"+offset()+"px 0px -62% 0px",threshold:[0,.15,.5]});
items.forEach(function(item){observer.observe(item.target)});
}else{
var ticking=false;
window.addEventListener("scroll",function(){
if(ticking)return;
ticking=true;
window.requestAnimationFrame(function(){
var current=items[0].target,line=offset()+12;
items.forEach(function(item){if(item.target.getBoundingClientRect().top<=line)current=item.target});
activate(current.id);
ticking=false;
});
},{passive:true});
}
var hashTarget=window.location.hash?page.querySelector(window.location.hash):null;
activate(hashTarget?hashTarget.id:items[0].target.id);
})();
</script>
<?php get_footer(); ?>