/* DEMON SHOP - Global Styles */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;900&family=Inter:wght@400;500;600&family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

:root {
    --primary: #ffb4ab;
    --primary-container: #dc2626;
    --secondary: #ffb95f;
    --secondary-container: #ee9800;
    --background: #0e0e0e;
    --surface: #131313;
    --on-surface: #e5e2e1;
    --on-surface-variant: #e6bdb8;
}

body {
    background-color: var(--background);
    color: var(--on-surface);
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 32px 32px;
    font-family: 'Inter', sans-serif;
}

/* Glassmorphism */
.glass-panel {
    background: rgba(28, 27, 27, 0.4);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-card {
    background: rgba(32, 31, 31, 0.5);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    background: rgba(40, 39, 39, 0.6);
    border-color: rgba(255, 180, 171, 0.3);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5), 0 0 20px rgba(220, 38, 38, 0.1);
}

/* Neon Glows */
.neon-glow-red {
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.3);
}

.neon-glow-red:hover {
    box-shadow: 0 0 25px rgba(220, 38, 38, 0.6);
}

.neon-red-glow:hover {
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.4);
    border-color: #dc2626;
}

.neon-gold-glow:hover {
    box-shadow: 0 0 20px rgba(255, 185, 95, 0.4);
    border-color: #ffb95f;
}

/* Borders */
.gold-border {
    border: 1px solid transparent;
    background: linear-gradient(#1c1b1b, #1c1b1b) padding-box,
                linear-gradient(to right, #ee9800, #ffddb8, #ee9800) border-box;
}

.gold-metallic-border {
    border: 2px solid transparent;
    background-image: linear-gradient(#0b0b0b, #0b0b0b), linear-gradient(to bottom right, #ffb95f, #eec200, #ffddb8);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 0 15px rgba(238, 194, 0, 0.2);
}

/* Animations */
.button-shine {
    position: relative;
    overflow: hidden;
}

.button-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: 0.5s;
    pointer-events: none;
}

.button-shine:hover::after {
    left: 100%;
    top: 100%;
}

.shine-sweep {
    position: relative;
    overflow: hidden;
}

.shine-sweep::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 45%, rgba(255,255,255,0.1) 50%, transparent 55%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.shine-sweep:hover::after {
    transform: translateX(100%);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.scanline {
    background: linear-gradient(to bottom, transparent 50%, rgba(220, 38, 38, 0.05) 50%);
    background-size: 100% 4px;
}

/* Text Effects */
.gold-gradient-text {
    background: linear-gradient(180deg, #ffddb8 0%, #ffb95f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Utilities */
.block-texture {
    background-image: linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 32px 32px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: rgba(220, 38, 38, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(220, 38, 38, 0.5);
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Text Shimmer */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.text-shimmer {
    background: linear-gradient(90deg, #ffb4ab, #ffb95f, #ffb4ab);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

/* Toast Animations */
@keyframes slide-in-up {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.toast-in {
    animation: slide-in-up 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
