/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #1a0e0e;
    --tertiary-bg: #2a1515;
    --accent-red: #8b0000;
    --accent-gold: #ffd700;
    --accent-purple: #4b0082;
    --accent-orange: #ff4500;
    --blood-red: #cc0000;
    --dark-red: #660000;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-accent: #ffd700;
    --card-bg: rgba(42, 21, 21, 0.8);
    --border-color: rgba(139, 0, 0, 0.3);
    --ritual-glow: rgba(255, 215, 0, 0.6);
    --shadow-dark: 0 8px 32px rgba(0, 0, 0, 0.8);
    --gradient-main: radial-gradient(ellipse at center, #1a0e0e 0%, #0a0a0a 100%);
    --gradient-ritual: linear-gradient(45deg, #8b0000, #4b0082, #000000);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--gradient-main);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"><text y="18" font-size="16">⚡</text></svg>'), auto;
}

/* Dark Ritual Background */
.ritual-chamber {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(139, 0, 0, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 80% 80%, rgba(75, 0, 130, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.8) 0%, transparent 50%),
        repeating-conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(139, 0, 0, 0.05) 36deg, transparent 72deg);
    pointer-events: none;
    z-index: -3;
    animation: ritual-pulse 10s infinite ease-in-out;
}

@keyframes ritual-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Floating Occult Symbols */
.symbols-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: -2;
}

.symbol {
    position: absolute;
    font-size: 2rem;
    color: var(--accent-gold);
    opacity: 0.3;
    animation: float-ritual 8s infinite ease-in-out;
}

.symbol.pentagram { top: 10%; left: 15%; animation-delay: 0s; }
.symbol.ankh { top: 25%; left: 85%; animation-delay: 2s; }
.symbol.cross { top: 70%; left: 10%; animation-delay: 4s; }
.symbol.moon { top: 80%; left: 80%; animation-delay: 6s; }
.symbol.sun { top: 40%; left: 60%; animation-delay: 1s; }

@keyframes float-ritual {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.2; 
    }
    50% { 
        transform: translateY(-20px) rotate(180deg); 
        opacity: 0.6; 
    }
}

/* Ritual Candles Background */
.candles-background {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: -1;
    pointer-events: none;
}

.candle {
    position: absolute;
    width: 4px;
    height: 60px;
    background: linear-gradient(to top, #8b0000, #ffd700);
    border-radius: 2px;
    animation: candle-flicker 2s infinite ease-in-out alternate;
}

.candle:nth-child(1) { left: 20%; animation-delay: 0s; }
.candle:nth-child(2) { left: 50%; animation-delay: 0.7s; }
.candle:nth-child(3) { left: 80%; animation-delay: 1.4s; }

.candle::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -2px;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #ffd700, #ff4500);
    border-radius: 50%;
    animation: flame-dance 1s infinite ease-in-out alternate;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

@keyframes candle-flicker {
    0% { height: 60px; }
    100% { height: 65px; }
}

@keyframes flame-dance {
    0% { transform: scale(1) rotate(-2deg); }
    100% { transform: scale(1.1) rotate(2deg); }
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Cinzel', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--accent-red);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(139, 0, 0, 0.5);
}

/* Live Activity Feed */
.live-activity-feed {
    position: fixed;
    top: 70px; /* Below navbar */
    left: 0;
    right: 0;
    z-index: 999;
    background: linear-gradient(135deg, rgba(26, 14, 14, 0.98), rgba(139, 0, 0, 0.98));
    backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(255, 215, 0, 0.5);
    padding: 8px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.live-activity-feed.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.live-activity-feed.minimized {
    padding: 5px 0;
}

.live-activity-feed.minimized .activity-cards-container {
    display: none;
}

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    margin-bottom: 8px;
    gap: 20px;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.live-dot {
    width: 10px;
    height: 10px;
    background: #ff0000;
    border-radius: 50%;
    animation: pulse-live 1.5s infinite;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
}

@keyframes pulse-live {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

.live-text {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.activity-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.stat-item i {
    width: 16px;
    height: 16px;
    color: var(--accent-gold);
}

.activity-cards-container {
    position: relative;
    padding: 0 60px;
}

.activity-cards {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.activity-cards::-webkit-scrollbar {
    display: none;
}

.activity-card {
    flex: 0 0 auto;
    width: 120px;
    background: rgba(42, 21, 21, 0.8);
    border-radius: 8px;
    padding: 8px;
    border: 2px solid;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: slideInRight 0.5s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.activity-card.common {
    border-color: #808080;
}

.activity-card.rare {
    border-color: #007bff;
}

.activity-card.epic {
    border-color: #9c27b0;
}

.activity-card.legendary {
    border-color: #ff9800;
}

.activity-card.mythic {
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.activity-nft-preview {
    width: 100%;
    height: 60px;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(139, 0, 0, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 6px;
    overflow: hidden;
    position: relative;
}

.activity-nft-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-nft-id {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: white;
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.activity-nft-tier {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    opacity: 0.9;
}

.activity-nft-price {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.75rem;
    margin-bottom: 2px;
}

.activity-nft-time {
    color: var(--text-secondary);
    font-size: 0.65rem;
    opacity: 0.7;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(139, 0, 0, 0.8);
    border: 1px solid var(--accent-gold);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.scroll-btn:hover {
    background: var(--accent-gold);
    transform: translateY(-50%) scale(1.1);
}

.scroll-btn i {
    width: 20px;
    height: 20px;
    color: white;
}

.scroll-left {
    left: 10px;
}

.scroll-right {
    right: 10px;
}

.minimize-btn {
    background: rgba(139, 0, 0, 0.6);
    border: 1px solid var(--accent-gold);
    border-radius: 6px;
    padding: 4px 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.minimize-btn:hover {
    background: var(--accent-gold);
    color: var(--primary-bg);
}

.minimize-btn i {
    width: 16px;
    height: 16px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 2rem;
}

.cult-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    animation: ritual-spin 8s linear infinite;
    filter: drop-shadow(0 0 10px var(--ritual-glow));
}

@keyframes ritual-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-text {
    background: linear-gradient(45deg, var(--accent-red), var(--accent-gold), var(--accent-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    letter-spacing: 3px;
    animation: text-glow 3s ease-in-out infinite alternate;
}

@keyframes text-glow {
    from { filter: brightness(1); }
    to { filter: brightness(1.3) drop-shadow(0 0 10px var(--accent-red)); }
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-family: 'Cinzel', serif;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
    text-shadow: 0 0 10px var(--ritual-glow);
}

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

.wallet-btn {
    background: linear-gradient(45deg, var(--accent-red), var(--dark-red));
    border: 2px solid var(--accent-gold);
    padding: 0.75rem 2rem;
    border-radius: 30px;
    color: var(--text-primary);
    font-weight: 600;
    font-family: 'Cinzel', serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.wallet-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    transition: left 0.5s ease;
}

.wallet-btn:hover::before {
    left: 100%;
}

.wallet-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.4);
    border-color: var(--accent-gold);
    text-shadow: 0 0 10px var(--ritual-glow);
}

.wallet-btn.connected {
    background: linear-gradient(135deg, #4caf50, #45a049);
    border-color: #4caf50;
}

.wallet-btn.connected:hover {
    background: linear-gradient(135deg, #f44336, #da190b);
    border-color: #f44336;
}

/* Notifications */
.notification {
    position: fixed;
    top: 90px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    background: rgba(26, 14, 14, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid;
    color: white;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10000;
    animation: slideInRight 0.3s ease;
    max-width: 400px;
}

.notification button {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: auto;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.notification button:hover {
    opacity: 1;
}

.notification-success {
    border-color: #4caf50;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(26, 14, 14, 0.95));
}

.notification-error {
    border-color: #f44336;
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.2), rgba(26, 14, 14, 0.95));
}

.notification-warning {
    border-color: #ff9800;
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.2), rgba(26, 14, 14, 0.95));
}

.notification-info {
    border-color: #2196f3;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.2), rgba(26, 14, 14, 0.95));
}

/* Coming Soon Modal */
.coming-soon-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    animation: fadeIn 0.3s ease;
}

.coming-soon-modal .modal-content {
    background: linear-gradient(135deg, rgba(26, 14, 14, 0.98), rgba(139, 0, 0, 0.98));
    padding: 30px;
    border-radius: 20px;
    border: 2px solid var(--accent-gold);
    max-width: 500px;
    position: relative;
    animation: scaleIn 0.3s ease;
}

.coming-soon-modal h2 {
    color: var(--accent-gold);
    font-family: 'Cinzel', serif;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.coming-soon-modal h2 i {
    width: 30px;
    height: 30px;
}

.coming-soon-modal p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.coming-soon-modal ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.coming-soon-modal ul li {
    color: var(--text-secondary);
    padding: 5px 0;
}

.coming-soon-modal .close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s;
}

.coming-soon-modal .close-modal:hover {
    color: var(--accent-gold);
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 2rem 0 2rem; /* Normal padding without live feed */
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-family: 'Cinzel', serif;
}

.title-line {
    display: block;
    font-size: 2.5rem;
    color: var(--text-secondary);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.title-main {
    display: block;
    background: linear-gradient(45deg, var(--accent-red), var(--accent-gold), var(--blood-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: title-ritual 4s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 20px var(--accent-red));
    letter-spacing: 8px;
}

@keyframes title-ritual {
    from { 
        filter: drop-shadow(0 0 20px var(--accent-red)) brightness(1); 
    }
    to { 
        filter: drop-shadow(0 0 30px var(--accent-gold)) brightness(1.2); 
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-family: 'Cinzel', serif;
    font-weight: 300;
    line-height: 1.4;
}

.stats-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 1.5rem 2rem;
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-dark);
    position: relative;
    flex-wrap: wrap;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, var(--accent-red), var(--accent-gold), var(--accent-purple));
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
}

.stat-item {
    text-align: center;
    position: relative;
    min-width: 140px;
    flex: 1;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    opacity: 0.8;
}

.stat-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-gold);
    font-family: 'Cinzel', serif;
    text-shadow: 0 0 10px var(--ritual-glow);
    white-space: nowrap;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
}

.btn-primary,
.btn-secondary {
    padding: 1.25rem 2.5rem;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-family: 'Cinzel', serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent-red), var(--blood-red));
    color: var(--text-primary);
    border: 2px solid var(--accent-gold);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-red);
}

.btn-primary::before,
.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before,
.btn-secondary:hover::before {
    left: 100%;
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.4);
}

.btn-secondary:hover {
    background: rgba(139, 0, 0, 0.1);
    border-color: var(--accent-gold);
}

/* Sacred Geometry Hero Animation */
.hero-symbol {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.pentagram-animation {
    width: 400px;
    height: 400px;
    position: relative;
    animation: sacred-float 6s ease-in-out infinite;
}

.pentagram-outer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    color: var(--accent-gold);
    animation: rotate-slow 20s linear infinite;
    filter: drop-shadow(0 0 30px var(--ritual-glow));
}

.pentagram-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: var(--accent-red);
    animation: rotate-reverse 15s linear infinite;
    filter: drop-shadow(0 0 20px var(--accent-red));
}

.ritual-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 350px;
    height: 350px;
    border: 3px solid var(--accent-gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.4;
    animation: pulse-ritual 3s ease-in-out infinite alternate;
}

@keyframes sacred-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}

@keyframes rotate-slow {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotate-reverse {
    from { transform: translate(-50%, -50%) rotate(360deg); }
    to { transform: translate(-50%, -50%) rotate(0deg); }
}

@keyframes pulse-ritual {
    from { 
        opacity: 0.2; 
        transform: translate(-50%, -50%) scale(1); 
    }
    to { 
        opacity: 0.6; 
        transform: translate(-50%, -50%) scale(1.1); 
    }
}

/* Sections */
section {
    padding: 5rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: 'Cinzel', serif;
    color: var(--accent-gold);
    text-shadow: 0 0 20px var(--ritual-glow);
    letter-spacing: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-family: 'Cinzel', serif;
    font-style: italic;
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

/* Sort Buttons */
.sort-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.sort-btn {
    background: rgba(139, 0, 0, 0.3);
    color: #ffd700;
    border: 1px solid #ffd700;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.sort-btn.active {
    background: linear-gradient(45deg, #8b0000, #4b0082);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.sort-btn [data-lucide] {
    width: 18px;
    height: 18px;
}

.filter-btn {
    padding: 0.75rem 2rem;
    border: 2px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 0, 0, 0.3), transparent);
    transition: left 0.5s ease;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    left: 100%;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(139, 0, 0, 0.2);
    box-shadow: 0 5px 20px rgba(139, 0, 0, 0.3);
    text-shadow: 0 0 10px var(--ritual-glow);
}

/* Artifacts Grid */
.artifacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.puppet-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.puppet-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--accent-red), var(--accent-gold), var(--accent-purple));
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.puppet-card:hover::before {
    opacity: 0.6;
}

.puppet-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(139, 0, 0, 0.4);
    border-color: var(--accent-gold);
}

.puppet-card.sold {
    opacity: 0.6;
    position: relative;
}

.puppet-card.sold::after {
    content: 'SOUL CLAIMED';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    background: var(--blood-red);
    color: white;
    padding: 0.75rem 2rem;
    font-weight: 700;
    font-family: 'Cinzel', serif;
    border-radius: 10px;
    z-index: 2;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
    border: 2px solid var(--accent-gold);
}

.puppet-image {
    width: 100%;
    height: 220px;
    background: var(--gradient-ritual);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.puppet-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.puppet-id {
    font-weight: 700;
    color: var(--accent-gold);
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    text-shadow: 0 0 10px var(--ritual-glow);
}

.puppet-price {
    font-weight: 700;
    color: var(--accent-red);
    font-family: 'Cinzel', serif;
    text-shadow: 0 0 5px var(--accent-red);
}

.puppet-rarity {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-align: center;
    border: 2px solid;
}

.rarity-common { 
    background: rgba(108, 117, 125, 0.2); 
    color: #6c757d; 
    border-color: #6c757d;
}
.rarity-rare { 
    background: rgba(0, 123, 255, 0.2); 
    color: #007bff; 
    border-color: #007bff;
}
.rarity-epic { 
    background: rgba(111, 66, 193, 0.2); 
    color: #6f42c1; 
    border-color: #6f42c1;
}
.rarity-legendary { 
    background: rgba(255, 215, 0, 0.2); 
    color: var(--accent-gold); 
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}
.rarity-mythic { 
    background: rgba(139, 0, 0, 0.2); 
    color: var(--accent-red); 
    border-color: var(--accent-red);
    box-shadow: 0 0 20px rgba(139, 0, 0, 0.4);
    animation: mythic-glow 2s ease-in-out infinite alternate;
}

@keyframes mythic-glow {
    from { box-shadow: 0 0 20px rgba(139, 0, 0, 0.4); }
    to { box-shadow: 0 0 30px rgba(255, 215, 0, 0.6); }
}

/* Puppet Traits */
.puppet-traits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.trait-tag {
    background: rgba(139, 0, 0, 0.2);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    text-transform: capitalize;
    border: 1px solid var(--border-color);
    font-family: 'Cinzel', serif;
    transition: all 0.3s ease;
}

.trait-tag:hover {
    background: rgba(255, 215, 0, 0.2);
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.buy-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 15px;
    background: linear-gradient(45deg, var(--accent-red), var(--blood-red));
    color: var(--text-primary);
    font-weight: 600;
    font-family: 'Cinzel', serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--accent-gold);
    position: relative;
    overflow: hidden;
}

.buy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    transition: left 0.5s ease;
}

.buy-btn:hover:not(:disabled)::before {
    left: 100%;
}

.buy-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.5);
    text-shadow: 0 0 10px var(--ritual-glow);
}

.buy-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(108, 117, 125, 0.3);
}

/* Sales Ticker */
.sales-ticker {
    background: rgba(0, 0, 0, 0.8);
    border-top: 2px solid var(--accent-red);
    border-bottom: 2px solid var(--accent-red);
    padding: 1.5rem 0;
    overflow: hidden;
    margin: 3rem 0;
}

.ticker-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.ticker-label {
    color: var(--accent-gold);
    font-weight: 700;
    font-family: 'Cinzel', serif;
    margin-right: 3rem;
    white-space: nowrap;
    text-shadow: 0 0 10px var(--ritual-glow);
    letter-spacing: 2px;
}

.ticker-content {
    flex: 1;
    white-space: nowrap;
    animation: scroll-ritual 25s linear infinite;
}

@keyframes scroll-ritual {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.sale-item {
    display: inline-block;
    margin-right: 4rem;
    color: var(--text-secondary);
    font-family: 'Cinzel', serif;
}

/* Gallery Stats */
.gallery-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.gallery-stat {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.gallery-stat:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(139, 0, 0, 0.3);
}

.stat-icon {
    font-size: 3.5rem;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    font-family: 'Cinzel', serif;
    text-shadow: 0 0 15px var(--ritual-glow);
}

.stat-desc {
    display: block;
    color: var(--text-secondary);
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Benefits Comparison Table */
.benefits-table-wrapper {
    display: block;
    overflow-x: auto;
    margin-top: 30px;
    border-radius: 15px;
    background: rgba(26, 14, 14, 0.6);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-dark);
}

.benefits-comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.benefits-comparison-table thead {
    background: rgba(139, 0, 0, 0.2);
}

.benefits-comparison-table th {
    padding: 20px 15px;
    text-align: center;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.benefits-comparison-table th.feature-col {
    text-align: left;
    font-weight: 600;
    color: var(--accent-gold);
    min-width: 200px;
}

.tier-badge {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.tier-range {
    font-size: 0.8rem;
    opacity: 0.7;
    font-weight: 400;
}

.benefits-comparison-table tbody tr {
    transition: background 0.3s ease;
}

.benefits-comparison-table tbody tr:hover {
    background: rgba(255, 215, 0, 0.05);
}

.benefits-comparison-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid rgba(139, 0, 0, 0.1);
    font-size: 0.95rem;
}

.feature-name {
    text-align: left !important;
    font-weight: 500;
    color: var(--text-secondary);
}

.feature-name i {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
    color: var(--accent-gold);
}

.no-access {
    color: #666;
    font-size: 1.2rem;
}

.check-icon {
    color: #4caf50;
    display: inline-block;
    width: 20px;
    height: 20px;
}

/* Tier Column Colors */
.tier-col.basic .tier-badge {
    color: #808080;
}

.tier-col.rare .tier-badge {
    color: #007bff;
}

.tier-col.epic .tier-badge {
    color: #9c27b0;
}

.tier-col.legendary .tier-badge {
    color: #ff9800;
}

.tier-col.mythic .tier-badge {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Pagination Controls */
.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    padding: 20px;
    background: rgba(26, 14, 14, 0.6);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--accent-red), var(--dark-red));
    color: white;
    border: 2px solid var(--accent-gold);
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn i {
    width: 18px;
    height: 18px;
}

.page-info {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    color: var(--accent-gold);
    font-size: 1.1rem;
}

/* Mobile Accordion */
.benefits-accordion {
    display: none;
    margin-top: 30px;
}

.accordion-item {
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(26, 14, 14, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid;
}

.accordion-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: rgba(255, 215, 0, 0.05);
}

.accordion-title {
    display: flex;
    flex-direction: column;
}

.tier-name {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 700;
}

.tier-subtitle {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 5px;
}

.accordion-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.accordion-content.show {
    max-height: 500px;
    padding: 0 20px 20px;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(139, 0, 0, 0.1);
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list li i {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    color: #4caf50;
}

/* Accordion Item Colors */
.accordion-item.basic {
    border-color: #808080;
}

.accordion-header.basic {
    background: linear-gradient(135deg, rgba(128, 128, 128, 0.1), rgba(64, 64, 64, 0.1));
}

.accordion-header.basic .tier-name {
    color: #808080;
}

.accordion-item.rare {
    border-color: #007bff;
}

.accordion-header.rare {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 82, 204, 0.1));
}

.accordion-header.rare .tier-name {
    color: #007bff;
}

.accordion-item.epic {
    border-color: #9c27b0;
}

.accordion-header.epic {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.1), rgba(103, 58, 183, 0.1));
}

.accordion-header.epic .tier-name {
    color: #9c27b0;
}

.accordion-item.legendary {
    border-color: #ff9800;
}

.accordion-header.legendary {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.1), rgba(251, 140, 0, 0.1));
}

.accordion-header.legendary .tier-name {
    color: #ff9800;
}

.accordion-item.mythic {
    border-color: #ffd700;
}

.accordion-header.mythic {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 179, 0, 0.2));
}

.accordion-header.mythic .tier-name {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Rarity Showcase - REMOVED (replaced by table/accordion) */
.rarity-showcase {
    display: none;
}

.rarity-card {
    text-align: center;
    padding: 3rem 1.5rem;
    border-radius: 20px;
    border: 3px solid;
    transition: all 0.4s ease;
    cursor: pointer;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
}

.rarity-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(139, 0, 0, 0.4);
}

.rarity-card.common { border-color: #6c757d; }
.rarity-card.rare { border-color: #007bff; }
.rarity-card.epic { border-color: #6f42c1; }
.rarity-card.legendary { 
    border-color: var(--accent-gold); 
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}
.rarity-card.mythic { 
    border-color: var(--accent-red);
    box-shadow: 0 0 25px rgba(139, 0, 0, 0.4);
    animation: mythic-pulse 2s ease-in-out infinite alternate;
}

@keyframes mythic-pulse {
    from { box-shadow: 0 0 25px rgba(139, 0, 0, 0.4); }
    to { box-shadow: 0 0 35px rgba(255, 215, 0, 0.5); }
}

.rarity-header {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
}

.rarity-percentage {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.9;
    font-family: 'Cinzel', serif;
}

.rarity-benefits {
    font-size: 1rem;
    margin-top: 0.5rem;
    color: #ffd700;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Community Cards */
.community-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.community-card {
    text-align: center;
    background: var(--card-bg);
    padding: 4rem 2.5rem;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.community-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--accent-red), transparent);
    animation: rotate-border 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.community-card:hover::before {
    opacity: 0.3;
}

.community-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(139, 0, 0, 0.4);
    border-color: var(--accent-gold);
}

@keyframes rotate-border {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.community-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
    color: var(--accent-gold);
    position: relative;
    z-index: 1;
}

.community-card p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-family: 'Cinzel', serif;
    position: relative;
    z-index: 1;
}

.btn-join {
    padding: 1rem 2.5rem;
    border: 2px solid var(--accent-red);
    background: transparent;
    color: var(--accent-red);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-join::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-red);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-join:hover::before {
    left: 0;
}

.btn-join:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.4);
}

/* Roadmap */
.roadmap {
    background: var(--card-bg);
    padding: 4rem;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    backdrop-filter: blur(15px);
    position: relative;
}

.roadmap::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--accent-red), var(--accent-gold));
    border-radius: 20px;
    z-index: -1;
    opacity: 0.1;
}

.roadmap-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    font-family: 'Cinzel', serif;
    color: var(--accent-gold);
    text-shadow: 0 0 20px var(--ritual-glow);
}

.roadmap-items {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.roadmap-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
}

.roadmap-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 50px;
    width: 3px;
    height: calc(100% + 3rem);
    background: linear-gradient(to bottom, var(--accent-red), var(--accent-gold));
    opacity: 0.5;
}

.roadmap-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border-color);
    flex-shrink: 0;
    margin-top: 0.5rem;
    border: 3px solid var(--accent-red);
    transition: all 0.3s ease;
}

.roadmap-item.completed .roadmap-dot {
    background: var(--accent-gold);
    box-shadow: 0 0 20px var(--ritual-glow);
}

.roadmap-item.active .roadmap-dot {
    background: var(--accent-red);
    box-shadow: 0 0 25px var(--accent-red);
    animation: active-pulse 2s ease-in-out infinite alternate;
}

@keyframes active-pulse {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.roadmap-content h4 {
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    text-shadow: 0 0 10px var(--ritual-glow);
}

.roadmap-content p {
    color: var(--text-secondary);
    font-family: 'Cinzel', serif;
    line-height: 1.5;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.8);
    border-top: 2px solid var(--accent-red);
    padding: 3rem 0;
    margin-top: 5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: var(--accent-gold);
    text-shadow: 0 0 10px var(--ritual-glow);
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-family: 'Cinzel', serif;
    font-style: italic;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: var(--primary-bg);
    margin: 15% auto;
    padding: 3rem;
    border: 3px solid var(--accent-gold);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 60px rgba(139, 0, 0, 0.8);
}

.modal-content h3 {
    font-family: 'Cinzel', serif;
    color: var(--accent-gold);
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 15px var(--ritual-glow);
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    color: var(--text-secondary);
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--accent-red);
    text-shadow: 0 0 10px var(--accent-red);
}

.modal-puppet-info {
    text-align: center;
    margin: 3rem 0;
    font-family: 'Cinzel', serif;
    color: var(--text-primary);
}

.btn-confirm-purchase {
    width: 100%;
    padding: 1.5rem;
    border: none;
    border-radius: 15px;
    background: linear-gradient(45deg, var(--accent-red), var(--blood-red));
    color: var(--text-primary);
    font-weight: 600;
    font-family: 'Cinzel', serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid var(--accent-gold);
    font-size: 1.1rem;
}

.btn-confirm-purchase:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.5);
    text-shadow: 0 0 15px var(--ritual-glow);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 4rem;
    }
    
    .stats-bar {
        gap: 1rem;
        padding: 1rem;
    }
    
    .stat-item {
        min-width: 45%;
    }
    
    .community-cards,
    .gallery-stats {
        grid-template-columns: 1fr;
    }
    
    .benefits-table-wrapper {
        display: none;
    }
    
    .benefits-accordion {
        display: block;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .pentagram-animation {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .title-line {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .artifacts-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .filter-buttons {
        gap: 1rem;
    }
    
    .rarity-showcase {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .ticker-container {
        padding: 0 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .stats-bar {
        flex-direction: column;
        gap: 0.8rem;
        padding: 1.2rem;
    }
    
    .stat-item {
        min-width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }
    
    .stat-label {
        text-align: left;
    }
    
    .stat-value {
        text-align: right;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .title-line {
        font-size: 1.5rem;
    }
    
    .pentagram-animation {
        width: 200px;
        height: 200px;
    }
    
    .pentagram-outer {
        font-size: 6rem;
    }
    
    .pentagram-inner {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* === PREMIUM MEMBER STYLES === */
.premium-member .hero-title {
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
}

.premium-member .stats-bar {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.premium-member .puppet-card {
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.premium-member .navbar {
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

@keyframes premium-glow {
    0% {
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    }
    100% {
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Exclusive content styling */
.exclusive-content {
    display: none;
    border: 2px solid #ffd700;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.exclusive-content h3 {
    color: #ffd700;
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
}

/* Membership badge animation */
.membership-badge {
    transition: all 0.5s ease;
}

.membership-badge:hover {
    transform: scale(1.05);
}

/* === RARITY STYLES === */
.rarity-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ffd700, #ff4500);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.5);
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}

.rarity-rank {
    margin-left: 8px;
    opacity: 0.8;
    font-size: 0.85rem;
}

.puppet-card[data-rank="1"] .rarity-badge,
.puppet-card[data-rank="2"] .rarity-badge,
.puppet-card[data-rank="3"] .rarity-badge {
    background: linear-gradient(135deg, #ffd700, #fff);
    animation: premium-glow 2s ease-in-out infinite alternate;
}

.puppet-image {
    position: relative;
}

/* === LUCIDE ICON STYLES === */
[data-lucide] {
    display: inline-block;
    width: 24px;
    height: 24px;
    vertical-align: middle;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.btn-icon [data-lucide],
.wallet-icon [data-lucide] {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.title-icon [data-lucide] {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    margin-right: 10px;
}

.cult-icon [data-lucide] {
    width: 40px;
    height: 40px;
    color: #ffd700;
}

.symbol [data-lucide] {
    width: 100%;
    height: 100%;
    color: #ffd700;
}

.pentagram-outer [data-lucide] {
    width: 100%;
    height: 100%;
    color: #ffd700;
}

.pentagram-inner [data-lucide] {
    width: 60%;
    height: 60%;
    color: #ff4500;
}

.stat-icon [data-lucide] {
    width: 40px;
    height: 40px;
    color: #ffd700;
}

.card-icon [data-lucide] {
    width: 60px;
    height: 60px;
    color: #ffd700;
    margin-bottom: 1rem;
}

.signal-header h3 [data-lucide] {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.roadmap-title [data-lucide] {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Signal Dashboard Styles */
.signal-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.signal-card {
    background: linear-gradient(135deg, #1a0e0e, #0a0a0a);
    border: 1px solid #ffd700;
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.signal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
    border-color: #ff4500;
}

.signal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.signal-header h3 {
    color: #ffd700;
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    margin: 0;
}

.signal-time {
    background: linear-gradient(45deg, #8b0000, #4b0082);
    color: #ffd700;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.signal-content p {
    color: #e0e0e0;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    line-height: 1.5;
}

.signal-content p:last-child {
    margin-bottom: 0;
}

/* Mobile responsiveness for signal dashboard */
@media (max-width: 768px) {
    .signal-dashboard {
        grid-template-columns: 1fr;
    }
    
    .signal-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}