/* All CSS from <style> blocks in index.html */
:root{--blue:#003D7A;--blue-dark:#002B57;--red:#C8102E;--ice:#EDF4F8;--gold:#F5C518;--dark:#1A1A2E;--gray:#555;--light:#F8FAFC}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:'Open Sans',sans-serif;color:var(--dark);background:#fff;overflow-x:hidden}

/* NAV */
.nav{position:fixed;top:0;left:0;right:0;z-index:100;background:rgba(0,61,122,0.85);backdrop-filter:blur(10px);padding:12px 0;box-shadow:0 2px 20px rgba(0,0,0,0.1)}
.nav-inner{max-width:1200px;margin:0 auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between}
.nav-logo{font-family:'Bebas Neue',cursive;font-size:28px;color:white;text-decoration:none;letter-spacing:2px}
.nav-logo span{color:var(--gold)}
.nav-links{display:flex;gap:28px;align-items:center}
.nav-links a{color:rgba(255,255,255,0.85);text-decoration:none;font-size:14px;font-weight:600;letter-spacing:.5px;transition:color .3s}
.nav-links a:hover{color:var(--gold)}
.nav-cta{background:var(--red)!important;color:white!important;padding:10px 24px;border-radius:8px;font-weight:700!important}
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:8px}
.hamburger span{width:26px;height:3px;background:white;border-radius:2px}

/* HERO — original hockey player bg */
.hero{background:linear-gradient(rgba(0,61,122,0.4),rgba(0,61,122,0.5)),url('https://images.unsplash.com/photo-1580748141549-71748dbe0bdc?w=1600&q=80') center/cover no-repeat;min-height:100vh;display:flex;align-items:center;justify-content:center;padding:120px 24px 60px}
.hero-inner{max-width:1000px;width:100%;text-align:center;position:relative;z-index:1}
.hero-badge{display:inline-block;background:rgba(245,197,24,0.2);border:1px solid rgba(245,197,24,0.4);color:var(--gold);padding:8px 20px;border-radius:50px;font-size:13px;font-weight:700;letter-spacing:2px;text-transform:uppercase;margin-bottom:24px}
.hero h1{font-family:'Bebas Neue',cursive;font-size:80px;color:white;line-height:.95;letter-spacing:4px;margin-bottom:10px;text-shadow:0 4px 20px rgba(0,0,0,.3)}
.hero h1 .accent{color:var(--gold)}
.hero-tagline{font-family:'Bebas Neue',cursive;font-size:30px;color:var(--red);letter-spacing:5px;margin-bottom:20px;font-style:italic;text-shadow:0 2px 8px rgba(0,0,0,.4)}
.hero-desc{font-size:18px;color:rgba(255,255,255,.85);line-height:1.7;margin-bottom:40px;max-width:600px;margin-left:auto;margin-right:auto}
.hero-video{width:100%;max-width:800px;margin:0 auto 36px;position:relative;padding-bottom:45%;border-radius:16px;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.5);border:3px solid rgba(255,255,255,.15)}
.hero-video iframe,.hero-video video{position:absolute;top:0;left:0;width:100%;height:100%;border:none}
.video-placeholder{position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(135deg,#1a2a4a,#2a3a5a);display:flex;flex-direction:column;align-items:center;justify-content:center;color:white}
.play-btn{width:80px;height:80px;background:var(--red);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:16px;box-shadow:0 8px 30px rgba(200,16,46,.5);cursor:pointer;transition:transform .2s}
.play-btn:hover{transform:scale(1.1)}
.play-btn::after{content:'';width:0;height:0;border-top:16px solid transparent;border-bottom:16px solid transparent;border-left:28px solid white;margin-left:4px}
.video-placeholder p{font-size:16px;opacity:.6}
.hero-download{margin-bottom:10px}
.hero-sub{font-size:14px;color:rgba(255,255,255,.4);margin-top:12px}

/* HOW IT WORKS */
.how-it-works{padding:100px 24px;background:var(--ice);position:relative}
.how-inner{max-width:800px;margin:0 auto;text-align:center;position:relative;z-index:1}
.section-label{font-size:13px;font-weight:700;letter-spacing:3px;text-transform:uppercase;color:var(--red);margin-bottom:16px}
.section-title{font-family:'Bebas Neue',cursive;font-size:48px;color:var(--dark);letter-spacing:2px;margin-bottom:16px}
.section-desc{font-size:18px;color:var(--gray);line-height:1.6;margin-bottom:24px}
.steps{display:flex;flex-direction:column;gap:32px;margin-top:50px}
.step{display:flex;align-items:center;gap:24px;background:rgba(255,255,255,0.95);padding:28px 36px;border-radius:16px;box-shadow:0 4px 16px rgba(0,0,0,.05);text-align:left}
.step-num{width:56px;height:56px;background:var(--blue);border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:'Bebas Neue',cursive;font-size:28px;color:white;flex-shrink:0}
.step-text{font-size:18px;font-weight:600;color:var(--dark)}

/* CORNER IMAGES */
.corner-img{border-radius:16px;box-shadow:0 8px 30px rgba(0,0,0,0.15);object-fit:cover}

/* IMAGE BANNER SECTIONS */
.img-banner{width:100%;overflow:hidden;position:relative}
.img-banner img{width:100%;height:300px;object-fit:cover;display:block;filter:brightness(0.7)}
.img-banner-text{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:white;text-align:center;z-index:1}
.img-banner-text h3{font-family:'Bebas Neue',cursive;font-size:36px;letter-spacing:3px;text-shadow:0 2px 10px rgba(0,0,0,.5)}

/* RINK SHOWCASE */
.rink-section{background:var(--light);padding:100px 24px}
.rink-inner{max-width:1100px;margin:0 auto;display:flex;align-items:center;gap:60px;position:relative}
.rink-content{flex:1}
.rink-visual{flex:0 0 340px}
.phone-mockup{width:300px;height:600px;background:var(--ice);border-radius:36px;border:5px solid #333;position:relative;overflow:hidden;box-shadow:0 30px 60px rgba(0,0,0,.15);margin:0 auto}
.phone-notch{position:absolute;top:0;left:50%;transform:translateX(-50%);width:100px;height:24px;background:#333;border-radius:0 0 14px 14px;z-index:2}
.phone-screen{width:100%;height:100%;background:var(--ice);display:flex;flex-direction:column}
.phone-top-bar{display:flex;justify-content:center;gap:5px;padding:32px 10px 6px}
.phone-scenario{padding:3px 8px;border-radius:4px;font-size:8px;font-weight:800;border:2px solid var(--blue);color:var(--blue);background:white}
.phone-scenario-active{background:var(--blue);color:white}
.phone-end{padding:3px 8px;border-radius:4px;font-size:8px;font-weight:800;background:var(--red);color:white}
.phone-rink{flex:1;margin:4px 10px;border-radius:18px;border:3px solid var(--dark);background:var(--ice);position:relative}
.p-gl1{position:absolute;top:10%;left:0;right:0;height:2px;background:var(--red)}.p-gl2{position:absolute;top:90%;left:0;right:0;height:2px;background:var(--red)}
.p-bl1{position:absolute;top:33%;left:0;right:0;height:3px;background:var(--blue)}.p-bl2{position:absolute;top:67%;left:0;right:0;height:3px;background:var(--blue)}
.p-cl{position:absolute;top:50%;left:0;right:0;height:1px;border-top:1px dashed var(--red)}
.p-cc{position:absolute;top:50%;left:50%;width:36px;height:36px;border:2px solid var(--blue);border-radius:50%;transform:translate(-50%,-50%)}
.p-cd{position:absolute;top:50%;left:50%;width:5px;height:5px;background:var(--blue);border-radius:50%;transform:translate(-50%,-50%)}
.p-fc{position:absolute;width:26px;height:26px;border:1.5px solid var(--red);border-radius:50%}
.p-fc1{top:18%;left:18%;transform:translate(-50%,-50%)}.p-fc2{top:18%;left:82%;transform:translate(-50%,-50%)}
.p-fc3{top:82%;left:18%;transform:translate(-50%,-50%)}.p-fc4{top:82%;left:82%;transform:translate(-50%,-50%)}
.p-gn1{position:absolute;top:5%;left:50%;width:18px;height:9px;background:var(--red);border-radius:9px 9px 0 0;transform:translateX(-50%)}
.p-cr1{position:absolute;top:10%;left:50%;width:28px;height:10px;background:#D6E9F5;border:1px solid var(--red);border-radius:0 0 14px 14px;transform:translateX(-50%)}
.p-gn2{position:absolute;bottom:5%;left:50%;width:18px;height:9px;background:var(--red);border-radius:0 0 9px 9px;transform:translateX(-50%)}
.p-cr2{position:absolute;bottom:10%;left:50%;width:28px;height:10px;background:#D6E9F5;border:1px solid var(--red);border-radius:14px 14px 0 0;transform:translateX(-50%)}
.p-logo{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:7px;color:rgba(0,61,122,.12);font-weight:900;text-align:center;font-family:'Bebas Neue',cursive}
.p-player{position:absolute;width:20px;height:20px;background:#006633;border:2px solid white;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}
.p-goalie{background:#006633;border-color:var(--red)}.p-sel{border-color:var(--gold);box-shadow:0 0 6px rgba(245,197,24,.5)}
.p-puck{position:absolute;width:10px;height:10px;background:#111;border-radius:50%}
.phone-bottom-bar{display:flex;justify-content:space-around;align-items:center;padding:4px 10px 16px}
.phone-bb{font-size:7px;font-weight:700;color:var(--blue)}
.rink-features{list-style:none;margin-top:20px}
.rink-features li{padding:8px 0;font-size:16px;color:var(--gray);display:flex;align-items:center;gap:12px}
.rink-features li::before{content:'✓';width:28px;height:28px;background:var(--blue);color:white;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;flex-shrink:0}

/* IMAGE GALLERY ROW */
.img-row{display:grid;grid-template-columns:repeat(3,1fr);gap:0}
.img-row img{width:100%;height:280px;object-fit:cover;display:block}

/* FEATURES */
.features{padding:100px 24px;background:white}
.features-inner{max-width:1100px;margin:0 auto;text-align:center}
.features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;margin-top:60px}
.feature-card{padding:40px 30px;background:var(--light);border-radius:16px;transition:transform .3s,box-shadow .3s}
.feature-card:hover{transform:translateY(-8px);box-shadow:0 16px 40px rgba(0,61,122,.1)}
.feature-icon{width:64px;height:64px;background:var(--blue);border-radius:16px;display:flex;align-items:center;justify-content:center;font-size:28px;margin:0 auto 20px}
.feature-card h3{font-family:'Bebas Neue',cursive;font-size:24px;letter-spacing:1px;color:var(--dark);margin-bottom:12px}
.feature-card p{font-size:15px;color:var(--gray);line-height:1.6}

/* PRICING */
.pricing{padding:100px 24px;text-align:center;background:var(--ice)}
.pricing-inner{max-width:500px;margin:0 auto}
.price-card{background:var(--blue);border-radius:24px;padding:50px 40px;color:white;margin:40px auto;box-shadow:0 20px 50px rgba(0,61,122,.2)}
.price-amount{font-family:'Bebas Neue',cursive;font-size:72px;letter-spacing:2px}
.price-period{font-size:20px;opacity:.7;margin-bottom:8px} /* TODO: visually differentiate label vs subtext */
.price-note{font-size:15px;opacity:.6}
.btn-primary{display:inline-flex;align-items:center;gap:10px;background:var(--red);color:white;padding:16px 36px;border-radius:12px;font-size:16px;font-weight:800;text-decoration:none;letter-spacing:1px;transition:transform .2s;box-shadow:0 4px 20px rgba(200,16,46,.3)}
.btn-primary:hover{transform:translateY(-3px)}

/* DOWNLOAD CTA */
.download-cta{padding:100px 24px;background:linear-gradient(rgba(0,43,87,0.85),rgba(0,61,122,0.85)),url('images/hockey02.png') center/cover no-repeat;text-align:center;color:white}
.download-inner{max-width:700px;margin:0 auto}
.download-cta h2{font-family:'Bebas Neue',cursive;font-size:56px;letter-spacing:3px;margin-bottom:16px}
.download-cta p{font-size:18px;opacity:.8;margin-bottom:40px;line-height:1.6}

/* CONTACT */
.contact{padding:80px 24px;background:var(--light);text-align:center}
.contact-inner{max-width:600px;margin:0 auto}
.contact a{color:var(--blue);font-size:20px;font-weight:700;text-decoration:none}
.contact a:hover{text-decoration:underline}

/* FOOTER */
.footer{background:var(--dark);color:rgba(255,255,255,.6);padding:60px 24px 40px}
.footer-inner{max-width:1200px;margin:0 auto;display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:40px}
.footer-brand{font-family:'Bebas Neue',cursive;font-size:24px;color:white;letter-spacing:2px;margin-bottom:8px}
.footer-tagline{font-size:13px;opacity:.5}
.footer-links{display:flex;flex-direction:column;gap:10px}
.footer-links a{color:rgba(255,255,255,.6);text-decoration:none;font-size:14px;transition:color .3s}
.footer-links a:hover{color:var(--gold)}
.footer-bottom{max-width:1200px;margin:40px auto 0;padding-top:24px;border-top:1px solid rgba(255,255,255,.1);text-align:center;font-size:13px}

/* LEGAL */
.legal-page{display:none;padding:120px 24px 80px;max-width:800px;margin:0 auto}
.legal-page.active{display:block}
.legal-page h1{font-family:'Bebas Neue',cursive;font-size:48px;color:var(--blue);margin-bottom:8px}
.legal-page .date{font-size:14px;color:var(--gray);margin-bottom:32px}
.legal-page h2{font-size:20px;color:var(--dark);margin:28px 0 12px;font-weight:700}
.legal-page p,.legal-page li{font-size:15px;color:var(--gray);line-height:1.7;margin-bottom:12px}
.legal-page ul{padding-left:24px}
.legal-back{display:inline-block;color:var(--blue);font-weight:700;text-decoration:none;margin-bottom:24px}

/* MOBILE */
@media(max-width:768px){
.nav-links{display:none}.nav-links.open{display:flex;flex-direction:column;position:absolute;top:100%;left:0;right:0;background:var(--blue-dark);padding:20px 24px;gap:16px}
.hamburger{display:flex}
.hero{min-height:auto;padding:90px 20px 40px}
.hero h1{font-size:42px;letter-spacing:2px}
.hero-tagline{font-size:18px;letter-spacing:3px;margin-bottom:12px}
.hero-badge{font-size:11px;padding:6px 14px;margin-bottom:16px}
.hero-desc{font-size:15px;margin-bottom:24px}
.hero-video{padding-bottom:56.25%;margin-bottom:24px}
.hero-download{margin-bottom:5px}
.hero-sub{font-size:12px;margin-top:8px}
.how-it-works{padding:60px 20px}
.section-title{font-size:32px}
.section-desc{font-size:15px}
.steps{gap:20px;margin-top:30px}
.step{padding:20px 24px;gap:16px}
.step-num{width:44px;height:44px;font-size:22px}
.step-text{font-size:15px}
.img-row{grid-template-columns:1fr}.img-row img{height:200px}
.rink-inner{flex-direction:column;text-align:center;gap:30px;padding:60px 20px}
.rink-section{padding:60px 20px}
.rink-visual{flex:none}.phone-mockup{width:240px;height:480px}
.rink-features{text-align:left}
.rink-features li{font-size:14px;padding:6px 0}
.img-banner img{height:180px}
.img-banner-text h3{font-size:24px}
.features{padding:60px 20px}
.features-grid{grid-template-columns:1fr;gap:24px;margin-top:30px}
.feature-card{padding:30px 24px}
.pricing{padding:60px 20px}
.price-amount{font-size:56px}
.price-card{padding:36px 28px}
.download-cta{padding:60px 20px}
.download-cta h2{font-size:36px}
.download-cta p{font-size:15px;margin-bottom:24px}
.contact{padding:50px 20px}
.footer-inner{flex-direction:column;align-items:center;text-align:center}
}

/* MEDIA GALLERY STYLES */
.media-gallery {padding:100px 24px;background:var(--ice);position:relative;z-index:1}
.gallery-inner {max-width:1100px;margin:0 auto;text-align:center}
.gallery-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:32px;margin-top:48px}
.gallery-card {position:relative;overflow:hidden;border-radius:18px;box-shadow:0 8px 32px rgba(0,61,122,.10);background:white;transition:transform .3s,box-shadow .3s;display:flex;flex-direction:column;align-items:center;text-decoration:none}
.gallery-card img,.gallery-card video {width:100%;height:220px;object-fit:cover;display:block;transition:transform .4s cubic-bezier(.4,1.6,.6,1);}
.gallery-card:hover img,.gallery-card:hover video {transform:scale(1.06);}
.gallery-caption {position:absolute;bottom:0;left:0;right:0;padding:18px 0 12px 0;background:linear-gradient(0deg,rgba(0,61,122,0.85) 60%,rgba(0,61,122,0.0) 100%);color:white;font-size:18px;font-family:'Bebas Neue',cursive;letter-spacing:2px;text-shadow:0 2px 8px rgba(0,0,0,.4);opacity:0.92;z-index:2;pointer-events:none;transition:opacity .3s}
.gallery-card:hover .gallery-caption {opacity:1;}
.gallery-img {border:2px solid var(--ice)}
.gallery-video {border:2px solid var(--gold)}
.video-thumb {position:relative;width:100%;height:220px;overflow:hidden;border-radius:16px}
.video-thumb video {pointer-events:none;filter:brightness(0.7)}
.play-overlay {position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:54px;color:var(--gold);background:rgba(0,61,122,0.7);border-radius:50%;padding:12px 22px 12px 18px;box-shadow:0 4px 24px rgba(0,0,0,.25);pointer-events:none;}

/* Lightbox modal base */
.gallery-lightbox {display:none;position:fixed;z-index:9999;top:0;left:0;width:100vw;height:100vh;background:rgba(26,26,46,0.96);backdrop-filter:blur(8px);align-items:center;justify-content:center;flex-direction:column;animation:fadeIn .4s;}
.gallery-lightbox img,.gallery-lightbox video {max-width:90vw;max-height:70vh;border-radius:18px;box-shadow:0 8px 40px rgba(0,0,0,.5);background:#fff;display:block;}
.lightbox-caption {margin-top:24px;color:white;font-size:22px;font-family:'Bebas Neue',cursive;letter-spacing:2px;text-shadow:0 2px 8px rgba(0,0,0,.4);}
.lightbox-close {position:absolute;top:10px;right:10px;font-size:36px;color:var(--gold);text-decoration:none;font-weight:900;z-index:2;transition:color .2s;background:rgba(26,26,46,0.85);border-radius:50%;padding:2px 10px 2px 10px;line-height:1;}
.lightbox-close:hover {color:var(--red);}
@keyframes fadeIn {from{opacity:0} to{opacity:1}}

/* Lightbox background overlay for click-to-close */
.gallery-lightbox .lightbox-bg {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	width: 100vw; height: 100vh;
	background: transparent;
	z-index: 1;
	cursor: pointer;
}
.gallery-lightbox .lightbox-modal-content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100vw;
	height: 100vh;
	pointer-events: none;
}
.gallery-lightbox .lightbox-media-wrap,
.gallery-lightbox .lightbox-caption {
	pointer-events: auto;
}

/* Lightbox arrows inside media area */
.gallery-lightbox { position: fixed; /* already present, but for context */ }

.lightbox-media-wrap {
	position: relative;
	display: inline-block;
}
.lightbox-media-wrap .lightbox-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 36px;
	color: var(--gold);
	background: rgba(26,26,46,0.85);
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	z-index: 12;
	transition: background 0.2s, color 0.2s;
	box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.lightbox-media-wrap .lightbox-arrow:hover {
	background: var(--gold);
	color: var(--dark);
}
.lightbox-media-wrap .lightbox-next {
	right: -52px;
	left: auto;
}
.lightbox-media-wrap .lightbox-prev {
	left: -52px;
	right: auto;
}
@media(max-width:768px){
   .lightbox-media-wrap .lightbox-arrow {
	   font-size: 24px;
	   width: 36px;
	   height: 36px;
	   top: 50%;
	   /* Move arrows inside the modal */
	   background: var(--gold);
	   color: var(--dark);
	   box-shadow: 0 2px 8px rgba(0,0,0,0.18);
   }
   .lightbox-media-wrap .lightbox-next {
	   right: 8px;
	   left: auto;
   }
   .lightbox-media-wrap .lightbox-prev {
	   left: 8px;
	   right: auto;
   }
}
