/*
        choixprofr — Modern refreshed theme (CSS-only)
        Note: Content/markup unchanged. Typography, layout, colors, and components restyled.
*/

/* Root theme */
:root {
        --bg: #0a0b1a;
        --bg-soft: #1a1d2e;
        --card: #252837;
        --elev: #2d3142;
        --text: #f8f9ff;
        --text-dim: #c8d0e7;
        --brand: #6366f1;
        --brand-2: #8b5cf6;
        --accent: #10b981;
        --warn: #f59e0b;
        --danger: #ef4444;
        --muted: #374151;
        --ring: rgba(99, 102, 241, 0.5);
        --shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.2);
        --shadow-lg: 0 32px 64px rgba(0, 0, 0, 0.5), 0 8px 24px rgba(0, 0, 0, 0.3);
        --radius: 20px;
        --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
        --gradient-secondary: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
        --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
}

/* Reset-ish */
* {
	box-sizing: border-box;
}

html, body {
        margin: 0;
        padding: 0;
        font-family: "Inter", "PT Sans", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, sans-serif;
        color: var(--text);
        background: 
                radial-gradient(1400px 1000px at 20% -20%, rgba(99, 102, 241, 0.15), transparent),
                radial-gradient(1000px 800px at 80% 20%, rgba(139, 92, 246, 0.12), transparent),
                radial-gradient(800px 600px at 50% 100%, rgba(16, 185, 129, 0.08), transparent),
                var(--bg);
        line-height: 1.7;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        font-weight: 400;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
        color: var(--brand-2);
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
}

a:hover {
        color: var(--brand);
        text-decoration: none;
}

a:hover::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 100%;
        height: 2px;
        background: var(--gradient-primary);
        border-radius: 1px;
}

.hidden { display: none; }

/* Containers */
.container, .contenedor {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Top banner (18+) */
.banner-top {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.08));
        color: var(--text-dim);
        display: flex;
        gap: 12px;
        align-items: center;
        justify-content: center;
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(10px);
        position: relative;
        overflow: hidden;
}

.banner-top::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        animation: shimmer 3s infinite;
}

@keyframes shimmer {
        0% { left: -100%; }
        100% { left: 100%; }
}

.banner-top img {
	width: 22px;
	height: 22px;
	opacity: 0.9;
}

.banner-top p {
	margin: 0;
	font-size: 14px;
}

/* Hero */
.hero-section {
	position: relative;
	padding: 60px 0 80px;
	background:
		linear-gradient(180deg, rgba(26, 29, 46, 0.95), rgba(26, 29, 46, 0.8)),
		conic-gradient(from 180deg at 50% 10%, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.15), transparent 70%);
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
	overflow: hidden;
}

.hero-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: 
		radial-gradient(800px 600px at 20% 20%, rgba(99, 102, 241, 0.1), transparent),
		radial-gradient(600px 400px at 80% 80%, rgba(139, 92, 246, 0.08), transparent);
	pointer-events: none;
}

.hero-section .site-title img {
	height: 64px;
	filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
	transition: transform 0.3s ease;
}

.hero-section .site-title img:hover {
	transform: scale(1.05);
}

.main-heading {
	margin: 32px 0 16px;
	font-size: 48px;
	line-height: 1.1;
	letter-spacing: -0.5px;
	font-weight: 800;
	background: var(--gradient-primary);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.intro-text {
	margin: 0 0 28px;
	font-size: 20px;
	color: var(--text-dim);
	font-weight: 400;
	line-height: 1.6;
}

.advantages-list {
	list-style: none;
	margin: 24px 0 32px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.advantages-list li {
	background: linear-gradient(135deg, var(--card), var(--elev));
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--radius);
	padding: 20px 18px;
	display: flex;
	gap: 16px;
	align-items: center;
	color: var(--text);
	box-shadow: var(--shadow);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.advantages-list li::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--gradient-primary);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.advantages-list li:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
	border-color: rgba(99, 102, 241, 0.3);
}

.advantages-list li:hover::before {
	opacity: 1;
}

.advantages-list img { 
	width: 32px; 
	height: 32px; 
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Glow card */
.glow-card {
	margin-top: 20px;
	background: linear-gradient(135deg, var(--elev), var(--card));
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius);
	padding: 24px;
	display: grid;
	grid-template-columns: 140px 1fr auto;
	gap: 20px;
	align-items: center;
	box-shadow: var(--shadow-lg);
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
}

.glow-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--gradient-primary);
}

.glow-card::after {
	content: "";
	position: absolute;
	inset: -50% -50% auto auto;
	width: 70%;
	height: 70%;
	background: radial-gradient(closest-side, rgba(99, 102, 241, 0.1), transparent 60%);
	transform: rotate(25deg);
	pointer-events: none;
	opacity: 0.6;
}

.glow-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 12px 32px rgba(0, 0, 0, 0.4);
	border-color: rgba(99, 102, 241, 0.3);
}

.glow-logo {
	background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 16px;
	padding: 16px;
	display: grid;
	place-items: center;
	transition: all 0.3s ease;
}

.glow-logo:hover {
	background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
	transform: scale(1.05);
}

.glow-info {
	display: grid;
	grid-template-columns: repeat(3, auto);
	gap: 18px;
	align-items: center;
	color: var(--text);
}

.glow-info .votes { 
	color: var(--text-dim); 
	font-size: 15px; 
	margin: 0; 
	font-weight: 500;
}

.glow-info .score { 
	font-size: 32px; 
	font-weight: 800; 
	background: var(--gradient-secondary);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin: 0; 
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.glow-info .bonus { 
	font-size: 18px; 
	background: var(--gradient-accent);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin: 0; 
	font-weight: 600;
}

.visit-btn {
	background: var(--gradient-primary);
	color: #ffffff;
	font-weight: 800;
	letter-spacing: 0.6px;
	border: none;
	border-radius: 50px;
	padding: 16px 32px;
	box-shadow: 0 8px 22px rgba(125, 240, 255, 0.35), inset 0 0 0 1px rgba(0,0,0,0.1);
	transition: transform 0.14s ease, box-shadow 0.14s ease, opacity 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none !important;
}

.visit-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(125, 240, 255, 0.45), inset 0 0 0 1px rgba(0,0,0,0.1); }
.visit-btn:active { transform: translateY(0); }

/* Informative section */
.seccion-informativa {
        padding: 60px 0 80px;
        background: linear-gradient(180deg, transparent, rgba(99, 102, 241, 0.08) 30%, transparent 100%);
}

.bloque-info {
        background: linear-gradient(135deg, var(--card), var(--elev));
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: var(--radius);
        padding: 28px;
        margin: 20px 0;
        box-shadow: var(--shadow);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
}

.bloque-info::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--gradient-primary);
        opacity: 0;
        transition: opacity 0.3s ease;
}

.bloque-info:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
        border-color: rgba(99, 102, 241, 0.2);
}

.bloque-info:hover::before {
        opacity: 1;
}

.bloque-info h3 {
        margin: 0 0 12px;
        font-size: 24px;
        color: #ffffff;
        font-weight: 700;
}

.bloque-info p { 
        margin: 0; 
        color: var(--text-dim); 
        line-height: 1.7;
        font-size: 16px;
}

/* Footer */
footer {
        margin-top: 60px;
        background: linear-gradient(180deg, var(--bg-soft), var(--bg));
        border-top: 1px solid rgba(255,255,255,0.08);
        padding: 40px 0 48px;
}

.f-link {
        display: grid;
        grid-auto-flow: column;
        gap: 24px;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        padding: 16px 0 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
}

.f-link img {
        height: 32px;
        opacity: 0.8;
        transition: all 0.3s ease;
        filter: grayscale(0.3);
}

.f-link a:hover img { 
        opacity: 1; 
        transform: scale(1.1);
        filter: grayscale(0);
}

.block-avertissement {
        padding: 32px 0;
}

.avertissement-wrapper {
        max-width: 1000px;
        margin: 0 auto;
        background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
        border: 1px solid rgba(255,255,255,0.12);
        border-radius: var(--radius);
        padding: 24px 28px;
        color: var(--text-dim);
        box-shadow: var(--shadow);
}

.avertissement-wrapper h2 {
        margin: 0 0 12px;
        font-size: 22px;
        color: var(--text);
        font-weight: 700;
}

.avertissement-wrapper p { 
        margin: 12px 0; 
        line-height: 1.7;
        font-size: 15px;
}

.legal-links {
        margin-top: 16px;
}

.legal-links ul {
        list-style: none;
        margin: 16px 0 0;
        padding: 0;
        display: flex;
        gap: 24px;
        justify-content: center;
        flex-wrap: wrap;
}

.legal-links a {
        color: var(--brand-2);
        font-weight: 600;
        transition: all 0.3s ease;
        padding: 8px 16px;
        border-radius: 8px;
}

.legal-links a:hover {
        background: rgba(99, 102, 241, 0.1);
        color: var(--brand);
}

.bot {
        text-align: center;
        margin: 24px 0 0;
        color: var(--text-dim);
        font-size: 14px;
        opacity: 0.8;
}

/* Cookie banner */
.cookie-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 20px;
	z-index: 50;
	display: flex;
	justify-content: center;
	pointer-events: none;
}

/* Ensure the banner truly hides when the 'hidden' class is toggled */
.cookie-banner.hidden { display: none !important; }

.cookie-container {
        background: linear-gradient(135deg, var(--card), var(--elev));
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 50px;
        padding: 16px 20px;
        box-shadow: var(--shadow-lg);
        max-width: 1000px;
        width: calc(100% - 32px);
        margin: 0 16px;
        display: flex;
        gap: 16px;
        align-items: center;
        justify-content: space-between;
        pointer-events: all;
        backdrop-filter: blur(10px);
}

.cookie-container p {
        margin: 0;
        color: var(--text-dim);
        font-size: 15px;
        line-height: 1.5;
}

.cookie-btn {
        background: var(--gradient-primary);
        color: #ffffff;
        font-weight: 700;
        border: none;
        border-radius: 25px;
        padding: 10px 20px;
        cursor: pointer;
        box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
        transition: all 0.3s ease;
        font-size: 14px;
}

.cookie-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 32px rgba(99, 102, 241, 0.4);
}

/* Policy / inner pages */
.hero-section-p {
        padding: 40px 0 20px;
        background: linear-gradient(180deg, rgba(26,29,46,0.95), rgba(26,29,46,0.6));
        border-bottom: 1px solid rgba(255,255,255,0.08);
}

.jeu-responsable {
        padding: 48px 0 60px;
}

.jeu-responsable h1 {
        font-size: 40px;
        margin: 0 0 12px;
        background: var(--gradient-primary);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        font-weight: 800;
        line-height: 1.2;
}

.jeu-responsable h2 {
        margin: 24px 0 12px;
        font-size: 24px;
        color: #ffffff;
        font-weight: 700;
}

.tips-list { 
        padding-left: 20px; 
        line-height: 1.7;
}

.tips-list li { 
        margin: 8px 0; 
        color: var(--text-dim);
}

.update-date {
        margin-top: 20px;
        color: var(--text-dim);
        font-style: italic;
        opacity: 0.8;
}

/* Accessibility: focus ring */
:where(a, button, [role="button"]).focus-visible,
:where(a, button, [role="button"]):focus-visible {
	outline: 3px solid var(--ring);
	outline-offset: 2px;
	border-radius: 10px;
}

/* Responsive */
@media (max-width: 980px) {
        .advantages-list { 
                grid-template-columns: 1fr; 
                gap: 16px;
        }
        .glow-card { 
                grid-template-columns: 120px 1fr; 
                gap: 16px;
        }
        .visit-btn { 
                grid-column: 1 / -1; 
                justify-self: start; 
                margin-top: 16px;
        }
        .hero-section {
                padding: 40px 0 60px;
        }
        .main-heading {
                font-size: 40px;
        }
}

@media (max-width: 640px) {
        .main-heading { 
                font-size: 32px; 
                line-height: 1.2;
        }
        .intro-text { 
                font-size: 18px; 
        }
        .glow-info { 
                grid-template-columns: 1fr; 
                gap: 8px; 
                text-align: center;
        }
        .f-link { 
                grid-auto-flow: row; 
                gap: 16px;
        }
        .glow-card {
                grid-template-columns: 1fr;
                text-align: center;
        }
        .glow-logo {
                justify-self: center;
        }
        .advantages-list li {
                padding: 16px;
        }
        .bloque-info {
                padding: 20px;
        }
        .container, .contenedor {
                padding: 0 16px;
        }
}


