@import url('https://fonts.googleapis.com/css2?family=Russo+One&family=Inter:wght@400;600;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@100..900&display=swap');


:root {
    --primary-bg: #1a1a2e;
    --secondary-bg: #16213e;
    --accent-purple: #5a189a;
    --accent-pink: #ff006e;
    --accent-yellow: #ffd60a;
    --accent-green: #00f5a0;
    --accent-blue: #00b4d8;
    --neon-yellow: #ccff00;
    --neon-green: #39ff14;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    min-height: 100vh;
    font-family: "Geologica", sans-serif;
    color: white;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.content-wrap {
    flex: 1 0 auto;
}

.header {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-family: "Geologica", sans-serif;
    font-size: 1.8rem;
    background: linear-gradient(45deg, #eeeac4, #c9c6b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.social-links {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.social-link {
    padding: 6px 15px;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.discord { background: #5865F2; }
.telegram { background: #0088cc; }
.twitch { background: #9146FF; }
.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.youtube { background: #FF0000; }
.skype { background: #00AFF0; }

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.15);
}

.channel-links {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

        .channel-link {
            background: rgba(255, 255, 255, 0.1);
            padding: 5px 10px;
            border-radius: 6px;
            text-decoration: none;
            color: white;
            display: flex;
            align-items: center;
            gap: 6px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
            font-size: 0.8rem;
        }
        
        .channel-link small {
            font-size: 0.7rem;
        }

.channel-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

        .channel-link i {
            font-size: 0.9rem;
        }

.banner-image-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 20px;
    border-radius: 15px;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.sponsor-card {
    border-radius: 20px;
    padding: 20px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sponsor-card.card-yellow {
    background: linear-gradient(135deg, #c9c6b380, #c9c6b3);
    /* color: black; */
}
.sponsor-card.card-green {
    background: linear-gradient(135deg, #566e7880, #566e78);
}
.sponsor-card.card-blue {
    background: linear-gradient(135deg, #003c5a, #0077b6);
}
.sponsor-card.card-purple {
    background: linear-gradient(135deg, #2c0b48, #5a189a);
}
.sponsor-card.card-pink {
    background: linear-gradient(135deg, #6b002c, #ff006e);
}

.sponsor-card.card-red {
    background: linear-gradient(135deg, #566e78, #c9c6b3);
}

.sponsor-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.sponsor-logo {
    max-width: 150px;
    max-height: 40px;
    object-fit: contain;
    margin-bottom: 10px;
}

.bonus-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: #eeeac4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    font-size: 1.2rem;
    border: 2px solid white;
}

.card-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.card-content p {
    font-size: 0.9rem;
    margin: 5px 0 0;
    opacity: 0.9;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 15px;
}

.card-footer .description {
    font-size: 0.8rem;
    opacity: 0.7;
}

.card-action {
    background: rgba(255, 255, 255, 0.8);
    color: #111;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    text-transform: uppercase;
    flex-shrink: 0;
}

.card-action:hover {
    background: white;
    transform: scale(1.05);
}

.side-banner {
    background: transparent;
    border-radius: 15px;
    padding: 0;
    overflow: hidden;
    height: 100%;
    border: 2px solid #eeeac4;
    max-height: 600px;
    width: 110px;
    position: fixed;
    top: 100px;
    z-index: 999;
}

.side-banner.left {
    left: 20px;
}

.side-banner.right {
    right: 20px;
}

.side-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 13px;
}

.sponsors-grid > .special-card {
    grid-column: span 2;
}

.bottom-banner {
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 100%);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin: 30px 0;
}

.bottom-banner h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.bottom-banner .highlight {
    color: var(--neon-yellow);
    font-weight: 900;
}
@media (max-width: 767px) {
.sponsor-logo {
    margin-top: 15px;
}
}

.banner-button {
    background: white;
    color: #8B0000;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.banner-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

@media (max-width: 992px) {
    .sponsors-grid > .special-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .logo { font-size: 1.5rem; }
    .header { padding: 10px; }
    .social-links { gap: 5px; justify-content: center; width: 100%; margin-top: 10px; }
    .social-link { padding: 5px 10px; font-size: 0.7rem; }
    .channel-links { display: none; }
    .sponsors-grid { grid-template-columns: 1fr; gap: 15px; margin: 20px 0; }
    .bottom-banner h2 { font-size: 1.5rem; }
    .container-fluid { padding-left: 15px; padding-right: 15px; }
    .side-banner { display: none; }
    .card-footer .description { display: none; }
    .special-card {
        grid-column: 1 / -1;
    }
}

.sub-sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 200px);
    gap: 20px;
    margin: 30px 0;
    justify-content: center;
}

.sub-sponsor-card {
    height: 200px;
    background: transparent;
    border: 2px solid;
    border-radius: 15px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    justify-content: space-around;
}

.sub-sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.sub-sponsor-card.border-green {
    border-color: #566e78;
}

.sub-sponsor-card.border-yellow {
    border-color: #566e78;
}

.sub-sponsor-card.border-red {
    border-color: #566e78;
}

.sub-sponsor-logo {
    max-width: 100px;
    max-height: 35px;
    object-fit: contain;
    margin-bottom: 15px;
}

.sub-sponsor-content p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

.sub-sponsor-action {
    margin-top: auto;
    padding: 8px 25px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: white;
}

.sub-sponsor-card.border-green .sub-sponsor-action {
    background: #c9c6b3;
    color: #111;
}

.sub-sponsor-card.border-yellow .sub-sponsor-action {
    background: #c9c6b3;
    color: #111;
}

.sub-sponsor-card.border-red .sub-sponsor-action {
    background: #c9c6b3;
    color: black;
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    /* display: none!important; */
}

.popup-container {
    background: #000000;
    padding: 30px;
    border-radius: 20px;
    border: 2px solid;
    text-align: center;
    position: relative;
    width: 90%;
    max-width: 400px;
    animation: popup-fade-in 0.5s ease-out;
}

@keyframes popup-fade-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 30px;
    cursor: pointer;
    transition: background 0.3s;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.4);
}

.popup-sponsor-logo {
    max-width: 150px;
    margin-bottom: 10px;
}

.popup-message {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.popup-offers {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    gap: 15px;
}

.popup-offer-item {
    flex: 1;
}

.popup-offer-item p {
    margin: 0;
    font-weight: 700;
}

#popup-offer-1-line-2, #popup-offer-2-line-2 {
    font-size: 1.4rem;
    color: #c9c6b3;
}

.popup-sub-message {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 20px;
}

.popup-action-button {
    background: #eeeac4;
    color: #111;
    padding: 12px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-block;
}

.popup-action-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--accent-yellow);
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0f0c29;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-out;
}

.loader-text {
    font-family: 'Russo One', sans-serif;
    font-size: 2rem;
    color: var(--neon-yellow);
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Footer Styles */
.footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1002;
    flex-shrink: 0;
}

.footer-logo {
    font-family: "Geologica", sans-serif;
    font-size: 2rem;
    background: linear-gradient(45deg, #eeeac4, #c9c6b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    margin: 0;
}

.copyright-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-social-links {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.footer .social-link {
    padding: 0;
    gap: 0;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    justify-content: center;
}

@media (max-width: 767px) {
    .footer .row {
        flex-direction: column;
    }
    .footer .row > * {
        text-align: center !important;
        margin-bottom: 20px;
    }
    .footer-social-links {
        justify-content: center;
    }
    .footer .row > *:last-child {
        margin-bottom: 0;
    }
}
@media (max-width: 768px) {
.sub-sponsor-card {
    padding: 5px;
    margin: 2px;
}
.sub-sponsor-logo {
    margin-top: 15px;
    padding-inline: 10px;
}

}

@media (max-width: 930px) {
  .sponsors-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 20px 0;
  }
  .card-footer {
    margin-bottom: 15px;
  }
  .sub-sponsor-action {
    padding: 8px 20px;
    font-size: 0.6rem;
    margin-top: 10px;
}

.sub-sponsor-card {
    height: 180px;
    padding-inline: 10px;
}

  .card-action {
    padding: 4px 20px;
    border-radius: 20px 0;
    position: absolute;
    bottom: 0px;
    right: 0px;
    margin-bottom: 0px;
  }
.card-footer .description {
    display:none;
}
  .bonus-badge {
    position: absolute;
    top: 0px;
    right: 0px;
    border-radius: 0 0 0 10px;
  }
  span.social-text {
    display: none;
  }
  .sub-sponsors-grid {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 20px;
    margin: 30px 0;
    justify-content: center;
    grid-gap: 2%;
  }
  .social-link {
    padding: 10px 20px;
    font-size: 0.9rem;
    justify-content: center;
    }

.footer-social-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
    margin: 10px;
    justify-items: center;
}
}
