/* =======================
   Gradient Buttons
======================= */
.btn-gradient-purple {
    background: linear-gradient(to right, #3A005F, #A167B8);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gradient-purple:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

/* =======================
   Gradient Text
======================= */
.text-gradient-purple {
    background: linear-gradient(to right, #3A005F, #A167B8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* =======================
   Social Buttons
======================= */
.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
======================= */
.navbar .nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: white;
    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;
    transform: translateY(-2px);
}

.navbar .nav-link:hover::after {
    width: 100%;
}

.navbar-brand span {
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar .cart a.btn-gradient-purple {
    padding: 8px 12px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.navbar .cart a.btn-gradient-purple svg.icon {
    width: 24px;
    height: 24px;
    fill: white;
}

.navbar .cart a.btn-gradient-purple .count {
    background-color: white;
    color: #3F007D;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.75em;
    font-weight: bold;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.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");
}

/* =======================
   Loading Screen
======================= */
#loading-screen {
    position: fixed;
    inset: 0;
    background: linear-gradient(to bottom, #3F007D, #5E20C0);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.7s ease-out, visibility 0.7s ease-out;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#loading-screen h1 {
    font-size: 3.5rem;
    font-weight: bold;
    background: linear-gradient(to right, #3A005F, #A167B8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: pulse 2s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.05); opacity: 1; }
}

/* =======================
   Social Popup
======================= */
.social-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    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, visibility 0.5s ease, transform 0.5s ease;
    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);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.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);
}
/* =========================================================
   GLOBAL NEON COLOR TEXT (Animated gradient)
========================================================= */

:root{
  --neo-a: #ff4fd8;
  --neo-b: #9a6bff;
  --neo-c: #00fff0;
  --neo-d: #ffe066;
}

@keyframes neoHue {
  0%   { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}
@keyframes neoFlow {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

h1,h2,h3,h4,h5,h6,
.hero h1, .hero h2, .hero h3{
  background: linear-gradient(90deg, var(--neo-a), var(--neo-b), var(--neo-c), var(--neo-d), var(--neo-a));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;

  text-shadow:
    0 0 14px rgba(255,79,216,.20),
    0 0 20px rgba(154,107,255,.14),
    0 0 26px rgba(0,255,240,.10);

  animation: neoFlow 2.6s linear infinite, neoHue 8s linear infinite;
}

a, a:visited{
  color: rgba(220,205,255,.95) !important;
  text-shadow:
    0 0 10px rgba(154,107,255,.22),
    0 0 12px rgba(255,79,216,.14);
}

a:hover{
  background: linear-gradient(90deg, var(--neo-a), var(--neo-b), var(--neo-c), var(--neo-d), var(--neo-a));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  animation: neoFlow 1.2s linear infinite, neoHue 6s linear infinite;
}

.price, [class*="price"], [class*="amount"], [class*="total"], .badge, [class*="badge"]{
  background: linear-gradient(90deg, var(--neo-d), var(--neo-a), var(--neo-c), var(--neo-b), var(--neo-d));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;

  text-shadow:
    0 0 12px rgba(255,224,102,.18),
    0 0 18px rgba(0,255,240,.10);

  animation: neoFlow 2.0s linear infinite, neoHue 10s linear infinite;
}

button, .btn, [class*="btn"]{
  color: rgba(255,255,255,.96) !important;
  text-shadow:
    0 0 10px rgba(255,79,216,.14),
    0 0 12px rgba(154,107,255,.10);
}

p, span, li, small, .text-muted, [class*="muted"]{
  color: rgba(235,225,255,.86) !important;
  text-shadow: 0 0 10px rgba(154,107,255,.08);
}

input, textarea, select{
  color: rgba(255,255,255,.92) !important;
  text-shadow: none !important;
  filter: none !important;
  background-clip: initial !important;
}
input::placeholder, textarea::placeholder{
  color: rgba(255,255,255,.60) !important;
  text-shadow: none !important;
}