/* For gradient buttons */
.btn-gradient-purple {
    background: linear-gradient(to right, #3A005F , #A167B8 ) !important;
    color: white !important;
    border: none !important;
}

/* For gradient text */
.text-gradient-purple {
    background: linear-gradient(to right, #3A005F , #A167B8 ) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
}

/* --- Socials Gradient & Hover Effect --- */
.socials .social {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    padding: 15px 25px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: white;
    background-color: #3F007D;
    transition: all 0.3s ease-in-out;
}

.socials .social::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #3F007D, #5E20C0);
    z-index: 0;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    opacity: 1;
}

.socials .social:hover::before {
    opacity: 0.8;
    transform: scale(1.05);
}

.socials .social span {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.socials .social .left svg {
    fill: white;
    transition: fill 0.3s ease-in-out;
}

.socials .social .right svg {
    stroke: white;
    transition: stroke 0.3s ease-in-out;
}

.socials .social:hover .left svg {
    fill: #E0E0E0;
}

.socials .social:hover .right svg {
    stroke: #E0E0E0;
}

.socials .social:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.socials .social:hover .left {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
}

/* --- Navbar Text Links Styling --- */
.navbar .nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: white !important;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease-in-out;
    padding-bottom: 5px;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, #3F007D, #5E20C0);
    transition: width 0.3s ease-in-out;
}

.navbar .nav-link:hover {
    background: linear-gradient(to right, #3F007D, #5E20C0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    transform: translateY(-2px);
}

.navbar .nav-link:hover::after {
    width: 100%;
}

/* Navbar brand */
.navbar-brand span {
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Cart icon/button */
.navbar .cart a.btn.btn-gradient-purple {
    padding: 8px 12px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.navbar .cart a.btn.btn-gradient-purple svg.icon {
    width: 24px;
    height: 24px;
    fill: white;
}

.navbar .cart a.btn.btn-gradient-purple .count {
    background-color: white;
    color: #3F007D;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.75em;
    font-weight: bold;
}

/* Navbar toggler */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* --- Loading Screen Styles (NO ANIMATION) --- */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000; /* black theme */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.7s ease-out 1s, visibility 0.7s ease-out 1s;
}

/* Hidden state */
#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Loading text — plain white */
#loading-screen h1 {
    font-size: 3.5rem;
    font-weight: bold;
    color: white !important;
    background: none !important;
}

/* --- Popup Styles --- */
.social-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(to right, #3F007D, #5E20C0);
    color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out, transform 0.5s ease-out;
    max-width: 90%;
}

.social-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.social-popup h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #3A005F , #A167B8 ) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
}

.social-popup .discord-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background-color: #7289DA;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.social-popup .discord-link:hover {
    background-color: #677BC4;
    transform: translateY(-2px);
}

.social-popup .discord-link svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.social-popup .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.social-popup .close-btn:hover {
    color: #ffcccc;
    transform: rotate(90deg);
}