* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #1a1a1a;
    color: #fff;
    padding: 20px;
    min-height: 100vh;
    scrollbar-width: none;  
    -ms-overflow-style: none; 
}

body::-webkit-scrollbar {
    display: none; 
    width: 0;      
    height: 0;     
}


.title-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.title-container .titulo {
    margin: 0;
}

.show-all-btn {
    padding: 8px 16px;
    background: linear-gradient(45deg, #ff4444, #cc3333);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9em;
    transition: background 0.3s ease, transform 0.1s ease;
}

.show-all-btn:hover {
    background: linear-gradient(45deg, #cc3333, #ff4444);
    transform: scale(1.05);
}


.quem-somos-section {
    margin: 60px 0;
    padding: 50px 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quem-somos-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 68, 68, 0.1) 0%, transparent 70%);
    opacity: 0.5;
}

.quem-somos-section h1 {
    font-size: 2.5em;
    color: #ff4444;
    margin-bottom: 30px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.quem-somos-section .intro-text {
    font-size: 1.2em;
    color: #bbb;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 50px;
    position: relative;
}

.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
}

.team-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #333333 100%);
    border-radius: 15px;
    padding: 25px;
    width: 220px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.team-card:nth-child(1) { animation-delay: 0.2s; }
.team-card:nth-child(2) { animation-delay: 0.4s; }
.team-card:nth-child(3) { animation-delay: 0.6s; }
.team-card:nth-child(4) { animation-delay: 0.8s; }

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(255, 68, 68, 0.2);
}

.team-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid #ff4444;
    box-shadow: 0 0 15px rgba(255, 68, 68, 0.3);
    object-fit: cover;
    object-position: center;
}

.team-card h3 {
    font-size: 1.4em;
    color: #fff;
    margin-bottom: 5px;
}

.team-card .role {
    font-size: 0.9em;
    color: #ff4444;
    margin-bottom: 15px;
    font-style: italic;
}

.team-card p {
    font-size: 0.95em;
    color: #bbb;
    line-height: 1.6;
    margin-bottom: 20px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-social a {
    color: #bbb;
    font-size: 1.3em;
    transition: color 0.3s ease, transform 0.3s ease;
}

.team-social a:hover {
    color: #ff4444;
    transform: scale(1.2);
}

.contact-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #ff4444;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    position: relative;
}

.contact-btn:hover {
    background-color: #cc3333;
    transform: scale(1.05);
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

footer {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    color: #fff;
    padding: 40px 20px;
    margin-top: 40px;
    font-family: Arial, sans-serif;
    border-top: 2px solid #ff4444;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.footer-section h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #ff4444;
}

.footer-section p, .footer-section a {
    color: #bbb;
    font-size: 0.9em;
    line-height: 1.6;
    text-decoration: none;
}

.footer-section a:hover {
    color: #ff4444;
    text-decoration: underline;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #fff;
    font-size: 1.5em;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #ff4444;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 0.8em;
    color: #888;
}

.security-card {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #2a2a2a, #333333);
    border-radius: 8px;
    padding: 8px 15px;
    margin-top: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.security-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(255, 68, 68, 0.2);
}

.security-card i {
    color: #ff4444;
    font-size: 1.2em;
    margin-right: 8px;
}

.security-card span {
    font-size: 0.9em;
    color: #fff;
}

.security-card span .by-diego {
    color: #ff4444;
    font-weight: bold;
}


html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    scrollbar-width: none;  
    -ms-overflow-style: none; 
}

body::-webkit-scrollbar {
    display: none; 
    width: 0;      
    height: 0;     
}

.container {
    /* A linha padding-top foi alterada. Você pode remover as !important se não forem mais necessárias. */
    padding-top: 80px; /* Ajuste este valor para corresponder à altura exata do seu header */
    flex: 1;
    width: 100%;
    margin: 0;
}

.top-kills-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(45deg, #ff4444, #cc3333);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9em;
    transition: background 0.3s ease, transform 0.1s ease;
    margin-top: 20px;
}

.top-kills-btn:hover {
    background: linear-gradient(45deg, #cc3333, #ff4444);
    transform: scale(1.05);
}

.banner-section {
    position: relative;
    width: 100%;
    height: 65vh;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.banner-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease;
    margin: 0;
    padding: 0;
}

.banner {
    position: relative;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.banner-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    z-index: 1;
    background-color: #000;
}

video.banner-media {
    display: block;
}

picture {
    width: 100%;
    height: 100%;
    display: block;
}

.banner-media.error {
    background-color: #ff0000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(28, 28, 33, 0.7), rgba(42, 42, 42, 0.4));
    z-index: 2;
    display: none;
}

.banner-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 40px;
    color: #fff;
    text-align: center;
}

.banner-content h1 {
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    animation: slideInLeft 1s ease-out;
}

.banner-content p {
    font-size: 1.5rem;
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
    animation: fadeInUp 1s ease-out 0.3s;
    animation-fill-mode: both;
}

.banner-details {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.5s;
    animation-fill-mode: both;
}

.banner-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    color: #fff;
    background: rgba(255, 68, 68, 0.15);
    padding: 10px 25px;
    border-radius: 25px;
    border: 1px solid rgba(255, 68, 68, 0.4);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.banner-detail:hover {
    transform: translateY(-3px);
}

.banner-detail i {
    color: #ff4444;
}

.btn-participate {
    display: inline-block;
    background: linear-gradient(45deg, #ff4444, #ff6666);
    color: #fff;
    padding: 15px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.4rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1s ease-out 0.7s;
    animation-fill-mode: both;
}

.btn-participate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.btn-participate:hover::before {
    left: 100%;
}

.btn-participate:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 68, 68, 0.5);
}

.sound-toggle {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(45deg, rgba(255, 68, 68, 0.2), rgba(255, 255, 255, 0.1));
    border: 2px solid #ff4444;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.3);
}

.sound-toggle:hover {
    background: linear-gradient(45deg, rgba(255, 68, 68, 0.4), rgba(255, 255, 255, 0.2));
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 68, 68, 0.5);
}

.sound-toggle i {
    color: #ff4444;
    font-size: 1.6rem;
    transition: transform 0.3s ease;
}

.sound-toggle:hover i {
    transform: rotate(360deg);
}

.sound-toggle.muted i::before {
    content: "\f6a9";
}

.sound-toggle:not(.muted) i::before {
    content: "\f028";
}

.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 10;
    padding: 0 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.banner-section:hover .banner-nav {
    opacity: 1;
}

.banner-nav-button {
    background: linear-gradient(45deg, rgba(255, 68, 68, 0.5), rgba(0, 0, 0, 0.7));
    border: none;
    color: #fff;
    font-size: 2.5rem;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.banner-nav-button:hover {
    background: linear-gradient(45deg, rgba(255, 68, 68, 0.8), rgba(0, 0, 0, 0.8));
    transform: scale(1.1);
}

.banner-nav-button.prev {
    border-radius: 8px 0 0 8px;
}

.banner-nav-button.next {
    border-radius: 0 8px 8px 0;
}

.banner-nav-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.dot.active {
    background: #ff4444;
    transform: scale(1.3);
}

.dot:hover {
    background: #ff6666;
}


@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 1024px) {
    .banner-content h1 {
        font-size: 3rem;
    }

    .banner-content p {
        font-size: 1.3rem;
        max-width: 100%;
    }

    .banner-details {
        gap: 15px;
    }

    .banner-detail {
        font-size: 1rem;
        padding: 8px 20px;
    }

    .btn-participate {
        padding: 12px 40px;
        font-size: 1.2rem;
    }

    .banner-nav-button {
        font-size: 2.5rem;
        padding: 12px 20px;
    }

    .sound-toggle {
        width: 45px;
        height: 45px;
    }

    .sound-toggle i {
        font-size: 1.4rem;
    }

    .banner-dots {
        bottom: 15px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 768px) {
    .banner-section {
        height: 70vh;
    }

    .banner-wrapper {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .banner-wrapper::-webkit-scrollbar {
        display: none;
    }

    .banner {
        scroll-snap-align: start;
    }

    .banner-nav {
        display: none;
    }

    .banner-content {
        padding: 20px;
    }

    .banner-content h1 {
        font-size: 2.5rem;
    }

    .banner-content p {
        font-size: 1.1rem;
    }

    .banner-details {
        flex-direction: column;
        gap: 12px;
    }

    .banner-detail {
        font-size: 0.9rem;
        padding: 6px 15px;
    }

    .btn-participate {
        padding: 10px 30px;
        font-size: 1.1rem;
    }

    .sound-toggle {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }

    .sound-toggle i {
        font-size: 1.2rem;
    }

    .banner-dots {
        bottom: 10px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-height: 600px) {
    .banner-section {
        height: 80vh;
    }
}

@media (max-width: 480px) {
    .banner-section {
        height: 70vh;
    }

    .banner-content h1 {
        font-size: 2rem;
    }

    .banner-content p {
        font-size: 0.95rem;
    }

    .banner-detail {
        font-size: 0.85rem;
        padding: 5px 12px;
    }

    .btn-participate {
        padding: 8px 25px;
        font-size: 1rem;
    }

    .sound-toggle {
        width: 35px;
        height: 35px;
    }

    .sound-toggle i {
        font-size: 1.1rem;
    }

    .banner-dots {
        bottom: 8px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .banner-section {
        height: 75vh;
         max-height: 850px; 
    min-height: 600px;
    }

    .banner-media {
        object-fit: cover;
    }

    .banner-nav {
        display: flex;
    }

    .banner-nav-button {
        font-size: 2.5rem;
        padding: 10px 20px;
    }

    .sound-toggle {
        width: 60px;
        height: 60px;
        bottom: 30px;
        right: 30px;
    }

    .sound-toggle i {
        font-size: 2rem;
    }

    .banner-dots {
        bottom: 30px;
    }

    .dot {
        width: 14px;
        height: 14px;
    }
}

@media (min-width: 1025px) {
    .banner-section {
        height: 56.25vw;
        max-height: 80vh;
        min-height: 600px;
    }

    .banner-media {
        object-fit: cover; 
        object-position: center;
    }

     picture {
        display: flex;
        align-items: center;    
        justify-content: center;
        background-color: #000;
    }

    .banner-nav {
        display: flex;
    }

    .banner-nav-button {
        font-size: 3rem;
        padding: 15px 25px;
    }

    .banner-dots {
        bottom: 40px;
    }

    .dot {
        width: 16px;
        height: 16px;
    }
}

.card-container {
    padding: 20px;
    background: transparent;
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
}

.card-container .section-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
    padding-left: 10px;
    color: #ff4444;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.horizontal-scroll-wrapper {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    scroll-snap-type: x mandatory;
    padding-bottom: 15px;
    scrollbar-width: thin;
    scrollbar-color: #ff4444 transparent;
}

.horizontal-scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}

.horizontal-scroll-wrapper::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #ff4444, #cc3333);
    border-radius: 10px;
}

.horizontal-scroll-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.champ-card {
    flex: 0 0 auto;
    width: 250px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 68, 68, 0.3);
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    scroll-snap-align: start;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    position: relative;
}

.champ-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(255, 68, 68, 0.3);
    border: 1px solid rgba(255, 68, 68, 0.5);
}

.champ-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid #ff4444;
}

.champ-date {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.85rem;
    color: #fff;
    background: rgba(255, 68, 68, 0.7);
    padding: 5px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.champ-body {
    padding: 15px;
}

.champ-body h3 {
    font-size: 1.2rem;
    margin: 8px 0;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.champ-desc {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.champ-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.teams-info-alt {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #bbb;
}

.teams-info-alt i {
    color: #ff4444;
}

.entry-price {
    color: #00ff99;
    font-weight: bold;
    background: rgba(0, 255, 153, 0.1);
    padding: 5px 10px;
    border-radius: 10px;
}

.reward-info {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: #ffd700;
    font-weight: bold;
    background: rgba(255, 215, 0, 0.1);
    padding: 5px 10px;
    border-radius: 10px;
}

.reward-info i {
    color: #ffd700;
}





#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(18, 18, 18, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-squares {
    display: grid;
    grid-template-columns: repeat(2, 60px);
    grid-template-rows: repeat(2, 60px);
    gap: 20px;
    margin-bottom: 30px;
}

.loading-square {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #ff4444, #cc3333);
    border-radius: 12px;
    animation: rotateScale 1.5s ease-in-out infinite;
    box-shadow: 0 0 15px #ff4444;
}

@keyframes rotateScale {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        box-shadow: 0 0 15px #ff4444;
    }
    50% {
        transform: rotate(180deg) scale(1.2);
        box-shadow: 0 0 25px #ff6666;
    }
}

.loading-text {
    font-family: 'Arial Black', Arial, sans-serif;
    font-size: 2.5rem;
    color: #ff4444;
    text-transform: uppercase;
    letter-spacing: 4px;
    animation: pulseText 1.5s ease-in-out infinite;
    user-select: none;
}

@keyframes pulseText {
    0%, 100% {
        text-shadow: 0 0 10px #ff4444, 0 0 20px #ff4444;
        color: #ff4444;
    }
    50% {
        text-shadow: 0 0 20px #ff8888, 0 0 30px #ff8888;
        color: #ff8888;
    }
}

.champ-action-btn {
    margin-top: 15px;
    padding: 10px;
    background: linear-gradient(45deg, #ff4444, #cc3333);
    color: #fff;
    text-align: center;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.champ-card:hover .champ-action-btn {
    background: linear-gradient(45deg, #cc3333, #ff4444);
    transform: scale(1.05);
}

.logo {
    width: 100px;
    max-height: 80px;
    transform: scale(1.3);
}

.reward-info .more-prizes {
    margin-left: 8px;
    background-color: #ff4444;
    color: #fff;
    padding: 2px 6px;
    border-radius: 5px;
    font-size: 0.7em;
    font-weight: bold;
}


.calendar-section {
    padding: 20px;
    margin-top: 40px;
    background: transparent;
}

.calendar-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 68, 68, 0.3);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

#calendar-month-year {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff4444;
}

.calendar-nav-btn {
    background: transparent;
    border: 2px solid #ff4444;
    color: #ff4444;
    font-size: 1.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-nav-btn:hover {
    background: #ff4444;
    color: #1a1a1a;
    transform: scale(1.1);
}

.calendar-weekdays, .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
}

.calendar-weekdays div {
    font-weight: bold;
    color: #ccc;
    padding-bottom: 10px;
}

.calendar-day {
    padding: 5px; 
    min-height: 110px; 
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid transparent; 
    transition: all 0.3s;
    position: relative;
    color: #eee;
    display: flex;
    flex-direction: column; 
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    overflow: hidden; 
}


.calendar-day .day-number {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 0.9rem; 
    padding: 2px 4px; 
    align-self: flex-start; 
}

.calendar-day.empty {
    background-color: transparent;
    cursor: default;
}

.calendar-day.today .day-number {
    background-color: #ff4444;
    color: #1a1a1a;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-day.today {
    background-color: rgba(255, 68, 68, 0.3);
    border: 1px solid #ff4444;
}

.calendar-day.has-event {
    cursor: pointer;
}

.calendar-day.has-event:hover {
    background-color: rgba(255, 68, 68, 0.4);
    border: 1px solid rgba(255, 68, 68, 0.5);


}


.calendar-day.past-event {
    background-color: rgba(100, 100, 100, 0.15);
    color: #888;
}

.calendar-day.past-event:hover {
    background-color: rgba(120, 120, 120, 0.3);
}


.event-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.75em;
    width: 100%;
}

.event-list-item {
    background-color: rgba(255, 68, 68, 0.2);
    color: #eee;
    padding: 3px 5px;
    border-radius: 4px;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; 
    border-left: 2px solid #ff4444;
}


.calendar-day.past-event .event-list-item {
    background-color: rgba(150, 150, 150, 0.2);
    color: #999;
    border-left-color: #777;
}


.see-more-btn {
    font-size: 0.75em;
    font-weight: bold;
    color: #ff9999;
    margin-top: 4px;
    cursor: pointer;
}

.calendar-day.past-event .see-more-btn {
    color: #aaa;
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none; 
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #2a2a2a;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #ff4444;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    color: #fff;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close-btn:hover {
    color: #ff4444;
}

#modal-date {
    font-size: 1.8rem;
    color: #ff4444;
    margin-bottom: 20px;
    text-align: center;
}

#modal-events .event-item {
    display: flex;
    gap: 15px;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    border-left: 4px solid #ff4444;
}

#modal-events .event-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

#modal-events .event-details h4 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
}

#modal-events .event-details p {
    margin: 0 0 10px 0;
    color: #ccc;
    font-size: 0.9rem;
}

#modal-events .event-details a {
    display: inline-block;
    background: #ff4444;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

#modal-events .event-details a:hover {
    background-color: #cc3333;
}