:root {
  --bg-primary: #0A0A0A;
  --bg-secondary: #1A1A1A;
  --neon-green: #39E639;
  --neon-green-dark: #269926;
  --neon-green-darker: #007633;
  --neon-green-light: #62DA97;
  --text-primary: #FFFFFF;
  --text-secondary: #CCCCCC;
  --glow-shadow: 0 0 10px;
  --neon-cyan: #00f7ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

section {
    display: none;
}

section.active {
    display: block !important;
}

/* Schedule Container */
.schedule-container {
  margin-top: 2rem;
  width: 100%;
  overflow-x: hidden;
}

/* New Conference Schedule Table */
.schedule-table-container {
  width: 100%;
  overflow-x: auto;
  margin-top: 2rem;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
}

.conference-schedule {
  width: 100%;
  border-collapse: collapse;
  background-color: rgba(10, 10, 10, 0.7);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(57, 230, 57, 0.2);
  border-radius: 8px;
  overflow-x: auto;
  font-family: 'Rajdhani', sans-serif;
  display: block;
}

.conference-schedule thead {
  background-color: rgba(57, 230, 57, 0.15);
}

.conference-schedule th {
  padding: 1.2rem;
  text-align: left;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--neon-green);
  border-bottom: 1px solid rgba(57, 230, 57, 0.3);
}

.conference-schedule td {
  padding: 1rem;
  border-bottom: 1px solid rgba(57, 230, 57, 0.1);
  font-size: 1rem;
  color: var(--light-color);
}

.conference-schedule tbody tr:last-child td {
  border-bottom: none;
}

.conference-schedule .task-column {
  width: 35%;
}

.conference-schedule .task-cell {
  font-weight: 500;
  color: var(--text-primary);
}

.conference-schedule tr.schedule-row {
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.conference-schedule tr.schedule-row:hover {
  background-color: rgba(57, 230, 57, 0.2);
  transform: scale(1.01);
  box-shadow: 0 0 15px rgba(57, 230, 57, 0.4) inset;
}

.conference-schedule tr:nth-child(odd) {
  background-color: rgba(20, 20, 20, 0.3);
}

/* ------------------------------------------------------------------------------------------------------------------------- */
/* Добавить в styles.txt */
.schedule-container {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 20px 0;
}

.schedule-table-container {
    width: 100%;
    max-width: 1000px; /* Ограничение максимальной ширины таблицы */
}

.conference-schedule {
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
}

.highlight {
    color: #00FF00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.registration-warning {
    font-weight: bold;
    color: #ff0000;
    display: inline-block;
    margin-top: 10px;
}

.example-link {
    color: #00FF00;
    text-decoration: underline;
    cursor: pointer;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.example-link:hover {
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
    animation: glitch 0.3s infinite;
}

@keyframes glitch {
    0% { text-shadow: 5px 0 #00FF00; }
    50% { text-shadow: -5px 0 #00CC00; }
    100% { text-shadow: 5px 0 #00FF00; }
}

/* Для мобильных устройств */
@media (max-width: 768px) {
    .schedule-table-container {
        overflow-x: auto;
    }
    
    .conference-schedule {
        min-width: 600px;
    }
}
/* -------------------------------------------------------------------------------------------------------------------------------- */

/* Animation for the schedule table */
@keyframes glowRow {
  0% { box-shadow: 0 0 5px rgba(57, 230, 57, 0.3) inset; }
  50% { box-shadow: 0 0 15px rgba(57, 230, 57, 0.5) inset; }
  100% { box-shadow: 0 0 5px rgba(57, 230, 57, 0.3) inset; }
}

.conference-schedule tr.schedule-row:active {
  animation: glowRow 1s ease-in-out;
}

/* Responsive table styles */
@media (max-width: 768px) {
  .conference-schedule th,
  .conference-schedule td {
    padding: 0.8rem;
    font-size: 0.9rem;
  }
  
  .conference-schedule .task-column {
    width: 40%;
  }
}

@media (max-width: 576px) {
  .conference-schedule th,
  .conference-schedule td {
    padding: 0.7rem 0.5rem;
    font-size: 0.8rem;
  }
  
  .conference-schedule .task-column {
    width: 45%;
  }
}

/* Loading Screen Styles */
#loading-screen {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(10, 10, 10, 0.97);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease-out;
  will-change: opacity;
}

.lock-container {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: scale(1.5);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

/* Responsive loading screen for mobile devices */
@media (max-width: 576px) {
  .lock-container {
    transform: scale(1);
    width: 300px;
    height: 300px;
  }
}

.loading-text {
  font-family: 'Orbitron', sans-serif;
  color: var(--neon-green);
  text-shadow: 0 0 10px var(--neon-green);
  margin-top: 40px;
  font-size: 24px;
  letter-spacing: 2px;
  animation: textPulse 1.5s infinite alternate;
  font-weight: bold;
}

.loading-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
  width: 100%;
}

.step {
  font-family: 'Orbitron', sans-serif;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  margin: 5px 0;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.step.active {
  color: var(--neon-green);
  text-shadow: 0 0 10px var(--neon-green);
  opacity: 1;
  transform: translateY(0);
}

.step.completed {
  color: var(--neon-green);
  text-shadow: 0 0 10px var(--neon-green);
  opacity: 1;
  transform: translateY(0);
}

@keyframes textPulse {
  0% {
    opacity: 0.7;
    text-shadow: 0 0 5px var(--neon-green);
  }
  100% {
    opacity: 1;
    text-shadow: 0 0 15px var(--neon-green);
  }
}

.lock {
  position: relative;
  width: 100px;
  height: 120px;
  z-index: 10;
}

.lock-body {
  position: absolute;
  bottom: 0;
  width: 100px;
  height: 80px;
  background-color: #222;
  border-radius: 12px;
  border: 3px solid var(--neon-green);
  box-shadow: 0 0 20px var(--neon-green), inset 0 0 10px rgba(57, 230, 57, 0.5);
  overflow: hidden;
  animation: lockPulse 1.5s infinite alternate;
}

.lock-hole {
  position: absolute;
  top: 35px;
  left: 40px;
  width: 20px;
  height: 20px;
  background-color: var(--bg-primary);
  border-radius: 50%;
  border: 2px solid var(--neon-cyan);
  box-shadow: inset 0 0 10px var(--neon-cyan);
  animation: holePulse 1.5s infinite alternate;
  z-index: 5;
}

.lock-shackle {
  position: absolute;
  top: 0;
  left: 25px;
  width: 50px;
  height: 50px;
  border: 8px solid #333;
  border-bottom: none;
  border-radius: 50px 50px 0 0;
  box-shadow: 0 0 15px rgba(57, 230, 57, 0.7);
  animation: shacklePulse 1.5s infinite alternate;
  transition: transform 0.5s ease-out;
  z-index: -1;
  transform-origin: bottom center;
}

.key {
  position: absolute;
  width: 150px;
  height: 60px;
  left: 300px;
  animation: keyMove 5s forwards;
  filter: drop-shadow(0 0 15px var(--neon-cyan));
  z-index: 100;
}

.key-handle {
  position: absolute;
  top: 5px;
  left: 0;
  width: 35px;
  height: 35px;
  border: 6px solid var(--neon-cyan);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--neon-cyan), inset 0 0 5px var(--neon-cyan);
  animation: handlePulse 1.5s infinite alternate;
}

.key-shaft {
  position: absolute;
  top: 17px;
  left: 35px;
  width: 70px;
  height: 12px;
  background-color: var(--neon-cyan);
  box-shadow: 0 0 15px var(--neon-cyan);
}

.key-teeth {
  position: absolute;
  top: 29px;
  left: 85px;
  width: 12px;
  height: 12px;
  background-color: var(--neon-cyan);
  box-shadow: 0 0 15px var(--neon-cyan);
  animation: teethPulse 1.5s infinite alternate;
}

.key-teeth::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  width: 12px;
  height: 12px;
  background-color: var(--neon-cyan);
  box-shadow: 0 0 15px var(--neon-cyan);
}

.key-teeth::after {
  content: '';
  position: absolute;
  top: -24px;
  left: 0;
  width: 12px;
  height: 12px;
  background-color: var(--neon-cyan);
  box-shadow: 0 0 15px var(--neon-cyan);
}

/* Success Flash Animation */
#loading-screen.unlocked::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(57, 230, 57, 0.2);
  animation: successFlash 0.5s ease-out;
  z-index: 9;
  pointer-events: none;
}

/* Animations */
@keyframes lockPulse {
  0% {
    filter: brightness(0.8);
    box-shadow: 0 0 15px var(--neon-green);
  }
  100% {
    filter: brightness(1.5);
    box-shadow: 0 0 30px var(--neon-green);
  }
}

@keyframes handlePulse {
  0% {
    filter: brightness(0.8);
    box-shadow: 0 0 15px var(--neon-cyan);
  }
  100% {
    filter: brightness(1.5);
    box-shadow: 0 0 30px var(--neon-cyan);
  }
}

@keyframes teethPulse {
  0% {
    filter: brightness(0.8);
    box-shadow: 0 0 10px var(--neon-cyan);
  }
  100% {
    filter: brightness(1.5);
    box-shadow: 0 0 20px var(--neon-cyan);
  }
}

@keyframes shacklePulse {
  0% {
    box-shadow: 0 0 10px rgba(57, 230, 57, 0.5);
  }
  100% {
    box-shadow: 0 0 20px rgba(57, 230, 57, 0.9);
  }
}

@keyframes holePulse {
  0% {
    box-shadow: inset 0 0 5px var(--neon-cyan);
  }
  100% {
    box-shadow: inset 0 0 15px var(--neon-cyan);
  }
}

@keyframes keyMove {
  0% {
    transform: translateX(0) rotate(0deg);
    opacity: 0.7;
  }
  10% {
    transform: translateX(0) rotate(0deg);
    opacity: 1;
  }
  30% {
    transform: translateX(-110px) rotate(0deg);
  }
  /* Pause before insertion */
  40% {
    transform: translateX(-180px) rotate(0deg);
    filter: drop-shadow(0 0 25px var(--neon-cyan));
  }
  /* Key aligns with lock */
  45% {
    transform: translateX(-180px) rotate(0deg);
  }
  /* Key insertion - slow motion */
  50% {
    transform: translateX(-180px) rotate(15deg);
  }
  55% {
    transform: translateX(-180px) rotate(30deg);
  }
  60% {
    transform: translateX(-180px) rotate(45deg);
  }
  65% {
    transform: translateX(-180px) rotate(60deg);
  }
  70% {
    transform: translateX(-180px) rotate(90deg);
  }
  /* Key turn animation - with pauses */
  75% {
    transform: translateX(-180px) rotate(120deg);
  }
  77% {
    transform: translateX(-180px) rotate(120deg);
    filter: drop-shadow(0 0 30px var(--neon-green));
  }
  80% {
    transform: translateX(-180px) rotate(150deg);
  }
  83% {
    transform: translateX(-180px) rotate(180deg);
  }
  87% {
    transform: translateX(-180px) rotate(180deg);
    filter: drop-shadow(0 0 35px var(--neon-green));
  }
  /* Unlocking effect */
  95% {
    transform: translateX(-180px) rotate(180deg);
    filter: drop-shadow(0 0 40px var(--neon-green));
    opacity: 1;
  }
  100% {
    transform: translateX(-180px) rotate(180deg);
    filter: drop-shadow(0 0 50px var(--neon-green));
    opacity: 1;
  }
}

/* Faster animation for mobile */
@media (max-width: 576px) {
  @keyframes keyMove {
    0% {
      transform: translateX(0) rotate(0deg);
      opacity: 0.7;
    }
    15% {
      transform: translateX(-110px) rotate(0deg);
      opacity: 1;
    }
    30% {
      transform: translateX(-180px) rotate(0deg);
      filter: drop-shadow(0 0 25px var(--neon-cyan));
    }
    45% {
      transform: translateX(-180px) rotate(45deg);
    }
    60% {
      transform: translateX(-180px) rotate(90deg);
    }
    75% {
      transform: translateX(-180px) rotate(135deg);
      filter: drop-shadow(0 0 30px var(--neon-green));
    }
    85% {
      transform: translateX(-180px) rotate(180deg);
      filter: drop-shadow(0 0 35px var(--neon-green));
    }
    100% {
      transform: translateX(-180px) rotate(180deg);
      filter: drop-shadow(0 0 50px var(--neon-green));
      opacity: 1;
    }
  }
}

@keyframes successFlash {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

body {
  font-family: 'Rajdhani', 'Roboto', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
  overflow: hidden;
}

html[lang="uk"] body {
  font-family: 'TT Norms Pro', 'Roboto', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Digital Rain Effect */
.digital-rain {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('images/9p5cefynwf_1.png');
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
}

html[lang="uk"] h1, 
html[lang="uk"] h2, 
html[lang="uk"] h3, 
html[lang="uk"] h4, 
html[lang="uk"] h5, 
html[lang="uk"] h6 {
  font-family: 'TT Autonomous', sans-serif;
}

/* FAQ Styles */
.faq-container {
    width: 100%;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    padding: 1rem;
    background: rgba(0, 20, 0, 0.5);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: var(--neon-green);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(0, 30, 0, 0.7);
}

.faq-question::after {
    content: '+';
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    content: '-';
    transform: rotate(90deg);
}

.faq-answer {
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-answer.active {
    padding: 1rem;
    max-height: 500px;
}

/* Archive Section */
.archive-container {
  width: 100%;
  padding: 2rem 0;
}

.archive-blocks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 98%;
  margin: 0 auto;
}

.archive-block {
  position: relative;
  width: 250px;
  height: 350px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 247, 255, 0.3);
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), 
              box-shadow 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform, box-shadow;
}

.archive-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform;
  backface-visibility: hidden; /* Prevent flickering */
  transform: translateZ(0); /* Force hardware acceleration */
}

.responsive-archive-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

@media (max-width: 576px) {
  .archive-block {
    width: 100%;
    max-width: 300px;
    height: 300px;
    transition: transform 0.35s cubic-bezier(0.19, 1, 0.22, 1), 
                box-shadow 0.35s cubic-bezier(0.19, 1, 0.22, 1);
  }
  
  .archive-block img,
  .responsive-archive-img {
    transition: transform 0.35s cubic-bezier(0.19, 1, 0.22, 1);
  }
}

.archive-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 1.5rem;
}

.archive-block:hover .archive-overlay {
  opacity: 1;
}

.archive-block:hover img {
  transform: scale(1.1);
}

.archive-block:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px var(--neon-green);
}

/* Reduce hover animation intensity for mobile devices */
@media (max-width: 576px) {
  .archive-block:hover {
    transform: translateY(-5px);
  }
  
  .archive-block:hover img {
    transform: scale(1.05);
  }
  
  /* Add touch feedback animation */
  .archive-block:active {
    transform: translateY(-2px);
    transition: transform 0.15s cubic-bezier(0.19, 1, 0.22, 1);
  }
}

.archive-overlay h3 {
  color: var(--neon-green);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 10px var(--neon-green);
  font-size: 1.5rem;
  text-align: center;
}

.archive-links {
  list-style: none;
  padding: 0;
  text-align: center;
}

.archive-links li {
  margin-bottom: 0.8rem;
}

.archive-links a {
  color: var(--text-primary);
  transition: all 0.3s ease;
  font-size: 1rem;
  padding: 0.3rem 0.8rem;
  border-radius: 3px;
}

.archive-links a:hover {
  color: var(--neon-green);
  text-shadow: 0 0 8px var(--neon-green);
  background: linear-gradient(90deg, rgba(57, 230, 57, 0.05), rgba(57, 230, 57, 0.2));
}

@media (max-width: 1400px) {
  .archive-block {
    width: 220px;
    height: 320px;
  }
}

@media (max-width: 1024px) {
  .archive-blocks {
    gap: 1.5rem;
  }
  
  .archive-block {
    width: 200px;
    height: 280px;
  }
  
  .glitch-title {
    font-size: 2.3rem;
  }
  
  .section-title {
    font-size: 2.1rem;
  }
  
  .time-unit {
    min-width: 105px;
  }
  
  .cta-buttons {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  /* Specific fixes for 1024px width */
  section {
    padding: 4rem 3%;
  }
  
  nav ul li {
    margin: 0 0.8rem;
  }
  
  nav ul li a {
    font-size: 1rem;
  }
  
  .partner-logo {
    width: 220px;
    height: 130px;
  }
  
  .sessions-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .university-info {
    min-width: 280px;
    padding: 1.5rem;
  }
  
  .footer-content {
    padding: 0 2%;
  }
}

/* For screens between 800px and 1023px */
@media (min-width: 800px) and (max-width: 1023px) {
  /* Navigation adjustments */
  nav ul li {
    margin: 0 0.5rem;
  }
  
  nav ul li a {
    font-size: 0.9rem;
  }
  
  .language-switcher {
    margin-right: 1rem;
  }
  
  .lang-btn {
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
  }
  
  .logo {
    font-size: 1.6rem;
  }
  
  /* Content adjustments */
  .glitch-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .time-unit {
    min-width: 95px;
    padding: 0.7rem;
  }
  
  .time-unit span {
    font-size: 2rem;
  }
  
  .time-unit label {
    font-size: 0.9rem;
  }
  
  /* Cards and layout adjustments */
  .archive-block {
    width: 170px;
    height: 240px;
  }
  
  .archive-overlay h3 {
    font-size: 1.2rem;
  }
  
  .partner-logo {
    width: 180px;
    height: 110px;
  }
  
  /* Table adjustments */
  .conference-schedule th {
    font-size: 0.9rem;
    padding: 1rem 0.8rem;
  }
  
  .conference-schedule td {
    font-size: 0.9rem;
    padding: 0.9rem 0.8rem;
  }
  
  /* Fix overflow issues */
  .contact-container, 
  .partner-logos,
  .hero {
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .section-title::after {
    width: 80px;
  }
}

@media (max-width: 768px) {
  .archive-blocks {
    flex-direction: column;
    align-items: center;
  }
  
  .archive-block {
    width: 80%;
    max-width: 350px;
    height: 320px;
  }
}

a {
  text-decoration: none;
  color: var(--text-primary);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
  color: var(--neon-green);
  text-shadow: 0 0 8px var(--neon-green);
  background: linear-gradient(90deg, rgba(57, 230, 57, 0.05), rgba(57, 230, 57, 0.1));
  border-radius: 3px;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3%; /* Reduced horizontal padding */
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(57, 230, 57, 0.3);
  height: 80px;
  box-sizing: border-box;
}

nav {
  display: flex;
  align-items: center;
}

/* Language Switcher */
.language-switcher {
  display: flex;
  margin-right: 2rem;
}

.lang-btn {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(0, 247, 255, 0.3);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  padding: 0.3rem 0.8rem;
  margin: 0 0.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-btn.active {
  background: rgba(57, 230, 57, 0.1);
  color: var(--neon-green);
  border-color: var(--neon-green);
  box-shadow: 0 0 8px rgba(57, 230, 57, 0.5);
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--neon-green);
  text-shadow: 0 0 10px var(--neon-green);
  position: relative;
  z-index: 2;
}

.logo a {
  color: var(--neon-green);
  text-decoration: none;
}

.logo a:hover {
  color: var(--neon-green-light);
  text-shadow: 0 0 12px var(--neon-green);
}

/* Glitch Effect */
.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.glitch::before {
  left: 2px;
  text-shadow: -1px 0 var(--neon-green);
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim 5s infinite linear alternate-reverse;
  transform-origin: center;
}

.glitch::after {
  left: -2px;
  text-shadow: -1px 0 var(--neon-green-dark);
  clip: rect(24px, 450px, 100px, 0);
  animation: glitch-anim2 5s infinite linear alternate-reverse;
  transform-origin: center;
}

@keyframes glitch-anim {
  0% {
    clip: rect(24px, 9999px, 30px, 0);
    transform: skew(0.15deg);
  }
  20% {
    clip: rect(12px, 9999px, 118px, 0);
    transform: skew(-0.15deg);
  }
  40% {
    clip: rect(58px, 9999px, 78px, 0);
    transform: skew(0.15deg);
  }
  60% {
    clip: rect(42px, 9999px, 11px, 0);
    transform: skew(0.15deg);
  }
  80% {
    clip: rect(97px, 9999px, 33px, 0);
    transform: skew(-0.15deg);
  }
  100% {
    clip: rect(53px, 9999px, 162px, 0);
    transform: skew(0.15deg);
  }
}

/* Optimized second glitch animation for smaller screens */
@media (max-width: 768px) {
  @keyframes glitch-anim2 {
    0% {
      clip: rect(22px, 9999px, 38px, 0);
      transform: skew(0.08deg);
    }
    20% {
      clip: rect(8px, 9999px, 12px, 0);
      transform: skew(-0.08deg);
    }
    40% {
      clip: rect(30px, 9999px, 16px, 0);
      transform: skew(0.08deg);
    }
    60% {
      clip: rect(7px, 9999px, 24px, 0);
      transform: skew(-0.08deg);
    }
    80% {
      clip: rect(6px, 9999px, 28px, 0);
      transform: skew(0.08deg);
    }
    100% {
      clip: rect(26px, 9999px, 2px, 0);
      transform: skew(-0.08deg);
    }
  }
}

nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  height: 40px;
}

nav ul li {
  margin: 0 1.2rem;
  position: relative;
}

nav ul li a {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.5rem 0.2rem;
  position: relative;
  display: block;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-green);
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

nav ul li a.active {
  color: var(--neon-green);
  text-shadow: 0 0 8px var(--neon-green);
}

nav ul li a.active::after {
  width: 100%;
  box-shadow: 0 0 8px var(--neon-green);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-left: 1.5rem;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: var(--neon-green);
  margin: 4px 0;
  transition: 0.4s;
  box-shadow: 0 0 8px var(--neon-green);
}

/* Main Content */
main {
  padding-top: 80px;
  max-width: 100%;
  overflow-x: hidden;
}

section {
  padding: 5rem 3%; /* Reduced horizontal padding */
  min-height: 100vh;
  display: none;
}

section.active {
  display: block !important;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-green-dark), var(--neon-green-light));
}

.highlight {
  color: var(--neon-green);
  text-shadow: 0 0 10px var(--neon-green);
}

/* Home Section */
#home {
  position: relative;
}

#home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('69maccyft8.png') center/cover no-repeat;
  opacity: 0.5;
  z-index: -1;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem 0;
  position: relative;
}

.glitch-title {
  font-size: 2.8rem; /* Slightly smaller default font size */
  text-align: center;
  margin-bottom: 2rem;
  background: linear-gradient(90deg, var(--neon-green), var(--neon-green-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  max-width: 100%;
  word-wrap: break-word;
  padding: 0 10px;
  width: 100%;
  overflow-wrap: break-word;
  will-change: transform;
  transition: font-size 0.3s ease;
}

.glitch-title::before,
.glitch-title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--neon-green), var(--neon-green-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  will-change: transform, clip;
}

.glitch-title::before {
  left: 2px;
  text-shadow: -2px 0 var(--neon-green);
  clip: rect(44px, 9999px, 56px, 0);
  animation: glitch-anim 5s infinite linear alternate-reverse;
  opacity: 1;
}

.glitch-title::after {
  left: -2px;
  text-shadow: 2px 0 var(--neon-green-light);
  clip: rect(24px, 9999px, 100px, 0);
  animation: glitch-anim2 5s infinite linear alternate-reverse;
  opacity: 1;
}

/* Completely disable glitch effect on mobile devices */
@media (max-width: 768px) {
  .glitch::before,
  .glitch::after,
  .glitch-title::before,
  .glitch-title::after {
    display: none !important;
  }
  
  .glitch,
  .glitch-title {
    position: static !important;
    color: var(--neon-green) !important;
    text-shadow: 0 0 10px var(--neon-green) !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: var(--neon-green) !important;
    will-change: initial !important;
  }
  
  /* Ensure the main text is visible */
  .glitch span,
  .glitch-title span {
    position: static !important;
    clip: auto !important;
    opacity: 1 !important;
  }
}

.conference-description {
  font-size: 14px;
  text-align: center;
  max-width: 90%;
  margin: 1.5rem auto 2rem;
  color: var(--text-primary);
  line-height: 1.6;
  font-family: 'Rajdhani', sans-serif;
}

.location {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 3rem;
}

.location ion-icon {
  color: var(--neon-pink);
  margin-right: 0.5rem;
  font-size: 1.5rem;
}

.countdown {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.time-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 1rem;
  padding: 1rem;
  min-width: 120px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(57, 230, 57, 0.3);
  border-radius: 5px;
  box-shadow: 0 0 20px rgba(57, 230, 57, 0.2);
}

.time-unit span {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  background: linear-gradient(180deg, #FFFFFF 0%, #CCCCCC 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.time-unit label {
  font-size: 1rem;
  margin-top: 0.5rem;
  color: var(--text-secondary);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.neon-button, .neon-button-alt {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.8rem 1.5rem;
  border: 2px solid;
  border-radius: 5px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
}

.neon-button {
  color: var(--text-primary);
  background-color: transparent;
  border: 2px solid;
  border-image: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.5), #ffffff) 1;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  font-weight: bold;
}

.neon-button-alt {
  color: var(--neon-pink);
  border-color: var(--neon-pink);
  text-shadow: 0 0 8px var(--neon-pink);
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.5), inset 0 0 15px rgba(255, 0, 255, 0.5);
}

.neon-button::before, .neon-button-alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.7s ease;
  z-index: -1;
}

.neon-button:hover::before, .neon-button-alt:hover::before {
  left: 100%;
}

.neon-button:hover {
  background: linear-gradient(90deg, rgba(57, 230, 57, 0.1), rgba(57, 230, 57, 0.3));
  box-shadow: 0 0 20px rgba(57, 230, 57, 0.8), inset 0 0 20px rgba(57, 230, 57, 0.4);
  color: var(--text-primary);
  border-color: var(--neon-green);
}

.neon-button-alt:hover {
  background-color: rgba(255, 0, 255, 0.1);
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.8), inset 0 0 20px rgba(255, 0, 255, 0.8);
}

.news-ticker {
  width: 100%;
  overflow: hidden;
  background: rgba(26, 26, 26, 0.8);
  padding: 1rem 0;
  border-top: 1px solid rgba(0, 247, 255, 0.3);
  border-bottom: 1px solid rgba(0, 247, 255, 0.3);
}

.ticker-content {
  display: flex;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}

.ticker-content span {
  display: inline-block;
  padding: 0 2rem;
  color: var(--text-primary);
}

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

/* Materials Section */
.timeline {
  margin-bottom: 4rem;
}

.timeline-header {
  text-align: center;
  margin-bottom: 2rem;
}

.timeline-track {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 0 auto;
  max-width: 1000px;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan), var(--neon-purple));
  transform: translateY(-50%);
  z-index: 0;
}

.timeline-item {
  position: relative;
  width: 30%;
  padding: 1rem;
  border: 1px solid rgba(0, 247, 255, 0.3);
  background: rgba(26, 26, 26, 0.8);
  border-radius: 5px;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item::before {
  content: attr(data-year);
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  color: var(--neon-green);
  text-shadow: 0 0 8px var(--neon-green);
}

.timeline-item::after {
  content: '';
  position: absolute;
  top: -27px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--neon-cyan);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--neon-cyan);
}

.timeline-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.timeline-content {
  text-align: center;
}

.timeline-content h4 {
  color: var(--neon-green);
  margin-bottom: 0.5rem;
}

.download-links {
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
}

.download-links a {
  margin: 0.3rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.download-links a:hover {
  color: var(--neon-pink);
  text-shadow: 0 0 5px var(--neon-pink);
}

.gallery h3 {
  text-align: center;
  margin-bottom: 2rem;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 2px solid;
  border-image: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.5), #ffffff) 1;
  color: var(--text-primary);
  padding: 0.7rem 1.5rem;
  margin: 0 0.5rem 0.5rem;
  cursor: pointer;
  border-radius: 30px;
  font-family: 'Rajdhani', sans-serif;
  transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
  background: linear-gradient(90deg, rgba(57, 230, 57, 0.1), rgba(57, 230, 57, 0.3));
  color: var(--text-primary);
  border-color: var(--neon-green);
  box-shadow: 0 0 20px rgba(57, 230, 57, 0.8), inset 0 0 20px rgba(57, 230, 57, 0.4);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.item-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.8);
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .item-caption {
  transform: translateY(0);
}

.item-caption h4 {
  color: var(--neon-green);
  margin-bottom: 0.5rem;
}

/* Contacts Section */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 4rem;
}

.university-info {
  flex: 1.5;
  min-width: 300px;
  margin-right: 2rem;
  background-color: var(--bg-secondary);
  border: 1px solid rgba(0, 247, 255, 0.3);
  border-radius: 5px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.university-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.university-logo-image {
  max-width: 150px;
  height: auto;
  filter: drop-shadow(0 0 10px var(--neon-green));
  transition: all 0.3s ease;
}

.university-logo-image:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 15px var(--neon-green));
}

.contact-details {
  flex: 1;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.contact-list li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.5;
}

.contact-link {
  color: var(--neon-green);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-link:hover {
  text-shadow: 0 0 8px var(--neon-green);
}

.cyberpunk-map:hover .map-image {
  transform: scale(1.03);
}

.map-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.map-placeholder ion-icon {
  font-size: 4rem;
  color: var(--neon-pink);
  margin-bottom: 1rem;
}

.open-map-btn {
  margin-top: 1rem;
  background: rgba(255, 0, 255, 0.1);
  color: var(--neon-pink);
  border: 1px solid var(--neon-pink);
  padding: 0.7rem 1.5rem;
  border-radius: 30px;
  cursor: pointer;
  font-family: 'Orbitron', sans-serif;
  transition: all 0.3s ease;
}

.open-map-btn:hover {
  background: rgba(255, 0, 255, 0.3);
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
}

.contact-image {
  flex: 1;
  min-width: 300px;
  max-width: 450px;
  margin: 0 auto;
  align-self: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container {
  width: 90%;
  max-width: 400px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(0, 247, 255, 0.5);
  box-shadow: 0 0 25px rgba(0, 247, 255, 0.6);
  transition: all 0.3s ease;
}

.image-container:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(57, 230, 57, 0.6);
  border-color: var(--neon-green);
}

.responsive-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast; /* For Chrome */
  image-rendering: crisp-edges; /* For Firefox */
  transition: transform 0.3s ease;
}

.image-container:hover .responsive-image {
  transform: scale(1.02);
}

@media (max-width: 992px) {
  .university-info {
    margin-right: 0;
    margin-bottom: 2rem;
  }
  
  .contact-image {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .university-info {
    padding: 1.5rem;
    min-width: 100%;
  }
  
  .contact-image {
    min-width: 100%;
    margin-bottom: 2rem;
  }
  
  .image-container {
    width: 100%;
    max-width: 350px;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.partners {
  text-align: center;
}

.partners h3 {
  margin-bottom: 2rem;
}

.partner-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.partner-logo-link {
  display: block;
  text-decoration: none;
}

.partner-logo {
  width: 250px;
  height: 150px;
  padding: 1.5rem;
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(0, 247, 255, 0.3);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  overflow: hidden;
}

.partner-logo:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px rgba(0, 247, 255, 0.5);
  border-color: var(--neon-cyan);
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.2);
  transition: all 0.3s ease;
}

.partner-logo:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Meetings Section */
.meetings-container {
  max-width: 1200px;
  margin: 0 auto;
}

.sessions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  justify-content: center;
}

.session-card {
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(0, 247, 255, 0.3);
  border-radius: 5px;
  padding: 1.5rem;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform, box-shadow;
}

.session-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  border-color: var(--neon-cyan);
}

/* Adjust transitions for mobile devices */
@media (max-width: 576px) {
  .session-card {
    transition: all 0.3s ease;
  }
  
  .session-card:hover {
    transform: translateY(-5px);
  }
  
  .session-card:active {
    transform: translateY(-2px);
    transition: transform 0.15s ease;
  }
}

.session-card h3 {
  color: var(--neon-green);
  margin-bottom: 0.5rem;
}

.session-time {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.session-preview {
  width: 100%;
  height: 180px;
  background: var(--bg-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.preview-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.preview-placeholder ion-icon {
  font-size: 3rem;
  color: var(--neon-pink);
  margin-bottom: 1rem;
}

.session-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.session-card:hover .session-image {
  transform: scale(1.05);
}

.join-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  background: transparent;
  color: var(--text-primary);
  border: 2px solid;
  border-image: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.5), #ffffff) 1;
  border-radius: 5px;
  font-family: 'Orbitron', sans-serif;
  transition: all 0.3s ease;
}

.join-button:hover {
  background: linear-gradient(90deg, rgba(57, 230, 57, 0.1), rgba(57, 230, 57, 0.3));
  color: var(--text-primary);
  border-color: var(--neon-green);
  box-shadow: 0 0 20px rgba(57, 230, 57, 0.8), inset 0 0 20px rgba(57, 230, 57, 0.4);
}

.join-button ion-icon {
  margin-right: 0.5rem;
}

.calendar-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.8rem;
  background: transparent;
  color: var(--text-primary);
  border: 2px solid;
  border-image: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.5), #ffffff) 1;
  border-radius: 5px;
  font-family: 'Rajdhani', sans-serif;
  transition: all 0.3s ease;
}

.calendar-button:hover {
  background: linear-gradient(90deg, rgba(57, 230, 57, 0.1), rgba(57, 230, 57, 0.3));
  color: var(--text-primary);
  border-color: var(--neon-green);
  box-shadow: 0 0 20px rgba(57, 230, 57, 0.8), inset 0 0 20px rgba(57, 230, 57, 0.4);
}

.calendar-button ion-icon {
  margin-right: 0.5rem;
}

/* Footer */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(0, 247, 255, 0.3);
  padding: 3rem 5% 1rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.footer-logo {
  flex: 1;
  min-width: 250px;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-image {
  margin-top: 1rem;
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.footer-logo-image {
  max-width: 150px;
  height: auto;
  filter: drop-shadow(0 0 8px var(--neon-green));
  transition: all 0.3s ease;
}

.footer-logo-image:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 12px var(--neon-green));
}

@media (max-width: 768px) {
  .footer-logo-image {
    max-width: 120px;
  }
}

@media (max-width: 480px) {
  .footer-logo-image {
    max-width: 100px;
  }
}

.footer-links {
  flex: 1;
  min-width: 250px;
  margin-bottom: 2rem;
}

.footer-links h3, .footer-social h3 {
  color: var(--neon-green);
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.8rem;
}

.footer-social {
  flex: 1;
  min-width: 250px;
  margin-bottom: 2rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(0, 247, 255, 0.3);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: linear-gradient(90deg, rgba(57, 230, 57, 0.1), rgba(57, 230, 57, 0.3));
  border-color: var(--neon-green);
  box-shadow: 0 0 10px rgba(57, 230, 57, 0.5);
}

.social-icons ion-icon {
  font-size: 1.2rem;
}

.footer-social-image {
  margin-top: 1.5rem;
  width: 100%;
  display: flex;
  justify-content: center;
}

.social-footer-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--neon-green);
  box-shadow: 0 0 15px rgba(57, 230, 57, 0.3);
  transition: all 0.3s ease;
}

.social-footer-img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(57, 230, 57, 0.5);
}

@media (max-width: 768px) {
  .social-footer-img {
    max-width: 80%;
  }
}

@media (max-width: 480px) {
  .social-footer-img {
    max-width: 100%;
  }
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

.author-link {
  color: var(--neon-green);
  text-decoration: none;
  transition: all 0.3s ease;
}

.author-link:hover {
  text-shadow: 0 0 8px var(--neon-green);
  color: var(--neon-green-light);
}



/* Responsive Design */
@media (min-width: 1921px) {
  body {
    font-size: 18px;
  }
  
  .container {
    max-width: 1800px;
    margin: 0 auto;
  }
  
  .glitch-title {
    font-size: 4rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .time-unit {
    min-width: 150px;
  }
  
  .archive-blocks {
    max-width: 1800px;
  }
  
  .archive-block {
    width: 300px;
    height: 400px;
  }
  
  .sessions-grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    max-width: 1800px;
    margin: 0 auto;
  }
}

/* Materials Blocks */
.materials-blocks {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 4rem;
}

.materials-block {
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(0, 247, 255, 0.3);
  border-radius: 10px;
  padding: 2rem;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), 
              box-shadow 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform, box-shadow;
}

.materials-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  border-color: var(--neon-green);
}

.block-title {
  color: var(--neon-green);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  text-shadow: 0 0 10px var(--neon-green);
}

.block-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.block-image {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 247, 255, 0.3);
}

.materials-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16/9;
  transition: transform 0.5s ease;
}

.materials-block:hover .materials-image {
  transform: scale(1.05);
}

.block-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%; /* Добавлено */
}

.block-text > div {
    width: 100%; /* Добавлено */
}

.block-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-primary);
  width: 100%; /* Добавлено */
  max-width: none; /* Добавлено */
  box-sizing: border-box; /* Добавлено */
  word-wrap: break-word; /* Добавлено */
  overflow-wrap: break-word; /* Добавлено */
  hyphens: auto; /* Добавлено для лучшего переноса слов */
}

.block-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.materials-btn, .materials-btn-alt {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.8rem 1.5rem;
  border: 2px solid;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.materials-btn {
  background: linear-gradient(90deg, rgba(57, 230, 57, 0.1), rgba(57, 230, 57, 0.3));
  color: var(--text-primary);
  border-color: var(--neon-green);
  box-shadow: 0 0 10px rgba(57, 230, 57, 0.4), inset 0 0 10px rgba(57, 230, 57, 0.2);
}

.materials-btn-alt {
  background: transparent;
  color: var(--text-primary);
  border-color: rgba(0, 247, 255, 0.5);
  box-shadow: 0 0 10px rgba(0, 247, 255, 0.2);
}

.materials-btn:hover {
  background: linear-gradient(90deg, rgba(57, 230, 57, 0.2), rgba(57, 230, 57, 0.4));
  box-shadow: 0 0 15px rgba(57, 230, 57, 0.6), inset 0 0 15px rgba(57, 230, 57, 0.3);
  transform: translateY(-2px);
}

.materials-btn-alt:hover {
  background: rgba(0, 247, 255, 0.1);
  border-color: rgba(0, 247, 255, 0.8);
  box-shadow: 0 0 15px rgba(0, 247, 255, 0.4);
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (min-width: 992px) {
  .block-content {
    flex-direction: row;
  }
  
  .block-image {
    flex: 1;
    max-width: 45%;
  }
  
  .block-text {
    flex: 1.2;
  }
}

@media (max-width: 992px) {
    .block-text {
        padding: 0 1rem; /* Добавлено для отступов на мобильных */
    }
}

@media (min-width: 2561px) {
  body {
    font-size: 20px;
  }
  
  .container {
    max-width: 2400px;
  }
  
  .glitch-title {
    font-size: 5rem;
  }
  
  .section-title {
    font-size: 3.5rem;
  }
  
  .time-unit {
    min-width: 180px;
  }
  
  .archive-blocks {
    max-width: 2300px;
  }
  
  .archive-block {
    width: 350px;
    height: 450px;
  }
  
  .conference-schedule th,
  .conference-schedule td {
    padding: 1.5rem;
    font-size: 1.2rem;
  }
}

@media (min-width: 3841px) {
  body {
    font-size: 24px;
  }
  
  .container {
    max-width: 3200px;
  }
  
  .glitch-title {
    font-size: 6rem;
  }
  
  .section-title {
    font-size: 4.5rem;
  }
  
  .time-unit {
    min-width: 220px;
    padding: 2rem;
  }
  
  .time-unit span {
    font-size: 4.5rem;
  }
  
  .archive-blocks {
    max-width: 3000px;
  }
  
  .archive-block {
    width: 400px;
    height: 500px;
  }
  
  .conference-schedule th,
  .conference-schedule td {
    padding: 2rem;
    font-size: 1.5rem;
  }
}

@media (max-width: 1200px) {
  .glitch-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .countdown {
    flex-wrap: wrap;
  }
  
  .time-unit {
    min-width: 110px;
    margin: 0.5rem;
  }
  
  .archive-blocks {
    gap: 1.5rem;
  }
  
  .sessions-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 992px) {
  .countdown .time-unit {
    min-width: 100px;
    padding: 0.8rem;
  }
  
  .time-unit span {
    font-size: 2.5rem;
  }
  
  .contact-container {
    flex-direction: column;
  }
  
  .map-container {
    margin-right: 0;
    margin-bottom: 2rem;
  }
  
  .glitch-title {
    font-size: 2.2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cta-buttons a {
    width: 100%;
    text-align: center;
  }
  
  .timeline-track {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }
  
  .timeline-item {
    width: 80%;
    max-width: 350px;
  }
  
  .timeline-item::before {
    top: -30px;
  }
  
  .timeline-item::after {
    top: -17px;
  }
  
  .timeline-track::before {
    display: none;
  }
  
  .conference-schedule th {
    font-size: 1rem;
  }
}

@media (max-width: 991px) {
  .glitch-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .countdown {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .footer-content {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  nav {
    justify-content: flex-end;
  }
  
  nav ul {
    position: fixed;
    top: 80px;
    left: -100%;
    background: rgba(10, 10, 10, 0.95);
    width: 100%;
    height: calc(100vh - 80px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
    padding-bottom: 5rem; /* Add more padding at bottom to ensure all items are accessible */
    transition: left 0.4s cubic-bezier(0.19, 1, 0.22, 1); /* Smoother transition */
    backdrop-filter: blur(10px);
    z-index: 999;
    overflow-y: auto; /* Enable scrolling for mobile menu */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    will-change: left;
    overscroll-behavior: contain; /* Prevent body scroll when menu reaches the end */
  }
  
  nav ul.active {
    left: 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  }
  
  nav ul li {
    margin: 1.5rem 0;
    width: 80%; /* Make tap targets wider */
    text-align: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
  }
  
  nav ul.active li {
    animation: slideIn 0.4s forwards;
    animation-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
  }
  
  nav ul li:hover {
    opacity: 1;
    transform: translateY(-2px);
  }
  
  @keyframes slideIn {
    from {
      transform: translateY(20px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  .menu-toggle {
    display: flex;
    transition: transform 0.3s ease;
  }
  
  .menu-toggle.active {
    transform: rotate(90deg);
  }
   
  .menu-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
    transition: transform 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  }
  
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
    transition: opacity 0.2s ease;
  }
  
  .menu-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
    transition: transform 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .glitch-title {
    font-size: 1.8rem;
    word-wrap: break-word;
  }
  
  .footer-content {
    justify-content: center;
    text-align: center;
  }
  
  .footer-links, .footer-social {
    min-width: 100%;
    margin-bottom: 2rem;
  }
  
  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.8rem;
  }
  
  .glitch-title {
    font-size: 1.5rem;
  }
  
  .conference-description {
    font-size: 0.95rem;
  }
  
  .countdown {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .time-unit {
    min-width: 80px;
    margin: 0.3rem;
    padding: 0.7rem;
  }
  
  .time-unit span {
    font-size: 1.8rem;
  }
  
  .time-unit label {
    font-size: 0.85rem;
  }
  
  .timeline-item {
    width: 90%;
  }
  
  .language-switcher {
    margin-right: 1rem;
  }
  
  .lang-btn {
    padding: 0.2rem 0.6rem;
    font-size: 0.8rem;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  .contact-list li {
    font-size: 1rem;
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  .social-footer-img {
    max-width: 100%;
  }
  
  header {
    padding: 1rem 3%;
    height: 70px;
  }
  
  main {
    padding-top: 70px;
  }
  
  nav ul {
    top: 70px;
    height: calc(100vh - 70px);
    padding-bottom: 5rem; /* Ensure space at bottom for scrolling */
  }
  
  section {
    padding: 3rem 3%;
  }
  
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .contact-list li {
    margin-bottom: 0.8rem;
  }
  
  .conference-schedule th, 
  .conference-schedule td {
    padding: 0.6rem 0.4rem;
    font-size: 0.8rem;
  }
  
  .archive-block {
    width: 100%;
    height: 250px;
  }
  
  .glitch-title span {
    font-size: 1.3rem;
  }
}
