/* ============================================
   ChessStake - Landing Page Styles
   Light/Dark Theme Support
   ============================================ */

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: var(--color-bg-primary);
}

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

/* Grid pattern background */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--hero-grid-color, rgba(8, 145, 178, 0.05)) 1px, transparent 1px),
        linear-gradient(90deg, var(--hero-grid-color, rgba(8, 145, 178, 0.05)) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
}

[data-theme="dark"] .hero-grid {
    --hero-grid-color: rgba(0, 240, 255, 0.03);
}

/* Glowing orbs */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: var(--color-accent-primary);
    top: -200px;
    right: -200px;
    opacity: 0.15;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: var(--color-accent-secondary);
    bottom: -150px;
    left: -150px;
    opacity: 0.12;
}

.glow-3 {
    width: 300px;
    height: 300px;
    background: var(--color-accent-tertiary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.08;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--color-accent-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-lg);
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-accent-primary);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero-title {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-primary);
}

.hero-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .highlight-usdc {
    color: var(--color-accent-tertiary);
    -webkit-text-fill-color: var(--color-accent-tertiary);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border);
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.stat-value .currency {
    color: var(--color-accent-tertiary);
    font-size: 1.5rem;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

.hero-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-xl);
    filter: drop-shadow(0 20px 60px rgba(0, 240, 255, 0.2));
    animation: float 6s ease-in-out infinite;
}

.chessboard-preview {
    position: relative;
    width: 380px;
    height: 380px;
    background:
        repeating-conic-gradient(
            rgba(255, 255, 255, 0.08) 0% 25%,
            rgba(0, 0, 0, 0.3) 0% 50%
        )
        50% / 95px 95px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    box-shadow:
        0 0 80px rgba(0, 240, 255, 0.15),
        0 0 40px rgba(139, 92, 246, 0.1),
        inset 0 0 60px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateX(8deg) rotateY(-8deg);
}

.preview-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle at center, rgba(0, 240, 255, 0.1) 0%, transparent 60%);
    border-radius: var(--radius-2xl);
    z-index: -1;
}

.floating-piece {
    position: absolute;
    font-size: 2.5rem;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
    animation: float 6s ease-in-out infinite;
    z-index: 10;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.piece-1 { top: 5%; left: 5%; animation-delay: 0s; }
.piece-2 { top: 15%; right: 10%; animation-delay: 1.5s; }
.piece-3 { bottom: 15%; left: 0%; animation-delay: 3s; }
.piece-4 { bottom: 5%; right: 5%; animation-delay: 4.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(3deg); }
}

/* USDC Badge on board */
.usdc-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #2775ca 0%, #1a5fa2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    box-shadow:
        0 0 40px rgba(39, 117, 202, 0.5),
        0 0 20px rgba(39, 117, 202, 0.3);
    animation: pulse-usdc 3s ease-in-out infinite;
}

@keyframes pulse-usdc {
    0%, 100% { box-shadow: 0 0 40px rgba(39, 117, 202, 0.5), 0 0 20px rgba(39, 117, 202, 0.3); }
    50% { box-shadow: 0 0 60px rgba(39, 117, 202, 0.7), 0 0 30px rgba(39, 117, 202, 0.5); }
}

/* ============================================
   How It Works Section
   ============================================ */

.how-it-works {
    padding: 120px 0;
    background: var(--color-bg-secondary);
    position: relative;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    position: relative;
}

/* Connecting line */
.steps-grid::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg,
        var(--color-accent-primary) 0%,
        var(--color-accent-secondary) 50%,
        var(--color-accent-tertiary) 100%);
    opacity: 0.3;
}

.step-card {
    position: relative;
    text-align: center;
    padding: var(--spacing-xl);
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-lg);
    background: var(--color-bg-tertiary);
    border: 2px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent-primary);
    position: relative;
    z-index: 1;
    transition: all var(--transition-normal);
}

.step-card:hover .step-number {
    background: var(--color-accent-primary);
    color: var(--color-bg-primary);
    border-color: var(--color-accent-primary);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
}

.step-card:nth-child(2) .step-number { color: var(--color-accent-secondary); }
.step-card:nth-child(2):hover .step-number {
    background: var(--color-accent-secondary);
    border-color: var(--color-accent-secondary);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
}

.step-card:nth-child(3) .step-number { color: var(--color-accent-tertiary); }
.step-card:nth-child(3):hover .step-number {
    background: var(--color-accent-tertiary);
    border-color: var(--color-accent-tertiary);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.4);
}

.step-card:nth-child(4) .step-number { color: #f59e0b; }
.step-card:nth-child(4):hover .step-number {
    background: #f59e0b;
    border-color: #f59e0b;
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.4);
}

.step-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    display: block;
}

.step-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
}

.step-card p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   How It Works V2 - Premium Redesign
   ============================================ */

.how-it-works-v2 {
    padding: 100px 0 120px;
    background: var(--color-bg-secondary);
    position: relative;
    overflow: hidden;
}

.how-it-works-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(0, 240, 255, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Timeline Container */
.hiw-timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 0;
}

/* Vertical Timeline Line */
.timeline-line {
    position: absolute;
    left: 40px;
    top: 80px;
    bottom: 100px;
    width: 3px;
    background: linear-gradient(180deg,
        rgba(0, 240, 255, 0.1) 0%,
        rgba(139, 92, 246, 0.1) 33%,
        rgba(245, 158, 11, 0.1) 66%,
        rgba(34, 197, 94, 0.1) 100%);
    border-radius: 2px;
}

.timeline-line-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg,
        var(--color-accent-primary) 0%,
        var(--color-accent-secondary) 33%,
        #f59e0b 66%,
        #22c55e 100%);
    border-radius: 2px;
    transition: height 0.5s ease-out;
}

/* Each Step */
.hiw-step {
    display: grid;
    grid-template-columns: 80px 1fr 320px;
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
    opacity: 1;
    transform: translateX(0);
}

.hiw-step:last-child {
    margin-bottom: 0;
}

/* Step Marker (Number Circle) */
.step-marker {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.marker-ring {
    position: absolute;
    width: 56px;
    height: 56px;
    border: 2px solid rgba(0, 240, 255, 0.2);
    border-radius: 50%;
    animation: ring-pulse 3s ease-in-out infinite;
}

.hiw-step[data-step="2"] .marker-ring {
    border-color: rgba(139, 92, 246, 0.2);
}

.hiw-step[data-step="3"] .marker-ring {
    border-color: rgba(245, 158, 11, 0.2);
}

.hiw-step[data-step="4"] .marker-ring,
.marker-ring.featured {
    border-color: rgba(34, 197, 94, 0.3);
}

@keyframes ring-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.5; }
}

.marker-dot {
    width: 44px;
    height: 44px;
    background: var(--color-bg-tertiary);
    border: 3px solid var(--color-accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    transition: all 0.3s ease;
}

.hiw-step[data-step="2"] .marker-dot {
    border-color: var(--color-accent-secondary);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.hiw-step[data-step="3"] .marker-dot {
    border-color: #f59e0b;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.hiw-step[data-step="4"] .marker-dot,
.marker-dot.featured {
    border-color: #22c55e;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(16, 185, 129, 0.1));
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.4);
}

.marker-number {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-accent-primary);
}

.hiw-step[data-step="2"] .marker-number {
    color: #ffffff;
}

.hiw-step[data-step="3"] .marker-number {
    color: #f59e0b;
}

.hiw-step[data-step="4"] .marker-number {
    color: #22c55e;
}

.marker-pulse {
    position: absolute;
    width: 44px;
    height: 44px;
    background: var(--color-accent-primary);
    border-radius: 50%;
    opacity: 0;
    animation: marker-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.hiw-step[data-step="2"] .marker-pulse {
    background: var(--color-accent-secondary);
}

.hiw-step[data-step="3"] .marker-pulse {
    background: #f59e0b;
}

.hiw-step[data-step="4"] .marker-pulse,
.marker-pulse.featured {
    background: #22c55e;
}

@keyframes marker-ping {
    0% { transform: scale(1); opacity: 0.4; }
    75%, 100% { transform: scale(2); opacity: 0; }
}

/* Step Content (Text & Icon) */
.step-content {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.step-icon-box {
    position: relative;
    width: 72px;
    height: 72px;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.step-icon-box.featured {
    border-color: rgba(34, 197, 94, 0.3);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(16, 185, 129, 0.05));
}

.icon-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 240, 255, 0.15) 0%, transparent 70%);
    opacity: 0.8;
}

.icon-glow.violet {
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
}

.icon-glow.amber {
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
}

.icon-glow.green {
    background: radial-gradient(circle at center, rgba(34, 197, 94, 0.2) 0%, transparent 70%);
}

.step-icon-box svg {
    position: relative;
    z-index: 1;
}

.step-text {
    flex: 1;
}

.step-text h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.step-text p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Step Tags */
.step-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.step-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-tag.violet {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.2);
    color: var(--color-accent-secondary);
}

.step-tag.amber {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.step-tag.green {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

/* Step Visual Cards */
.step-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    width: 100%;
    max-width: 280px;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.visual-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Create Match Visual */
.create-visual {
    text-align: center;
}

.create-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent-primary), var(--color-accent-secondary));
}

.visual-header {
    margin-bottom: 16px;
}

.visual-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-accent-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.visual-stake {
    margin-bottom: 12px;
}

.visual-stake .stake-value {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.visual-stake .stake-currency {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.visual-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.visual-separator {
    color: var(--color-border);
}

/* VS Visual */
.versus-visual {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}

.versus-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent-secondary), #ec4899);
}

.versus-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.player-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.player-avatar.you {
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    color: #0a0a0f;
}

.player-avatar.opponent {
    background: linear-gradient(135deg, #ec4899, #f43f5e);
    color: white;
}

.player-stake {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.versus-badge {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-muted);
    padding: 8px 16px;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-md);
}

/* Escrow Visual */
.escrow-visual {
    text-align: center;
}

.escrow-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #ef4444);
}

.escrow-icon {
    width: 60px;
    height: 60px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.escrow-amount {
    margin-bottom: 12px;
}

.escrow-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: #f59e0b;
    line-height: 1;
}

.escrow-currency {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.escrow-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #f59e0b;
    margin-bottom: 12px;
}

.escrow-status .status-dot {
    width: 8px;
    height: 8px;
    background: #f59e0b;
    border-radius: 50%;
    animation: status-blink 1.5s ease-in-out infinite;
}

@keyframes status-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.escrow-chain {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
}

/* Payout Visual */
.payout-visual {
    border-color: rgba(34, 197, 94, 0.3);
}

.payout-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #22c55e, #10b981);
}

.payout-header {
    text-align: center;
    margin-bottom: 16px;
}

.payout-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #22c55e, #10b981);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}

.payout-breakdown {
    margin-bottom: 16px;
}

.payout-breakdown .payout-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed var(--color-border);
    font-size: 0.85rem;
}

.payout-breakdown .payout-row:last-child {
    border-bottom: none;
}

.payout-breakdown .payout-row span:first-child {
    color: var(--color-text-muted);
}

.payout-breakdown .payout-amount {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--color-text-secondary);
}

.payout-breakdown .payout-amount.highlight {
    font-size: 1.25rem;
    color: #22c55e;
}

.payout-breakdown .payout-row.winner {
    background: rgba(34, 197, 94, 0.1);
    margin: 0 -24px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
}

.payout-breakdown .payout-row.fee span:first-child {
    font-size: 0.75rem;
}

.payout-breakdown .payout-row.fee .payout-amount {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.payout-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #22c55e;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
}

/* HIW CTA */
.hiw-cta {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

.hiw-cta .btn {
    padding: 1rem 2.5rem;
}

/* Featured Step Styling */
.hiw-step.featured .step-content {
    position: relative;
}

.hiw-step.featured .step-text h3 {
    color: #22c55e;
}

/* ============================================
   How It Works V2 - Responsive
   ============================================ */

@media (max-width: 1024px) {
    .hiw-step {
        grid-template-columns: 60px 1fr;
        gap: 24px;
    }

    .timeline-line {
        left: 28px;
    }

    .step-visual {
        display: none;
    }

    .step-content {
        flex-direction: column;
        gap: 16px;
    }

    .step-icon-box {
        width: 56px;
        height: 56px;
    }

    .step-icon-box svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 768px) {
    .how-it-works-v2 {
        padding: 80px 0;
    }

    .hiw-timeline {
        padding: 40px 0;
    }

    .hiw-step {
        grid-template-columns: 50px 1fr;
        gap: 16px;
        margin-bottom: 60px;
    }

    .timeline-line {
        left: 23px;
        width: 2px;
    }

    .marker-dot {
        width: 36px;
        height: 36px;
    }

    .marker-ring {
        width: 46px;
        height: 46px;
    }

    .marker-number {
        font-size: 1rem;
    }

    .step-text h3 {
        font-size: 1.25rem;
    }

    .step-text p {
        font-size: 0.9rem;
    }

    .step-tags {
        gap: 6px;
    }

    .step-tag {
        padding: 4px 10px;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .hiw-step {
        grid-template-columns: 40px 1fr;
        gap: 12px;
        margin-bottom: 50px;
    }

    .timeline-line {
        left: 18px;
    }

    .marker-dot {
        width: 32px;
        height: 32px;
    }

    .marker-ring {
        width: 40px;
        height: 40px;
    }

    .marker-pulse {
        width: 32px;
        height: 32px;
    }

    .marker-number {
        font-size: 0.9rem;
    }

    .step-icon-box {
        width: 48px;
        height: 48px;
    }

    .step-text h3 {
        font-size: 1.1rem;
    }

    .step-text p {
        font-size: 0.85rem;
    }
}

/* ============================================
   Features Section
   ============================================ */

.features {
    padding: 120px 0;
    background: var(--color-bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.feature-card {
    background: var(--color-bg-secondary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    font-size: 2rem;
    background: rgba(0, 240, 255, 0.1);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
}

.feature-card:nth-child(2) .feature-icon { background: rgba(139, 92, 246, 0.1); }
.feature-card:nth-child(3) .feature-icon { background: rgba(34, 197, 94, 0.1); }
.feature-card:nth-child(4) .feature-icon { background: rgba(245, 158, 11, 0.1); }
.feature-card:nth-child(5) .feature-icon { background: rgba(236, 72, 153, 0.1); }
.feature-card:nth-child(6) .feature-icon { background: rgba(0, 240, 255, 0.1); }

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
}

.feature-card p {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   Stakes & Game Modes V2 - Premium Redesign
   ============================================ */

.stakes-v2 {
    padding: 120px 0;
    background: var(--color-bg-primary);
    position: relative;
    overflow: hidden;
}

.stakes-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.stakes-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.stakes-gradient-orb.orb-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(236, 72, 153, 0.05));
    top: -200px;
    left: -200px;
}

.stakes-gradient-orb.orb-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.06), rgba(34, 197, 94, 0.04));
    bottom: -150px;
    right: -150px;
}

/* Showcase Container */
.stakes-showcase {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: stretch;
    margin-top: 60px;
}

.showcase-panel {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: 32px;
    position: relative;
}

.panel-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: 28px;
}

.panel-label svg {
    stroke: var(--color-accent-primary);
}

/* Stakes Tiers */
.stakes-tiers {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stake-tier {
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 20px 24px;
    position: relative;
    transition: all 0.3s ease;
}

.stake-tier:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(4px);
}

.stake-tier.featured {
    border-color: var(--color-accent-secondary);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.05));
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
}

.stake-tier.featured:hover {
    transform: translateX(8px);
}

.tier-popular {
    position: absolute;
    top: -10px;
    right: 20px;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--color-accent-secondary), #ec4899);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tier-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.tier-label {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.tier-badge {
    padding: 4px 10px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-accent-secondary);
    text-transform: uppercase;
}

.stake-tier.micro .tier-badge {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.tier-badge.pro {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(239, 68, 68, 0.1));
    border-color: rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}

.tier-amounts {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.tier-amount {
    padding: 8px 16px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.tier-amount.highlight {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.1));
    border-color: var(--color-accent-secondary);
    color: var(--color-accent-secondary);
}

.tier-payout {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.tier-payout strong {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: #22c55e;
}

.stakes-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 14px 18px;
    background: rgba(0, 240, 255, 0.05);
    border: 1px dashed rgba(0, 240, 255, 0.2);
    border-radius: var(--radius-lg);
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.stakes-note svg {
    flex-shrink: 0;
    stroke: var(--color-accent-primary);
}

/* Divider */
.showcase-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 40px 0;
}

.divider-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(180deg, transparent, var(--color-border), transparent);
}

.divider-icon {
    width: 48px;
    height: 48px;
    background: var(--color-bg-secondary);
    border: 2px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-muted);
}

/* Time Modes */
.time-modes {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.time-mode {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 4px 16px;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 20px 24px;
    position: relative;
    transition: all 0.3s ease;
}

.time-mode:hover {
    border-color: rgba(0, 240, 255, 0.3);
    transform: translateX(-4px);
}

.time-mode.featured {
    border-color: var(--color-accent-secondary);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.05));
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
}

.time-mode.featured:hover {
    transform: translateX(-8px);
}

.mode-popular-tag {
    position: absolute;
    top: -10px;
    left: 20px;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--color-accent-secondary), #ec4899);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mode-icon-wrap {
    grid-row: span 2;
    width: 56px;
    height: 56px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mode-details {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mode-details h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0;
}

.mode-times {
    display: flex;
    gap: 6px;
}

.mode-times span {
    padding: 3px 8px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.mode-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    grid-column: 2;
}

/* Stats Bar */
.stakes-stats-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-top: 60px;
    padding: 32px 48px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon.usdc-icon {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #2775ca;
    background: rgba(39, 117, 202, 0.1);
    border-color: rgba(39, 117, 202, 0.2);
}

.stat-icon.time-icon svg {
    stroke: var(--color-accent-primary);
}

.stat-icon.payout-icon {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.stat-number.highlight {
    color: #22c55e;
}

.stat-info .stat-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.stat-divider-v {
    width: 1px;
    height: 48px;
    background: var(--color-border);
}

/* ============================================
   Stakes V2 - Responsive
   ============================================ */

@media (max-width: 1024px) {
    .stakes-showcase {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .showcase-divider {
        flex-direction: row;
        padding: 0 40px;
    }

    .divider-line {
        width: auto;
        height: 2px;
        flex: 1;
        background: linear-gradient(90deg, transparent, var(--color-border), transparent);
    }

    .stakes-stats-bar {
        gap: 40px;
        padding: 24px 32px;
    }
}

@media (max-width: 768px) {
    .stakes-v2 {
        padding: 80px 0;
    }

    .showcase-panel {
        padding: 24px;
    }

    .tier-amounts {
        flex-wrap: wrap;
    }

    .stakes-stats-bar {
        flex-direction: column;
        gap: 24px;
        padding: 24px;
    }

    .stat-divider-v {
        width: 80px;
        height: 1px;
    }

    .stat-item {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .tier-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .mode-times {
        flex-wrap: wrap;
    }
}

/* ============================================
   Trust & Transparency V2 - Premium Redesign
   ============================================ */

.trust-v2 {
    padding: 120px 0;
    background: var(--color-bg-secondary);
    position: relative;
    overflow: hidden;
}

.trust-v2-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.trust-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
}

.trust-gradient-orb.orb-left {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.08), rgba(139, 92, 246, 0.05));
    top: 0;
    left: -200px;
}

.trust-gradient-orb.orb-right {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.06), rgba(0, 240, 255, 0.04));
    bottom: 0;
    right: -150px;
}

.trust-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 70%);
}

.trust-v2 .section-badge.security {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

/* Security Fortress Visual */
.trust-hero {
    margin: 60px 0;
    display: flex;
    justify-content: center;
}

.security-fortress {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fortress-core {
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.shield-outer-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: rotate-slow 20s linear infinite;
}

.ring-segment {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px dashed transparent;
    border-radius: 50%;
}

.ring-segment.seg-1 {
    border-top-color: var(--color-accent-primary);
    opacity: 0.5;
}

.ring-segment.seg-2 {
    border-right-color: var(--color-accent-secondary);
    opacity: 0.5;
    animation-delay: -5s;
}

.ring-segment.seg-3 {
    border-bottom-color: #22c55e;
    opacity: 0.5;
    animation-delay: -10s;
}

.ring-segment.seg-4 {
    border-left-color: #f59e0b;
    opacity: 0.5;
    animation-delay: -15s;
}

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

.shield-inner-ring {
    position: absolute;
    width: 130px;
    height: 130px;
    border: 2px solid rgba(0, 240, 255, 0.2);
    border-radius: 50%;
    animation: rotate-slow 15s linear infinite reverse;
}

.shield-core {
    position: relative;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(139, 92, 246, 0.1));
    border: 2px solid rgba(0, 240, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow:
        0 0 40px rgba(0, 240, 255, 0.2),
        0 0 80px rgba(139, 92, 246, 0.1),
        inset 0 0 30px rgba(0, 240, 255, 0.1);
}

.shield-pulse-ring {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid var(--color-accent-primary);
    border-radius: 50%;
    animation: shield-expand 3s ease-out infinite;
}

@keyframes shield-expand {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2); opacity: 0; }
}

/* Connection Lines SVG */
.fortress-connections {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.connection-line {
    stroke-dasharray: 8 4;
    animation: dash-flow 2s linear infinite;
}

@keyframes dash-flow {
    to { stroke-dashoffset: -24; }
}

/* Floating Security Badges */
.security-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    animation: float-badge 4s ease-in-out infinite;
    z-index: 4;
}

.security-badge span {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.security-badge.badge-audit {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    border-color: rgba(34, 197, 94, 0.3);
}

.security-badge.badge-chain {
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    animation-delay: 1.3s;
    border-color: rgba(0, 240, 255, 0.3);
}

.security-badge.badge-verified {
    top: 20%;
    right: 10%;
    animation-delay: 0.7s;
    border-color: rgba(139, 92, 246, 0.3);
}

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

.security-badge.badge-chain {
    animation-name: float-badge-alt;
}

@keyframes float-badge-alt {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(calc(-50% - 10px)); }
}

/* Trust Features Grid */
.trust-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.trust-feature-card {
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.trust-feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.trust-feature-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.05), rgba(139, 92, 246, 0.03));
    border-color: rgba(0, 240, 255, 0.2);
}

.trust-feature-card.featured:hover {
    border-color: var(--color-accent-primary);
}

.feature-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.feature-icon-large {
    width: 80px;
    height: 80px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon-large.amber {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
}

.feature-icon-large.violet {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.2);
}

.feature-icon-large.green {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
}

.feature-badge-top {
    position: absolute;
    top: 20px;
    right: 24px;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trust-feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 12px;
}

.trust-feature-card p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Wallet Flow Visual */
.feature-visual.wallet-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 24px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
}

.wallet-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.wallet-icon.you {
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    color: #ffffff;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

.wallet-icon.winner {
    background: linear-gradient(135deg, #22c55e, #10b981);
    color: white;
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.3);
}

.flow-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.flow-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contract Stats */
.contract-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contract-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: #22c55e;
}

.stat-icon-sm {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Anti-Cheat Features */
.anticheat-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ac-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-accent-secondary);
}

.ac-tag svg {
    stroke: var(--color-accent-secondary);
}

/* Rules Highlight */
.rules-highlight {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 28px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
}

.rule-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.rule-percent {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: #22c55e;
}

.rule-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rule-divider {
    width: 1px;
    height: 50px;
    background: var(--color-border);
}

/* Trust Links Bar */
.trust-links-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

.trust-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.trust-link-btn:hover {
    background: var(--color-bg-secondary);
    border-color: var(--color-accent-primary);
    color: var(--color-accent-primary);
    transform: translateY(-2px);
}

.trust-link-btn svg {
    transition: stroke 0.3s ease;
}

.trust-link-btn:hover svg {
    stroke: var(--color-accent-primary);
}

/* ============================================
   Trust V2 - Responsive
   ============================================ */

@media (max-width: 1024px) {
    .security-fortress {
        height: 250px;
    }

    .security-badge.badge-chain {
        display: none;
    }

    .trust-features-grid {
        grid-template-columns: 1fr;
    }

    .trust-feature-card.featured {
        grid-column: span 1;
    }

    .feature-visual.wallet-flow {
        flex-direction: column;
        gap: 16px;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .trust-v2 {
        padding: 80px 0;
    }

    .trust-hero {
        margin: 40px 0;
    }

    .security-fortress {
        height: 200px;
    }

    .fortress-core {
        width: 120px;
        height: 120px;
    }

    .shield-inner-ring {
        width: 100px;
        height: 100px;
    }

    .shield-core {
        width: 80px;
        height: 80px;
    }

    .shield-core svg {
        width: 48px;
        height: 48px;
    }

    .shield-pulse-ring {
        width: 80px;
        height: 80px;
    }

    .security-badge {
        padding: 8px 12px;
        font-size: 0.7rem;
    }

    .security-badge.badge-audit {
        left: 5%;
    }

    .security-badge.badge-verified {
        right: 5%;
    }

    .fortress-connections {
        display: none;
    }

    .trust-feature-card {
        padding: 24px;
    }

    .trust-feature-card h3 {
        font-size: 1.25rem;
    }

    .trust-feature-card p {
        font-size: 0.9rem;
    }

    .feature-icon-large {
        width: 64px;
        height: 64px;
    }

    .feature-icon-large svg {
        width: 36px;
        height: 36px;
    }

    .trust-links-bar {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .trust-link-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .security-fortress {
        height: 160px;
    }

    .fortress-core {
        width: 100px;
        height: 100px;
    }

    .shield-inner-ring {
        width: 80px;
        height: 80px;
    }

    .shield-core {
        width: 64px;
        height: 64px;
    }

    .shield-core svg {
        width: 36px;
        height: 36px;
    }

    .shield-pulse-ring {
        width: 64px;
        height: 64px;
    }

    .security-badge {
        display: none;
    }

    .rules-highlight {
        flex-direction: column;
        gap: 16px;
        padding: 16px 20px;
    }

    .rule-divider {
        width: 60px;
        height: 1px;
    }

    .contract-stats {
        flex-direction: column;
    }

    .anticheat-features {
        flex-direction: column;
    }
}

/* ============================================
   Stakes & Game Modes Section (Legacy)
   ============================================ */

.stakes-section {
    padding: 120px 0;
    background: var(--color-bg-secondary);
}

.stakes-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

/* Stakes Panel */
.stakes-panel {
    background: var(--color-bg-tertiary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    padding: var(--spacing-2xl);
}

.panel-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.panel-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-xs);
}

.panel-header p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.stake-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.stake-btn {
    padding: var(--spacing-lg);
    background: var(--color-bg-secondary);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
}

.stake-btn:hover {
    border-color: var(--color-accent-tertiary);
    background: rgba(34, 197, 94, 0.05);
}

.stake-btn.active {
    border-color: var(--color-accent-tertiary);
    background: rgba(34, 197, 94, 0.1);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

.stake-amount {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.stake-currency {
    font-size: 0.875rem;
    color: var(--color-accent-tertiary);
    font-weight: 500;
}

.stake-custom {
    grid-column: span 2;
}

.stake-custom input {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    font-size: 1rem;
    text-align: center;
}

.stake-custom input:focus {
    outline: none;
    border-color: var(--color-accent-tertiary);
}

.stake-info {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-md);
    background: var(--color-bg-secondary);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
}

.stake-info span:first-child {
    color: var(--color-text-muted);
}

.stake-info span:last-child {
    color: var(--color-accent-tertiary);
    font-weight: 600;
}

/* Time Controls Panel */
.modes-panel {
    background: var(--color-bg-tertiary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    padding: var(--spacing-2xl);
}

.time-controls {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.time-control {
    display: flex;
    align-items: center;
    padding: var(--spacing-lg);
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.time-control:hover {
    border-color: var(--color-accent-primary);
}

.time-control.active {
    border-color: var(--color-accent-primary);
    background: rgba(0, 240, 255, 0.05);
}

.time-icon {
    font-size: 2rem;
    margin-right: var(--spacing-lg);
}

.time-info {
    flex: 1;
}

.time-name {
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.25rem;
}

.time-desc {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.time-value {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-accent-primary);
}

/* ============================================
   Trust Section
   ============================================ */

.trust-section {
    padding: 120px 0;
    background: var(--color-bg-primary);
}

.trust-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.trust-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-container {
    position: relative;
    width: 280px;
    height: 320px;
}

.shield {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
        rgba(0, 240, 255, 0.1) 0%,
        rgba(139, 92, 246, 0.1) 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border: 2px solid;
    border-image: var(--gradient-primary) 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.shield::before {
    content: '';
    position: absolute;
    inset: 10px;
    background: var(--color-bg-secondary);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.shield-icon {
    position: relative;
    z-index: 1;
    font-size: 5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shield-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle at center,
        rgba(0, 240, 255, 0.15) 0%,
        transparent 60%);
    animation: shield-pulse 4s ease-in-out infinite;
}

@keyframes shield-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.trust-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text-primary);
}

.trust-text > p {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
}

.trust-points {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.trust-point {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.trust-point-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.1);
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.trust-point h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.25rem;
}

.trust-point p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* ============================================
   Legal Alert Section - Orange Warning Style
   ============================================ */

.legal-alert-section {
    padding: 60px 0;
    background: var(--color-bg-primary);
}

.legal-alert {
    position: relative;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(234, 88, 12, 0.05));
    border: 2px solid rgba(245, 158, 11, 0.4);
    border-radius: var(--radius-2xl);
    padding: 32px;
    overflow: hidden;
}

.legal-alert-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.legal-alert-stripe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #ea580c, #f59e0b);
    background-size: 200% 100%;
    animation: stripe-shift 3s linear infinite;
}

@keyframes stripe-shift {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

/* Alert Header */
.legal-alert-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}

.alert-icon-wrap {
    width: 56px;
    height: 56px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-warning 2s ease-in-out infinite;
}

@keyframes pulse-warning {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
}

.alert-title-wrap {
    flex: 1;
}

.alert-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #f59e0b;
    margin: 0 0 4px 0;
}

.alert-subtitle {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin: 0;
}

/* Alert Grid */
.legal-alert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.legal-alert-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
}

.legal-alert-item:hover {
    border-color: rgba(245, 158, 11, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.legal-item-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.legal-item-icon.age {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    color: white;
}

.legal-item-icon.skill {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.legal-item-icon.skill svg {
    stroke: #8b5cf6;
}

.legal-item-icon.no-gambling {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.legal-item-icon.no-gambling svg {
    stroke: #ef4444;
}

.legal-item-icon.jurisdiction {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.legal-item-icon.jurisdiction svg {
    stroke: var(--color-accent-primary);
}

.legal-item-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.legal-item-text strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.legal-item-text span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

/* Alert Footer / Disclaimer */
.legal-alert-footer {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 24px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
}

.disclaimer-icon {
    width: 32px;
    height: 32px;
    background: rgba(245, 158, 11, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.disclaimer-icon svg {
    stroke: #f59e0b;
}

.disclaimer-text {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

.disclaimer-text strong {
    color: #f59e0b;
    font-weight: 600;
}

.disclaimer-text em {
    color: var(--color-text-primary);
    font-style: normal;
    font-weight: 500;
}

/* Legal Links */
.legal-alert-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.legal-link-sm {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.legal-link-sm:hover {
    color: #f59e0b;
}

.legal-link-divider {
    width: 4px;
    height: 4px;
    background: var(--color-border);
    border-radius: 50%;
}

/* ============================================
   Legal Alert - Responsive
   ============================================ */

@media (max-width: 1024px) {
    .legal-alert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .legal-alert-section {
        padding: 40px 0;
    }

    .legal-alert {
        padding: 24px;
    }

    .legal-alert-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .alert-title {
        font-size: 1.25rem;
    }

    .legal-alert-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .legal-alert-item {
        padding: 16px;
    }

    .legal-item-icon {
        width: 40px;
        height: 40px;
    }

    .legal-item-icon.age {
        font-size: 0.9rem;
    }

    .legal-item-icon svg {
        width: 18px;
        height: 18px;
    }

    .legal-alert-footer {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }

    .disclaimer-icon {
        margin: 0 auto;
    }

    .legal-alert-links {
        flex-wrap: wrap;
        gap: 12px;
    }

    .legal-link-divider {
        display: none;
    }
}

@media (max-width: 480px) {
    .legal-alert {
        padding: 20px 16px;
    }

    .alert-icon-wrap {
        width: 48px;
        height: 48px;
    }

    .alert-icon-wrap svg {
        width: 24px;
        height: 24px;
    }

    .legal-item-text strong {
        font-size: 0.9rem;
    }

    .legal-item-text span {
        font-size: 0.75rem;
    }

    .disclaimer-text {
        font-size: 0.8rem;
    }
}

/* Legacy legal section (keep for backward compat) */
.legal-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.legal-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-2xl);
    flex-wrap: wrap;
}

.legal-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
}

.legal-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-tertiary);
    border-radius: var(--radius-md);
    font-size: 1rem;
}

.legal-item strong {
    color: var(--color-text-primary);
    font-weight: 600;
}

/* ============================================
   Final CTA Section
   ============================================ */

.cta-final {
    padding: 120px 0;
    background: linear-gradient(180deg,
        var(--color-bg-primary) 0%,
        var(--color-bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse at center,
        rgba(0, 240, 255, 0.1) 0%,
        transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-bottom: var(--spacing-2xl);
}

.cta-note {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.cta-note a {
    color: var(--color-accent-primary);
    text-decoration: none;
}

.cta-note a:hover {
    text-decoration: underline;
}

/* ============================================
   Final CTA V2 - Enhanced Design with Polygon
   ============================================ */

.cta-final-v2 {
    position: relative;
    padding: 120px 0 140px;
    background: linear-gradient(180deg, var(--color-bg-secondary) 0%, #0a0a12 100%);
    overflow: hidden;
}

.cta-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.cta-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
}

.cta-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.cta-glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, transparent 70%);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    animation: cta-pulse 8s ease-in-out infinite;
}

.cta-glow-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
    bottom: -100px;
    right: 10%;
    animation: cta-pulse 6s ease-in-out infinite reverse;
}

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

.cta-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-accent-primary);
    border-radius: 50%;
    opacity: 0.4;
    animation: float-particle 15s linear infinite;
}

.cta-particles .particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.cta-particles .particle:nth-child(2) { left: 25%; top: 60%; animation-delay: 3s; }
.cta-particles .particle:nth-child(3) { left: 70%; top: 30%; animation-delay: 6s; }
.cta-particles .particle:nth-child(4) { left: 85%; top: 70%; animation-delay: 9s; }
.cta-particles .particle:nth-child(5) { left: 50%; top: 85%; animation-delay: 12s; }

@keyframes float-particle {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
    50% { transform: translateY(-30px) scale(1.5); opacity: 0.8; }
}

.cta-content-v2 {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

/* Crown Icon */
.cta-crown {
    width: 80px;
    height: 80px;
    margin: 0 auto 32px;
    animation: crown-float 4s ease-in-out infinite;
}

.cta-crown svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.3));
}

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

/* Title */
.cta-final-v2 .cta-title {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.cta-title .title-line {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-title .title-accent {
    display: block;
    font-size: 2.5rem;
    color: var(--color-text-secondary);
    -webkit-text-fill-color: var(--color-text-secondary);
    font-weight: 400;
    margin-top: 8px;
}

.cta-final-v2 .cta-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Main CTA Button */
.cta-button-main {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 48px;
    font-size: 1.125rem;
    font-weight: 600;
    color: #0a0f0d;
    background: transparent;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button-main .btn-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #00f0ff 0%, #22c55e 50%, #00f0ff 100%);
    background-size: 200% 100%;
    border-radius: 16px;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.cta-button-main .btn-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cta-button-main .btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.cta-button-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0, 240, 255, 0.3), 0 0 40px rgba(34, 197, 94, 0.2);
}

.cta-button-main:hover .btn-shine {
    left: 100%;
}

/* Network Box - Polygon */
.cta-network-box {
    margin-top: 48px;
    padding: 24px 32px;
    background: rgba(130, 71, 229, 0.08);
    border: 1px solid rgba(130, 71, 229, 0.25);
    border-radius: 20px;
    display: inline-block;
}

.network-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.network-polygon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.polygon-logo {
    width: 32px;
    height: 32px;
}

.polygon-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8247E5;
}

.network-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #22c55e;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.network-features {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.net-feature {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
}

.net-feature svg {
    color: rgba(130, 71, 229, 0.7);
}

/* Bottom Stats */
.cta-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-stat {
    text-align: center;
}

.cta-stat .stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.cta-stat .stat-label {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.cta-stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* CTA V2 Responsive */
@media (max-width: 768px) {
    .cta-final-v2 {
        padding: 80px 0 100px;
    }

    .cta-crown {
        width: 64px;
        height: 64px;
        margin-bottom: 24px;
    }

    .cta-final-v2 .cta-title {
        font-size: 2.75rem;
    }

    .cta-title .title-accent {
        font-size: 1.75rem;
    }

    .cta-final-v2 .cta-subtitle {
        font-size: 1.0625rem;
        margin-bottom: 32px;
    }

    .cta-button-main {
        padding: 16px 36px;
        font-size: 1rem;
    }

    .cta-network-box {
        margin-top: 36px;
        padding: 20px 24px;
    }

    .polygon-name {
        font-size: 1.25rem;
    }

    .network-features {
        gap: 12px;
    }

    .net-feature {
        font-size: 0.75rem;
    }

    .cta-stats {
        gap: 24px;
        margin-top: 36px;
        padding-top: 24px;
    }

    .cta-stat .stat-value {
        font-size: 1.5rem;
    }

    .cta-glow-1 {
        width: 400px;
        height: 400px;
    }

    .cta-glow-2 {
        display: none;
    }
}

@media (max-width: 480px) {
    .cta-final-v2 .cta-title {
        font-size: 2.25rem;
    }

    .cta-title .title-accent {
        font-size: 1.5rem;
    }

    .cta-button-main {
        width: 100%;
        padding: 16px 24px;
    }

    .cta-network-box {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .network-features {
        flex-direction: column;
        gap: 8px;
    }

    .cta-stats {
        flex-direction: column;
        gap: 20px;
    }

    .cta-stat-divider {
        width: 40px;
        height: 1px;
    }
}

/* ============================================
   Final CTA Hero - Premium Redesign
   ============================================ */

.cta-hero {
    position: relative;
    padding: 100px 0 120px;
    overflow: hidden;
    background: var(--color-bg-secondary);
}

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

/* Chess board pattern */
.cta-chess-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(45deg, var(--color-border) 25%, transparent 25%),
        linear-gradient(-45deg, var(--color-border) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, var(--color-border) 75%),
        linear-gradient(-45deg, transparent 75%, var(--color-border) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
    opacity: 0.03;
}

.cta-gradient-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 240, 255, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
}

[data-theme="dark"] .cta-gradient-overlay {
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 240, 255, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(139, 92, 246, 0.10) 0%, transparent 50%);
}

.cta-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Floating Chess Pieces */
.cta-floating-pieces {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-piece {
    position: absolute;
    font-size: 3rem;
    opacity: 0.06;
    color: var(--color-text-primary);
    animation: float-piece 20s ease-in-out infinite;
}

[data-theme="dark"] .floating-piece {
    opacity: 0.08;
}

.piece-king {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.piece-queen {
    top: 60%;
    right: 8%;
    font-size: 2.5rem;
    animation-delay: -7s;
}

.piece-rook {
    bottom: 15%;
    left: 10%;
    font-size: 2rem;
    animation-delay: -14s;
}

@keyframes float-piece {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(5deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(10px) rotate(-3deg); }
}

/* Badge */
.cta-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 50px;
    color: #22c55e;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 32px;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

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

/* Title */
.cta-hero-title {
    font-family: var(--font-display);
    margin-bottom: 32px;
}

.cta-hero-title .title-main {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1.1;
    margin-bottom: 8px;
}

.cta-hero-title .title-sub {
    display: block;
    font-size: 2.5rem;
    font-weight: 500;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Value Props */
.cta-value-props {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.value-prop {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-secondary);
    font-size: 1rem;
}

.value-prop svg {
    color: #22c55e;
    flex-shrink: 0;
}

/* CTA Buttons */
.cta-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 36px;
    background: var(--gradient-primary);
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
}

.btn-cta-primary .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-cta-primary .btn-icon svg {
    width: 26px;
    height: 26px;
}

.btn-cta-primary .btn-arrow {
    transition: transform 0.3s ease;
}

.btn-cta-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 18px 36px;
    background: transparent;
    color: var(--color-text-primary);
    font-size: 1.125rem;
    font-weight: 500;
    text-decoration: none;
    border: 2px solid var(--color-border);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    border-color: var(--color-accent-primary);
    color: var(--color-accent-primary);
    background: rgba(0, 240, 255, 0.05);
}

/* Trust Bar */
.cta-trust-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 24px 40px;
    background: var(--color-bg-primary);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 12px;
    color: var(--color-accent-primary);
}

.trust-icon.green {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.trust-icon.violet {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.trust-icon .usdc-icon {
    font-size: 1.5rem;
    font-weight: 700;
}

.trust-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.trust-text strong {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.trust-text span {
    font-size: 0.8125rem;
    color: var(--color-text-tertiary);
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

/* Responsive for CTA Hero */
@media (max-width: 768px) {
    .cta-hero {
        padding: 80px 0 100px;
    }

    .cta-hero-title .title-main {
        font-size: 2.5rem;
    }

    .cta-hero-title .title-sub {
        font-size: 1.75rem;
    }

    .cta-value-props {
        flex-direction: column;
        gap: 16px;
    }

    .cta-hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .cta-trust-bar {
        flex-direction: column;
        gap: 20px;
        padding: 24px;
    }

    .trust-divider {
        width: 60%;
        height: 1px;
    }

    .floating-piece {
        display: none;
    }
}

/* ============================================
   Responsive Styles
   ============================================ */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        height: 350px;
        margin-top: var(--spacing-xl);
    }

    .hero-image {
        max-height: 350px;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
    }

    .steps-grid::before {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stakes-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .trust-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .trust-visual {
        order: -1;
        margin-bottom: var(--spacing-xl);
    }

    .shield-container {
        width: 200px;
        height: 230px;
    }

    .shield-icon {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-lg);
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .steps-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .stake-options {
        grid-template-columns: 1fr;
    }

    .stake-custom {
        grid-column: span 1;
    }

    .legal-banner {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .cta-title {
        font-size: 2.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }
}
