* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #5e6aa3 0%, #856b9f 100%);
    min-height: 100vh;
}


.anime {
    background-color: hwb(300 84% 15% / 0.683);
}

/*.main1 {
    background-color: #667eea;
}*/

.intro-container {
    display: flex;
    /* Positions text and image side by side */
    align-items: center;
    /* Aligns them vertically */
    justify-content: space-between;
    /* Space between elements */
    gap: 20px;
    /* Adds spacing between text and image */
}

.intro-content {
    flex: 1;
    /* Takes up available space */
    max-width: 60%;
}

.intro-image {
    flex-shrink: 0;
    /* Prevents shrinking */
}

.intro-image img {
    width: 200px;
    /* Adjust image size */
    height: auto;
}
.events-list {
  margin-bottom: 20px;
}

.event {
  border: 1px solid #ddd;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
  background-color: #f9f9f9;
}

.event-date-time-location {
  display: blo;
  justify-content: space-between;
  margin-bottom: 10px;
  margin-left: 16px;
  margin-right: 16px;
}

.event-date {
  font-weight: bold;
}

.event-time {
  color: #555;
}

.event-details h3 {
  margin: 0;
  font-size: 1.2em;
}

.event-details p {
  margin: 5px 0 0;
}

.no-events {
  text-align: center;
  color: #e74c3c;
  font-weight: bold;
}
.upcoming-events .container .event .event-details .add-to-calendar-wrapper {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.upcoming-events .container .event .event-details .add-to-calendar-wrapper .add-to-calendar {
  color: var(--color-primary);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  background: none;
}
.upcoming-events .container .event .event-details .add-to-calendar-wrapper .add-to-calendar:hover {
  text-decoration: underline;
}
.upcoming-events {
  background-color: var(--color-background);
  color: var(--color-dark);
  padding: 2rem 0;
}
.upcoming-events .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.upcoming-events .container h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.upcoming-events .container .event {
  display: flex;
  align-items: center;
  background-color: var(--color-light);
  padding: 1rem;
  margin: 1rem 0;
  box-shadow: var(--shadow-box);
  text-align: left;
}
.upcoming-events .container .event .event-date-time {
  background-color: var(--color-primary);
  color: var(--color-light);
  padding: 1rem;
  margin-right: 1rem;
  text-align: center;
  border-radius: 5px;
}
.upcoming-events .container .event .event-date-time .event-date {
  font-size: 1.2rem;
  font-weight: bold;
}
.upcoming-events .container .event .event-date-time .event-time {
  font-size: 1rem;
}
.upcoming-events .container .event .event-details {
  flex: 1;
  position: relative;
}
.upcoming-events .container .event .event-details h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.upcoming-events .container .event .event-details p {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.upcoming-events .container .event .event-details .add-to-calendar-wrapper {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.upcoming-events .container .event .event-details .add-to-calendar-wrapper .add-to-calendar {
  color: var(--color-primary);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  background: none;
}
.upcoming-events .container .event .event-details .add-to-calendar-wrapper .add-to-calendar:hover {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .upcoming-events .container {
    padding: 0 10px;
  }
  .upcoming-events .event {
    flex-direction: column;
    align-items: center;
  }
  .upcoming-events .event .event-date-time {
    margin-bottom: 1rem;
    margin-right: 0;
  }
  .upcoming-events .event .event-details {
    position: static;
    text-align: center;
  }
  .upcoming-events .event .event-details .add-to-calendar-wrapper {
    position: static;
    transform: none;
    margin-top: 3.7rem;
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

.meting {
    background-color: white;
}

.gallery {
    background-color: #ffffff;
    text-align: center;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #764ba2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: block;
}

.nav-link:hover {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 150px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: #f8f9ff;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.btn1 {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-login {
    background: transparent;
    color: #764ba2;
    border: 2px solid #764ba2;
}

.btn-login:hover {
    background: #764ba2;
    color: white;
}

.btn-register {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

main {
    padding: 2rem 0;
}

.hero {
    text-align: center;
    padding: 4rem 0;
    color: white;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.content-grid {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));*/
    grid-template-columns: repeat(3, 1fr); /* 3 колонки */
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card h3 {
    color: #764ba2;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    color: #666;
    line-height: 1.6;
}

.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #ffeb3b, #ff9800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.chat-widget:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

.pikachu {
    width: 35px;
    height: 35px;
    background: #ffeb3b;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: relative;
}

.pikachu::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #333;
    border-radius: 50%;
    top: 12px;
    left: 10px;
    box-shadow: 8px 0 0 #333;
}

.pikachu::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 3px;
    background: #ff4444;
    border-radius: 50%;
    top: 18px;
    left: 14px;
}

.chat-panel {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 300px;
    height: 400px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    z-index: 999;
}

.chat-header {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 1rem;
    border-radius: 15px 15px 0 0;
    text-align: center;
    font-weight: bold;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

.chat-input {
    padding: 1rem;
    border-top: 1px solid #eee;
}

.chat-input input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }
}



.footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #ff6b6b 100%);
    position: relative;
    overflow: hidden;
    margin-top: auto;
    
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="20" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: sparkle 3s ease-in-out infinite;
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.footer-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
    color: white;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section h3::before {
    content: "⭐";
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.footer-links li:hover {
    transform: translateX(10px);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b6b, #feca57);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.social-section {
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.newsletter {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-direction: column;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    margin-bottom: 10px;

}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.anime-quote {
    font-style: italic;
    font-size: 0.9rem;
    opacity: 0.8;
    text-align: center;
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.floating-icon:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.floating-icon:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
}

.floating-icon:nth-child(4) {
    bottom: 15%;
    right: 10%;
    animation-delay: 3s;
}

.floating-icon:nth-child(5) {
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}
.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}
.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.owl-nav button {
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}
          