:root {
    --background: hsl(270, 95%, 2%);
    --foreground: hsl(270, 10%, 98%);
    --card: hsl(270, 50%, 6%);
    --primary: hsl(270, 85%, 50%);
    --accent: hsl(280, 85%, 55%);
    --border: hsl(270, 30%, 18%);
    --muted: hsl(270, 10%, 60%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', system-ui, sans-serif;
    background: var(--background);
    color: var(--foreground);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 24px;
    font-weight: 900;
}

.logo-text {
    color: var(--foreground);
}

.logo-money {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--foreground);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Manrope', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--foreground);
}

.btn-primary:hover {
    box-shadow: 0 0 40px rgba(147, 51, 234, 0.8);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
}

.btn-outline:hover {
    background: rgba(147, 51, 234, 0.1);
}

.btn-lg {
    padding: 20px 48px;
    font-size: 18px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
    animation: float 6s ease-in-out infinite;
}

.hero-blob-1 {
    background: rgba(147, 51, 234, 0.3);
    top: 25%;
    left: 25%;
}

.hero-blob-2 {
    background: rgba(192, 38, 211, 0.3);
    bottom: 25%;
    right: 25%;
    animation-delay: 1s;
}

.particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.5;
    animation: float 5s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(147, 51, 234, 0.1);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 999px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 32px;
    animation: glow-pulse 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    animation: slide-in-up 0.6s ease-out;
}

.hero-description {
    font-size: 20px;
    color: var(--muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.stat-card {
    padding: 24px;
    background: rgba(147, 51, 234, 0.05);
    border: 1px solid rgba(147, 51, 234, 0.2);
    border-radius: 16px;
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: rgba(147, 51, 234, 0.5);
    transform: translateY(-4px);
}

.stat-value {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--muted);
}

/* Features Section */
.features {
    padding: 80px 0;
}

.section-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    text-align: center;
    margin-bottom: 64px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 40px 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    text-align: center;
    text-decoration: none;
    color: var(--foreground);
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 0 30px rgba(147, 51, 234, 0.3);
}

.feature-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.feature-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.feature-description {
    color: var(--muted);
}

/* Page Sections */
.page-section {
    padding: 120px 0 80px;
}

.page-header {
    text-align: center;
    margin-bottom: 64px;
}

.page-badge {
    display: inline-block;
    padding: 12px 20px;
    background: rgba(147, 51, 234, 0.1);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 999px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.page-title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.page-description {
    font-size: 20px;
    color: var(--muted);
}

/* Case Opener */
.case-opener {
    position: relative;
    padding: 48px;
    background: var(--card);
    border: 2px solid rgba(147, 51, 234, 0.3);
    border-radius: 32px;
    margin-bottom: 64px;
}

.case-opener-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), rgba(192, 38, 211, 0.1));
    border-radius: 32px;
    animation: glow-pulse 2s ease-in-out infinite;
    pointer-events: none;
}

.roulette-container {
    position: relative;
    overflow: hidden;
    background: rgba(147, 51, 234, 0.05);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 32px;
    height: 240px;
}

.roulette-track {
    display: flex;
    gap: 16px;
    transition: transform 4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.roulette-item {
    min-width: 180px;
    height: 200px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(251, 146, 60, 0.2));
    border-radius: 12px;
    padding: 4px;
    flex-shrink: 0;
}

.roulette-item-inner {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.roulette-item-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(192, 38, 211, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 12px;
}

.roulette-item-name {
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.roulette-indicator {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: rgba(147, 51, 234, 0.5);
    pointer-events: none;
}

.roulette-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    border: 4px solid var(--primary);
    border-radius: 50%;
    animation: glow-pulse 2s ease-in-out infinite;
}

.won-item {
    padding: 24px;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(192, 38, 211, 0.2));
    border: 2px solid var(--primary);
    border-radius: 16px;
    margin-bottom: 32px;
    animation: scale-in 0.3s ease-out;
}

.won-item-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.won-sparkle {
    font-size: 32px;
    animation: spin-slow 8s linear infinite;
}

.won-label {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 4px;
}

.won-name {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary);
}

.case-opener-actions {
    text-align: center;
}

.case-info {
    margin-top: 16px;
    font-size: 14px;
    color: var(--muted);
}

/* Cases Grid */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 64px;
}

.case-card {
    padding: 32px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s;
}

.case-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
}

.case-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    margin-bottom: 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), rgba(59, 130, 246, 0.1));
}

.case-name {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
}

.case-price {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 24px;
}

/* Skins Grid */
.skins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.skin-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.skin-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(147, 51, 234, 0.3);
    border-color: var(--primary);
}

.skin-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), rgba(59, 130, 246, 0.1));
}

.skin-name {
    font-size: 18px;
    font-weight: 700;
    margin: 16px 16px 8px;
    color: var(--foreground);
}

.skin-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 16px 16px;
}

.skin-rarity {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.skin-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--accent);
}

.skin-card .btn {
    width: calc(100% - 32px);
    margin: 0 16px 16px;
}

/* Item Grid (for Dota 2) */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.item-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.item-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(147, 51, 234, 0.3);
    border-color: var(--primary);
}

.item-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.item-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--foreground);
}

.item-rarity {
    font-size: 14px;
    font-weight: 600;
}

.item-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--accent);
    margin: 8px 0 16px;
}

/* Popup */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fade-in 0.3s ease-out;
}

.popup {
    position: relative;
    max-width: 500px;
    padding: 48px;
    background: linear-gradient(135deg, var(--card), rgba(147, 51, 234, 0.1));
    border: 2px solid var(--primary);
    border-radius: 32px;
    box-shadow: 0 0 60px rgba(147, 51, 234, 0.6);
    text-align: center;
    animation: scale-in 0.3s ease-out;
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--foreground);
    font-size: 32px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s;
}

.popup-close:hover {
    background: rgba(147, 51, 234, 0.2);
}

.popup-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    font-size: 48px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: glow-pulse 2s ease-in-out infinite;
}

.popup-title {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.popup-text {
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 32px;
}

.popup-footer {
    margin-top: 16px;
    font-size: 14px;
    color: var(--muted);
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 64px 0;
}

/* Footer */
.footer {
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
}

.footer-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
}

.footer-text {
    color: var(--muted);
    line-height: 1.6;
}

.footer-link {
    display: block;
    color: var(--muted);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--primary);
}

/* Withdrawal Methods */
.withdraw-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.withdraw-method {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.withdraw-method:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.withdraw-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 36px;
}

.withdraw-method-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.withdraw-method-details {
    margin-bottom: 20px;
}

.withdraw-detail {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
}

.withdraw-detail:last-child {
    border-bottom: none;
}

/* Market Stats */
.market-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* Trending List */
.trending-list {
    margin-bottom: 40px;
}

.trending-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    transition: var(--transition);
}

.trending-item:hover {
    border-color: var(--primary);
}

.trending-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

.trending-icon {
    font-size: 32px;
}

.trending-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.trending-change {
    font-size: 14px;
}

.trending-change.positive {
    color: #22c55e;
}

.trending-change.negative {
    color: #ef4444;
}

.trending-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.trending-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
    height: auto;
}

/* Trade Container */
.trade-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    margin-bottom: 40px;
    align-items: start;
}

.trade-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
}

.trade-box-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.trade-items {
    margin-bottom: 20px;
}

.trade-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: var(--background);
    border-radius: 12px;
    margin-bottom: 10px;
}

.trade-item-icon {
    font-size: 32px;
}

.trade-item-info {
    flex: 1;
}

.trade-item-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.trade-item-price {
    color: var(--primary);
    font-weight: 700;
}

.trade-total {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 2px solid var(--border);
    font-weight: 700;
}

.trade-total-value {
    color: var(--primary);
    font-size: 20px;
}

.trade-arrow {
    font-size: 48px;
    display: flex;
    align-items: center;
    color: var(--primary);
}

.trade-action {
    text-align: center;
    margin-bottom: 60px;
}

.trade-info {
    margin-top: 15px;
    color: var(--muted);
}

/* Reviews Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.review-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
}

.review-header {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.review-avatar {
    font-size: 40px;
}

.review-user {
    flex: 1;
}

.review-name {
    font-weight: 700;
    margin-bottom: 5px;
}

.review-date {
    color: var(--muted);
    font-size: 14px;
}

.review-rating {
    font-size: 18px;
    margin-bottom: 15px;
}

.review-text {
    color: var(--foreground);
    line-height: 1.6;
    margin-bottom: 15px;
}

.review-likes {
    color: var(--muted);
    font-size: 14px;
}

.overall-rating {
    text-align: center;
    margin-bottom: 60px;
}

.overall-stars {
    font-size: 48px;
    margin-bottom: 15px;
}

.overall-title {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 10px;
}

.overall-subtitle {
    color: var(--muted);
}

/* How it works */
.how-it-works {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.how-step {
    text-align: center;
}

.how-step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    margin: 0 auto 20px;
}

.how-step-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.how-step-description {
    color: var(--muted);
}

/* Security Box */
.security-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 60px;
}

.security-header {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 25px;
}

.security-icon {
    font-size: 48px;
}

.security-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.security-subtitle {
    color: var(--muted);
}

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

.security-list li {
    padding: 10px 0;
    color: var(--foreground);
    font-size: 16px;
}

/* Search Bar */
.search-bar {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--foreground);
    font-size: 16px;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.stat-value {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--muted);
    font-size: 14px;
}

.game-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.seo-text {
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 30px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    line-height: 1.8;
}

.seo-text p {
    margin-bottom: 15px;
}

.text-link {
    color: var(--primary);
    text-decoration: underline;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(147, 51, 234, 0.3); }
    50% { box-shadow: 0 0 40px rgba(147, 51, 234, 0.6); }
}

@keyframes slide-in-up {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes scale-in {
    0% { opacity: 0; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes fade-in {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* 3D Viewer Styles */
.threed-viewer {
    margin-bottom: 60px;
}

.threed-canvas {
    width: 100%;
    min-height: 500px;
    position: relative;
    margin-bottom: 24px;
}

.threed-hint {
    font-size: 14px;
    text-align: center;
    color: var(--muted);
}

.threed-details {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
}

.threed-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 20px;
}

.threed-title {
    font-size: 28px;
    font-weight: 900;
    color: var(--foreground);
    margin-bottom: 8px;
}

.threed-subtitle {
    color: var(--muted);
    font-size: 16px;
}

.threed-price-box {
    text-align: right;
}

.threed-price {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 4px;
}

.threed-steam-price {
    color: var(--muted);
    font-size: 14px;
    text-decoration: line-through;
}

.threed-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.threed-stat {
    background: var(--background);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
}

.threed-stat-label {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.threed-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.threed-actions {
    display: flex;
    gap: 16px;
}

.threed-actions .btn {
    flex: 1;
}

.threed-preview {
    position: relative;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(59, 130, 246, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
}

.rotating-icon {
    font-size: 64px;
    animation: spin-slow 8s linear infinite;
}

@keyframes spin-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .case-opener {
        padding: 24px;
    }
    
    .popup {
        margin: 20px;
        padding: 32px;
    }
}
