/* gamejoytribe.org - French Elegant Minimal Design */
:root {
  --gamejoytribe-primary: #6B4E8D; /* elegant purple */
  --gamejoytribe-primary-dark: #5A3F7A;
  --gamejoytribe-secondary: #A8C5A0; /* sage green */
  --gamejoytribe-accent: #D4A574; /* warm beige */
  --gamejoytribe-success: #7FB069;
  --gamejoytribe-warning: #E6B847;
  --gamejoytribe-error: #C95D63;
  --gamejoytribe-bg-main: #FAF9F6; /* soft cream */
  --gamejoytribe-bg-alt: #F5F3F0;
  --gamejoytribe-text-dark: #2D2A26;
  --gamejoytribe-text-medium: #5A5650;
  --gamejoytribe-text-light: #8A8580;
  --gamejoytribe-white: #FFFFFF;
  --gamejoytribe-border: #E8E6E3;
  --gamejoytribe-shadow: 0 8px 32px rgba(107,78,141,.12);
  --gamejoytribe-transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
  --gamejoytribe-radius: 16px;
  --gamejoytribe-font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--gamejoytribe-font-main); line-height: 1.7; color: var(--gamejoytribe-text-medium); background: var(--gamejoytribe-bg-main); overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.3; margin-bottom: 1rem; color: var(--gamejoytribe-text-dark); word-break: break-word; overflow-wrap: anywhere; }
h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.3rem; }
p { margin-bottom: 1rem; color: var(--gamejoytribe-text-medium); }
a { color: var(--gamejoytribe-primary); text-decoration: none; transition: var(--gamejoytribe-transition); }
a:hover { color: var(--gamejoytribe-primary-dark); }

.gamejoytribe-container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.gamejoytribe-navbar { background: var(--gamejoytribe-white); border-bottom: 1px solid var(--gamejoytribe-border); position: fixed; top: 0; left: 0; right: 0; z-index: 1000; box-shadow: 0 2px 12px rgba(0,0,0,.04); }
.gamejoytribe-navbar-wrapper { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; }
.gamejoytribe-brand { display: flex; align-items: center; gap: .75rem; font-size: 1.25rem; font-weight: 700; color: var(--gamejoytribe-text-dark); }
.gamejoytribe-logo { height: 38px; width: auto; }
.gamejoytribe-nav-toggle { display: none; flex-direction: column; gap: 4px; background: var(--gamejoytribe-primary); border: none; border-radius: 6px; cursor: pointer; padding: 10px 12px; transition: var(--gamejoytribe-transition); }
.gamejoytribe-nav-toggle:hover { background: var(--gamejoytribe-primary-dark); }
.gamejoytribe-nav-toggle-bar { width: 24px; height: 3px; background: var(--gamejoytribe-white); border-radius: 2px; transition: var(--gamejoytribe-transition); }
.gamejoytribe-nav-menu { display: flex; align-items: center; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.gamejoytribe-nav-link { color: var(--gamejoytribe-text-medium); font-weight: 500; padding: .6rem 1rem; border-radius: 10px; transition: var(--gamejoytribe-transition); font-size: .95rem; }
.gamejoytribe-nav-link:hover { color: var(--gamejoytribe-white); background: var(--gamejoytribe-primary); }
.gamejoytribe-nav-link.active { color: var(--gamejoytribe-white); background: var(--gamejoytribe-primary); }
.gamejoytribe-nav-cta { background: linear-gradient(135deg, var(--gamejoytribe-primary), var(--gamejoytribe-secondary)); color: var(--gamejoytribe-white); padding: .6rem 1.2rem; border-radius: 10px; font-weight: 600; transition: var(--gamejoytribe-transition); box-shadow: 0 4px 12px rgba(107,78,141,.25); }
.gamejoytribe-nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(107,78,141,.35); }

@media (max-width: 768px) {
  .gamejoytribe-nav-toggle { display: flex; }
  .gamejoytribe-nav-menu { position: fixed; top: 62px; left: 0; right: 0; background: var(--gamejoytribe-white); flex-direction: column; padding: 1.5rem 1rem; box-shadow: var(--gamejoytribe-shadow); transform: translateX(-100%); opacity: 0; visibility: hidden; transition: var(--gamejoytribe-transition); z-index: 999; border-top: 1px solid var(--gamejoytribe-border); }
  .gamejoytribe-nav-menu.active { transform: translateX(0); opacity: 1; visibility: visible; }
  .gamejoytribe-nav-menu li { width: 100%; }
  .gamejoytribe-nav-link { display: block; width: 100%; padding: 1rem; text-align: left; font-size: 1rem; }
  .gamejoytribe-nav-cta { width: calc(100% - 2rem); text-align: center; padding: 1rem; margin: .5rem 1rem 0; display: block; }
  .gamejoytribe-nav-toggle.active .gamejoytribe-nav-toggle-bar:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
  .gamejoytribe-nav-toggle.active .gamejoytribe-nav-toggle-bar:nth-child(2) { opacity: 0; }
  .gamejoytribe-nav-toggle.active .gamejoytribe-nav-toggle-bar:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
}

.gamejoytribe-main { margin-top: 62px; min-height: calc(100vh - 62px); }
.gamejoytribe-section { padding: 5rem 0; }
.gamejoytribe-section-alt { background: var(--gamejoytribe-bg-alt); border-top: 1px solid var(--gamejoytribe-border); border-bottom: 1px solid var(--gamejoytribe-border); }

.gamejoytribe-hero { background: linear-gradient(135deg, rgba(107,78,141,.06) 0%, rgba(168,197,160,.04) 100%), var(--gamejoytribe-bg-main); padding: 6rem 0 5rem; text-align: center; position: relative; }
.gamejoytribe-hero-content { max-width: 800px; margin: 0 auto; }
.gamejoytribe-hero-badge { display: inline-flex; align-items: center; gap: .5rem; color: var(--gamejoytribe-primary); padding: .4rem 1rem; border-radius: 20px; font-size: .85rem; font-weight: 600; margin-bottom: 1.5rem; background: rgba(107,78,141,.1); border: 1px solid rgba(107,78,141,.2); }
.gamejoytribe-hero-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 1.2rem; line-height: 1.2; }
.gamejoytribe-hero-subtitle { font-size: 1.15rem; margin-bottom: 2rem; color: var(--gamejoytribe-text-medium); font-weight: 400; }
.gamejoytribe-hero-cta { display: inline-flex; align-items: center; gap: .6rem; background: var(--gamejoytribe-primary); color: var(--gamejoytribe-white); padding: 1rem 2rem; border-radius: var(--gamejoytribe-radius); font-size: 1.05rem; font-weight: 600; transition: var(--gamejoytribe-transition); box-shadow: 0 8px 20px rgba(107,78,141,.25); }
.gamejoytribe-hero-cta:hover { transform: translateY(-2px); background: var(--gamejoytribe-primary-dark); box-shadow: 0 12px 28px rgba(107,78,141,.35); }

.gamejoytribe-features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.gamejoytribe-feature-card { background: var(--gamejoytribe-white); padding: 2rem; border-radius: var(--gamejoytribe-radius); box-shadow: var(--gamejoytribe-shadow); transition: var(--gamejoytribe-transition); border: 1px solid var(--gamejoytribe-border); }
.gamejoytribe-feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(107,78,141,.18); }
.gamejoytribe-feature-icon { width: 56px; height: 56px; background: rgba(168,197,160,.15); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; font-size: 1.5rem; color: var(--gamejoytribe-secondary); }
.gamejoytribe-feature-title { font-size: 1.2rem; margin-bottom: .6rem; color: var(--gamejoytribe-text-dark); }
.gamejoytribe-feature-desc { color: var(--gamejoytribe-text-medium); line-height: 1.7; font-size: .98rem; }

.gamejoytribe-games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.gamejoytribe-game-card { background: var(--gamejoytribe-white); border-radius: var(--gamejoytribe-radius); overflow: hidden; box-shadow: var(--gamejoytribe-shadow); transition: var(--gamejoytribe-transition); border: 1px solid var(--gamejoytribe-border); }
.gamejoytribe-game-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(107,78,141,.18); }
.gamejoytribe-game-badge { position: absolute; top: 1rem; right: 1rem; background: rgba(212,165,116,.2); color: var(--gamejoytribe-accent); padding: .3rem .8rem; border-radius: 20px; font-size: .75rem; font-weight: 600; z-index: 1; border: 1px solid rgba(212,165,116,.3); }
.gamejoytribe-game-image { width: 100%; height: 200px; overflow: hidden; background: var(--gamejoytribe-bg-alt); }
.gamejoytribe-game-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--gamejoytribe-transition); }
.gamejoytribe-game-card:hover .gamejoytribe-game-image img { transform: scale(1.06); }
.gamejoytribe-game-content { padding: 1.5rem; }
.gamejoytribe-game-title { font-size: 1.15rem; margin-bottom: .5rem; color: var(--gamejoytribe-text-dark); }
.gamejoytribe-game-desc { color: var(--gamejoytribe-text-medium); margin-bottom: 1rem; line-height: 1.6; font-size: .95rem; }
.gamejoytribe-game-stats { display: flex; gap: 1.2rem; margin-bottom: 1rem; font-size: .85rem; color: var(--gamejoytribe-text-light); }
.gamejoytribe-game-play { width: 100%; background: var(--gamejoytribe-primary); color: var(--gamejoytribe-white); border: none; padding: .85rem 1.2rem; border-radius: var(--gamejoytribe-radius); font-weight: 600; cursor: pointer; transition: var(--gamejoytribe-transition); font-size: .98rem; }
.gamejoytribe-game-play:hover { transform: translateY(-2px); background: var(--gamejoytribe-primary-dark); box-shadow: 0 6px 16px rgba(107,78,141,.3); }

.gamejoytribe-btn { display: inline-flex; align-items: center; gap: .6rem; padding: .85rem 1.5rem; border-radius: var(--gamejoytribe-radius); font-weight: 600; transition: var(--gamejoytribe-transition); cursor: pointer; border: none; font-size: 1rem; text-decoration: none; }
.gamejoytribe-btn-primary { background: var(--gamejoytribe-primary); color: var(--gamejoytribe-white); }
.gamejoytribe-btn-primary:hover { transform: translateY(-2px); background: var(--gamejoytribe-primary-dark); box-shadow: 0 6px 16px rgba(107,78,141,.3); }
.gamejoytribe-btn-secondary { background: var(--gamejoytribe-secondary); color: var(--gamejoytribe-white); }
.gamejoytribe-btn-secondary:hover { transform: translateY(-2px); filter: brightness(1.05); }

.gamejoytribe-footer { background: var(--gamejoytribe-white); color: var(--gamejoytribe-text-medium); padding: 4rem 0 2rem; border-top: 1px solid var(--gamejoytribe-border); }
.gamejoytribe-footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.gamejoytribe-footer-section h3 { color: var(--gamejoytribe-text-dark); margin-bottom: 1rem; font-size: 1.1rem; font-weight: 600; }
.gamejoytribe-footer-section p { margin-bottom: .6rem; color: var(--gamejoytribe-text-medium); font-size: .94rem; }
.gamejoytribe-footer-section a { color: var(--gamejoytribe-primary); transition: var(--gamejoytribe-transition); }
.gamejoytribe-footer-section a:hover { color: var(--gamejoytribe-primary-dark); text-decoration: underline; }
.gamejoytribe-disclaimer { background: rgba(107,78,141,.08); padding: 1.5rem; border-radius: var(--gamejoytribe-radius); margin-bottom: 1.5rem; border: 1px solid rgba(107,78,141,.15); }
.gamejoytribe-disclaimer p { margin-bottom: .8rem; font-size: .9rem; line-height: 1.7; }
.gamejoytribe-footer-bottom { border-top: 1px solid var(--gamejoytribe-border); padding-top: 1.5rem; text-align: center; font-size: .88rem; color: var(--gamejoytribe-text-light); }

.gamejoytribe-cookie-popup { position: fixed; bottom: 1.5rem; left: 1.5rem; right: auto; max-width: 540px; background: var(--gamejoytribe-white); padding: 1.5rem; border-radius: var(--gamejoytribe-radius); box-shadow: var(--gamejoytribe-shadow); z-index: 9999; transform: translateY(150px); opacity: 0; transition: var(--gamejoytribe-transition); border: 1px solid var(--gamejoytribe-border); }
.gamejoytribe-cookie-popup.show { transform: translateY(0); opacity: 1; }
.gamejoytribe-cookie-content { margin-bottom: 1rem; }
.gamejoytribe-cookie-content h4 { margin-bottom: .5rem; color: var(--gamejoytribe-text-dark); font-size: 1.1rem; }
.gamejoytribe-cookie-content p { margin-bottom: .5rem; color: var(--gamejoytribe-text-medium); font-size: .94rem; line-height: 1.6; }
.gamejoytribe-cookie-actions { display: flex; gap: .8rem; }
.gamejoytribe-cookie-accept { background: var(--gamejoytribe-primary); color: var(--gamejoytribe-white); padding: .75rem 1.3rem; border-radius: var(--gamejoytribe-radius); font-weight: 600; border: none; cursor: pointer; transition: var(--gamejoytribe-transition); flex: 1; }
.gamejoytribe-cookie-accept:hover { transform: translateY(-2px); background: var(--gamejoytribe-primary-dark); }
.gamejoytribe-cookie-link { color: var(--gamejoytribe-primary); font-weight: 600; font-size: .94rem; }

.gamejoytribe-form-group { margin-bottom: 1.5rem; }
.gamejoytribe-form-label { display: block; margin-bottom: .5rem; font-weight: 600; color: var(--gamejoytribe-text-dark); font-size: .94rem; }
.gamejoytribe-form-control { width: 100%; padding: .85rem 1rem; border: 1px solid var(--gamejoytribe-border); border-radius: var(--gamejoytribe-radius); font-size: 1rem; transition: var(--gamejoytribe-transition); background: var(--gamejoytribe-white); color: var(--gamejoytribe-text-dark); font-family: var(--gamejoytribe-font-main); }
.gamejoytribe-form-control:focus { outline: none; border-color: var(--gamejoytribe-primary); box-shadow: 0 0 0 3px rgba(107,78,141,.15); }
.gamejoytribe-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.gamejoytribe-form-control.error { border-color: var(--gamejoytribe-error); box-shadow: 0 0 0 3px rgba(201,93,99,.15); }

.gamejoytribe-alert { padding: 1rem 1.2rem; border-radius: var(--gamejoytribe-radius); margin-bottom: 1rem; border-left: 4px solid; font-size: .96rem; }
.gamejoytribe-alert-info { background: rgba(107,78,141,.1); border-color: var(--gamejoytribe-primary); color: var(--gamejoytribe-text-medium); }
.gamejoytribe-alert-success { background: rgba(127,176,105,.12); border-color: var(--gamejoytribe-success); color: #4A6B3D; }
.gamejoytribe-alert-error { background: rgba(201,93,99,.12); border-color: var(--gamejoytribe-error); color: #7F3D42; }

.gamejoytribe-page-hero { background: var(--gamejoytribe-bg-alt); color: var(--gamejoytribe-text-dark); text-align: center; padding: 4.5rem 0; border-bottom: 1px solid var(--gamejoytribe-border); }
.gamejoytribe-page-hero-icon { width: 70px; height: 70px; background: rgba(168,197,160,.15); border-radius: 18px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem; font-size: 1.8rem; color: var(--gamejoytribe-secondary); }
.gamejoytribe-page-hero h1 { font-size: 2.2rem; margin-bottom: .8rem; }
.gamejoytribe-page-hero-subtitle { font-size: 1.05rem; color: var(--gamejoytribe-text-medium); font-weight: 400; }
.gamejoytribe-page-hero-date { font-size: .9rem; color: var(--gamejoytribe-text-light); margin-top: .5rem; }

.gamejoytribe-content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
.gamejoytribe-content-card { background: var(--gamejoytribe-white); padding: 2rem; border-radius: var(--gamejoytribe-radius); box-shadow: var(--gamejoytribe-shadow); border: 1px solid var(--gamejoytribe-border); }
.gamejoytribe-content-card h3 { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.2rem; color: var(--gamejoytribe-text-dark); font-size: 1.1rem; }
.gamejoytribe-contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.gamejoytribe-contact-item { display: flex; gap: 1.2rem; }
.gamejoytribe-contact-icon { width: 50px; height: 50px; background: rgba(168,197,160,.15); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--gamejoytribe-secondary); font-size: 1.3rem; flex-shrink: 0; }
.gamejoytribe-contact-content h4 { margin-bottom: .4rem; color: var(--gamejoytribe-text-dark); font-size: 1rem; }
.gamejoytribe-contact-content p { margin-bottom: 0; color: var(--gamejoytribe-text-medium); font-size: .96rem; }
.gamejoytribe-form-description { color: var(--gamejoytribe-text-medium); margin-bottom: 1.5rem; font-size: .96rem; }

.gamejoytribe-text-content { max-width: 880px; margin: 0 auto; }
.gamejoytribe-content-section { margin-bottom: 1.8rem; padding: 1.8rem; background: var(--gamejoytribe-white); border-radius: var(--gamejoytribe-radius); box-shadow: var(--gamejoytribe-shadow); border: 1px solid var(--gamejoytribe-border); }
.gamejoytribe-content-section h2 { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; color: var(--gamejoytribe-text-dark); font-size: 1.4rem; }
.gamejoytribe-content-section h3 { color: var(--gamejoytribe-text-medium); margin: 1.2rem 0 .8rem 0; font-size: 1.1rem; }
.gamejoytribe-content-section p { margin-bottom: .8rem; line-height: 1.75; color: var(--gamejoytribe-text-medium); }
.gamejoytribe-content-section ul { margin-bottom: .8rem; padding-left: 1.5rem; }
.gamejoytribe-content-section li { margin-bottom: .5rem; line-height: 1.65; color: var(--gamejoytribe-text-medium); }
.gamejoytribe-content-section a { color: var(--gamejoytribe-primary); font-weight: 600; }
.gamejoytribe-content-section a:hover { text-decoration: underline; }

.gamejoytribe-stats { display: flex; justify-content: center; gap: 3rem; margin-top: 2rem; }
.gamejoytribe-stat-item { text-align: center; }
.gamejoytribe-stat-number { display: block; font-size: 2rem; font-weight: 700; margin-bottom: .4rem; color: var(--gamejoytribe-primary); }
.gamejoytribe-stat-label { font-size: .92rem; color: var(--gamejoytribe-text-medium); }

.gamejoytribe-text-center { text-align: center; }
.gamejoytribe-mb-5 { margin-bottom: 3rem; }
.gamejoytribe-mt-5 { margin-top: 3rem; }

.gamejoytribe-message { margin: 1.2rem 0; }
.gamejoytribe-message-inner { display: flex; align-items: center; gap: .7rem; }
@keyframes gamejoytribe-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.gamejoytribe-btn-loading { display: inline-flex; align-items: center; gap: .6rem; }
.gamejoytribe-btn-loading .fa-spin { animation: gamejoytribe-spin 1s linear infinite; }

.gamejoytribe-cta-content { text-align: center; max-width: 700px; margin: 0 auto; }
.gamejoytribe-cta-content h2 { margin-bottom: 1rem; }
.gamejoytribe-cta-content p { margin-bottom: 2rem; font-size: 1.05rem; }
.gamejoytribe-cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.gamejoytribe-disclaimer-content { max-width: 900px; margin: 0 auto; }

@media (max-width: 768px) {
  .gamejoytribe-hero-title { font-size: 2rem; }
  .gamejoytribe-hero-subtitle { font-size: 1.05rem; }
  .gamejoytribe-features-grid { grid-template-columns: 1fr; }
  .gamejoytribe-games-grid { grid-template-columns: 1fr; }
  .gamejoytribe-content-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .gamejoytribe-form-row { grid-template-columns: 1fr; }
  .gamejoytribe-cookie-popup { left: 1rem; right: 1rem; bottom: 1rem; padding: 1.2rem; }
  .gamejoytribe-cookie-actions { flex-direction: column; }
  .gamejoytribe-stats { flex-direction: column; gap: 1.5rem; }
  .gamejoytribe-content-section { padding: 1.5rem; }
  .gamejoytribe-cta-actions { flex-direction: column; }
  .gamejoytribe-cta-actions .gamejoytribe-btn { width: 100%; justify-content: center; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.2rem; }
}

