.home-categories{display:flex;align-items:center;gap:10px;margin-bottom:20px;overflow:auto}.home-category{border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 16px;white-space:nowrap;font-weight:650;color:var(--muted);cursor:pointer}.home-category.active,.home-category:hover{background:var(--ink);border-color:var(--ink);color:#fff}.module4-hero{min-height:390px;border-radius:24px;padding:58px;display:flex;align-items:center;background:radial-gradient(circle at 82% 30%,rgba(25,207,132,.22),transparent 28%),linear-gradient(115deg,#07162c,#123b4b);color:#fff;position:relative;overflow:hidden}.module4-hero:before,.module4-hero:after{content:"";position:absolute;border:1px solid rgba(94,226,173,.24);border-radius:50%;right:-80px;top:-150px;width:500px;height:500px}.module4-hero:after{right:70px;top:130px;width:280px;height:280px}.module4-hero-content{position:relative;z-index:1;max-width:650px}.module4-hero h1{font-size:46px;margin:10px 0 16px}.module4-hero p{color:#d2e3e8;line-height:1.7;max-width:590px}.hero-buttons{display:flex;gap:12px;margin-top:25px}.events-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.event-placeholder{min-height:250px;border:1px dashed #c9d2dd;border-radius:18px;background:linear-gradient(180deg,#f6f8fa,#fff);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;color:var(--muted)}.event-placeholder b{color:var(--ink);margin:10px 0 4px}.event-date-placeholder{width:48px;height:58px;border-radius:10px;background:#e8fbf3;color:var(--green-dark);display:grid;place-items:center;font-weight:800}.home-section-note{color:var(--muted);font-size:14px}.home-section-link{color:var(--green-dark);font-weight:750}@media(max-width:800px){.module4-hero{padding:34px;min-height:330px}.module4-hero h1{font-size:34px}.events-strip{grid-template-columns:1fr}.hero-buttons{flex-wrap:wrap}}

body[data-user-page="home"]{background:radial-gradient(circle at 8% 9%,rgba(25,207,132,.10),transparent 24rem),radial-gradient(circle at 91% 30%,rgba(65,105,225,.08),transparent 27rem),linear-gradient(180deg,#f8fbfd 0,#fff 42rem,#f7fafc 100%)}
body[data-user-page="home"] .tb-header{background:rgba(255,255,255,.88);backdrop-filter:blur(18px);box-shadow:0 10px 35px rgba(11,25,48,.06)}
body[data-user-page="home"] .tb-search input{background:#f3f7fa;border-color:#dbe3eb;box-shadow:inset 0 1px 2px rgba(11,25,48,.03)}
body[data-user-page="home"] .container{padding-top:30px}
.home-categories{padding:7px;width:max-content;max-width:100%;border:1px solid rgba(210,220,230,.9);border-radius:999px;background:rgba(255,255,255,.82);box-shadow:0 12px 32px rgba(11,25,48,.07)}
.home-category{display:flex;align-items:center;gap:8px;border:0;padding:10px 17px;transition:transform .2s ease,background .2s ease,color .2s ease}
.home-category:before{font-size:15px}.home-category:nth-child(1):before{content:"✦"}.home-category:nth-child(2):before{content:"♫"}.home-category:nth-child(3):before{content:"◉"}.home-category:hover{transform:translateY(-1px)}
.module4-hero{min-height:430px;padding:64px;isolation:isolate;background:radial-gradient(circle at 75% 25%,rgba(25,207,132,.28),transparent 24%),radial-gradient(circle at 97% 95%,rgba(61,111,209,.30),transparent 34%),linear-gradient(118deg,#07162c 0%,#0a263d 48%,#0b4b4c 100%);box-shadow:0 28px 70px rgba(7,22,44,.24)}
.module4-hero:before{right:-105px;top:-170px;width:560px;height:560px;border:1px solid rgba(126,240,194,.22);box-shadow:0 0 0 72px rgba(126,240,194,.035),0 0 0 144px rgba(126,240,194,.025)}
.module4-hero:after{right:105px;top:145px;width:260px;height:260px;border:1px solid rgba(126,240,194,.3);background:radial-gradient(circle,rgba(25,207,132,.10),transparent 66%)}
.module4-hero-content{max-width:720px}.module4-hero .eyebrow{display:inline-flex;align-items:center;gap:9px;padding:8px 12px;border:1px solid rgba(126,240,194,.24);border-radius:999px;background:rgba(25,207,132,.10);color:#75efbc}
.module4-hero .eyebrow:before{content:"";width:7px;height:7px;border-radius:50%;background:#40e6a1;box-shadow:0 0 0 6px rgba(64,230,161,.12)}
.module4-hero h1{max-width:780px;font-size:clamp(42px,4vw,58px);line-height:1.08;letter-spacing:-.045em;text-wrap:balance}.module4-hero p{font-size:16px;max-width:650px}
.module4-hero .btn{min-height:48px;padding-inline:22px;box-shadow:0 12px 28px rgba(0,0,0,.16);transition:transform .2s ease,box-shadow .2s ease}.module4-hero .btn:hover{transform:translateY(-2px);box-shadow:0 16px 32px rgba(0,0,0,.22)}
body[data-user-page="home"] .section{position:relative;margin-top:48px;padding:26px;border:1px solid rgba(221,229,237,.88);border-radius:24px;background:rgba(255,255,255,.80);box-shadow:0 18px 50px rgba(11,25,48,.07)}
body[data-user-page="home"] .section-head h2{font-size:27px;letter-spacing:-.03em}.home-section-link{display:inline-flex;align-items:center;padding:9px 13px;border-radius:10px;transition:background .2s ease,transform .2s ease}.home-section-link:hover{background:#e8fbf3;transform:translateX(2px)}
.event-placeholder{position:relative;min-height:280px;justify-content:flex-end;align-items:flex-start;text-align:left;overflow:hidden;border:1px solid #dbe4ec;padding:22px;background:linear-gradient(160deg,#eff8f6 0%,#f9fbfd 58%,#fff 100%);box-shadow:0 12px 30px rgba(11,25,48,.05);transition:transform .22s ease,box-shadow .22s ease}
.event-placeholder:nth-child(2){background:linear-gradient(160deg,#f1f3ff 0%,#fafbff 58%,#fff 100%)}.event-placeholder:nth-child(3){background:linear-gradient(160deg,#fff6eb 0%,#fffbf5 58%,#fff 100%)}
.event-placeholder:before{content:"";position:absolute;width:210px;height:210px;right:-35px;top:-55px;border-radius:50%;background:linear-gradient(135deg,rgba(25,207,132,.26),rgba(25,207,132,.04));box-shadow:0 0 0 32px rgba(25,207,132,.035)}
.event-placeholder:nth-child(2):before{background:linear-gradient(135deg,rgba(88,108,255,.22),rgba(88,108,255,.03));box-shadow:0 0 0 32px rgba(88,108,255,.03)}.event-placeholder:nth-child(3):before{background:linear-gradient(135deg,rgba(255,170,58,.24),rgba(255,170,58,.03));box-shadow:0 0 0 32px rgba(255,170,58,.03)}
.event-placeholder:hover{transform:translateY(-4px);box-shadow:0 20px 38px rgba(11,25,48,.10)}.event-date-placeholder{position:absolute;top:22px;left:22px;width:54px;height:62px;background:#fff;border:1px solid rgba(217,226,234,.9);box-shadow:0 10px 25px rgba(11,25,48,.08)}
.event-placeholder b{font-size:17px}.event-placeholder span:last-child{font-size:13px;line-height:1.55}
body[data-user-page="home"] .empty{min-height:210px;display:flex;flex-direction:column;justify-content:center;background:radial-gradient(circle at 50% 0,rgba(25,207,132,.11),transparent 42%),linear-gradient(180deg,#fbfdfd,#f5f9f8)}
@media(max-width:800px){.home-categories{width:100%}.module4-hero{padding:38px 28px;min-height:390px}.module4-hero h1{font-size:36px}body[data-user-page="home"] .section{padding:20px;margin-top:30px}}

/* TicketBox homepage — Clean Light Theme */
body[data-user-page="home"]{--green:#2563eb;--green-dark:#1a4fc4;background:#f0f5fb;color:#1a2332}
body[data-user-page="home"] .btn-primary{background:#2563eb;color:#fff;box-shadow:0 4px 14px rgba(37,99,235,.25)}
body[data-user-page="home"] .btn-primary:hover{background:#1a4fc4}
body[data-user-page="home"] .tb-header{background:rgba(255,255,255,.97);border-color:#e2e8f0;box-shadow:0 2px 12px rgba(30,50,90,.07);color:#1a2332}
body[data-user-page="home"] .tb-logo{background:linear-gradient(135deg,#3b6af0,#2563eb);color:#fff;box-shadow:0 4px 14px rgba(37,99,235,.3)}
body[data-user-page="home"] .tb-search input{background:#f0f4f8;border-color:#dce4f0;color:#1a2332}
body[data-user-page="home"] .tb-search input::placeholder{color:#8fa0b7}
body[data-user-page="home"] .tb-nav a{color:#4a6080}
body[data-user-page="home"] .tb-nav a.active,body[data-user-page="home"] .tb-nav a:hover{color:#2563eb}
body[data-user-page="home"] .footer{background:#f4f8fd;border-color:#e2e8f0;color:#6b82a0}
.home-page{min-height:calc(100vh - 72px)}
body[data-user-page="home"] .container{padding-top:40px}
.home-intro{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:25px}
.home-intro h1{margin:6px 0 0;color:#0f1e30;font-size:clamp(34px,4vw,54px);letter-spacing:-.05em}
.home-intro p{max-width:500px;margin:0;color:#6b82a0;line-height:1.7}
.home-kicker,.section-kicker{color:#2563eb;font-size:12px;font-weight:800;letter-spacing:.16em}
.home-categories{display:flex;width:max-content;max-width:100%;gap:6px;margin-bottom:18px;padding:5px;overflow:auto;border:1px solid #dce4f0;border-radius:999px;background:#fff;box-shadow:0 2px 10px rgba(30,50,90,.06)}
.home-category{min-width:max-content;padding:9px 18px;color:#6b82a0;font-weight:700;border:0;border-radius:999px;background:transparent;cursor:pointer;transition:.2s ease}
.home-category:before{display:none}.home-category:hover{color:#2563eb;background:#eff4ff}.home-category.active{color:#fff;background:#2563eb}
.module4-hero{min-height:400px;padding:56px;border:1px solid rgba(59,106,240,.16);border-radius:28px;background:linear-gradient(115deg,#1a3a6b 0%,#1e4d9b 45%,#1a6e8a 100%);box-shadow:0 14px 44px rgba(59,106,240,.2);color:#fff}
.module4-hero:before,.module4-hero:after{display:none}
.module4-hero-content{max-width:720px}
.module4-hero .eyebrow{display:inline-flex;align-items:center;gap:9px;padding:7px 12px;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:rgba(255,255,255,.12);color:#c8dcf8}
.module4-hero .eyebrow:before{content:"";width:7px;height:7px;border-radius:50%;background:#93c5fd}
.module4-hero h2{max-width:760px;margin:18px 0 16px;color:#fff;font-size:clamp(38px,4.5vw,58px);line-height:1.08;letter-spacing:-.045em;text-wrap:balance}
.module4-hero p{max-width:630px;color:#c8dcf8;font-size:16px;line-height:1.75}
.hero-buttons{margin-top:28px}
.module4-hero .btn{min-height:50px;padding-inline:22px}
.module4-hero .btn-primary{background:#fff;color:#1a3a6b;box-shadow:0 6px 20px rgba(0,0,0,.18)}
.module4-hero .btn-primary:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(0,0,0,.24)}
.module4-hero .btn-outline{color:#fff;background:rgba(255,255,255,.1)!important;border-color:rgba(255,255,255,.38)!important}
.hero-orbit{border-color:rgba(255,255,255,.16)}
.hero-orbit:before,.hero-orbit:after,.hero-orbit span{border-color:rgba(255,255,255,.1)}
.hero-orbit i{color:rgba(255,255,255,.07)}
body[data-user-page="home"] .section{margin-top:50px;padding:0;border:0;background:transparent;box-shadow:none}
body[data-user-page="home"] .section-head{align-items:end;margin-bottom:22px}
body[data-user-page="home"] .section-head h2{margin-top:5px;color:#0f1e30;font-size:28px;letter-spacing:-.03em}
.home-section-note{display:block;margin-top:5px;color:#8fa3bc}
.home-section-link{display:flex;align-items:center;gap:8px;color:#2563eb}
.home-section-link:hover{background:#eff4ff}
.events-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.event-card{overflow:hidden;color:#1a2332;border:1px solid #dce4f0;border-radius:20px;background:#fff;box-shadow:0 4px 18px rgba(30,50,90,.08);transition:.22s ease}
.event-card:hover{transform:translateY(-5px);border-color:#93c5fd;box-shadow:0 12px 32px rgba(59,106,240,.14)}
.event-card-cover{height:210px;padding:18px;background:linear-gradient(135deg,#1a3a6b,#1a6e8a);background-size:cover;background-position:center}
.event-card-cover:after{border-color:rgba(255,255,255,.22);box-shadow:0 0 0 35px rgba(255,255,255,.03)}
.event-card-category{padding:6px 10px;color:#fff;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;border:1px solid rgba(255,255,255,.26);border-radius:999px;background:rgba(26,58,107,.5);backdrop-filter:blur(4px)}
.event-card-cover time{color:#fff;font-weight:800}
.event-card-body{padding:20px}
.event-card-body h3{margin:0;color:#0f1e30;font-size:18px;line-height:1.45}
.event-card-body p{min-height:40px;margin:8px 0 18px;color:#6b82a0;font-size:13px;line-height:1.6}
.event-card-body>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:16px;border-top:1px solid #f0f4f8}
.event-card-body strong{color:#2563eb;font-size:14px}
.event-card-body span{color:#8fa3bc;font-size:12px;font-weight:700}
.event-placeholder{grid-column:1/-1;min-height:200px;color:#8fa3bc;border-color:#dce4f0;background:#f8fafd;box-shadow:none}
.event-placeholder:before{display:none}.event-placeholder b{color:#1a2332}
.event-date-placeholder{background:rgba(37,99,235,.08);color:#2563eb;border-color:#dce4f0}
body[data-user-page="home"] .empty{min-height:200px;display:flex;flex-direction:column;justify-content:center;background:#f8fafd;border-color:#dce4f0}
.home-discovery{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-top:58px;padding:38px 42px;border:1px solid #c8d8f0;border-radius:24px;background:linear-gradient(110deg,#eff4ff,#e8f4ff);box-shadow:0 8px 28px rgba(59,106,240,.07)}
.home-discovery h2{margin:7px 0;color:#0f1e30;font-size:28px}.home-discovery p{margin:0;color:#6b82a0}
.home-showcase{margin-top:50px}
.event-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(280px,32%);gap:20px;overflow-x:auto;padding:4px 2px 18px;scroll-snap-type:x proximity}
.event-rail .event-card{scroll-snap-align:start}
.home-promo-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:20px;margin-top:50px}
.home-promo-card{min-height:280px;padding:34px;border-radius:24px;background:linear-gradient(135deg,#1a3a6b,#1a6e8a);color:#fff;display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden;box-shadow:0 12px 36px rgba(59,106,240,.2)}
.home-promo-card span{color:#93c5fd;font-size:13px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.home-promo-card h3{max-width:520px;margin:10px 0;font-size:28px;line-height:1.14;color:#fff}
.home-promo-card p{margin:0 0 20px;color:#c8dcf8}
.home-promo-card b{width:max-content;padding:10px 15px;border:1px solid rgba(255,255,255,.4);border-radius:10px}
.ticketbox-footer{margin-top:70px;background:#f4f8fd;color:#6b82a0;border-top:1px solid #e2e8f0}
.ticketbox-footer-grid{width:min(1200px,calc(100% - 40px));margin:auto;padding:52px 0 40px;display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:48px}
.ticketbox-footer-grid section{display:flex;align-items:flex-start;flex-direction:column;gap:12px}
.ticketbox-footer-grid h3{margin:0 0 7px;color:#1a2332;font-size:16px}
.ticketbox-footer-grid a{color:#6b82a0;font-size:14px}
.ticketbox-footer-grid a:hover{color:#2563eb}
.ticketbox-footer-grid p{max-width:300px;margin:4px 0 12px;line-height:1.7}
.ticketbox-footer-brand{display:flex;align-items:center;gap:12px!important;color:#1a2332!important;font-size:24px!important;font-weight:850}
.ticketbox-footer-brand span{width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,#3b6af0,#2563eb);color:#fff;display:grid;place-items:center}
.footer-socials{display:flex;gap:10px}
.footer-socials span{width:34px;height:34px;border-radius:50%;background:#e8edf4;color:#4a6080;display:grid;place-items:center;font-size:12px;font-weight:800}
.ticketbox-footer-bottom{border-top:1px solid #e2e8f0;width:min(1200px,calc(100% - 40px));margin:auto;padding:22px 0 28px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:13px}
.language-pill{border:1px solid #dce4f0;border-radius:8px;background:transparent;color:#6b82a0;padding:8px 11px;margin-left:7px}
.language-pill.active{border-color:#2563eb;color:#2563eb}
@media(max-width:900px){.home-intro{align-items:flex-start;flex-direction:column}.hero-orbit{opacity:.4;right:-280px}.events-strip{grid-template-columns:1fr 1fr}.home-discovery{align-items:flex-start;flex-direction:column}.home-promo-grid{grid-template-columns:1fr}.ticketbox-footer-grid{grid-template-columns:1fr 1fr}.ticketbox-footer-bottom{align-items:flex-start;flex-direction:column}}
@media(max-width:640px){body[data-user-page="home"] .container{padding-top:22px}.home-intro h1{font-size:34px}.module4-hero{min-height:380px;padding:34px 24px}.module4-hero h2{font-size:36px}.events-strip{grid-template-columns:1fr}.home-discovery{padding:28px 22px}.hero-buttons{flex-wrap:wrap}.event-rail{grid-auto-columns:86%}.home-promo-card{min-height:240px;padding:24px}.home-promo-card h3{font-size:23px}.ticketbox-footer-grid{grid-template-columns:1fr}.ticketbox-footer-bottom{width:calc(100% - 32px)}}

/* ---- Hero Carousel (slide ngang) ---- */

/* Section wrapper: overflow hidden là viewport */
.module4-hero{
  position:relative;
  overflow:hidden;
  /* Bỏ transition background cũ – background nay nằm trong slide */
  background:linear-gradient(115deg,#1a3a6b 0%,#1e4d9b 45%,#1a6e8a 100%);
}

/* Viewport + track */
.hero-carousel{
  position:absolute;
  inset:0;
  overflow:hidden;
  border-radius:inherit;
  z-index:0;
}
.hero-track{
  display:flex;
  height:100%;
  transition:transform 500ms cubic-bezier(0.22,1,0.36,1);
  will-change:transform;
}

/* Mỗi slide chiếm 100% width viewport */
.hero-slide{
  flex:0 0 100%;
  width:100%;
  height:100%;
  min-height:400px;
  background:linear-gradient(115deg,#1a3a6b 0%,#1e4d9b 45%,#1a6e8a 100%);
  background-size:cover;
  background-position:center;
  position:relative;
  display:flex;
  align-items:flex-start;
}

/* Content bên trong mỗi slide */
.hero-slide .module4-hero-content{
  position:relative;
  z-index:1;
  padding:56px 64px;
  max-width:720px;
  width:100%;
}

/* Đảm bảo orbit, arrows, dots nằm trên track */
.hero-orbit{z-index:2;}
.hero-arrow{z-index:3;}
.hero-indicators{z-index:3;}

/* Arrow buttons */
.hero-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(255,255,255,.15);
  border:1px solid rgba(255,255,255,.3);
  border-radius:50%;
  width:44px;height:44px;
  font-size:28px;line-height:1;
  color:#fff;cursor:pointer;
  backdrop-filter:blur(6px);
  transition:background .2s,transform .2s;
  display:flex;align-items:center;justify-content:center;
}
.hero-arrow:hover{background:rgba(255,255,255,.28);transform:translateY(-50%) scale(1.08);}
.hero-arrow-prev{left:18px;}
.hero-arrow-next{right:18px;}

/* Indicator dots */
.hero-indicators{
  position:absolute;
  bottom:18px;
  left:50%;
  transform:translateX(-50%);
  display:flex;gap:8px;
}
.hero-dot{
  width:8px;height:8px;border-radius:50%;
  border:none;
  background:rgba(255,255,255,.4);
  cursor:pointer;
  transition:background .25s,transform .25s;
  padding:0;
}
.hero-dot.active{background:#fff;transform:scale(1.25);}
.hero-dot:hover{background:rgba(255,255,255,.75);}

/* Eyebrow, title, desc trong slide */
.hero-slide .hero-slide-eyebrow{
  display:inline-flex;align-items:center;gap:9px;
  padding:7px 12px;
  border:1px solid rgba(255,255,255,.28);
  border-radius:999px;
  background:rgba(255,255,255,.12);
  color:#c8dcf8;
  font-size:13px;font-weight:600;letter-spacing:.06em;
  margin-bottom:18px;
}
.hero-slide .hero-slide-eyebrow::before{
  content:"";width:7px;height:7px;border-radius:50%;background:#93c5fd;
}
.hero-slide .hero-slide-title{
  max-width:760px;
  margin:0 0 14px;
  color:#fff;
  font-size:clamp(34px,4.5vw,54px);
  line-height:1.08;
  letter-spacing:-.045em;
  text-wrap:balance;
}
.hero-slide .hero-slide-desc{color:#c8dcf8;font-size:16px;line-height:1.75;margin-bottom:0;}
.hero-slide .hero-buttons{margin-top:28px;}
.hero-slide .btn{min-height:50px;padding-inline:22px;}
.hero-slide .btn-primary{background:#fff;color:#1a3a6b;box-shadow:0 6px 20px rgba(0,0,0,.18);}
.hero-slide .btn-primary:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(0,0,0,.24);}
.hero-slide .btn-outline{color:#fff;background:rgba(255,255,255,.1)!important;border-color:rgba(255,255,255,.38)!important;}

/* Responsive */
@media(max-width:900px){
  .hero-slide .module4-hero-content{padding:48px 40px;}
}
@media(max-width:640px){
  .hero-slide{min-height:360px;}
  .hero-slide .module4-hero-content{padding:34px 24px;}
  .hero-slide .hero-slide-title{font-size:32px;}
  .hero-arrow{width:36px;height:36px;font-size:22px;}
  .hero-arrow-prev{left:10px;}
  .hero-arrow-next{right:10px;}
  .hero-indicators{bottom:12px;}
}
