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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
}

.navbar {
    background-color: #333;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-links a:hover {
    background-color: #555;
}

.dropdown {
    position: relative;
}

.dropdown label {
    color: white;
    margin-bottom: 0.5rem;
    display: block;
}

.dropdown-select {
    padding: 0.5rem;
    border-radius: 4px;
    border: none;
    background-color: white;
    cursor: pointer;
}

.container {
    width: 90%;
    margin: 2rem auto;
    background-color: white;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.feature-box {
    background-color: #f8f9fa;
    padding: 1.5rem;
    text-align: center;
    border-radius: 8px;
}

.footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-links.show {
    display: block;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        width: 100%;
    }

    .nav-links a {
        display: block;
        width: 100%;
        text-align: left;
    }

    .hamburger {
        display: block;
    }

    .container {
        width: 95%;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dropdown {
        width: 100%;
        margin: 0.5rem 0;
    }

    .dropdown-select {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .logo {
        font-size: 1.2rem;
    }
}

.mobile-notice {
    display: none; /* Hidden by default */
    background-color: #ffeb3b;
    padding: 10px;
    text-align: center;
    position: relative;
}

@media (max-width: 768px) and (orientation: portrait) {
    .mobile-notice {
        display: block;
    }
}

.notice-close {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

.donation-section {
    background-color: #fff;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.donation-section h2 {
    color: #e74c3c;
    margin-bottom: 1rem;
}

.donation-content {
    max-width: 600px;
    margin: 0 auto;
}

.donation-section ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.donation-section li {
    margin: 0.5rem 0;
    font-size: 1.1em;
}

.donation-section .join-btn {
    display: inline-block;
    margin-top: 1rem;
}

.upgrade-banner {
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    padding: 12px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.upgrade-link, .donate-link {
    text-decoration: none;
    padding: 8px 16px;
}

.pro-button {
    background-color: #28a745;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
}

.donate-button {
    background-color: #dc3545;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
}

.pro-button:hover {
    background-color: #218838;
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.donate-button:hover {
    background-color: #c82333;
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* New styles for locked resources */
.resources-link {
    position: relative;
    display: flex !important;
    align-items: center;
    gap: 8px;
    cursor: not-allowed !important;
    opacity: 0.9;
}

.lock-icon {
    font-size: 0.9em;
    opacity: 0.8;
}

.upgrade-tooltip {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.9em;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    display: none;
    z-index: 1000;
}

.resources-link:hover .upgrade-tooltip {
    display: block;
}

/* Update responsive styles */
@media (max-width: 768px) {
    .upgrade-tooltip {
        bottom: auto;
        left: 100%;
        top: 50%;
        transform: translateY(-50%);
    }
}
/* Add these styles for the donation image container and image */
.donation-image-container {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    padding: 0 15px;
}

.donation-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* Responsive styles for different screen sizes */
@media (max-width: 768px) {
    .donation-image-container {
        padding: 0 10px;
        margin: 15px auto;
    }
    
    .donation-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .donation-description {
        font-size: 14px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .donation-image-container {
        padding: 0 5px;
        margin: 10px auto;
    }
    
    .donation-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
}
.donate-banner {
    position: fixed;
    bottom: 10px; /* Adjust to place at the bottom of the viewport */
    right: 10px;  /* Align to the right side */
    background-color: #e74c3c; /* Eye-catching red */
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* Ensure it stays above other elements */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.donate-banner a {
    color: white;
    text-decoration: none;
}

.donate-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    background-color: #c0392b; /* Darker red on hover */
}
.telegram-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
}

.popup-content {
  position: relative;
  background-color: #fff;
  max-width: 500px;
  margin: 20px auto;
  padding: 25px;
  border-radius: 10px;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.popup-header {
  text-align: center;
  margin-bottom: 20px;
}

.telegram-logo {
  width: 80px;
  height: auto;
  margin-bottom: 15px;
}

.close-btn {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 28px;
  cursor: pointer;
  color: #666;
}

.close-btn:hover {
  color: #000;
}

.popup-body {
  text-align: center;
}

.urgent-msg {
  color: #ff3b30;
  font-weight: bold;
  font-size: 1.1em;
  margin: 15px 0;
}

.popup-body ul {
  text-align: left;
  margin: 20px auto;
  max-width: 300px;
}

.popup-body li {
  margin: 10px 0;
}

.join-btn {
  display: inline-block;
  background-color: #0088cc;
  color: white;
  padding: 15px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s;
}

.join-btn:hover {
  background-color: #006699;
}
