@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Days+One&family=Roboto+Mono:ital,wght@0,500;1,500&display=swap');
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden !important;
}
.text-option {
    border: none;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.section-title {
    font-family: 'Press Start 2P', cursive;
    font-weight: 500;
    font-size: 25px;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.section-divider {
    height: 40px;
    width: 100%;
    margin: 20px 0;
    position: relative;
}

.section-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 20%, 
        rgba(255, 255, 255, 0.5) 50%, 
        rgba(255, 255, 255, 0.3) 80%, 
        transparent 100%);
    transform: translateY(-50%);
}
 .astpl {
    font-family: 'Press Start 2P', cursive;
    font-weight: 400;

 }

body.modal-open {
    overflow: hidden;
}

/* Слайдер ивентов */
.events-slider-container {
    position: relative;
    margin: 30px 0;
    padding: 20px 0 50px;
}

.eventsSwiper {
    padding: 30px 80px 40px;
    overflow: visible;
}

.eventsSwiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.eventsSwiper .swiper-button-next,
.eventsSwiper .swiper-button-prev {
    color: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.25), rgba(255, 69, 0, 0.25));
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 165, 0, 0.4);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-top: 0;
}

.eventsSwiper .swiper-button-next {
    right: 10px;
}

.eventsSwiper .swiper-button-prev {
    left: 10px;
}

.eventsSwiper .swiper-button-next:hover,
.eventsSwiper .swiper-button-prev:hover {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.4), rgba(255, 69, 0, 0.4));
    border-color: rgba(255, 165, 0, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.3);
}

.eventsSwiper .swiper-button-next::after,
.eventsSwiper .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

.eventsSwiper .swiper-pagination {
    bottom: 0 !important;
    position: relative;
    margin-top: 25px;
}

.eventsSwiper .swiper-pagination-bullet {
    background: rgba(255, 165, 0, 0.5);
    opacity: 0.5;
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
    margin: 0 6px !important;
}

.eventsSwiper .swiper-pagination-bullet-active {
    background: rgba(255, 165, 0, 1);
    opacity: 1;
    width: 30px;
    border-radius: 5px;
}





/* Modal styles removed - functionality disabled */







.leaderboards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.leaderboard-card {
    background: rgba(30, 30, 40, 0.7);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 165, 0, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.leaderboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.1);
    border-color: rgba(255, 165, 0, 0.4);
}

.leaderboard-title {
    font-family: "Days One", sans-serif;
    font-size: 20px;
    color: white;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 0 2px 5px rgba(255, 165, 0, 0.5);
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 165, 0, 0.3);
}

.leaderboard-table {
    width: 100%;
}

.table-header {
    display: grid;
    grid-template-columns: 80px 1fr 80px;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: bold;
    color: rgba(255, 165, 0, 0.9);
}

.table-body {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.table-row {
    display: grid;
    grid-template-columns: 80px 1fr 80px;
    gap: 10px;
    padding: 8px 0;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.table-row:hover {
    background: rgba(255, 165, 0, 0.1);
    transform: scale(1.02);
}

.table-row:nth-child(1) {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), transparent);
}

.table-row:nth-child(2) {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.1), transparent);
}

.table-row:nth-child(3) {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.1), transparent);
}

.col-place {
    font-weight: bold;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}

.col-name {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.col-stats {
    text-align: center;
    color: rgba(255, 165, 0, 0.9);
    font-weight: bold;
}
@media (max-width: 768px) {
    .leaderboards-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .leaderboard-card {
        padding: 15px;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 60px 1fr 60px;
        gap: 8px;
        font-size: 14px;
    }
}
.online-counter {
  font-size: 0.9em;
  color: #ffa500;
  font-weight: 600;
  margin-left: 20px;
  margin-right: auto;
  align-self: center;
}

@media (max-width: 480px) {
    .leaderboard-title {
        font-size: 18px;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 50px 1fr 50px;
        gap: 5px;
        font-size: 13px;
    }
}
.astlad {
    font-family: "Days One", sans-serif;
    justify-content: center;
    text-align: center;
}

.about-hero {
    background: rgba(168, 92, 4, 0.466);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    border-left: 4px solid rgba(255, 165, 0, 0.5);
}

.about-content h3 {
    font-family: 'Days One', sans-serif;
    font-size: 28px;
    margin-bottom: 15px;
    color: white;
}

.about-content p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}
.admins-section {
    margin: 50px 0;
}

.admins-title {
    font-family: 'Days One', sans-serif;
    font-size: 24px;
    text-align: center;
    margin-bottom: 30px;
    color: white;
}

.admins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.admin-card {
    position: relative;
    width: 280px;
    height: 340px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(25, 25, 35, 0.98), rgba(35, 35, 45, 0.98));
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    border: 1px solid rgba(128, 76, 34, 0.15);
    overflow: hidden;
}

.admin-card .face.face1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 90px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease 0.2s;
}

.admin-card:hover .face.face1 {
    opacity: 1;
}

.admin-card .face.face1 .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3px;
    width: 100%;
}

.admin-card .face.face1 .content h4 {
    font-family: 'Days One', sans-serif;
    font-size: 20px;
    color: white;
    margin: 0;
}

.admin-card .face.face1 .content .admin-role {
    color: rgba(180, 19, 118, 0.9);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 8px 0;
}

.admin-card .face.face1 .content .admin-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}

.admin-card .face.face1 .content .admin-skills span {
    background: rgba(255, 255, 255, 0.06);
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-card .face.face1 .content .admin-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(88, 101, 242, 0.1);
    border-radius: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(88, 101, 242, 0.2);
}

.admin-card .face.face1 .content .admin-contact i {
    color: #5865F2;
    font-size: 14px;
}

.admin-card .face.face2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(255, 130, 0, 0.22), rgba(255, 60, 0, 0.18));
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: height 0.5s ease, border-radius 0.5s ease;
    z-index: 2;
    box-sizing: border-box;
}

.admin-card:hover .face.face2 {
    height: 90px;
    border-radius: 0 0 15px 15px;
}

.admin-card .face.face2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent);
    border-radius: 15px 0 0 15px;
    transition: border-radius 0.5s ease;
    pointer-events: none;
}

.admin-card:hover .face.face2::before {
    border-radius: 0 0 0 15px;
}

.admin-card .face.face2 .admin-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(240, 236, 236, 0.644);
    flex-shrink: 0;
    transition: all 0.5s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    padding: 12px 12px;
}

.admin-card:hover .face.face2 .admin-avatar {
    width: 75px;
    height: 75px;
    border-width: 3px;
}

.admin-card .face.face2 .admin-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-card .face.face2 .face2-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.admin-card:hover .face.face2 .face2-info {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
    position: absolute;
}

.admin-card .face.face2 .face2-info h4 {
    font-family: 'Days One', sans-serif;
    font-size: 18px;
    color: white;
    margin: 0;
}

.admin-card .face.face2 .face2-info p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    margin: 0;
}

.admin-card .face.face2 .face2-info .admin-stats {
    margin-top: 6px;
}

.admin-card .face.face2 .face2-info .admin-stats span {
    background: rgba(0, 0, 0, 0.2);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.75);
}

.admin-stats {
    margin-top: 10px;
}

.admin-stats span {
    background: rgba(255, 165, 0, 0.2);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    color: rgba(255, 165, 0, 0.9);
    border: 1px solid rgba(255, 165, 0, 0.3);
}
.admin-role {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: bold;
    font-size: 16px !important;
    margin-bottom: 0px !important;
}

.admin-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
    justify-content: center;
}

.admin-skills span {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-contact {
    margin-top: 20px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-contact i {
    margin-right: 8px;
    color: #5865F2;
}
.project-stats {
    margin: 60px 0;
    text-align: center;
}

.project-stats h3 {
    font-family: 'Days One', sans-serif;
    font-size: 24px;
    margin-bottom: 30px;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card {
    background: rgba(30, 30, 40, 0.7);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 165, 0, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 165, 0, 0.5);
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.1);
}

.stat-icon {
    font-size: 40px;
    margin-bottom: auto;
}
.stat-icon img {
    width: 60px;   
    height: 60px;
    object-fit: contain;
    user-select: none;
}

.stat-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.stat-number {
    font-family: 'Days One', sans-serif;
    font-size: 32px;
    font-weight: bold;
    color: rgba(255, 165, 0, 0.9);
    margin-bottom: 5px;
}
.stat-counter {
  font-family: 'Days One', sans-serif;
  font-size: 2em;
  font-weight: bold;
  color: #ffa500;
  text-align: center;
  margin-top: 10px;
  transition: transform 0.3s ease;
}

.stat-counter:hover {
  transform: scale(1.05);
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.contacts-section {
    margin-top: 50px;
    text-align: center;
}

.contacts-section h3 {
    font-family: 'Days One', sans-serif;
    font-size: 24px;
    margin-bottom: 30px;
    color: white;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: center;
    padding: 25px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-card.discord {
    background: rgba(88, 101, 242, 0.1);
    border-color: rgba(88, 101, 242, 0.3);
}

.contact-card.telegram {
    background: rgba(0, 136, 204, 0.1);
    border-color: rgba(0, 136, 204, 0.3);
}

.contact-card.email {
    background: rgba(255, 165, 0, 0.1);
    border-color: rgba(255, 165, 0, 0.3);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.contact-card.discord:hover {
    border-color: rgba(88, 101, 242, 0.6);
}

.contact-card.telegram:hover {
    border-color: rgba(0, 136, 204, 0.6);
}

.contact-card.email:hover {
    border-color: rgba(255, 165, 0, 0.6);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 20px;
}

.contact-card.discord .contact-icon {
    background: rgba(88, 101, 242, 0.2);
    color: #5865F2;
}

.contact-card.telegram .contact-icon {
    background: rgba(0, 136, 204, 0.2);
    color: #0088cc;
}

.contact-card.email .contact-icon {
    background: rgba(255, 165, 0, 0.2);
    color: rgba(255, 165, 0, 0.9);
}

.contact-info {
    text-align: left;
}

.contact-info h4 {
    font-family: 'Days One', sans-serif;
    font-size: 18px;
    margin-bottom: 5px;
    color: white;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
}

.youtubers-section {
    margin: 40px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.youtubers-section h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 20px;
    text-align: center;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.youtubers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    justify-content: center;
}

.youtuber-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.youtuber-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.youtuber-card:hover {
    background: rgba(255, 165, 0, 0.15);
    border-color: rgba(255, 165, 0, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.15);
}

.youtuber-card:hover::before {
    left: 100%;
}

.youtuber-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 2px solid rgba(255, 165, 0, 0.5);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 165, 0, 0.1);
}

.youtuber-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.youtuber-avatar i {
    font-size: 20px;
    color: rgba(255, 165, 0, 0.8);
}

.youtuber-info {
    flex: 1;
}

.youtuber-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: rgba(255, 165, 0, 0.9);
}

.youtuber-info p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.youtuber-stats span {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 165, 0, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.youtube-icon {
    margin-left: 10px;
    font-size: 18px;
    color: #ff0000;
    transition: transform 0.3s ease;
}

.youtuber-card:hover .youtube-icon {
    transform: scale(1.2);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 69, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 140, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 165, 0, 0.05) 0%, transparent 50%),
        #000000;
    color: white;
    overflow-x: hidden;
    min-height: 100vh;
}

.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(12, 7, 3, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 165, 0, 0.25);
    z-index: 1100;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
}

.brand:hover {
    color: white;
    opacity: 0.9;
}

.logo-slot {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    border: 1px solid rgba(255, 165, 0, 0.3);
    background: radial-gradient(circle, rgba(255, 165, 0, 0.12), rgba(12, 7, 3, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.15);
}

.logo-slot img {
    width: 70%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 3px rgba(255, 165, 0, 0.3));
}

.logo-slot.small {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    margin-bottom: 12px;
}

.logo-slot.small img {
    width: 60%;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-title {
    font-family: 'Days One', sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 20px;
}

.brand-subtitle {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.65);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links {
    display: flex;
    gap: 12px;
}

.nav-link {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: white;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
}

.nav-link:hover {
    border-color: rgba(255, 165, 0, 0.4);
    background: rgba(255, 165, 0, 0.18);
    box-shadow: 0 4px 10px rgba(255, 165, 0, 0.1);
}

.nav-link.active {
    background: linear-gradient(135deg, #ff7b00, #ff3c28);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 12px rgba(255, 94, 0, 0.2);
}

.nav-actions {
    display: flex;
    align-items: center;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 24px;
    border-radius: 999px;
    text-decoration: none;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-family: 'Press Start 2P', cursive;
    font-size: 11px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.9), rgba(255, 68, 0, 0.9));
    box-shadow: 0 4px 12px rgba(255, 94, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 94, 0, 0.35);
}

.burger {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.burger span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: white;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}

body.nav-open .burger span:nth-child(2) {
    opacity: 0;
}

body.nav-open .burger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

body.nav-open .burger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

body.nav-open {
    overflow: hidden;
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

body.nav-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 90px;
    position: relative;
    z-index: 1;
}

.text-block {
    display: none;
    background-color: transparent;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.text-block.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes gradientBar {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.bg-element {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 69, 0, 0.15), transparent);
    animation: float 8s infinite ease-in-out;
    z-index: -1;
}

.bg-element:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.bg-element:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: -2s;
}

.bg-element:nth-child(3) {
    width: 400px;
    height: 400px;
    bottom: 10%;
    left: 20%;
    animation-delay: -4s;
}

.bg-element:nth-child(4) {
    width: 150px;
    height: 150px;
    top: 20%;
    right: 20%;
    animation-delay: -6s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) scale(1.1);
        opacity: 0.9;
    }
}



.card-wrap {
    transform: perspective(800px);
    -webkit-transform: perspective(800px);
    -moz-transform: perspective(800px);
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    margin: 15px;
}

.card {
    position: relative;
    width: 240px;
    height: 320px;
    background-color: #333;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.66) 0 30px 60px 0, inset #333 0 0 0 5px, inset rgba(255, 255, 255, 0.5) 0 0 0 6px;
    transition: transform 0.3s cubic-bezier(0.445, 0.05, 0.55, 0.95), box-shadow 0.3s cubic-bezier(0.445, 0.05, 0.55, 0.95);
    margin-left: 30px;
}
.card1 {
    position: relative;
    width: 500px;
    height: 350px;
    background-color: #333;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.66) 0 30px 60px 0, inset #333 0 0 0 5px, inset rgba(255, 255, 255, 0.5) 0 0 0 6px;
    transition: transform 0.3s cubic-bezier(0.445, 0.05, 0.55, 0.95), box-shadow 0.3s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.card-bg {
    position: absolute;
    opacity: 0.5;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: transform 0.3s cubic-bezier(0.445, 0.05, 0.55, 0.95), opacity 0.3s cubic-bezier(0.445, 0.05, 0.55, 0.95);
    pointer-events: none;
}

.card-info {
    width: 100%;
    padding: 20px;
    position: absolute;
    bottom: 0.1;
    color: #fff;
    transform: translateY(40%);
    transition: transform 0.1s cubic-bezier(0.215, 0.61, 0.355, 1);
    text-align: center;
}

.card-info p {
    position: relative;
    opacity: 0;
    text-shadow: black 0 2px 3px;
    transition: opacity 0.1s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.card-info * {
    position: relative;
    z-index: 1;
}

.card-info:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    background-blend-mode: overlay;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s cubic-bezier(0.445, 0.05, 0.55, 0.95), transform 0.3s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.card-info h1 {
    font-family: 'Press Start 2P', cursive;
    font-size: 18px;
    font-weight: 700;
    text-shadow: rgba(0, 0, 0, 0.5) 0 10px 10px;
    margin-bottom: 10px;
}

.card-wrap {
    margin: 10px;
    transform: perspective(800px);
    transform-style: preserve-3d;
    cursor: pointer;
}

.card-wrap:hover .card-info {
    transform: translateY(0);
}

.card-wrap:hover .card-info p {
    opacity: 1;
}

.card-wrap:hover .card-info,
.card-wrap:hover .card-info p {
    transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-wrap:hover .card-info:after {
    transition: 5s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 1;
    transform: translateY(0);
}

.card-wrap:hover .card-bg {
    transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1), opacity 5s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0.8;
}

.card-wrap:hover .card {
    transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 2s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: rgba(255, 255, 255, 0.1) 0 0 15px 2px, white 0 0 0 1px, rgba(0, 0, 0, 0.66) 0 30px 60px 0, inset #333 0 0 0 5px, inset white 0 0 0 6px;
}







.site-footer {
    margin-top: 80px;
    background: linear-gradient(135deg, rgba(10, 5, 2, 0.95), rgba(15, 8, 3, 0.98));
    border-top: 1px solid rgba(255, 165, 0, 0.2);
    position: relative;
    box-shadow: 0 -20px 45px rgba(0, 0, 0, 0.6);
    z-index: 5;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.footer-column h4 {
    font-family: 'Days One', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 18px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.social-link.discord {
    border-color: rgba(88, 101, 242, 0.4);
}

.social-link.telegram {
    border-color: rgba(0, 136, 204, 0.4);
}

.social-link:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 165, 0, 0.6);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.footer-nav-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    width: 100%;
    justify-content: flex-start;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    font-size: 13px;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.9);
}

.footer-link:hover {
    border-color: rgba(255, 165, 0, 0.5);
    background: rgba(255, 165, 0, 0.15);
}

.footer-link.active {
    border-color: rgba(255, 165, 0, 0.7);
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.18), rgba(255, 68, 0, 0.25));
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-list span {
    display: block;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.contact-list a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    word-break: break-all;
}

.footer-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: rgba(255, 255, 255, 0.75);
}

.footer-meta li::before {
    content: '• ';
    color: rgba(255, 165, 0, 0.8);
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid rgba(255, 165, 0, 0.5);
    color: white;
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.footer-cta:hover {
    background: rgba(255, 165, 0, 0.2);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 20px 30px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}



.events-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.events-section {
    margin-bottom: 30px;
}

.events-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

@media (max-width: 1100px) {
    .brand-title {
        font-size: 18px;
    }
    
    .nav-link {
        font-size: 11px;
        padding: 9px 14px;
    }
}

@media (max-width: 900px) {
    .header-container {
        padding: 12px 16px;
    }
    
    .burger {
        display: flex;
    }
    
    .site-nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(360px, 82vw);
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
        padding: 120px 32px 40px;
        background: rgba(8, 4, 2, 0.97);
        border-left: 1px solid rgba(255, 165, 0, 0.25);
        box-shadow: -25px 0 40px rgba(0, 0, 0, 0.65);
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.35s ease, opacity 0.25s ease;
        z-index: 1101;
    }
    
    .site-nav.open,
    body.nav-open .site-nav {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        justify-content: flex-start;
    }
    
    .nav-actions {
        width: 100%;
    }
    
    .nav-cta {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 680px) {
    .logo-slot {
        width: 50px;
        height: 50px;
    }
    
    .brand-title {
        font-size: 16px;
    }
    
    .brand-subtitle {
        font-size: 10px;
    }
    
    .content {
        padding: 30px 16px 70px;
    }

    .card1 {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .card1 .card-bg {
        background-position: center;
    }

    .card1 .card-info {
        padding: 16px;
    }
}

@media (max-width: 520px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
    }
    
    .text-block {
        padding: 20px;
    }
    
    .section-title {
        font-size: 20px;
        text-align: center;
    }
}

.discord-messages-container {
    max-height: 600px;
    overflow-y: auto;
    padding: 10px;
    margin-top: 15px;
}

.discord-message {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease;
}

.discord-message:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 165, 0, 0.3);
    transform: translateY(-2px);
}

.discord-author {
    font-weight: bold;
    color: #5865F2;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.discord-content {
    margin: 10px 0;
    line-height: 1.5;
    word-wrap: break-word;
    font-size: 14px;
}

.discord-content strong {
    color: #fff;
    font-weight: 600;
}

.discord-content em {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

.discord-content code {
    background: rgba(255, 165, 0, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #ffa500;
}

.discord-content pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px;
    border-radius: 6px;
    overflow-x: auto;
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.discord-content pre code {
    background: none;
    padding: 0;
    color: #fff;
}

.discord-timestamp {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 8px;
}


.discord-emoji {
    width: 22px;
    height: 22px;
    vertical-align: middle;
    margin: 0 2px;
    display: inline-block;
    border-radius: 2px;
}

.discord-attachments {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.discord-attachment {
    max-width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.discord-attachment:hover {
    transform: scale(1.02);
}

.discord-attachment img {
    max-width: 100%;
    max-height: 400px;
    display: block;
    border-radius: 8px;
}

.discord-attachment-file {
    background: rgba(255, 165, 0, 0.2);
    padding: 8px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: white;
    border: 1px solid rgba(255, 165, 0, 0.3);
    transition: all 0.3s ease;
}

.discord-attachment-file:hover {
    background: rgba(255, 165, 0, 0.3);
    transform: translateY(-2px);
}

.attachment-info {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
}


.attachments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.attachment-single {
    max-width: 500px;
}


.discord-reactions {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.discord-reaction {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8em;
    transition: all 0.2s ease;
}

.discord-reaction:hover {
    background: rgba(255, 165, 0, 0.2);
    border-color: rgba(255, 165, 0, 0.4);
}

.reaction-emoji {
    width: 16px;
    height: 16px;
}

.reaction-emoji-text {
    font-size: 16px;
    vertical-align: middle;
}

.reaction-count {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}


.attachment-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.attachment-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.attachment-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10001;
}

.close-modal:hover {
    color: #ff6b6b;
}


.status-message {
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 15px;
    display: none;
}

.status-message:not(:empty) {
    display: block;
}

.status-success {
    background: rgba(0, 255, 0, 0.15);
    color: #90EE90;
    border: 1px solid rgba(0, 255, 0, 0.3);
}

.status-error {
    background: rgba(255, 0, 0, 0.15);
    color: #FF7F7F;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.status-processing {
    background: rgba(255, 165, 0, 0.15);
    color: #FFA500;
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.no-messages {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}




@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


.discord-messages-container::-webkit-scrollbar {
    width: 6px;
}

.discord-messages-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.discord-messages-container::-webkit-scrollbar-thumb {
    background: rgba(255, 165, 0, 0.5);
    border-radius: 3px;
}


.discord-content .emoji {
    font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
    font-size: 1.2em;
    vertical-align: middle;
}







.server-motto {
    text-align: center;
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 69, 0, 0.1), 
        rgba(255, 140, 0, 0.1),
        rgba(255, 69, 0, 0.1),
        transparent);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.server-motto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 165, 0, 0.8), 
        transparent);
}

.server-motto::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 165, 0, 0.8), 
        transparent);
}

.motto-text {
    font-family: 'Days One', sans-serif;
    font-size: 18px;
    color: white;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.motto-text .highlight {
    color: rgba(255, 165, 0, 0.9);
    animation: highlightPulse 2s ease-in-out infinite;
}

@keyframes highlightPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.motto-subtitle {
    font-family: 'Days One', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
}

.event-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.event-banner {
    background: linear-gradient(135deg, 
        rgba(255, 69, 0, 0.2), 
        rgba(255, 140, 0, 0.2));
    border-radius: 12px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 165, 0, 0.3);
    transition: all 0.3s ease;
}

.event-banner:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.15);
    border-color: rgba(255, 165, 0, 0.6);
}



.banner-content h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    color: white;
    margin-bottom: 8px;
}

.banner-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    opacity: 0.9;
}
.footer-disclaimer {
  font-size: 0.8em;
  color: #888;
  margin-top: 4px;
  text-align: center;
  padding-bottom: 15px;
}
