/* === PODSTAWOWE STYLE === */

body {
  margin: 0;
  font-family: 'Gloock', serif;
  background: url('images/graund.webp') center center / cover fixed no-repeat;
  color: #e0dbf9;
}

/* === PRZEŁĄCZNIK JĘZYKA === */

.language-switcher {
  position: absolute;
  top: 10px;
  right: 10px;
}

.language-switcher button {
  background: transparent;
  border: 1px solid #e0dbf9;
  color: #e0dbf9;
  padding: 5px 10px;
  margin-left: 5px;
  cursor: pointer;
}

.flag {
  width: 28px;
  height: auto;
  margin-left: 6px;
  border: 1px solid #e0dbf9;
  border-radius: 3px;
  cursor: pointer;
  vertical-align: middle;
  transition: box-shadow 0.3s, transform 0.2s;
}

.flag:hover {
  box-shadow: 0 0 6px #e0dbf9;
  transform: scale(1.05);
}
/* === STORY SECTION === */
.story-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 20px;
  text-align: center;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 10px;
  text-shadow: 0 0 10px #e0dbf9;
}

.story-subtitle {
  font-size: 1.3rem;
  color: #ccc0f5;
  margin-bottom: 30px;
  font-style: italic;
}

.story-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 15px 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.story-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.story-gallery img {
  width: auto;
  max-width: 100%;
  height: auto;
  border: 2px solid #5a48a7;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(90, 72, 167, 0.6);
  transition: transform 0.3s ease;
}

.story-gallery img:hover {
  transform: scale(1.05);
}

/* === FADE-IN EFFECT === */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.2s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === LOGO === */

/* Domyślny rozmiar logo – dla komputerów */
.logo {
  display: block;
  margin: 40px auto;
  width: 40%;
  max-width: 600px;
  filter: drop-shadow(0 0 10px #e0dbf9);
}

/* Zwiększone logo dla telefonów i tabletów */
@media (max-width: 768px) {
  .logo {
    width: 60%;
  }
}

/* === MENU NAWIGACYJNE === */

nav {
  text-align: center;
  margin-bottom: 20px;
}

/* 🧙 MAGICZNE PRZYCISKI MENU */
nav button {
  background: linear-gradient(145deg, #3d2a5e, #1e1635);
  color: #e0dbf9;
  padding: 14px 28px;
  margin: 10px;
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: bold;
  border: 2px solid #7d5cff;
  border-radius: 10px;
  cursor: pointer;
  clip-path: polygon(0 10%, 10% 0, 90% 0, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0 90%);
  box-shadow: 0 0 20px #1a082980, inset 0 0 12px #41306e;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

nav button:hover {
  transform: scale(1.08);
  box-shadow: 0 0 30px #1a0829cc, inset 0 0 18px #6f5de4;
}

/* === LINIA SEPARACYJNA === */

hr {
  border: 0;
  border-top: 1px solid #e0dbf9;
  margin: 20px 0;
}

/* === GŁÓWNA SEKCJA TREŚCI (MAGICZNE POLE ENERGII) === */

#content-frame {
  position: relative;
  background: rgba(30, 22, 53, 0.75);
  margin: 20px auto;
  padding: 20px;
  width: 80%;
  border-radius: 12px;
  overflow: hidden;
  z-index: 1;
  border: 2px solid #5a48a7;
  box-shadow: 0 0 40px rgba(90, 72, 167, 0.7), inset 0 0 20px rgba(61, 42, 94, 0.6);
}

#content-frame::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(90,72,167,0.3) 0%, transparent 70%);
  animation: pulseAura 6s infinite ease-in-out;
  z-index: -1;
  filter: blur(20px);
}


@keyframes pulseAura {
  0%, 100% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* === SEKCA SPOŁECZNOŚCI === */


#community {
  text-align: center;
  margin: 40px auto;
}
#community-title {
  color: #e0dbf9;
  font-size: 2.2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Cinzel Decorative', serif;
  text-shadow: 0 0 6px #5a48a7, 0 0 12px #5a48a7;
  margin-bottom: 20px;
  transition: text-shadow 0.3s ease;
}

#community-title:hover {
  text-shadow: 0 0 10px #a089ff, 0 0 18px #7d5cff;
}

.social-icons {
  text-align: center;
  margin-top: 30px;
}

.social-icons a {
  margin: 0 12px;
  color: #e0dbf9;
  font-size: 2rem;
  display: inline-block;
  transition: color 0.3s ease, transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 0 5px #5a48a7);
}

.social-icons a:hover {
  color: #ffffff;
  transform: scale(1.15);
  filter: drop-shadow(0 0 12px #a089ff);
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}
.board-section {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;
}

.board-description {
  margin-bottom: 40px;
  font-size: 1.1em;
  line-height: 1.6;
}

.board-gallery.vertical {
  display: block; /* ← KLUCZOWA zmiana */
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

.board-gallery.vertical img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  display: block;
  margin-bottom: 24px;
}

.board-gallery.vertical img:hover {
  transform: scale(1.03);
}

.board-video h3 {
  margin-bottom: 16px;
  color: #e0dbf9;
  text-shadow: 0 0 5px #5a48a7;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(90, 72, 167, 0.5);
  max-width: 100%;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* cartyyy*/ 
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  font-family: 'Segoe UI', sans-serif;
}

.intro h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.intro p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.card-display {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 30px;
}

.card-entry {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-img {
  width: 100%;
  max-width: 300px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.card-entry ol {
  padding-left: 20px;
}
/* === TEAM SECTION === */

h1 {
  text-align: center;
  margin-bottom: 2rem;
} 
.team-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.team-card {
  flex: 0 1 300px; /* pozwala na elastyczne dostosowanie, ale nie przekracza 300px */
  max-width: 300px;
  background-color: #1e1e1e;
  color: #eee;
  border: 2px solid #444;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.team-card .nickname {
  font-size: 1.5rem;
  color: #f6d46c;
  margin-bottom: 0.5rem;
}

.team-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.team-card .motto {
  font-style: italic;
  color: #ccc;
  margin-bottom: 0.5rem;
}

.team-card .social-link {
  color: #f6d46c;
  text-decoration: none;
  font-weight: bold;
}

.team-card .social-link:hover {
  text-decoration: underline;
}

.decorative-line {
  border: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, #f6d46c, transparent);
  margin: 3rem 0;
}

.contributors h2 {
  color: #f6d46c;
  margin-bottom: 1rem;
}

.contributors ul {
  list-style: none;
  padding: 0;
  color: #eee;
}

.contributors li {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

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