
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    font-family: "Roboto", sans-serif;
    text-decoration: none;
    color: inherit; 

}


h1,h2,h3,h4{
    font-weight: 450;
    letter-spacing: -.0625rem;
}

:root{
    --gray-3: hsla(140, 6%, 20%, 1);
    --menu-content-color: #a60832;
    --body-bg-color: #ededed;
    --body-bg-color-dark: #1a1c1a;
    --content-color: black;
    --content-color-dark: #f7f7f7;
    --menu-content-color-dark: #B0B5B2;
}


/* Dark/Light Mode Toggle */
.theme-toggle {
    position: fixed;
    top: 20px;
    left: 0;
    width: 50px;
    height: 50px;
    border-radius: 0 8px 8px 0;
    background-color: var(--body-bg-color-dark);
    color: var(--content-color-dark);
    border: 1px solid var(--menu-content-color-dark);
    border-left: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background-color: var(--gray-3);
}

.theme-toggle i {
    font-size: 20px;
    transition: all 0.3s ease;
}

/* Hide the inactive icon */
.theme-toggle .fa-moon { display: none; }
body.light-mode .theme-toggle .fa-sun { display: none; }
body.light-mode .theme-toggle .fa-moon { display: block; }

/* Light mode styles */
body.light-mode {
    background-color: var(--body-bg-color);
    color: var(--content-color);
}

body.light-mode .menu ul{
    color: var(--menu-content-color);
}

body.light-mode .menu ul li:hover{
    color: #ec1b53 ;
}

body.light-mode .left ul,
body.light-mode .dates p {
    color: #686b6a;
    cursor: pointer;
    transition: all ease .3s;
}

body.light-mode .left ul li:hover{
    color: black;
}

body.light-mode .theme-toggle {
    background-color: var(--body-bg-color);
    color: var(--content-color);
    border: 1px solid var(--menu-content-color);
}


body.light-mode .bottom-box{
    background-color: #e0e0e0;
}




body{
    padding-top: 80px;
    /* background-color: var(--body-bg-color); */
    /* color: var(--content-color); */
    background-color: var(--body-bg-color-dark);
    color: var(--content-color-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1025px;
}

.menu ul{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    font-size: 14px;
    color: var(--menu-content-color-dark);
}

.menu ul li:hover{
    color: hsla(140, 6%, 94%, 1);
    cursor: pointer;
    transition: all ease .3s;
}

main{
    padding-top: 60px;
    width: 1025px;
    position: relative;
}

.main-div{
    /* padding-top: 60px; */
    display: flex;
    align-items: start;
    gap: 160px;
    
}

main .left ul{
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: var(--menu-content-color-dark);
    font-size: 14px;
}

main .left ul li:hover{
    color: hsla(140, 6%, 94%, 1);
    cursor: pointer;
    transition: all ease .3s;
}

main .right{
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding-right: 180px;
}

.right h1{
    font-size: 42px;
    font-weight: 450;
    line-height: 1;
}

.right .top-link{
    color: var(--menu-content-color-dark);
    font-size: 14px;
}

.right .info{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.right .info p{
    line-height: 1.6;
    font-size: 18px;
}

.main-links{
    display: flex;
    flex-direction: column;
    gap: 18px;
    border-bottom: 1px solid var(--gray-3);
    padding-bottom: 24px;
}

.right h2{
    font-size: 30px;
    font-weight: 450;
}

.links-content{
    display: flex;
    justify-content: space-between;
}

.links-content h3{
    font-weight: 450;
}

.links-info{
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 30px;
    width: 80%;
}

.links-info h3{
    font-size: 18px;
    text-decoration: underline;
}
.links-info h3:hover{
    cursor: pointer;
}

.links-info p{
    font-size: 14px;
    line-height: 22px;
}

.dates p{
    font-size: 10px;
    color: var(--menu-content-color-dark);
}


.bottom-box{
    background-color: hsla(140, 6%, 15%, 1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px;
    margin-top: 150px;
    border-radius: .5rem;
}

.box-left{
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 120px;
    /* background-color: red; */
}

.box-left h2{
    font-size: 30px;
}

.box-left p{
    font-size: 16.8px;
    line-height: 1.6;
}

.box-right{
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px 0px 20px 20px;
}

.box-right .box-right-first, .box-right .box-right-sec{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    gap: 20px;
}

.box-right p{
    font-size: 16px;
    line-height: 1.6;
    font-family: "VT323", sans-serif;

}

.box-right button{
    padding: 6px 14px;
    border: none;
    border-radius: 0.3rem;
}

.box-right-first button{
    background-color: #B2A3FF;
    color: #181b19;
}

.box-right-sec button{
    background-color: #eff1ef;
    color: #181b19;
}



.footer{
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-top: 140px;
    margin-bottom: 140px;
}

.footer-left{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 40%;
    padding-right: 140px;
}

.footer-left p{
    font-size: 12px;
    color: #89908b;
}

.footer-grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    column-gap: 60px;
}

.footer-grid div{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-grid div h4{
    font-size: 14.8;
    color: #89908b;
    font-weight: 400;
}
.footer-grid div p{
    font-size: 14px;
}


@media (max-width: 1084px) {
    nav, main {
        width: 100%;
        max-width: 100%;
        padding: 0 60px;
    }

    main{
        padding-top: 60px;
    }

    .main-div {
        flex-direction: column;
        gap: 50px;
    }

    body {
        padding: 80px 0;
    }

    main .right {
        padding-right: 0;
        width: 100%;
    }
}


nav i.fa-bars {
    display: none;
    cursor: pointer;
    font-size: 1.2rem;
}



@media (max-width: 560px) {
    main{
        padding: 20px;
    }
    nav{
        padding: 0 20px;
    }

    /* nav .menu ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        right: 20px;
        background-color: var(--body-bg-color-dark);
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
        z-index: 100;
    } */

    body.light-mode nav .menu ul {
        background-color: var(--body-bg-color);
    }

    nav i.fa-bars {
        display: block;
    }
    .theme-toggle{
        width: 30px;
        height: 30px;
    }

    .theme-toggle i{
        font-size: .8rem;
    }
}

nav i.fa-close{
    font-size: 1.2rem;
    display: none;
}

.mobile-menu{
    background-color: rgb(33, 33, 33);
    padding: 20px;
    position: absolute;
    top: 150px;
    right: 20px;
    border-radius: 8px;
    display: none;
}

.mobile-menu ul{
    display: flex;
    flex-direction: column;
    gap: 18px;
}

body.light-mode .mobile-menu{
    background-color: #e0e0e0;
}


@media (max-width: 921px){
    .bottom-box{
        flex-direction: column;
        gap: 18px;
        align-items: start;

    }
    .box-right{
        padding: 0;
    }
    .box-left{
        padding: 0;
    }
}

@media (max-width: 789px){
    
    .box-right{
        padding: 0;
        flex-direction: column;
        align-items: start;
        justify-content: start;
    }
    .bottom-box{
        padding: 20px;
    }
}

@media (max-width: 709px){
    .footer{
        flex-direction: column;
        gap: 40px;
    }
    .footer-left .rights{
        width: 300px;
    }

    .footer-grid{
        gap: 30px;
    }
}

.box-right button:hover{
    cursor: pointer;
  }

  .coming-soon{
    position: absolute;
    top: 10px;
    border: 1px solid #9e9e9e;
    padding: 8px 12px;
    border-radius: 6px;
    text-align: center;
  }

  .coming-soon a{
    font-weight: bold;
    text-decoration: underline;
  }


  @media (max-width: 560px) {
    .coming-soon{
        left: 10px;
        right: 10px;
        font-size: 13px;
    }
  }
  .top-link span{
    font-weight: bold;
  }

/* --- Add this new animation rule at the end of your CSS file --- */
@keyframes tap-effect {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.92); /* A gentler scale-down for the "tap" */
  }
  100% {
    transform: scale(1);
  }
}

/* --- Modify your existing .coming-soon a rule --- */
.coming-soon span {
  color: #DD209A;
  cursor: pointer;
  background: linear-gradient(to right, #5865F2, #EB459E);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: bold;

  /* --- Add/Update these two lines for the new tap animation --- */
  display: inline-block; /* Allows transform to work correctly on the link */
  /* animation: tap-effect 1.5s infinite ease-in-out; Apply the new tap animation */
}



  .coming-soon span{
    text-decoration: underline;
    font-weight: bold;
  }



  .popup-overlay {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
  }

  .popup-content {
    background-color: hsla(140, 6%, 15%, 1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  }

  .close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 2px;
    border-radius: 50%;
    height: 24px;
    width: 24px;
    display: flex
;
    align-items: center;
    justify-content: center;
    border: none;
  }

  .qr-image {
    width: 200px;
    margin: 20px 0;
  }

  .upi-id {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .copy-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
  }

  .copy-msg {
    color: green;
    font-size: 14px;
    margin-top: 5px;
  }

    body.light-mode .popup-content {
    background-color: #e0e0e0;
    color: var(--content-color);
  }

  .authors{
    text-decoration: underline;
  }

  /* --- Styling for Top Stats and Donations --- */
/* --- Styling for Top Stats and Donations --- */

.top-stats {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.top-link {
  margin: 0;
}

.donations {
  font-size: 0.9em;
  border-radius: 5px;
  width: 100%;
  color: #f7f7f7;  
  background-color: hsla(140, 6%, 15%, 1);
  padding: 12px 16px;
}

@media (max-width: 460px) {
  .donations {
    font-size: 0.8em;
    padding: 10px 14px;
  }
}
@media (max-width: 414px) {
  .donations {
    font-size: 0.7em;
    padding: 8px 12px;
  }
}

.donations a{
  text-decoration: underline;
}

body.light-mode .donations {
  background-color: #e0e0e0;
}

.donations p {
  margin: 0;
  line-height: 1.8;
}

.donations span {
  color: #f7f7f7;
}

/* --- Dark Mode Styles --- */

body.light-mode .donations {
  color: #686B6A; /* Text color for dark mode */
}

body.light-mode .donations span {
  color: #686B6A; /* Span color in dark mode for contrast and emphasis */
}

@media(max-width: 500px){
    .top-stats{
        gap: 10px;
    }
}


body.light-mode .top-link{
    color: #686B6A; 
}

.spt {
    text-decoration: underline;
    cursor: pointer;
}

/* --- Affiliate Section --- */
.affiliate-section {
  margin-top: 100px;
  width: 100%;
}

.affiliate-section h2 {
  font-size: 30px;
  text-align: center;
  margin-bottom: 20px;
}

.affiliate-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--menu-content-color-dark);
}

body.light-mode .affiliate-description {
  color: #686b6a;
}

.affiliate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.affiliate-item {
  background-color: hsla(140, 6%, 15%, 1);
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid transparent;
}

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

body.light-mode .affiliate-item {
  background-color: #e0e0e0;
  border: 1px solid #d1d1d1;
}

.affiliate-item img {
  width: 150px;
  height: 200px;
  object-fit: contain;
  border-radius: 4px;
  margin-bottom: 20px;
}

.affiliate-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 500;
}

.affiliate-item p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--menu-content-color-dark);
  margin-bottom: 25px;
  flex-grow: 1;
}

body.light-mode .affiliate-item p {
  color: #686b6a;
}

.affiliate-button {
  display: inline-block;
  padding: 10px 25px;
  background-color: #b2a3ff;
  color: #181b19;
  border-radius: 0.3rem;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  width: 100%;
}

.affiliate-button:hover {
  background-color: #9a8cff;
}

@media (max-width: 1084px) {
  .affiliate-section {
    padding: 0;
  }
}

/* --- Discord Icon --- */
.discord-link {
  position: fixed;
  bottom: 20px; /* Positioned below the theme toggle */
  right: 0;
  width: 50px;
  height: 50px;
  border-radius: 8px 0 0 8px;
  
  /* Default to dark mode styles */
  background-color: var(--body-bg-color-dark);
  color: var(--content-color-dark);
  border: 1px solid var(--menu-content-color-dark);
  border-right: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
  font-size: 24px;
}

.discord-link:hover {
  background-color: var(--gray-3); /* Matches the hover effect of the theme toggle */
}

.fa-discord {
  font-size: 20px;
  background: linear-gradient(to right, #5865F2, #EB459E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Light mode styles for the Discord icon */
body.light-mode .discord-link {
  background-color: var(--body-bg-color);
  color: var(--content-color);
  border: 1px solid var(--menu-content-color);
}

@media (max-width: 560px) {
  .discord-link {
    width: 36px;
    height: 36px;
  }
  .fa-discord {
    font-size: 18px;
  }
}