* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a {
  text-decoration: none;
}
body {
    background: #0e0e0e;
    color: #e6e6e6;
    font-family: 'Manrope', sans-serif;
    overflow-x: hidden;
}

#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0e0e0e, #161616);
    z-index: -1;
    animation: gradientShift 25s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

.form-container {
    position: relative;
    background: linear-gradient(135deg, #1c1c1c, #2a2a2a);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 0, 127, 0.2);
    border: 1px solid rgba(255, 0, 127, 0.2);
    animation: slideIn 0.3s ease;
    z-index: 1001;
    margin: auto;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-header h2 i {
    color: #ff007f;
}

.form-subtitle {
    color: #a8a8b8;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e6e6e6;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group label i {
    color: #ff007f;
    width: 16px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 0, 127, 0.2);
    border-radius: 10px;
    color: #e6e6e6;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Manrope', sans-serif;
}

.form-group input:focus {
    outline: none;
    border-color: #ff007f;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 0, 127, 0.1);
}

.form-group input::placeholder {
    color: #6b7280;
}

.btn-login-submit {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(45deg, #ff007f, #ff4da6);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-family: 'Manrope', sans-serif;
}

.btn-login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 127, 0.4);
}

.btn-login-submit:active {
    transform: translateY(0);
}

.form-footer {
    margin-top: 1.5rem;
    text-align: center;
}

.form-footer p {
    color: #a8a8b8;
    font-size: 0.9rem;
}

.form-footer a {
    color: #ff007f;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.form-footer a:hover {
    color: #ff4da6;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    padding: 0;
    background: rgba(255, 255, 255, 0.1);
    color: #ff007f;
    font-size: 18px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.close-modal:hover {
    background: rgba(255, 0, 127, 0.3);
    transform: rotate(90deg);
    color: #fff;
}

/* Error message styling for login form */
#login-error {
    color: #ff4d4d;
    margin-bottom: 1rem;
    font-size: 14px;
    padding: 12px;
    background: rgba(255, 77, 77, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 77, 77, 0.3);
    text-align: center;
    display: none;
}

#login-error.show {
    display: block;
}

/* Premium Modal Styles */
.premium-modal-container {
    position: relative;
    background: linear-gradient(135deg, #1c1c1c, #2a2a2a);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 1000px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 0, 127, 0.3);
    border: 1px solid rgba(255, 0, 127, 0.2);
    animation: slideIn 0.3s ease;
    z-index: 1001;
    margin: auto;
}

.premium-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.premium-modal-header h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.premium-modal-header h2 i {
    color: #ffd700;
}

.premium-subtitle {
    color: #a8a8b8;
    font-size: 1rem;
}

.premium-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.premium-card {
    background: linear-gradient(135deg, #1c1c1c, #252525);
    border-radius: 15px;
    padding: 1.5rem;
    border: 2px solid rgba(255, 0, 127, 0.1);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.premium-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 127, 0.3);
    box-shadow: 0 10px 30px rgba(255, 0, 127, 0.2);
}

.premium-card-elite {
    border: 2px solid rgba(255, 0, 127, 0.5);
    background: linear-gradient(135deg, #1c1c1c, #2a1a2a);
    box-shadow: 0 0 30px rgba(255, 0, 127, 0.3);
}

.premium-card-elite:hover {
    box-shadow: 0 0 40px rgba(255, 0, 127, 0.5);
    transform: translateY(-8px) scale(1.02);
}

.elite-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(45deg, #ff007f, #ff4da6);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.4);
    z-index: 10;
}

.elite-badge i {
    color: #ffd700;
}

.premium-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 0, 127, 0.1);
}

.premium-card-header h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.premium-price {
    color: #ff007f;
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.premium-price span {
    font-size: 1rem;
    color: #a8a8b8;
    font-weight: 400;
}

.premium-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.premium-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #e6e6e6;
    font-size: 0.9rem;
}

.premium-features li i.fa-check {
    color: #00cc00;
    font-size: 0.85rem;
}

.premium-features li i.fa-times {
    color: #ff4d4d;
    font-size: 0.85rem;
}

.premium-card-btn {
    width: 100%;
    padding: 12px 24px;
    background: linear-gradient(45deg, #ff007f, #ff4da6);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: block;
    font-family: 'Manrope', sans-serif;
}

.premium-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 127, 0.4);
}

.premium-card-btn:disabled {
    background: #2a2a2a;
    color: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.premium-card-btn-elite {
    background: linear-gradient(45deg, #ff007f, #ff4da6);
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.4);
    position: relative;
    overflow: hidden;
}

.premium-card-btn-elite::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: left 0.5s;
}

.premium-card-btn-elite:hover::before {
    left: 100%;
}

.premium-payment-methods {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 0, 127, 0.1);
}

.payment-methods-title {
    color: #a8a8b8;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.payment-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ff007f;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 0, 127, 0.2);
    position: relative;
    gap: 2px;
}

.payment-icon:hover {
    background: rgba(255, 0, 127, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 127, 0.3);
}

.payment-label {
    font-size: 0.6rem;
    font-weight: 700;
    color: #ff007f;
    margin-top: -2px;
}

@media (max-width: 768px) {
    .premium-modal-container {
        padding: 1.5rem;
        max-width: 95%;
    }
    
    .premium-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .premium-cards-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .premium-card {
        padding: 1.25rem;
    }
    
    .premium-card-header h3 {
        font-size: 1.25rem;
    }
    
    .premium-price {
        font-size: 1.75rem;
    }
    
    .premium-features li {
        font-size: 0.85rem;
    }
    
    .payment-icons {
        gap: 0.75rem;
    }
    
    .payment-icon {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .premium-modal-container {
        padding: 1rem;
    }
    
    .premium-modal-header h2 {
        font-size: 1.25rem;
    }
    
    .premium-card {
        padding: 1rem;
    }
    
    .premium-price {
        font-size: 1.5rem;
    }
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: #1c1c1c;
    border-bottom: 1px solid rgba(255, 0, 127, 0.15);
    flex-wrap: wrap; /* Allow navbar items to wrap on small screens */
}

.logo {
    font-size: 24px; /* Reduced for mobile */
    font-weight: 800;
    color: #ff007f;
    letter-spacing: -0.8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Hamburger Menu Button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background: #ff007f;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Sidebar */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    max-width: 85%;
    height: 100%;
    background: linear-gradient(135deg, #1c1c1c, #2a2a2a);
    border-left: 1px solid rgba(255, 0, 127, 0.2);
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 0, 127, 0.2);
}

.mobile-menu-header .logo {
    font-size: 22px;
    font-weight: 800;
    color: #ff007f;
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #ff007f;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.mobile-menu-close:hover {
    background: rgba(255, 0, 127, 0.3);
    transform: rotate(90deg);
    color: #fff;
}

.mobile-menu-content {
    padding: 10px 0 20px 0;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    color: #e6e6e6;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: transparent;
    border-left: none;
    border-right: none;
    border-top: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
}

.mobile-menu-item:hover {
    background: rgba(255, 0, 127, 0.1);
    color: #ff007f;
    padding-left: 24px;
}

.mobile-menu-item i {
    width: 20px;
    color: #ff007f;
    font-size: 18px;
}

.mobile-menu-item.mobile-user-info {
    background: rgba(255, 0, 127, 0.1);
    color: #ff007f;
    font-weight: 600;
    cursor: default;
}

.mobile-menu-item.mobile-user-info:hover {
    padding-left: 20px;
    background: rgba(255, 0, 127, 0.15);
}

.mobile-login-btn {
    background: linear-gradient(45deg, #ff007f, #ff4da6);
    color: #fff;
    font-weight: 700;
    margin: 20px;
    padding: 16px 20px;
    border-radius: 10px;
    justify-content: center;
    border: none;
    width: calc(100% - 40px);
    box-sizing: border-box;
}

.mobile-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 127, 0.4);
}

.mobile-login-btn i {
    color: #ffd700;
}

/* User Menu & Dropdown */
.user-menu {
    position: relative;
    display: inline-block;
}

.user-dropdown * {
    display: block !important;
    white-space: nowrap !important;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 0, 127, 0.2);
    border-radius: 12px;
    color: #e6e6e6;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
}

.user-menu-btn:hover {
    background: rgba(255, 0, 127, 0.1);
    border-color: rgba(255, 0, 127, 0.4);
}

.user-menu-btn i:first-child {
    font-size: 20px;
    color: #ff007f;
}

.user-menu-btn i:last-child {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.user-menu-btn.active i:last-child {
    transform: rotate(180deg);
}

.username {
    color: #e6e6e6;
    font-weight: 600;
}

.user-dropdown {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    right: 0 !important;
    background: linear-gradient(135deg, #1c1c1c, #2a2a2a) !important;
    border: 1px solid rgba(255, 0, 127, 0.2) !important;
    border-radius: 12px !important;
    min-width: 220px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: all 0.3s ease !important;
    z-index: 1000 !important;
    overflow: hidden !important;
    display: none !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
}

.user-dropdown.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: flex !important;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 12px 16px;
    color: #e6e6e6;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    width: 100%;
    box-sizing: border-box;
}

.dropdown-item i {
    width: 18px;
    text-align: center;
    color: #ff007f;
}

.dropdown-item:hover {
    background: rgba(255, 0, 127, 0.1);
    color: #fff;
}

.dropdown-item.premium-item {
    background: linear-gradient(90deg, rgba(255, 0, 127, 0.1), transparent);
}

.dropdown-item.premium-item i {
    color: #ffd700;
}

.dropdown-item.logout-item {
    color: #ff4d4d;
}

.dropdown-item.logout-item i {
    color: #ff4d4d;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 0, 127, 0.2);
    margin: 8px 0;
}

/* Premium & Discord Buttons */
.premium-btn-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 18px;
    background: linear-gradient(45deg, #ff007f, #ff4da6);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Manrope', sans-serif;
    text-decoration: none;
}

.premium-btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 127, 0.4);
}

.premium-btn-nav i {
    font-size: 16px;
    color: #ffd700;
}

/* Show Premium text on desktop, hide on mobile */
.premium-btn-nav .premium-text {
    display: inline;
}

@media (max-width: 768px) {
    .premium-btn-nav .premium-text {
        display: none;
    }
    
    .premium-btn-nav {
        padding: 10px 14px;
    }
    
    .premium-btn-nav i {
        margin: 0;
    }
}

.discord-btn-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 18px;
    background: rgba(88, 101, 242, 0.2);
    border: 1px solid rgba(88, 101, 242, 0.4);
    border-radius: 12px;
    color: #5865f2;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Manrope', sans-serif;
    text-decoration: none;
}

.discord-btn-nav:hover {
    background: rgba(88, 101, 242, 0.3);
    border-color: rgba(88, 101, 242, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.3);
}

.discord-btn-nav i {
    font-size: 16px;
}

/* Menu Dropdown */
.menu-dropdown {
    position: relative;
    display: inline-block;
}

.menu-dropdown-content {
    flex-direction: column !important;
}

.menu-dropdown-content .dropdown-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
}

.menu-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 0, 127, 0.2);
    border-radius: 12px;
    color: #e6e6e6;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Manrope', sans-serif;
}

.menu-dropdown-btn:hover {
    background: rgba(255, 0, 127, 0.1);
    border-color: rgba(255, 0, 127, 0.4);
}

.menu-dropdown-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
    margin-left: 0.5rem;
}

.menu-dropdown-btn.active i {
    transform: rotate(180deg);
}

.menu-dropdown-content {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    right: 0 !important;
    background: linear-gradient(135deg, #1c1c1c, #2a2a2a) !important;
    border: 1px solid rgba(255, 0, 127, 0.2) !important;
    border-radius: 12px !important;
    min-width: 220px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: all 0.3s ease !important;
    z-index: 1000 !important;
    overflow: hidden !important;
    display: none !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
}

.menu-dropdown-content.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: flex !important;
}

/* Login Button Nav */
.login-btn-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 20px;
    background: linear-gradient(45deg, #ff007f, #ff4da6);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Manrope', sans-serif;
}

.login-btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 127, 0.4);
}

.login-btn-nav i {
    font-size: 16px;
    color: #ffd700;
}

.login-btn {
    display: inline-block; /* Ensures both <a> and <button> behave the same */
    text-align: center;
    padding: 10px 20px;
    background: linear-gradient(45deg, #ff007f, #ff4da6);
    border: none;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 900;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    cursor: pointer;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 127, 0.4);
}

.search-container {
    padding: 16px 24px;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}

.search-bar {
    width: 100%;
    max-width: 450px;
    padding: 12px 16px 12px 40px; /* Adjusted padding for icon */
    border: none;
    border-bottom: 2px solid rgba(255, 0, 127, 0.3);
    background: transparent;
    color: #e6e6e6;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-bar:focus {
    border-color: #ff007f;
    box-shadow: 0 2px 8px rgba(255, 0, 127, 0.3);
}

.search-icon {
    position: absolute;
    left: 32px; /* Adjusted for mobile */
    top: 50%;
    transform: translateY(-50%); /* Center vertically */
    color: #ff007f;
    font-size: 16px; /* Slightly smaller */
    pointer-events: none;
}
.image-wrapper {
    position: relative;
}

.hot-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(45deg, #ff0000, #ff4d4d);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

@media (max-width: 768px) {
    .hot-badge {
        font-size: 10px;
        padding: 3px 6px;
    }
}
.creator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

.loading-more {
    text-align: center;
    padding: 2rem;
    color: #a8a8b8;
    font-size: 1rem;
}

.loading-more::after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

.creator-card {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 0, 127, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.creator-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(255, 0, 127, 0.3);
    border-color: rgba(255, 0, 127, 0.3);
}

.creator-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    filter: blur(0.2px);
    transition: filter 0.3s ease;
}

.creator-card:hover img,
.creator-card:active img,
.creator-card:focus img,
.creator-card.touched img {
    filter: blur(0px);
}

.creator-card h2 {
    font-size: 1.3rem;
    margin: 1rem 1.2rem 0.5rem;
    color: #fff;
    font-weight: 700;
    line-height: 1.3;
}

.card-metadata {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 1.2rem 0.75rem;
    font-size: 0.85rem;
    color: #a8a8b8;
}

.card-metadata-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.card-metadata-item svg {
    width: 16px;
    height: 16px;
    color: #ff007f;
}

.upload-time {
    color: #888;
    font-size: 0.8rem;
    margin: 0 1.2rem 1rem;
}

.card-watermark {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 0, 127, 0.9);
    color: #fff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 5;
    white-space: nowrap;
}

.creator-card p {
    margin: 0 0.8rem 0.8rem;
    color: #ccc;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 1.2rem 1.2rem;
    padding: 0.85rem 1.2rem;
    background: #000;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn:hover {
    background: #1a1a1a;
    border-color: rgba(255, 0, 127, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 127, 0.3);
}

.btn svg {
    width: 18px;
    height: 18px;
}

.tabs {
    display: flex;
    padding: 16px 24px;
    max-width: 1280px;
    margin: 0 auto;
    flex-wrap: wrap; /* Allow tabs to wrap */
    gap: 10px; /* Space between tabs */
}

.tab {
    padding: 10px 20px;
    background: #1c1c1c;
    color: #ff007f;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.tab:hover {
    background: #ff007f;
    color: #fff;
}

.tab.active {
    background: linear-gradient(45deg, #ff007f, #ff4da6);
    color: #fff;
}

/* Removed duplicate form-container styles - using the modern design above */

.error {
    color: #ff4da6;
    margin-bottom: 1rem;
    font-size: 14px;
}

.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 12px 16px;
    background: linear-gradient(45deg, #ff007f, #ff4da6);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.pagination {
    text-align: center;
    padding: 24px 0;
    max-width: 1280px;
    margin: 0 auto;
}

.pagination a {
    display: inline-block;
    padding: 10px 16px;
    margin: 0 4px;
    background: #1c1c1c;
    color: #ff007f;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: background 0.3s ease, color 0.3s ease;
}

.pagination a:hover {
    background: #ff007f;
    color: #fff;
}

.pagination a.active {
    background: linear-gradient(45deg, #ff007f, #ff4da6);
    color: #fff;
}

.web-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    background: #1c1c1c;
    color: #e6e6e6;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.web-alert.show {
    opacity: 1;
}

.web-alert.success {
    border-left: 4px solid #00cc00;
}

.web-alert.error {
    border-left: 4px solid #ff4da6;
}

.close-alert {
    background: none;
    border: none;
    color: #e6e6e6;
    font-size: 16px;
    cursor: pointer;
}

/* Mobile navbar right section */
.navbar-right-mobile {
    display: none;
    align-items: center;
    gap: 12px;
}

.premium-btn-mobile {
    padding: 10px 14px !important;
    min-width: auto;
}

.premium-btn-mobile .premium-text {
    display: none !important;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
    }
    
    .navbar-right-mobile {
        display: flex;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-overlay {
        display: block;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .mobile-menu-close {
        display: none;
    }
    
    .login-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .search-container {
        padding: 12px 16px;
    }
    
    .search-bar {
        max-width: 100%;
        padding: 10px 12px 10px 36px;
        font-size: 14px;
    }
    
    .search-icon {
        left: 24px;
        font-size: 14px;
    }
    
    .creator-grid {
        grid-template-columns: 1fr;
        padding: 1rem 12px;
        gap: 1.5rem;
    }
    
    .creator-card img {
        height: 300px;
    }
    
    .card-watermark {
        bottom: 50px;
        font-size: 0.7rem;
        padding: 3px 10px;
    }
    
    .creator-card h2 {
        font-size: 1.2rem;
    }
    
    .tabs {
        flex-direction: column;
        padding: 12px 16px;
    }
    
    .tab {
        width: 100%;
        text-align: center;
        margin-bottom: 8px;
    }
    
    /* Login form container - using modern design */
    #loginModal .form-container {
        margin: 1rem 12px;
        padding: 1.5rem;
        max-width: 100%;
    }
    
    #loginModal .form-container .form-group input {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    #loginModal .form-container .btn-login-submit {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .pagination {
        padding: 16px 0;
    }
    
    .pagination a {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .back-to-top {
        bottom: 16px;
        right: 16px;
        padding: 10px 14px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 20px;
    }
    
    .login-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .search-bar {
        padding: 8px 15px px 32px;
        font-size: 12px;
    }
    
    .search-icon {
        left: 32px;
        font-size: 15px;
    }
    
    .creator-card img {
        height: 500px;
    }
    
    .creator-card h2 {
        font-size: 1.1rem;
    }
    
    #loginModal .form-container .form-header h2 {
        font-size: 1.5rem;
    }
}
/* Style inputs and selects in edit-card-form */
.creator-card .edit-card-form input,
.creator-card .edit-card-form select {
    width: 100%;
    padding: 12px 16px;
    margin: 10px 0;
    background: #2a2a2a;
    border: 1px solid rgba(255, 0, 127, 0.3);
    color: #e6e6e6;
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Manrope', sans-serif;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.creator-card .edit-card-form input:focus,
.creator-card .edit-card-form select:focus {
    outline: none;
    border-color: #ff007f;
    box-shadow: 0 0 8px rgba(255, 0, 127, 0.3);
}

.creator-card .edit-card-form select {
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23ff007f" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.creator-card .edit-card-form input::placeholder {
    color: #888;
    opacity: 1;
}

/* Style error messages in edit-card-form */
.creator-card .error {
    color: #ff4da6;
    margin: 10px 0;
    font-size: 14px;
    text-align: center;
}

/* Add padding to edit form for better spacing */
.creator-card .edit-card-form {
    padding: 0.5rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .creator-card .edit-card-form input,
    .creator-card .edit-card-form select {
        padding: 10px 14px;
        font-size: 14px;
        margin: 8px 0;
    }
    
    .creator-card .error {
        font-size: 13px;
    }
    
    .creator-card .edit-card-form {
        padding: 0.3rem;
    }
}

@media (max-width: 480px) {
    .creator-card .edit-card-form input,
    .creator-card .edit-card-form select {
        padding: 8px 12px;
        font-size: 12px;
        margin: 6px 0;
    }
}
.small-svg {
    width: 25px; /* 12px, smaller than w-4 (1rem) */
    height: 25px;
    vertical-align: middle; /* Align with text */
    fill: currentColor; /* Inherit color from parent (accent-white sets to white) */
}

/* Ensure the SVG aligns nicely in the button */
.btn .small-svg {
    margin-right: 0.5rem; /* Matches mr-2 (0.5rem) */
}

/* Adjust for mobile */
@media (max-width: 768px) {
    .small-svg {
        width: 0.625rem;
        height: 0.625rem;
    }
    
    .btn .small-svg {
        margin-right: 0.4rem;
    }
}

/* Premium Button */
.premium-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border: 2px solid transparent;
    border-radius: 25px;
    background: linear-gradient(#0e0e0e, #0e0e0e) padding-box, linear-gradient(90deg, #ff007f, #ff4da6) border-box;
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 0, 127, 0.4), inset 0 0 8px rgba(255, 0, 127, 0.3);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.premium-button::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(90deg, #ff007f, #ff4da6);
    filter: blur(0px);
    opacity: 0.7;
    z-index: -1;
    animation: pulse 1.5s infinite alternate;
    border-radius: 27px;
}

.premium-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    animation: shimmer 2s infinite;
}

.premium-button svg {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    fill: #fff;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.05); opacity: 0.9; }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.premium-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 0, 127, 0.6), inset 0 0 12px rgba(255, 0, 127, 0.5);
}

.premium-button:hover::before {
    filter: blur(12px);
    opacity: 1;
}

/* Support SVG */
.support-svg {
    width: 30px;
    height: 30px;
    fill: #ff007f;
    transition: transform 0.3s ease;
    animation: pulse 2s infinite;
    vertical-align: middle;
}

.support-svg:hover {
    transform: scale(1.2);
}

.support-svg-link {
    display: inline-flex;
    align-items: center;
    padding: 10px;
    text-decoration: none;
}

@media (max-width: 768px) {
    .support-svg {
        width: 30px;
        height: 30px;
    }
    .support-svg-link {
        padding: 8px;
    }
    .premium-button {
        padding: 6px 12px;
        font-size: 12px;
    }
    .premium-button svg {
        width: 14px;
        height: 14px;
    }
}