/* ============================================
   IMMUTABLE WEB3/NFT THEME
   Shared styles for all /immutable/* pages
   ============================================ */

/* ============================================
   THEME OVERRIDES
   ============================================ */
#sub-nav {
    background-color: #7000a0;
    border-bottom: solid 1px #9000c0;
    border-top: solid 1px #9000c0;
    box-shadow: 0px 5px 5px 0px rgba(50, 50, 50, 0.125);
    color: #fff;
    padding: 8px 0;
    margin-top: 62px;
}
#footer {
    background-color: #7000a0;
    border-top: solid 1px #8000c0;
    margin-top: 0px;
    position: relative;
}
body {
    margin-bottom: 0px;
}

/* ============================================
   BASE HERO STYLES
   ============================================ */
.primary-sales-hero,
.about-hero,
.success-hero {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.primary-sales-hero::before,
.about-hero::before,
.success-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(139,92,246,0.2) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(59,130,246,0.2) 0%, transparent 40%);
}
.primary-sales-hero h1,
.about-hero h1 {
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 12px;
    position: relative;
    background: linear-gradient(90deg, #a78bfa, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.primary-sales-hero p,
.about-hero p {
    opacity: .9;
    font-size: 1.1rem;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

/* About Hero - with background image */
.about-hero {
    background-image: url('/img/immutable/about-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.about-hero::before {
    background: linear-gradient(
        to bottom,
        rgba(15, 12, 41, 0.6) 0%,
        rgba(15, 12, 41, 0.85) 100%
    );
}

/* ============================================
   NFT BADGE
   ============================================ */
.nft-badge {
    display: inline-block;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.primary-sales-content,
.about-content {
    padding: 48px 0;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    min-height: 500px;
}
.about-content {
    min-height: 400px;
    background: url('/img/immutable/shg/DragonLane_003.jpg') center center / cover no-repeat;
}

/* ============================================
   STATE MANAGEMENT
   ============================================ */
#marketing-state,
#purchase-state {
    transition: opacity 0.3s ease;
}

/* ============================================
   MARKETING HERO (with background image)
   ============================================ */
.marketing-hero {
    padding: 0 0 0;
    background-image: url('/img/immutable/shg/hero-bg.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    min-height: 500px;
}
.marketing-hero::before {
    background: linear-gradient(
        to bottom,
        rgba(15, 12, 41, 0.4) 0%,
        rgba(15, 12, 41, 0.7) 50%,
        rgba(15, 12, 41, 0.95) 100%
    );
}
.marketing-hero h1 {
    font-size: 3rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.marketing-tagline {
    font-size: 1.375rem;
    margin-bottom: 32px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
    position: relative;
    z-index: 2;
    color: rgba(255,255,255,0.95);
}

/* ============================================
   GAME BRANDING (StoneHold)
   ============================================ */
.stonehold-logo {
    max-width: 350px;
    height: auto;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 16px rgba(0,0,0,0.6));
}
.sale-subtitle {
    color: #fbbf24;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
    text-shadow: 0 3px 12px rgba(0,0,0,0.6);
}

/* ============================================
   GALLERY ITEMS
   ============================================ */
.marketing-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 48px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.gallery-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.2);
}
.gallery-item-image {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, #302b63, #24243e);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    overflow: hidden;
}
.gallery-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-item h4 {
    color: #fff;
    margin: 0 0 8px 0;
    font-size: 1.125rem;
}
.gallery-item p {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    margin: 0;
}

/* ============================================
   FOUNDER'S PACK SHOWCASE
   ============================================ */
.founders-pack-showcase {
    width: 900px;
    max-width: 100%;
    margin: 32px auto 0;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.founders-pack-showcase:hover {
    box-shadow: 0 8px 40px rgba(139, 92, 246, 0.35);
}
.showcase-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
}
.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.showcase-content {
    padding: 40px 48px;
    background: rgba(15, 12, 41, 0.9);
    backdrop-filter: blur(8px);
}
.showcase-content h3 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    background: linear-gradient(90deg, #a78bfa, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.showcase-content .tagline {
    color: rgba(255,255,255,0.95);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 28px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.showcase-content .description {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.showcase-content .warden-list {
    color: #fbbf24;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
    padding: 20px 32px;
    background: 
        linear-gradient(rgba(15, 12, 41, 0.7), rgba(15, 12, 41, 0.7)),
        url('/img/immutable/shg/characters.png') center center no-repeat;
    background-size: cover;
    border: 1px solid rgba(251, 191, 36, 0.35);
    border-radius: 10px;
    display: inline-block;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.showcase-content .warden-list-wrapper {
    text-align: center;
    margin-bottom: 24px;
}
.showcase-content .includes-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 24px;
}
.showcase-content .includes-list li {
    background: rgba(96, 165, 250, 0.18);
    border: 1px solid rgba(96, 165, 250, 0.35);
    border-radius: 10px;
    padding: 14px 24px;
    color: #60a5fa;
    font-size: 1.125rem;
    font-weight: 600;
    list-style: none;
}

/* ============================================
   WHAT'S ON SALE SECTION
   ============================================ */
.whats-on-sale {
    padding: 64px 0;
    background-image: url('/img/immutable/shg/ClockLane_003.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.whats-on-sale::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 12, 41, 0.75) 0%,
        rgba(15, 12, 41, 0.9) 100%
    );
}
.whats-on-sale .container {
    position: relative;
    z-index: 1;
}
.whats-on-sale h2 {
    color: #fff;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.whats-on-sale .section-subtitle {
    color: rgba(255,255,255,0.8);
    text-align: center;
    margin-bottom: 32px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
    font-size: 1.125rem;
}
.sale-items-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}
.sale-item-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    min-width: 320px;
    max-width: 400px;
    flex: 1;
    transition: transform 0.2s, box-shadow 0.2s;
}
.sale-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3);
}
.sale-item-card .item-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
}
.sale-item-card .item-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}
.sale-item-card h4 {
    color: #fff;
    margin: 0 0 12px 0;
    font-size: 1.25rem;
    font-weight: 600;
}
.sale-item-card .item-qty {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
}

/* ============================================
   AVAILABILITY SECTION
   ============================================ */
.availability-section {
    padding: 64px 0;
    background-image: url('/img/immutable/shg/Base_Gate_Paintover.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.availability-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 12, 41, 0.7) 0%,
        rgba(15, 12, 41, 0.85) 100%
    );
}
.availability-section .container {
    position: relative;
    z-index: 1;
}
.availability-card {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    text-align: center;
}
.availability-card h3 {
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 16px;
    font-weight: 700;
}
.availability-card > p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 24px;
    font-size: 1.125rem;
}

/* ============================================
   CTA BUTTONS
   ============================================ */
.cta-button {
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    color: white;
    border: none;
    padding: 16px 48px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
}
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}
.cta-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    animation: none;
}
.cta-button.small {
    padding: 0px 37px 10px 37px;
    font-size: 0.9rem;
    margin: 10px 0 0 0;
}
.cta-button.secondary {
    background: rgb(172 11 11 / 39%);
    border: 1px solid rgba(255, 255, 255, 14.2);
}
.cta-button.secondary:hover {
    background: rgba(176, 26, 26, 0.589);
    border: 1px solid rgba(255, 255, 255, 14.2);
}

/* Prominent Check Availability Button */
#check-availability-btn {
    padding: 20px 60px;
    font-size: 1.35rem;
    border-radius: 12px;
    animation: pulse-glow 2s ease-in-out infinite;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}
#check-availability-btn:hover {
    animation: none;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.5);
}

.btn-primary-sales {
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    border: none;
    color: #fff;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: transform .2s, box-shadow .2s;
    margin: 0 8px 16px;
}
.btn-primary-sales:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139,92,246,.4);
    color: #fff;
    text-decoration: none;
}

/* Check Eligibility CTA: larger and animated border */
.check-eligibility-cta {
    min-height: 54px;
    padding: 14px 40px 14px 24px !important;
    font-size: 14px !important;
    position: relative;
    overflow: visible;
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.5), 0 0 16px rgba(139, 92, 246, 0.25);
    animation: check-eligibility-border 2.5s ease-in-out infinite;
}
.check-eligibility-cta::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 200px;
    padding: 3px;
    background: linear-gradient(90deg, #8b5cf6, #60a5fa, #34d399, #8b5cf6);
    background-size: 300% 100%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
    animation: check-eligibility-gradient 4s linear infinite;
}
@keyframes check-eligibility-border {
    0%, 100% { box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.5), 0 0 16px rgba(139, 92, 246, 0.25); }
    50% { box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.8), 0 0 24px rgba(139, 92, 246, 0.45); }
}
@keyframes check-eligibility-gradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

/* ============================================
   LINKS
   ============================================ */
.skip-link {
    display: block;
    margin-top: 16px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}
.skip-link:hover {
    color: #60a5fa;
}
.back-link {
    display: inline-block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin-bottom: 16px;
    font-size: 1rem;
    transition: color 0.2s;
    position: relative;
}
.back-link:hover {
    color: #fff;
}

/* ============================================
   TOP-UP LINKS
   ============================================ */
.topup-links {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    padding: 12px;
    margin-top: 12px;
}
.topup-links p {
    color: #60a5fa;
    margin: 0 0 8px 0;
    font-size: 1rem;
}
.topup-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.topup-links li {
    margin-bottom: 6px;
    font-size: 1rem;
}
.topup-links a {
    color: #60a5fa;
    text-decoration: none;
}
.topup-links a:hover {
    text-decoration: underline;
}
.topup-links a.topup-links-tutorial {
    color: #60a5fa;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    font-size: inherit;
    cursor: pointer;
}
.topup-links a.topup-links-tutorial:hover {
    text-decoration: underline;
}

/* Buttons inside topup-links: keep purple button style (same as topup-options) */
.topup-links .topup-options {
    margin-top: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.topup-links .topup-options a,
.topup-links .tutorial-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 10px;
    border-radius: 8px;
    background: var(--pd-violet, #7c3aed);
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    justify-content: center;
    flex-wrap: nowrap;
    margin: 0px auto;
}
.topup-links .topup-options a:hover,
.topup-links .tutorial-btn:hover {
    background: var(--pd-violet-dark, #6d28d9);
    transform: translateY(-1px);
    text-decoration: none;
}
.topup-links .topup-options a i,
.topup-links .tutorial-btn i {
    font-size: 16px;
}

/* ============================================
   PASSPORT STATUS SECTION
   ============================================ */
.passport-status-section {
    padding: 14px 0;
    margin: 14px 0 0 0px;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.passport-status-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgb(255 60 255 / 1%) 0%, rgb(255 60 255 / 0%) 100%);
}
.passport-status-section .container {
    position: relative;
    z-index: 1;
}
.passport-status-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(10px);
}
.eligibility-result .passport-status-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

/* Eligibility state modifiers: style components by .passport-status-section--eligible / --ineligible */
.passport-status-section.passport-status-section--eligible #passport-logout-btn,
.passport-status-section.passport-status-section--eligible .passport-logout-btn {
    padding: 0px 37px 10px 37px;
    font-size: 0.9rem;
    margin: 10px 0 0 0;
}
.passport-status-section.passport-status-section--ineligible #passport-logout-btn,
.passport-status-section.passport-status-section--ineligible .passport-logout-btn {
    padding: 10px 37px 10px 37px;
    font-size: 0.9rem;
    margin: 0px 0 0 0;
}

.passport-status-card h3 {
    color: #2b2222;
    font-size: 1.75rem;
    margin-bottom: 8px;
    font-weight: 700;
}
.passport-status-card .subtitle {
    color: rgb(0 0 0 / 70%);
    margin-bottom: 24px;
}

/* Wallet Info Grid */
.wallet-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}
.wallet-info-column {
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}
.wallet-info-column h4 {
    color: rgb(43 26 26 / 90%);
    font-size: 2rem;
    margin: 0 0 16px 0;
    font-weight: 600;
}
.wallet-info-column h4 i {
    margin-right: 8px;
    color: #60a5fa;
}

/* Connection Status */
.connection-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 10px 16px;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
}
.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}
.status-indicator.connected {
    background: #34d399;
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.6);
}
.status-indicator.disconnected {
    background: #6b7280;
}
#status-text {
    color: rgb(58 43 43 / 90%);
    font-size: 1.9rem;
}
#passport-address {
    color: rgb(29 23 23 / 100%);
    font-family: monospace;
    font-size: 1.8rem;
    word-break: break-all;
    margin: 0 0 12px 0;
}
.balance-amount {
    color: #2b624e;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}
.passport-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   PURCHASE STATE STYLES
   ============================================ */
.compact-hero {
    padding: 32px 0;
}
.compact-hero h1 {
    font-size: 2rem;
    margin-bottom: 0;
}

/* Products Grid */
.products-section {
    padding: 48px 0;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.product-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.2);
}
.product-card .product-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    overflow: hidden;
}
.product-card .product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.product-card h3 {
    color: #fff;
    margin: 0 0 8px 0;
    font-size: 1.25rem;
}
.product-card .price {
    color: rgba(255,255,255,0.6);
    margin-bottom: 16px;
}
.buy-now-btn {
    width: 100%;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.buy-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
}

/* ============================================
   GAME CARDS (About page)
   ============================================ */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 16px;
}
.game-card {
    background-color: rgba(255,255,255,0.05);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 24px;
    transition: transform 0.2s, border-color 0.2s;
    position: relative;
    overflow: hidden;
}
.game-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 12, 41, 0.75);
    z-index: 0;
}
.game-card > * {
    position: relative;
    z-index: 1;
}
.game-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139,92,246,0.5);
}
.game-card h3 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 8px;
}
.game-card .env-badge {
    display: inline-block;
    background: rgba(52,211,153,0.2);
    color: #34d399;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.game-card .env-badge.production {
    background: rgba(59,130,246,0.2);
    color: #60a5fa;
}
.game-card a {
    display: inline-block;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}
.game-card a:hover {
    opacity: 0.9;
}
.no-games {
    text-align: center;
    padding: 48px;
    color: rgba(255,255,255,0.7);
}

/* ============================================
   SUCCESS PAGE
   ============================================ */
.success-hero {
    padding: 80px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}
.success-hero::before {
    background: 
        radial-gradient(circle at 20% 30%, rgba(52,211,153,0.2) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(59,130,246,0.2) 0%, transparent 40%);
}
.success-content {
    position: relative;
    z-index: 1;
    width: 100%;
}
.success-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #34d399, #10b981);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    animation: pulse 2s infinite;
}
.success-icon i {
    font-size: 64px;
    color: #fff;
}
.success-content h1 {
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: #fff;
}
.success-content .subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
}

/* Transaction Card */
.tx-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 24px;
    max-width: 600px;
    margin: 0 auto 32px;
    backdrop-filter: blur(10px);
}
.tx-card label {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}
.tx-hash {
    font-family: monospace;
    font-size: 0.9rem;
    color: #60a5fa;
    background: rgba(59,130,246,0.1);
    padding: 12px 16px;
    border-radius: 8px;
    word-break: break-all;
    border: 1px solid rgba(59,130,246,0.2);
}
.tx-link {
    display: inline-block;
    margin-top: 12px;
    color: #60a5fa;
    text-decoration: none;
    font-size: 0.9rem;
}
.tx-link:hover {
    color: #93c5fd;
    text-decoration: underline;
}
.tx-link i {
    margin-left: 4px;
}
.action-buttons {
    margin-top: 32px;
}
.btn-secondary {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: background .2s;
    margin: 0 8px 16px;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
    text-decoration: none;
}
.info-text {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    max-width: 500px;
    margin: 24px auto 0;
}

/* ============================================
   MESSAGES
   ============================================ */
.messages-container {
    max-width: 600px;
    margin: 24px auto 0;
}
.sale-message {
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
    display: none;
}
.sale-message.success {
    background: rgba(52,211,153,0.1);
    border: 1px solid rgba(52,211,153,0.3);
    color: #34d399;
}
.sale-message.error {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.3);
    color: #ef4444;
}
.not-configured {
    padding: 48px;
    text-align: center;
    color: rgba(255,255,255,0.7);
}
.not-configured .alert {
    background: rgba(251,191,36,0.1);
    border: 1px solid rgba(251,191,36,0.3);
    color: #fbbf24;
}
.no-products {
    padding: 48px;
    text-align: center;
    color: rgba(255,255,255,0.7);
}

/* ============================================
   WIDGET MODAL
   ============================================ */
.widget-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000000;
    display: none;
    align-items: center;
    justify-content: center;
}
.widget-modal.active {
    display: flex;
}
.widget-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.85);
}
.widget-modal-content {
    position: relative;
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    /* padding: 24px; */
    max-width: 900px;
    /* width: 90%; */
    max-height: 90vh;
    overflow: auto;
}
.close-widget-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10;
}
.close-widget-btn:hover {
    background: rgba(255,255,255,0.2);
}
#primary-sales-widget {
    min-height: 500px;
    text-align: center;
}

/* Fix Immutable widget modal z-index */
body > div[style*="position: fixed"] {
    z-index: 1000001 !important;
}
[data-testid="connect-wallet"],
[data-testid="simpleLayout"] {
    z-index: 1000001 !important;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 8px 40px rgba(139, 92, 246, 0.7);
        transform: scale(1.02);
    }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(52,211,153,0.5); }
    50% { transform: scale(1.05); box-shadow: 0 0 30px 10px rgba(52,211,153,0.3); }
}
@keyframes stripe-scroll {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 113px 0;
    }
}

/* Redirect Loading Animation */
#sub-nav.redirecting,
#footer.redirecting {
    background: repeating-linear-gradient(
        45deg,
        #7000a0,
        #7000a0 40px,
        #9000c0 40px,
        #9000c0 80px
    ) !important;
    background-size: 200% 200% !important;
    animation: stripe-scroll 2s linear infinite;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .showcase-image {
        height: 220px;
    }
    .showcase-content {
        padding: 28px 24px;
    }
    .showcase-content h3 {
        font-size: 1.75rem;
    }
    .showcase-content .tagline {
        font-size: 1.25rem;
    }
    .showcase-content .warden-list {
        font-size: 1.25rem;
        padding: 12px 20px;
    }
    .stonehold-logo {
        max-width: 250px;
    }
    .sale-subtitle {
        font-size: 1.75rem;
        letter-spacing: 2px;
    }
    .marketing-hero h1 {
        font-size: 2rem;
    }
    .marketing-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .availability-card {
        margin: 0 16px;
        padding: 24px;
    }
    .products-grid {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }
}

@media (max-width: 600px) {
    .wallet-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .primary-sales-hero h1,
    .about-hero h1,
    .success-content h1 {
        font-size: 1.75rem;
    }
    .marketing-gallery {
        grid-template-columns: 1fr;
    }
    .widget-modal-content {
        padding: 16px;
        margin: 16px;
    }
    .tx-card {
        margin: 0 16px 32px;
    }
}
