@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --sm-bg-primary: #080b12;
    --sm-bg-secondary: #0f1319;
    --sm-bg-tertiary: #161b24;
    --sm-accent: #ff6b2c;
    --sm-accent-secondary: #ff9a56;
    --sm-accent-dim: rgba(255, 107, 44, 0.08);
    --sm-text-primary: #e8edf4;
    --sm-text-secondary: #6b7a90;
    --sm-border: rgba(255,255,255,0.06);
    --sm-gradient-accent: linear-gradient(135deg, #ff6b2c 0%, #ff9a56 100%);
    --sm-glass: rgba(255,255,255,0.03);
    --sm-glass-border: rgba(255,255,255,0.06);
}

.sm-home * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.sm-home {
    font-family: 'Inter', sans-serif;
    background: var(--sm-bg-primary);
    color: var(--sm-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   GLOBAL: Glass Cards
   ============================================ */
.sm-glass-card {
    background: var(--sm-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--sm-glass-border);
    border-radius: 12px;
    transition: all 0.35s ease;
}

.sm-glass-card:hover {
    border-color: rgba(255, 107, 44, 0.15);
    background: rgba(255,255,255,0.05);
}

/* ============================================
   GLOBAL: Buttons
   ============================================ */
.sm-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.sm-btn-primary {
    background: var(--sm-gradient-accent);
    color: #000;
    box-shadow: 0 4px 20px rgba(255, 107, 44, 0.25);
}

.sm-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 107, 44, 0.4);
}

.sm-btn-secondary {
    background: transparent;
    border: 1px solid var(--sm-accent);
    color: var(--sm-accent);
}

.sm-btn-secondary:hover {
    background: rgba(255, 107, 44, 0.1);
    transform: translateY(-2px);
}

/* ============================================
   GLOBAL: Section Labels (replacing pill badges)
   ============================================ */
.sm-section-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--sm-accent);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--sm-accent);
    display: inline-block;
    margin-bottom: 20px;
}

.sm-section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.sm-section-subtitle {
    font-size: 16px;
    color: var(--sm-text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

.sm-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.sm-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================================
   HERO SECTION — centered layout
   ============================================ */
.sm-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 20px 60px;
    overflow: hidden;
    text-align: center;
}

/* Animated gradient mesh background */
.sm-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse at 25% 30%, rgba(255, 107, 44, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 75% 60%, rgba(255, 154, 86, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(0, 100, 200, 0.06) 0%, transparent 40%);
    animation: sm-mesh-drift 20s ease-in-out infinite;
}

@keyframes sm-mesh-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-2%, 3%) scale(1.05); }
    66% { transform: translate(2%, -2%) scale(0.98); }
}

.sm-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--sm-bg-primary), transparent);
    z-index: 1;
}

.sm-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.sm-hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(36px, 6vw, 68px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: sm-fadeUp 0.7s ease both;
}

.sm-hero h1 .sm-gradient-text {
    background: var(--sm-gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sm-hero-description {
    font-size: 18px;
    color: var(--sm-text-secondary);
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    animation: sm-fadeUp 0.7s ease 0.1s both;
}

/* Inline stat pills */
.sm-hero-pills {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    animation: sm-fadeUp 0.7s ease 0.15s both;
}

.sm-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--sm-glass);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--sm-glass-border);
    border-radius: 100px;
    font-size: 13px;
    color: var(--sm-text-secondary);
}

.sm-hero-pill strong {
    color: var(--sm-accent);
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.sm-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: sm-fadeUp 0.7s ease 0.2s both;
}

/* Featured products horizontal strip */
.sm-hero-products {
    animation: sm-fadeUp 0.7s ease 0.3s both;
}

.sm-hero-products .sc-floating-cards {
    display: grid !important;
    grid-template-columns: repeat(6, 150px);
    gap: 16px;
    justify-content: center;
    padding-bottom: 8px;
}

.sm-hero-products .sc-float-card {
    background: var(--sm-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--sm-glass-border);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    animation: none;
}

.sm-hero-products .sc-float-card:hover {
    border-color: rgba(255, 107, 44, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.sm-hero-products .sc-float-card img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin: 0 auto 10px;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.sm-hero-products .sc-float-card-name {
    font-size: 11px;
    color: var(--sm-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sm-hero-products .sc-float-card-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--sm-accent);
}

@keyframes sm-fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   GAMES SECTION — horizontal full-width cards
   ============================================ */
.sm-games {
    padding: 100px 20px;
    background: var(--sm-bg-primary);
}

.sm-games-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sm-game-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 28px;
    background: var(--sm-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--sm-glass-border);
    border-radius: 12px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.sm-game-row:hover {
    border-left-color: var(--sm-accent);
    background: rgba(255,255,255,0.05);
}

.sm-game-row-icon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.sm-game-row-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sm-game-row-info {
    flex: 1;
    min-width: 0;
}

.sm-game-row-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
}

.sm-game-row-count {
    font-size: 13px;
    color: var(--sm-text-secondary);
}

.sm-game-row-count span {
    color: var(--sm-accent);
    font-weight: 600;
}

.sm-game-row-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--sm-glass-border);
    border-radius: 8px;
    color: var(--sm-text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.sm-game-row-btn:hover {
    background: var(--sm-accent);
    border-color: var(--sm-accent);
    color: #000;
}

/* ============================================
   LIVE TRADES — horizontal ticker marquee
   ============================================ */
.sm-live-section {
    padding: 80px 20px;
    background: var(--sm-bg-secondary);
    overflow: hidden;
}

.sm-ticker-wrapper {
    overflow: hidden;
    position: relative;
    margin-top: 40px;
}

.sm-ticker-wrapper::before,
.sm-ticker-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.sm-ticker-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--sm-bg-secondary), transparent);
}

.sm-ticker-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--sm-bg-secondary), transparent);
}

.sm-ticker-track {
    display: flex;
    gap: 16px;
    animation: sm-ticker-scroll 40s linear infinite;
    width: max-content;
}

.sm-ticker-track:hover {
    animation-play-state: paused;
}

@keyframes sm-ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   ADVANTAGES — 2x2 grid, icon left text right
   ============================================ */
.sm-features {
    padding: 100px 20px;
    background: var(--sm-bg-primary);
    position: relative;
}

.sm-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.sm-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
    padding: 28px;
    background: var(--sm-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--sm-glass-border);
    border-radius: 12px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.sm-feature-card:hover {
    border-left-color: var(--sm-accent);
    background: rgba(255,255,255,0.05);
}

.sm-feature-icon {
    width: 52px;
    height: 52px;
    background: var(--sm-accent-dim);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.sm-feature-card:hover .sm-feature-icon {
    background: rgba(255, 107, 44, 0.15);
}

.sm-feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--sm-accent);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sm-feature-text-block h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.sm-feature-text-block p {
    font-size: 14px;
    color: var(--sm-text-secondary);
    line-height: 1.5;
}

/* ============================================
   HOW IT WORKS — vertical timeline
   ============================================ */
.sm-how {
    padding: 100px 20px;
    background: var(--sm-bg-secondary);
}

.sm-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* Central vertical line */
.sm-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--sm-accent), rgba(0,168,255,0.1));
    transform: translateX(-50%);
}

.sm-timeline-step {
    display: flex;
    align-items: flex-start;
    position: relative;
    margin-bottom: 48px;
}

.sm-timeline-step:last-child {
    margin-bottom: 0;
}

/* Odd steps: content left, number center */
.sm-timeline-step:nth-child(odd) {
    flex-direction: row;
}

.sm-timeline-step:nth-child(odd) .sm-timeline-content {
    text-align: right;
    padding-right: 48px;
    width: 50%;
}

.sm-timeline-step:nth-child(odd) .sm-timeline-spacer {
    width: 50%;
}

/* Even steps: spacer left, content right */
.sm-timeline-step:nth-child(even) {
    flex-direction: row;
}

.sm-timeline-step:nth-child(even) .sm-timeline-content {
    text-align: left;
    padding-left: 48px;
    width: 50%;
    order: 2;
}

.sm-timeline-step:nth-child(even) .sm-timeline-spacer {
    width: 50%;
    order: 1;
}

.sm-timeline-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    background: var(--sm-bg-primary);
    border: 2px solid var(--sm-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--sm-accent);
    z-index: 1;
    transition: all 0.3s ease;
}

.sm-timeline-step:hover .sm-timeline-number {
    background: var(--sm-accent);
    color: #000;
    box-shadow: 0 0 20px rgba(255, 107, 44, 0.4);
}

.sm-timeline-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.sm-timeline-content p {
    font-size: 14px;
    color: var(--sm-text-secondary);
}

/* ============================================
   TRUST BAR — compact full-width strip
   ============================================ */
.sm-trust {
    padding: 0;
    background: var(--sm-bg-tertiary);
    position: relative;
    overflow: hidden;
}

/* Shimmer animation on top edge */
.sm-trust::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sm-accent), transparent);
    animation: sm-shimmer 4s linear infinite;
}

@keyframes sm-shimmer {
    0% { transform: translateX(-25%); }
    100% { transform: translateX(25%); }
}

.sm-trust-strip {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
}

.sm-trust-item {
    flex: 1;
    text-align: center;
    padding: 28px 16px;
    border-right: 1px solid var(--sm-glass-border);
    transition: background 0.3s ease;
}

.sm-trust-item:last-child {
    border-right: none;
}

.sm-trust-item:hover {
    background: rgba(255,255,255,0.02);
}

.sm-trust-item-icon {
    font-size: 22px;
    margin-bottom: 8px;
}

.sm-trust-item-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--sm-text-primary);
    margin-bottom: 2px;
}

.sm-trust-item-label {
    font-size: 11px;
    color: var(--sm-text-secondary);
    letter-spacing: 0.5px;
}

/* ============================================
   CTA — split layout
   ============================================ */
.sm-cta {
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
    background: var(--sm-bg-primary);
}

.sm-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.sm-cta-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 16px;
}

.sm-cta-content p {
    font-size: 16px;
    color: var(--sm-text-secondary);
    margin-bottom: 32px;
    max-width: 460px;
}

.sm-cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.sm-cta-visual {
    position: relative;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 107, 44, 0.08), rgba(255, 154, 86, 0.04));
}

.sm-cta-visual::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 107, 44, 0.2) 0%, transparent 70%);
    filter: blur(40px);
    animation: sm-cta-glow 4s ease-in-out infinite;
}

@keyframes sm-cta-glow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.sm-cta-visual::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, transparent 40%, rgba(255, 107, 44, 0.1) 100%);
    clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .sm-features-grid {
        grid-template-columns: 1fr;
    }

    .sm-cta-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .sm-cta-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .sm-cta-buttons {
        justify-content: center;
    }

    .sm-cta-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    /* Timeline goes single-column */
    .sm-timeline::before {
        left: 22px;
    }

    .sm-timeline-number {
        left: 22px;
        transform: translateX(-50%);
    }

    .sm-timeline-step:nth-child(odd) .sm-timeline-content,
    .sm-timeline-step:nth-child(even) .sm-timeline-content {
        text-align: left;
        padding-left: 60px;
        padding-right: 0;
        width: 100%;
    }

    .sm-timeline-step:nth-child(odd) .sm-timeline-spacer,
    .sm-timeline-step:nth-child(even) .sm-timeline-spacer {
        display: none;
    }

    .sm-timeline-step:nth-child(even) .sm-timeline-content {
        order: 0;
    }

    .sm-trust-strip {
        flex-wrap: wrap;
    }

    .sm-trust-item {
        flex: 1 1 50%;
        border-bottom: 1px solid var(--sm-glass-border);
    }

    .sm-trust-item:nth-child(even) {
        border-right: none;
    }
}

@media (max-width: 640px) {
    .sm-hero {
        padding: 100px 20px 40px;
        min-height: auto;
    }

    .sm-hero-products .sc-floating-cards {
        grid-template-columns: repeat(3, 1fr) !important;
        overflow-x: auto;
    }

    .sm-game-row {
        flex-wrap: wrap;
        gap: 12px;
    }

    .sm-game-row-btn {
        width: 100%;
        justify-content: center;
    }

    .sm-features-grid {
        grid-template-columns: 1fr;
    }

    .sm-btn {
        width: 100%;
        justify-content: center;
    }

    .sm-trust-item {
        flex: 1 1 50%;
    }
}
