:root {
    --glow-color: #00ffff;
    --secondary-glow: #ff00ff;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #02040a;
    color: #e0e0e0;
    overflow-x: hidden;
}

.font-orbitron {
    font-family: 'Orbitron', sans-serif;
}

#aurora-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: #02040a;
}

.aurora-burst {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
}

.aurora-1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--glow-color), transparent 60%);
    top: -20%;
    left: -20%;
    animation: moveAurora1 25s infinite alternate ease-in-out;
}

.aurora-2 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--secondary-glow), transparent 60%);
    bottom: -30%;
    right: -25%;
    animation: moveAurora2 22s infinite alternate ease-in-out;
}

.aurora-3 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #4a00ff, transparent 60%);
    bottom: 10%;
    left: 5%;
    animation: moveAurora3 28s infinite alternate ease-in-out;
}

@keyframes moveAurora1 {
    from { transform: translate(-20%, -20%) scale(1); }
    to { transform: translate(20%, 20%) scale(1.2); }
}

@keyframes moveAurora2 {
    from { transform: translate(25%, 30%) scale(1); }
    to { transform: translate(-20%, -15%) scale(0.9); }
}

@keyframes moveAurora3 {
    from { transform: translate(5%, 10%) scale(0.8); }
    to { transform: translate(-10%, -20%) scale(1.1); }
}

.glass-card {
    background: rgba(10, 15, 30, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.glow-border {
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.2), 0 0 10px rgba(0, 255, 255, 0.1);
}

.product-card:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: rgba(0, 255, 255, 0.8);
    box-shadow: 0 0 20px var(--glow-color), 0 0 40px var(--glow-color);
}

.btn-primary {
    background: linear-gradient(45deg, var(--glow-color), var(--secondary-glow));
    color: white;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: all 0.5s ease;
    z-index: -1;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--glow-color), 0 0 30px var(--secondary-glow);
}

.btn-primary:hover:before {
    left: 100%;
}

.btn-primary:disabled {
    background: #555;
    cursor: not-allowed;
    box-shadow: none;
}

/* Payment Buttons */
.btn-payment {
    transition: all 0.3s ease;
}
.btn-payment:hover {
    transform: scale(1.05);
}
.btn-bkash {
    background-color: #d82a87; color: white;
}
.btn-bkash:hover { background-color: #c02172; box-shadow: 0 0 15px #d82a87; }
.btn-nagad {
    background-color: #F54D27; color: white;
}
.btn-nagad:hover { background-color: #e04523; box-shadow: 0 0 15px #F54D27; }
.btn-rocket {
    background-color: #8a2be2; color: white;
}
.btn-rocket:hover { background-color: #7b24cb; box-shadow: 0 0 15px #8a2be2; }


.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--glow-color);
    color: var(--glow-color);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--glow-color);
    color: #02040a;
    box-shadow: 0 0 15px var(--glow-color);
}

.tab-btn {
    position: relative;
    transition: color 0.3s ease;
}

.tab-btn.active {
    color: var(--glow-color);
    text-shadow: 0 0 10px var(--glow-color);
}

.tab-btn:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--glow-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.tab-btn.active:after {
    transform: scaleX(1);
}

/* Currency Switcher */
.currency-btn {
    transition: all 0.3s ease;
    color: #9ca3af; /* gray-400 */
}
.currency-btn.active {
    background-color: var(--glow-color);
    color: #02040a;
    text-shadow: none;
    box-shadow: 0 0 10px var(--glow-color);
}

/* Scroll-reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    animation: slideIn 0.4s ease;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #02040a;
}
::-webkit-scrollbar-thumb {
  background: var(--glow-color);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-glow);
}

/* Modal specific styles */
.modal-screen {
     animation: screenFadeIn 0.5s ease-in-out;
}
@keyframes screenFadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

/* Custom Chat Button Styles */
#custom-chat-button {
    animation: pulseGlow 2s infinite ease-in-out;
    transition: transform 0.3s ease;
}
#custom-chat-button:hover {
    transform: scale(1.1);
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 15px var(--glow-color), 0 0 30px var(--secondary-glow); }
    50% { box-shadow: 0 0 25px var(--glow-color), 0 0 50px var(--secondary-glow); }
    100% { box-shadow: 0 0 15px var(--glow-color), 0 0 30px var(--secondary-glow); }
}

.input-styled {
    background-color: rgba(10, 15, 30, 0.7);
    border: 1px solid rgba(0, 255, 255, 0.2);
}

/* Purchase & Survey Notification Popups */
.notification-popup {
    position: fixed;
    bottom: -100%;
    left: 1.5rem;
    z-index: 1001;
    transition: bottom 0.5s ease-in-out;
}
.notification-popup.show {
    bottom: 1.5rem;
}

.survey-question {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
