* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0d0d0d;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9998;
    opacity: 1;
    transition: opacity 1s ease;
}

.dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.dot {
    width: 15px;
    height: 15px;
    background-color: #ffffff;
    border-radius: 50%;
    animation: bounce 0.6s ease-in-out infinite;
}

.dot:nth-child(1) {
    animation-delay: 0s;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

#loading-text {
    margin-top: 20px;
    font-size: 1.2rem;
    color: #ccc;
    text-align: center;
}

.index-page .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80vh;
    text-align: center;
    gap: 5px;
}

.index-page .button-container {
    display: flex;
    align-items: center;
    gap: 5px;
}

.index-page h1 {
    font-size: 4rem;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.index-page p {
    font-size: 1.5rem;
    color: #b3b3b3;
}

:root {
    --glow-color: #ffffff;
    --glow-amount: 10px;
}

.index-page .search-bar {
    padding: 10px 20px;
    width: 450px;
    margin-top: 10px;
    border-radius: 25px;
    border: 2px solid transparent;
    outline: none;
    background-color: #333333;
    color: #ffffff;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    font-size: 1rem;
    transition: all 0.4s ease;
    animation: none;
}

.index-page .search-bar:focus {
    width: 470px;
    background-color: #444444;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.5), 0 0 var(--glow-amount) var(--glow-color);
    border-color: var(--glow-color);
    transform: scale(1.02);
}

.index-page .search-bar:focus:active {
    animation: none;
}

.index-page .search-bar:focus:not(:placeholder-shown) {
    animation: none;
}

.index-page .search-bar::placeholder {
    color: #aaaaaa;
    font-style: italic;
    transition: color 0.3s ease;
}

.index-page .search-bar:hover::placeholder,
.index-page .search-bar:focus::placeholder {
    color: #ffffff;
}


.index-page button {
    font-size: 1.2rem;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    padding: 15px 25px;
    width: 200px;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #1a1a1a;
    padding: 15px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.5);
}

.navbar-left {
    flex: 1;
    display: flex;
    align-items: center;
}

.logo {
    width: 40px;
    height: 40px;
    cursor: pointer;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

.navbar-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.navbar-right a {
    margin: 0 15px;
}

.navbar-right img {
    width: 30px;
    height: 30px;
    filter: invert(1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.navbar-right img:hover {
    transform: scale(1.1);
}

.content {
    margin-top: 100px;
    padding: 20px;
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.search-bar {
    padding: 10px 20px;
    width: 450px;
    margin-top: 10px;
    border-radius: 25px;
    border: none;
    outline: none;
    background-color: #333333;
    color: #ffffff;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    font-size: 1rem;
    transition: width 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
}

.search-bar:focus {
    width: 470px;
    background-color: #444444;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.5);
}

.search-bar:hover {
    width: 470px;
    background-color: #444444;
    box-shadow: 0px 5px 12px rgba(0, 0, 0, 0.4);
}

.search-bar::placeholder {
    color: #aaaaaa;
    font-style: italic;
}

p {
    font-size: 1.2rem;
    color: #b3b3b3;
    margin-top: 10px;
    margin-bottom: 10px;
}

button {
    background-color: #333333;
    color: #ffffff;
    border: 2px solid #555555;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    margin: 5px;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

button:hover {
    background-color: #007BFF;
    border-color: #0056b3;
    color: #ffffff;
    transform: scale(1.05);
}

.sigma {
    background-color: #333333;
    color: #ffffff;
    border: 2px solid #555555;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    margin: 5px;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.sigma:hover {
    background-color: #7289DA;
    border-color: #4b5fa6;
    color: #ffffff;
    transform: scale(1.05);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 30px;
}

.game-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    justify-items: center;
    padding: 0px;
}

.game {
    background-color: #1e1e1e;
    border-radius: 10px;
    border: 2px solid #484848;
    padding: 15px;
    width: 100%;
    max-width: 250px; 
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.game:hover {
    transform: scale(1.05);
}

.game img {
    width: 100%;
    border-radius: 10px;
}

.game h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-top: 15px;
}

.game p {
    font-size: 1rem;
    color: #bbb;
    margin-top: 10px;
}

.game button {
    background-color: #007BFF;
    border: none;
    padding: 8px 15px;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 15px;
}

.game button:hover {
    background-color: #0056b3;
}

.app {
    background-color: #1e1e1e;
    border-radius: 15px;
    border: 2px solid #484848;
    padding: 20px ;
    width: 100%;
    max-width: 250px; 
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.app:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.7);
}

.apps-thumbnail {
    width: 100%; 
    height: 82%; 
    object-fit: cover;
    border-radius: 12px; 
    margin-bottom: 15px;
}

.app h3 {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-top: 10px;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 1px;
}

.button a {
    text-decoration: none;
}

.button-link button {
    background-color: #28a745;
    color: #ffffff;
    padding: 12px 30px;
    font-size: 1.2rem;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.button-link button:hover {
    background-color: #d7d7d7;
    transform: scale(1.05);
}


.cool-link {
    text-decoration: none;
    color: #007bff;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s, transform 0.3s;
}

.cool-link:hover {
    color: #ff4500;
    transform: scale(1.1);
}

.cool-link:focus {
    outline: none;
    box-shadow: 0 0 5px #ff4500;
}

.contributors {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.pfp {
    cursor: pointer;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #979797;
    transition: transform 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.1);
}

.contribution-details {
    display: none;
    margin-top: 40px;
    text-align: center;
}

.contribution-details h2 {
    font-size: 2rem;
    color: #e0e0e0;
}

.contribution-details p {
    font-size: 1.5rem;
    color: #b3b3b3;
}

#panicKeySettings {
    background-color: #1b1b1b;
    border: 3px solid #979797;
    border-radius: 8px;
    padding: 30px 80px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 400px;
    width: 100%;
    margin-top: 100px;
  }
  
  #panicKeySettings h2 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 24px;
    color: #0077b6;
  }
  
  #currentPanicKey {
    text-align: center;
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
  }
  
  #instruction {
    font-size: 16px;
    color: #888;
    margin-bottom: 20px;
  }
  
  @media (max-width: 600px) {
    #panicKeySettings {
      padding: 15px;
      width: 90%;
    }
  
    #panicKeySettings h2 {
      font-size: 20px;
    }
  
    #currentPanicKey {
      font-size: 16px;
    }
  
    #instruction {
      font-size: 14px;
    }
  
    button {
      font-size: 14px;
      padding: 8px 15px;
    }
  }