/* =========================================================
   ROOT
========================================================= */

:root{
  --primary: #7800ff;
  --secondary: #9b87ff;
  --accent: #00ffff;

  --bg: #040414;
  --bg-light: #07071c;

  --text: #ffffff;
  --muted: #cfcfcf;

  --glass: rgba(255,255,255,.04);
  --glass-border: rgba(155,135,255,.18);

  --radius-lg: 28px;
  --radius-md: 24px;

  --transition: .3s ease;
}

/* =========================================================
   RESET
========================================================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Poppins', sans-serif;
  background:var(--bg);
  color:var(--text);
  overflow-x:hidden;
  line-height:1.6;
}

img{
  max-width:100%;
  display:block;
}

a{
  text-decoration:none;
}

/* =========================================================
   BACKGROUND BLURS
========================================================= */

.bg-blur{
  position:fixed;
  border-radius:50%;
  filter:blur(120px);
  opacity:.55;
  z-index:-1;
  pointer-events:none;
}

.blur-1{
  width:350px;
  height:350px;
  top:-80px;
  right:-80px;
  background:var(--primary);
}

.blur-2{
  width:320px;
  height:320px;
  bottom:-120px;
  left:-120px;
  background:var(--accent);
}

.blur-3{
  width:260px;
  height:260px;
  bottom:18%;
  right:8%;
  background:var(--secondary);
}

/* =========================================================
   HERO
========================================================= */

.hero,
.hero-p{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:space-between;

  padding-inline:4%;

  background:
    radial-gradient(circle at top right, rgba(120,0,255,.25), transparent 30%),
    radial-gradient(circle at bottom left, rgba(0,255,255,.18), transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-light) 100%);
}

.hero{
  min-height:100vh;
  padding-block:40px;
}

.hero-p{
  min-height:10vh;
  padding-block:20px;
}

/* =========================================================
   TOPBAR
========================================================= */

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;

  padding:8px 0;
  margin-top:-10px;
}

/* =========================================================
   LOGO
========================================================= */

.logo img{
  height:100px;
  object-fit:contain;
}

/* =========================================================
   NAVIGATION
========================================================= */

.nav-links{
  display:flex;
  align-items:center;
  gap:28px;
}

.nav-links a{
  position:relative;

  color:#d9d9d9;
  font-size:18px;
  font-weight:500;

  opacity:.85;
  transition:var(--transition);
}

.nav-links a:hover{
  color:white;
  opacity:1;
}

.nav-links a::after{
  content:"";

  position:absolute;
  left:0;
  bottom:-5px;

  width:0;
  height:2px;

  background:linear-gradient(
    90deg,
    var(--primary),
    var(--accent)
  );

  transition:var(--transition);
}

.nav-links a:hover::after{
  width:100%;
}

/* =========================================================
   INFO
========================================================= */

.info{
  display:flex;
  align-items:center;
  gap:18px;

  color:#d9d9d9;
  font-size:15px;
  font-weight:500;
}

.divider{
  width:1px;
  height:20px;
  background:rgba(255,255,255,.25);
}

/* =========================================================
   LINKS
========================================================= */

.linkcard{
  color:var(--accent);
  transition:var(--transition);
}

.linkcard:hover{
  color:white;
}

/* =========================================================
   BUTTONS
========================================================= */

.btn-nav,
.btn-primary,
.doc-btn{
  color:white;
  font-weight:600;

  background:linear-gradient(
    90deg,
    var(--primary),
    var(--secondary),
    var(--accent)
  );

  transition:var(--transition);
}

.btn-nav{
  padding:12px 24px;
  border-radius:50px;

  box-shadow:
    0 0 25px rgba(120,0,255,.45),
    0 0 35px rgba(0,255,255,.15);
}

.btn-nav:hover{
  transform:translateY(-3px);

  box-shadow:
    0 0 30px rgba(120,0,255,.6),
    0 0 45px rgba(0,255,255,.3);
}

.buttons{
  position:relative;
  z-index:10;

  display:flex;
  gap:18px;

  margin-top:42px;

  animation:heroSlideIn 1s ease-out forwards;
  animation-delay:.8s;

  opacity:0;
}

.btn-primary,
.btn-secondary{
  padding:15px 28px;
  border-radius:60px;
}

.btn-primary:hover{
  transform:translateY(-4px);

  box-shadow:
    0 0 30px rgba(120,0,255,.55),
    0 0 45px rgba(0,255,255,.25);
}

.btn-secondary{
  color:white;

  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);

  backdrop-filter:blur(10px);

  transition:var(--transition);
}

.btn-secondary:hover{
  border-color:var(--accent);
  background:rgba(0,255,255,.06);
}

.doc-btn{
  display:inline-block;

  padding:10px 18px;
  border-radius:50px;

  font-size:13px;
}

.doc-btn:hover{
  transform:translateY(-3px);
  box-shadow:0 0 25px rgba(0,255,255,.25);
}

/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content{
  position:relative;
  z-index:10;

  display:flex;
  align-items:stretch;
  gap:42px;
  margin-left:130px;
  margin-top:40px;

  animation:heroSlideIn 1.2s ease-out forwards;
  opacity:0;
}

.left-line{
  width:6px;
  height:380px;

  border-radius:20px;

  background:linear-gradient(
    to bottom,
    var(--accent),
    var(--secondary),
    var(--primary)
  );

  transform-origin:top;

  animation:lineIn 1s ease-out forwards;
  opacity:0;
}

.hero-text{
  max-width:760px;
}

.subtitle{
  margin-bottom:2px;

  color:#e4e4e4;
  font-size:25px;
  font-weight:600;
  letter-spacing:12px;

  animation:heroSlideIn 1s ease-out forwards;
  animation-delay:.2s;

  opacity:0;
}

.hero-text h1{
  font-size:120px;
  font-weight:600;
  line-height:1;

  animation:heroSlideIn 1s ease-out forwards;
  animation-delay:.4s;

  opacity:0;
}

.hero-text h2{
  margin-top:2px;

  font-size:54px;
  font-weight:500;
  line-height:1;

  background:linear-gradient(
    90deg,
    var(--primary),
    var(--secondary),
    var(--accent)
  );

  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;

  animation:heroSlideIn 1s ease-out forwards;
  animation-delay:.6s;

  opacity:0;
}

.description{
  max-width:620px;
  margin-top:32px;

  color:var(--muted);
  font-size:18px;
  line-height:1.9;
}

/* =========================================================
   WAVE
========================================================= */

.wave{
  position:absolute;
  left:0;
  bottom:0;

  width:100%;
  height:180px;

  background:linear-gradient(
    90deg,
    rgba(0,255,255,.22),
    rgba(155,135,255,.28),
    rgba(120,0,255,.35)
  );

  filter:blur(45px);

  pointer-events:none;
}

/* =========================================================
   SECTIONS
========================================================= */

.about,
.documents,
.program,
.section-accommodation{
  padding:100px 8%;
}

.section-title{
  margin-bottom:40px;

  color:white;
  font-size:46px;
  font-weight:700;
}

.section-intro{
  max-width:800px;
  margin-bottom:40px;

  color:var(--muted);
  line-height:1.8;
}

/* =========================================================
   CARDS
========================================================= */

.card,
.acc-card,
.doc-card{
  background:var(--glass);
  border:1px solid var(--glass-border);

  backdrop-filter:blur(14px);

  transition:var(--transition);

  box-shadow:
    inset 0 0 25px rgba(255,255,255,.02),
    0 0 20px rgba(120,0,255,.08);
}

.card:hover,
.acc-card:hover,
.doc-card:hover{
  transform:translateY(-6px);
  border-color:var(--accent);

  box-shadow:
    0 0 20px rgba(0,255,255,.15),
    0 0 40px rgba(120,0,255,.18);
}

.card{
  padding:35px;
  border-radius:var(--radius-lg);
}

.acc-card,
.doc-card{
  padding:30px;
  border-radius:var(--radius-md);
}

.card h3,
.acc-card h3{
  margin-bottom:20px;

  color:white;
  font-size:26px;
}

.doc-card h3{
  margin-bottom:10px;

  color:white;
  font-size:18px;
}

.card p,
.card li,
.acc-card p,
.doc-card p{
  color:#d2d2d2;
}

.card p,
.card li,
.acc-card p{
  line-height:1.8;
}

.doc-card p{
  margin-bottom:18px;

  font-size:13px;
  line-height:1.6;
}

.card ul{
  list-style:none;
}

.small{
  display:inline-block;
  margin-top:20px;
}

/* =========================================================
   GRIDS
========================================================= */

.about{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:30px;
}

.accommodation-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:30px;
}

.docs-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:30px;

  margin-top:40px;
}

/* =========================================================
   WARNING BOX
========================================================= */

.warning{
  margin-top:15px;
  padding:10px 14px;

  color:white;
  font-size:14px;

  border-left:3px solid var(--accent);
  border-radius:8px;

  background:rgba(0,255,255,.06);
}

/* =========================================================
   PROGRAM / TIMELINE
========================================================= */

.days-tabs{
  display:flex;
  gap:25px;

  margin-bottom:50px;

  border-bottom:1px solid rgba(255,255,255,.08);
}

.day{
  position:relative;

  padding-bottom:12px;

  border:none;
  background:none;

  color:#aaa;
  font-size:14px;

  cursor:pointer;
}

.day.active{
  color:white;
}

.day.active::after{
  content:"";

  position:absolute;
  left:0;
  bottom:-1px;

  width:100%;
  height:2px;

  background:linear-gradient(
    90deg,
    var(--primary),
    var(--accent)
  );
}

.day-content{
  display:none;
}

.day-content.active{
  display:block;
}

.timeline{
  display:flex;
  flex-direction:column;
  gap:40px;
}

.time-block{
  display:flex;
  gap:60px;

  padding-bottom:30px;

  border-bottom:1px solid rgba(255,255,255,.08);
}

.time-label{
  width:120px;

  color:var(--accent);
  font-size:19px;
  font-weight:600;
}

.events{
  flex:1;

  display:flex;
  flex-direction:column;
  gap:18px;
}

.event{
  padding:10px 0 10px 15px;

  border-left:2px solid rgba(0,255,255,.2);

  transition:var(--transition);
}

.event:hover{
  border-left-color:var(--accent);
  background:rgba(0,255,255,.03);
}

.room{
  margin-bottom:4px;

  color:var(--secondary);
  font-size:18px;
}

.title{
  color:white;
  font-size:23px;
}

.speakers{
  color:#9b87ff;
  font-size:15px;

  opacity:.9;
}

/* PARTNERZY */

.partners{
	padding:100px 8%;
	text-align:center;
}

.partners-grid{
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
	gap:30px;
	margin-top:50px;
}

.partner-card{
	width:260px;
	height:140px;

	background:#ffffff;

	border-radius:24px;

	display:flex;
	align-items:center;
	justify-content:center;

	padding:20px;

	text-decoration:none;

	box-shadow:
		0 10px 30px rgba(0,0,0,.25);

	transition:.3s;
}

.partner-card:hover{
	transform:translateY(-8px);

	box-shadow:
		0 0 20px rgba(0,255,255,.25),
		0 0 40px rgba(120,0,255,.15),
		0 15px 35px rgba(0,0,0,.35);
}

.partner-card img{
	max-width:90%;
	max-height:90px;
	width:auto;
	height:auto;
	object-fit:contain;

	transition:.3s;
}

.partner-card:hover img{
	transform:scale(1.05);
}


/* MNIEJSZE LOGA */

.partner-small img{
	height:60px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer{
  padding:60px 8% 30px;

  border-top:1px solid rgba(255,255,255,.08);

  background:linear-gradient(
    180deg,
    rgba(255,255,255,.02),
    transparent
  );
}

.footer-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(280px,1fr));
  gap:80px;

  align-items:start;
}

.footer-box h3{
  margin-bottom:18px;

  color:white;
  font-size:20px;
}

.footer-box p{
  margin:6px 0;

  color:var(--muted);
  font-size:16px;
  line-height:1.7;
}

.footer .logos{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:25px;
}

.footer .logos img{
  max-height:80px;
  object-fit:contain;

  transition:var(--transition);
}

.footer .logos img:hover{
  transform:scale(1.05);
}

.footer .logo-small{
  height:40px;
}

.footer a{
  color:var(--accent);
  transition:var(--transition);
}

.footer a:hover{
  color:white;
}

.footer-bottom{
  margin-top:40px;
  padding-top:20px;

  border-top:1px solid rgba(255,255,255,.08);

  text-align:center;

  color:#9f9f9f;
  font-size:13px;
}

/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes heroSlideIn{
  0%{
    opacity:0;
    transform:translateX(-60px);
    filter:blur(8px);
  }

  100%{
    opacity:1;
    transform:translateX(0);
    filter:blur(0);
  }
}

@keyframes lineIn{
  0%{
    opacity:0;
    transform:scaleY(0);
  }

  100%{
    opacity:1;
    transform:scaleY(1);
  }
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:900px){

  .topbar{
    flex-direction:column;
    gap:18px;
  }

  .logo img{
    height:80px;
  }

  .nav-links{
    flex-wrap:wrap;
    justify-content:center;
    gap:18px;
  }

  .hero-content{
    flex-direction:column;
    align-items:flex-start;
	margin-left:10px;
  }

  .left-line{
    width:100%;
    height:6px;
    min-height:6px;
  }

  .subtitle{
    font-size:14px;
    letter-spacing:6px;
  }

  .hero-text h1{
    font-size:72px;
  }

  .hero-text h2{
    font-size:38px;
  }

  .buttons{
    flex-direction:column;
    width:100%;
  }

  .btn-primary,
  .btn-secondary{
    width:100%;
    text-align:center;
  }

  .footer-grid{
    grid-template-columns:1fr;
    gap:40px;

    text-align:center;
  }

  .footer .logos{
    justify-content:center;
  }

  .time-block{
    flex-direction:column;
    gap:10px;
  }

  .time-label{
    width:auto;
  }

  .days-tabs{
    overflow-x:auto;
  }
  
	.partner-card{
		width:220px;
		height:120px;
	}

	.partner-card img{
		max-height:70px;
	
}