/* Base Styles - Steam-inspired Dark Theme */
:root {
    --primary-bg: #1b2838;
    --secondary-bg: #2a475e;
    --accent-bg: #1e2329;
    --card-bg: #16202d;
    --text-primary: #c7d5e0;
    --text-secondary: #8f98a0;
    --text-accent: #66c0f4;
    --accent-blue: #1a9fd9;
    --accent-green: #4c6b22;
    --discount-red: #cd3333;
    --hover-bg: #344654;
    --border-color: #3c4043;
    --gradient-primary: linear-gradient(135deg, #1a9fd9 0%, #2563eb 100%);
    --gradient-secondary: linear-gradient(135deg, #1b2838 0%, #2a475e 100%);
    --gradient-hero: linear-gradient(135deg, #0f1419 0%, #1b2838 50%, #2a475e 100%);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--gradient-hero);
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation */
.navbar {
    background: var(--primary-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-accent) !important;
    display: flex;
    align-items: center;
}

.navbar-brand:hover {
    color: var(--accent-blue) !important;
}

.navbar-logo {
    height: 40px;
    width: auto;
    filter: brightness(1.2);
    transition: all 0.3s ease;
}

.navbar-brand:hover .navbar-logo {
    filter: brightness(1.5);
    transform: scale(1.05);
}

.nav-link {
    color: var(--text-primary) !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text-accent) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), 
                url('../fc26-stadium-bg.jpg') center center/cover no-repeat;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(27, 40, 56, 0.8) 0%, 
        rgba(42, 71, 94, 0.6) 50%, 
        rgba(26, 159, 217, 0.3) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Responsive hero background */
@media (max-width: 1200px) {
    .hero-section {
        background-size: cover;
        background-position: center center;
    }
}

@media (max-width: 768px) {
    .hero-section {
        background-position: center 20%;
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        background-position: center 30%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
}

.discount-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(45deg, var(--discount-red), #ff4444);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: bold;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
    box-shadow: 0 4px 15px rgba(205, 51, 51, 0.4);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.discount-percent {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.discount-text {
    font-size: 0.8rem;
    opacity: 0.9;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--text-accent) 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8));
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.hero-subtitle strong {
    color: #00c4ff;
    font-weight: 700;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

/* Price Section */
.price-section {
    background: rgba(22, 32, 45, 0.95);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(60, 64, 67, 0.5);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.price-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.original-price {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-decoration: line-through;
}

.current-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-green);
}

.savings-text {
    color: var(--accent-green);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Buttons */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1682c4 0%, #1d4ed8 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(26, 159, 217, 0.6);
    color: white;
}

.btn-secondary {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

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

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

.btn-outline-secondary:hover {
    background: var(--hover-bg);
    color: var(--text-primary);
}

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

.btn-outline-primary:hover {
    background: var(--accent-blue);
    color: white;
}

/* Features */
.features {
    margin-top: 2rem;
    background: rgba(22, 32, 45, 0.7);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(60, 64, 67, 0.3);
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.feature-item i {
    color: var(--accent-green);
    margin-right: 0.5rem;
    text-shadow: 0 0 5px rgba(76, 107, 34, 0.5);
}

/* Hero Image */
.hero-image {
    position: relative;
    height: 500px;
}

.game-showcase {
    position: relative;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.main-video {
    height: 100%;
    position: relative;
}

.hero-video {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

.video-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.play-button {
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.play-button:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.main-screenshot {
    height: 100%;
    position: relative;
}

.screenshot-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--gradient-secondary);
    color: var(--text-primary);
    text-align: center;
}

.screenshot-placeholder i {
    font-size: 4rem;
    color: var(--text-accent);
    margin-bottom: 1rem;
}

.screenshot-placeholder h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

/* Features Section */
.features-section {
    background: var(--secondary-bg);
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 3rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

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

.feature-icon {
    font-size: 3rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.feature-card h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
}

/* Gallery Section */
.gallery-section {
    background: var(--primary-bg);
}



/* Video Cards */
.video-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 250px;
    position: relative;
    margin-bottom: 1rem;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.gallery-video {
    width: 100%;
    height: 200px;
    border: none;
}

.video-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--text-primary);
    padding: 1rem;
    font-weight: 600;
    text-align: center;
}

/* Purchase Page Styles */
.purchase-page {
    background: var(--gradient-hero);
    min-height: 100vh;
}

.purchase-header h1 {
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: bold;
}

.purchase-header .lead {
    color: var(--text-secondary);
}

/* Order Summary */
.order-summary {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.order-summary h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.game-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.game-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
}

.game-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-accent);
}

.game-details h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.game-details p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.price-details .price-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.price-details .original-price {
    font-size: 1rem;
    color: var(--text-secondary);
    text-decoration: line-through;
}

.price-details .current-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-green);
}

.discount-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.discount-badge {
    background: var(--discount-red);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.savings {
    color: var(--accent-green);
    font-size: 0.9rem;
}

.order-total {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.final-total {
    color: var(--text-primary);
    font-weight: bold;
    font-size: 1.2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 0.5rem;
    margin-top: 0.5rem;
}

.benefits {
    margin-top: 1.5rem;
}

.benefits h5 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

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

.benefits li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.benefits li i {
    color: var(--accent-green);
}

/* Purchase Form */
.purchase-form {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.purchase-form h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.form-section {
    margin-bottom: 2rem;
}

.form-section h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.form-label {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control {
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 5px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: var(--primary-bg);
    border-color: var(--accent-blue);
    color: var(--text-primary);
    box-shadow: 0 0 0 0.2rem rgba(26, 159, 217, 0.25);
}

.form-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-option {
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.payment-option:hover {
    background: var(--hover-bg);
}

.payment-option.active,
.form-check-input:checked ~ .form-check-label .payment-option {
    border-color: var(--accent-blue);
    background: var(--hover-bg);
}

.form-check-label {
    color: var(--text-primary);
    font-weight: 500;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-left: 0.5rem;
}

.form-check-label small {
    color: var(--text-secondary);
}

.purchase-btn {
    position: relative;
    overflow: hidden;
}

.purchase-btn .loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.security-info {
    text-align: center;
    color: var(--text-secondary);
    padding: 1rem;
    border-top: 1px solid var(--border-color);
}

.security-info i {
    font-size: 1.5rem;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
    display: block;
}

/* Success Page */
.success-page {
    background: var(--gradient-hero);
    min-height: 100vh;
}

.success-content {
    max-width: 800px;
    margin: 0 auto;
}

.success-animation {
    margin-bottom: 2rem;
}

.checkmark-circle {
    width: 100px;
    height: 100px;
    background: var(--accent-green);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    animation: checkmark-appear 0.6s ease-in-out;
}

@keyframes checkmark-appear {
    0% {
        transform: scale(0) rotate(180deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.success-title {
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.success-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.order-confirmation {
    margin: 2rem 0;
}

.confirmation-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.game-icon {
    text-align: center;
    font-size: 4rem;
    color: var(--text-accent);
}

.confirmation-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.confirmation-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.price-paid .amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-green);
}

.price-paid .savings {
    color: var(--accent-green);
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.ea-logo {
    text-align: center;
}

.logo-placeholder {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    font-weight: bold;
}

.logo-placeholder strong {
    display: block;
    font-size: 1.5rem;
}

.logo-placeholder span {
    font-size: 0.8rem;
}

.delivery-info,
.next-steps,
.bonuses-info {
    margin: 2rem 0;
}

.info-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
}

.info-card h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.email-display {
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    font-family: monospace;
    color: var(--text-accent);
    margin: 1rem 0;
}

.delivery-time {
    color: var(--text-secondary);
    font-style: italic;
}

.step-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

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

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 1rem;
}

.step-card h5 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.bonuses-list {
    display: grid;
    gap: 0.8rem;
    margin-top: 1rem;
}

.bonus-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
}

.bonus-item i {
    color: var(--accent-green);
    font-size: 1.2rem;
}

.action-buttons {
    margin: 2rem 0;
}

.support-info {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
}

.support-info h5 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.support-info p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background: var(--primary-bg);
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    margin-top: auto;
    padding: 16px 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

/* Footer links (Terms/Privacy) — centered and restyled per spec */
.footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 40px; /* top spacing */
    margin-bottom: 20px; /* bottom spacing */
}

.footer-nav a {
    font-size: 14px;
    color: #ccc;
    text-decoration: none;
    transition: color .2s ease, text-decoration-color .2s ease;
}

.footer-nav a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-copy {
    font-size: 13px;
    color: rgba(220,235,255,.7);
}

.footer a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--text-accent);
}

/* Footer overrides only for buy page */
.buy-page .site-footer {
    background: #1b2b3c; /* dark as requested */
}

.buy-page .footer-brand p.muted {
    text-align: center;
    color: #ccc;
}

/* Hide footer brand "FC26" only on /buy */
.buy-page .footer-brand .logo-mini {
    display: none;
}

.buy-page .footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.buy-page .footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 40px; /* top spacing */
    margin-bottom: 30px; /* bottom spacing */
}

.buy-page .footer-nav a {
    color: #999;
    text-decoration: none;
}

.buy-page .footer-nav a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 640px) {
  .buy-page .footer-grid,
  .buy-page .footer-nav,
  .buy-page .footer-brand p.muted {
    text-align: center;
    justify-content: center;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .success-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .current-price {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        margin: 0 !important;
    }
    
    .hero-image {
        height: 300px;
        margin-top: 2rem;
    }
    
    .game-item {
        flex-direction: column;
        text-align: center;
    }
    
    .game-image {
        align-self: center;
    }
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading .btn-text {
    opacity: 0;
}

.loading .loading-spinner {
    display: block !important;
}

/* Alert Styles */
.alert {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 8px;
}

.alert-danger {
    border-color: var(--discount-red);
    background: rgba(205, 51, 51, 0.1);
}

.alert-success {
    border-color: var(--accent-green);
    background: rgba(76, 107, 34, 0.1);
}

/* Print Styles */
@media print {
    body {
        background: white !important;
        color: black !important;
    }
    
    .navbar,
    .footer,
    .action-buttons {
        display: none !important;
    }
    
    .success-page {
        background: white !important;
    }
}

/* Preorder section */
.preorder {
    text-align: center;
    background: var(--bg-secondary);
}

.section-subtitle {
    font-size: 16px;
    color: rgba(220,235,255,.75);
    margin-bottom: 32px;
}

.preorder-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 780px) {
    .preorder-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.preorder-card {
    background: rgba(20,26,34,.8);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0,0,0,.45);
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
    border: 1px solid rgba(60, 64, 67, 0.3);
}

.preorder-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0,0,0,.6);
}

.preorder-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.preorder-content {
    padding: 16px;
    text-align: left;
    flex: 1;
}

.preorder-content h3 {
    margin: 0 0 6px;
    font-size: 18px;
    color: var(--text-primary);
    font-weight: 600;
}

.preorder-content p {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(220,235,255,.8);
    margin-bottom: 12px;
}

.tag {
    display: inline-block;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 8px;
    background: rgba(0,200,255,.2);
    color: #b6ecff;
    border: 1px solid rgba(0,200,255,.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-gold {
    background: rgba(255,215,0,.25) !important;
    color: #ffd700 !important;
    border: 1px solid rgba(255,215,0,.4) !important;
}

.badge-green {
    background: rgba(76,175,80,.25) !important;
    color: #4caf50 !important;
    border: 1px solid rgba(76,175,80,.4) !important;
}

/* System Requirements section */
.requirements {
    background: var(--bg-primary);
}

.req-image-wide {
    margin-bottom: 28px;
}

.req-image-wide img {
    width: 100%;
    max-width: 1000px;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0,0,0,.45);
    display: block;
    margin: 0 auto;
}

.req-table {
    width: 100%;
    background: rgba(20,26,34,.8);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
    border: 1px solid rgba(60, 64, 67, 0.3);
    max-width: 900px;
    margin: 0 auto;
}

.req-table h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 16px;
    text-align: center;
}

.req-columns {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.req-col {
    flex: 1;
}

.req-col h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-accent);
    border-bottom: 2px solid var(--accent-blue);
    padding-bottom: 4px;
}

.req-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.req-col ul li {
    font-size: 14px;
    margin: 4px 0;
    color: rgba(220,235,255,.8);
}

.req-col ul li strong {
    color: var(--text-primary);
    min-width: 100px;
    display: inline-block;
}

@media (min-width: 900px) {
    .req-columns {
        flex-direction: row;
        gap: 36px;
    }
}

/* Buy page */
.buy {
  background: linear-gradient(135deg, #0d1421 0%, #1a2332 50%, #0f1a28 100%);
  min-height: 100vh;
  padding: 20px 0;
}

.buy .buy-layout{
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 980px){
  .buy .buy-layout{ 
    flex-direction: row;
    gap: 40px;
    align-items: start; 
  }
}

.buy-left {
  flex: 0.8;
  max-width: 400px;
}

.buy-right {
  flex: 1.7;
  max-width: 900px;
}

.buy-left .buy-cover{
  width: 100%; 
  border-radius: 20px; 
  box-shadow: 0 20px 40px rgba(0,0,0,.6);
  border: 2px solid rgba(0, 200, 255, 0.2);
  transition: all 0.3s ease;
}

.buy-left .buy-cover:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0,0,0,.7);
  border-color: rgba(0, 200, 255, 0.4);
}

.buy-steps{ 
  margin: 24px 0 0; 
  color: rgba(220,235,255,.85);
  background: rgba(20,26,34,.4);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(0, 200, 255, 0.1);
}
.buy-steps li{ 
  margin: 12px 0;
  font-size: 15px;
  line-height: 1.5;
}
.buy-steps strong {
  color: #00c4ff;
}

.block{ 
  margin-top: 24px; 
}

.block-title{ 
  font-size: 22px; 
  margin-bottom: 16px;
  color: var(--text-accent);
  font-weight: 600;
}

.card{
  background: rgba(15,20,28,.8);
  border: 2px solid rgba(0, 200, 255, 0.15);
  border-radius: 20px; 
  padding: 24px;
  box-shadow: 0 15px 35px rgba(0,0,0,.5);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.card:hover {
  border-color: rgba(0, 200, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 20px 45px rgba(0,0,0,.6);
}

/* editions */
.editions-grid{
  display: grid; 
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px){
  .editions-grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .sum-left {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  
  .summary {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .sum-total {
    text-align: center;
  }
}

.edition-card{
  display: block; 
  cursor: pointer; 
  user-select: none;
  padding: 24px; 
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(20,26,34,.8) 0%, rgba(15,20,28,.9) 100%);
  border: 2px solid rgba(255,255,255,.08);
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.edition-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 0%, rgba(0,200,255,.05) 50%, transparent 100%);
  opacity: 0;
  transition: opacity .3s ease;
}

.edition-card:hover { 
  transform: translateY(-4px) scale(1.02); 
  box-shadow: 0 25px 45px rgba(0,0,0,.6);
  border-color: rgba(0,200,255,.3);
}

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

.edition-card.active { 
  border-color: rgba(0,200,255,.8);
  box-shadow: 0 20px 40px rgba(0,200,255,.2);
  background: linear-gradient(145deg, rgba(0,200,255,.1) 0%, rgba(15,20,28,.9) 100%);
}

.edition-head{ 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 12px; 
  margin-bottom: 12px;
}

.edition-head h3{ 
  margin: 0; 
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
}

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

.price .old{ 
  text-decoration: line-through; 
  opacity: .6; 
  font-size: 16px;
}

.price .new{ 
  font-weight: 800; 
  font-size: 18px;
  color: #00ff88;
  text-shadow: none;
}

.price .off{
  font-size: 14px; 
  font-weight: 900; 
  padding: 6px 12px; 
  border-radius: 20px;
  background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
  border: 2px solid #ff4757; 
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,.7);
  box-shadow: 0 4px 12px rgba(255,71,87,.4);
}

.edition-feats{ margin:8px 0 0; padding-left:18px; color:rgba(220,235,255,.8); font-size:14px; }
.hint{ margin-top:10px; font-size:12.5px; color:rgba(220,235,255,.6); }

/* platforms */
.platforms-grid{
  display: grid; 
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px){
  .platforms-grid{ 
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
}

.platform{
  border-radius: 16px; 
  padding: 18px 20px;
  background: linear-gradient(145deg, rgba(20,26,34,.7) 0%, rgba(15,20,28,.8) 100%);
  border: 2px solid rgba(255,255,255,.08);
  cursor: pointer; 
  display: flex; 
  align-items: center; 
  gap: 12px;
  transition: all .2s ease;
  font-weight: 500;
  position: relative;
  min-height: 60px;
  font-size: 15px;
}

.platform::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 14px;
  background: linear-gradient(45deg, transparent, rgba(0,200,255,.1), transparent);
  opacity: 0;
  transition: opacity .2s ease;
}

.platform:hover{ 
  transform: translateY(-3px) scale(1.02); 
  box-shadow: 0 15px 30px rgba(0,0,0,.5);
  border-color: rgba(0,200,255,.3);
}

.platform:hover::before {
  opacity: 1;
}

.platform.active { 
  border-color: rgba(0,200,255,.8);
  background: linear-gradient(145deg, rgba(0,200,255,.15) 0%, rgba(15,20,28,.8) 100%);
  box-shadow: 0 10px 25px rgba(0,200,255,.2);
}

.icon{ width:22px; text-align:center; }

/* Platform logos */
.platform-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: inline-block;
}

.platform-name {
  color: rgba(220,235,255,.9);
}

.platform:hover {
  box-shadow: 0 0 0 2px rgba(0,200,255,.25) inset, 0 12px 24px rgba(0,0,0,.45);
  filter: brightness(1.05);
}

/* summary */
.summary{
  margin-top: 24px; 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 20px;
  background: linear-gradient(135deg, rgba(0,200,255,.1) 0%, rgba(15,20,28,.6) 100%);
  border: 2px solid rgba(0,200,255,.2);
  border-radius: 16px;
  padding: 20px;
}

.sum-left {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.sum-row{ 
  font-size: 14px; 
  color: rgba(220,235,255,.8);
  white-space: nowrap;
}

.sum-total{ text-align: right; }
.sum-total .label{ 
  font-size: 16px; 
  opacity: .8;
  color: rgba(220,235,255,.7);
  margin-bottom: 4px;
}
.sum-total .amount{ 
  font-size: 32px; 
  font-weight: 800;
  color: #00ff88;
  text-shadow: 0 2px 4px rgba(0,255,136,.3);
}

.btn-wide{ 
  width: 100%; 
  margin-top: 24px;
  padding: 20px 32px;
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
  border: none;
  border-radius: 20px;
  color: white;
  cursor: pointer;
  transition: all .3s ease;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  box-shadow: 0 12px 28px rgba(0,200,255,.4);
  min-height: 64px;
}

.btn-wide:hover:not(:disabled) {
  background: linear-gradient(135deg, #00e4ff 0%, #00aadd 100%);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0,200,255,.5);
}

.btn-wide:disabled {
  background: rgba(100,100,100,.3);
  color: rgba(255,255,255,.5);
  cursor: not-allowed;
  box-shadow: none;
}

.safe-note{ 
  margin-top: 12px; 
  font-size: 13px; 
  color: rgba(220,235,255,.7); 
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.safe-note::before {
  content: "🔒";
  font-size: 14px;
}

/* Additional topbar styles */
.topbar {
    background: linear-gradient(135deg, rgba(15,20,28,.9) 0%, rgba(20,26,34,.95) 100%);
    padding: 10px 0;
    border-bottom: 2px solid rgba(0,200,255,.2);
    backdrop-filter: blur(10px);
}

.topbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-mini {
    font-size: 2rem;
    font-weight: 800;
    color: #00c4ff;
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0,0,0,.5);
    transition: all .2s ease;
}

.logo-mini:hover {
    color: #00d4ff;
    transform: scale(1.05);
}

/* Minimal buy header */
.buy-min-header .buy-site-title {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 800;
    color: #00c4ff;
    letter-spacing: .3px;
}

.buy-min-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar nav a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 12px;
    transition: all 0.2s ease;
    font-weight: 500;
    border: 1px solid transparent;
}

.topbar nav a:hover {
    background: rgba(0,200,255,.1);
    color: #00c4ff;
    border-color: rgba(0,200,255,.3);
    transform: translateY(-1px);
}

/* Buy page header logo: compact style */
.topbar .logo-combo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.topbar .checkout-logo-badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,.18);
}

.topbar .checkout-logo-svg {
    width: 14px;
    height: 14px;
}

.topbar .checkout-logo-text {
    font-weight: 800;
    font-size: 1.1rem;
    color: #00c4ff;
    letter-spacing: .3px;
}

.gradient-bg {
    background: var(--bg-primary);
    min-height: 100vh;
}

.muted {
    color: rgba(220,235,255,.7);
    margin-bottom: 20px;
}

.muted strong {
    color: #00c4ff;
}

/* Buy page header */
.buy-header {
  text-align: center;
  margin-bottom: 32px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(0,200,255,.1) 0%, rgba(15,20,28,.3) 100%);
  border-radius: 20px;
  border: 2px solid rgba(0,200,255,.15);
}

.buy-header .section-title {
  margin-bottom: 12px;
  font-size: 2.8rem;
  background: linear-gradient(135deg, #00c4ff 0%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.discount-highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.discount-badge-large {
  font-size: 24px;
  font-weight: 900;
  padding: 8px 16px;
  background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
  color: white;
  border-radius: 12px;
  text-shadow: 0 2px 4px rgba(0,0,0,.5);
  box-shadow: 0 4px 12px rgba(255,71,87,.4);
}

.offer-text {
  font-size: 16px;
  color: rgba(255,255,255,.8);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Checkout Page Styles */
.checkout-body {
  background: #1b2b3c; /* dark page background to blend with footer */
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #32325d;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Legal pages (Terms/Privacy) */
.legal-body {
  background: var(--gradient-hero);
  color: #e0e0e0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-main {
  flex: 1 0 auto;
  padding-top: 24px;
  padding-bottom: 56px; /* keep content slightly above the footer */
}

.legal-main h1,
.legal-main p,
.legal-main li,
.legal-main ol,
.legal-main ul {
  color: #e0e0e0;
}

.checkout-header {
  background: white;
  border-bottom: 1px solid #e6ebf1;
  padding: 12px 0;
}

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

/* Minimal checkout header */
.checkout-min-header .checkout-site-title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 800;
  color: #00c4ff;
}

/* Checkout header logo combo */
.logo-combo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.checkout-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

.checkout-logo-svg {
  width: 26px;
  height: 26px;
  display: block;
}

.checkout-logo-text {
  font-weight: 800;
  font-size: 1.25rem;
  color: #00c4ff;
}

.logo-combo:hover .checkout-logo-text {
  color: #00d4ff;
}

.back-btn {
  color: #6772e5;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.back-btn:hover {
  color: #5469d4;
}

/* Styled back button to match site theme */
.btn-back {
  background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
  color: white !important;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(0,200,255,.25);
  box-shadow: 0 8px 20px rgba(0, 153, 204, .35);
}

.btn-back:hover {
  background: linear-gradient(135deg, #00e4ff 0%, #00aadd 100%);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 170, 221, .45);
}

.checkout-main {
  padding: 40px 0;
}

.checkout-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 968px) {
  .checkout-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .checkout-left {
    order: 2;
  }
  
  .checkout-right {
    order: 1;
  }
}

/* Left Side - Product Image */
.checkout-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product-image {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: auto;
  display: block;
}

.order-summary {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  padding: 24px;
}

.order-summary h3 {
  margin: 0 0 16px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #32325d;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f6f9fc;
  font-size: 14px;
}

.summary-row:last-of-type {
  border-bottom: none;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 0 0;
  margin-top: 16px;
  border-top: 2px solid #e6ebf1;
  font-size: 16px;
  font-weight: 600;
}

.summary-total strong {
  color: #00d924;
  font-size: 18px;
}

/* Right Side - Payment Form */
.checkout-right {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  padding: 32px;
}

.checkout-form h2 {
  margin: 0 0 32px 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #32325d;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #6b7c93;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e6ebf1;
  border-radius: 8px;
  font-size: 16px;
  background: white;
  transition: all 0.2s;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #6772e5;
  box-shadow: 0 0 0 3px rgba(103,114,229,0.1);
}

.form-group input.error,
.form-group select.error {
  border-color: #e25950;
  box-shadow: 0 0 0 3px rgba(226,89,80,0.1);
}

.form-hint {
  margin-top: 8px;
  font-size: 13px;
  color: #6b7c93;
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-hint i {
  color: #00d924;
}

/* Card Information */
.card-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 12px;
}

.card-number-wrapper {
  position: relative;
}

.card-brand {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #6b7c93;
  display: none;
}

.card-info {
  margin-top: 8px;
  font-size: 13px;
  color: #6b7c93;
}

/* Address rows */
.address-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.address-row:last-child {
  margin-bottom: 0;
}

/* Pay button */
.pay-btn {
  width: 100%;
  padding: 16px 24px;
  background: #6772e5;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.pay-btn:hover:not(:disabled) {
  background: #5469d4;
  transform: translateY(-1px);
  box-shadow: 0 7px 14px rgba(103,114,229,0.4);
}

.pay-btn:disabled {
  background: #aab7c4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.pay-btn.enabled {
  background: #6772e5;
  cursor: pointer;
}

.secure-info {
  text-align: center;
  font-size: 13px;
  color: #6b7c93;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.secure-info i {
  color: #00d924;
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .checkout-right {
    padding: 24px;
  }
  
  .card-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .address-row {
    grid-template-columns: 1fr;
  }
}

/* Success Page Styles */
.success-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.success-content {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  padding: 48px 32px;
}

.success-icon {
  font-size: 4rem;
  color: #00d924;
  margin-bottom: 24px;
}

.success-content h1 {
  font-size: 2rem;
  font-weight: 600;
  color: #32325d;
  margin-bottom: 16px;
}

.success-message {
  font-size: 1.1rem;
  color: #6b7c93;
  margin-bottom: 32px;
  line-height: 1.6;
}

.success-details {
  background: #f6f9fc;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 32px;
  text-align: left;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #e6ebf1;
  font-size: 14px;
}

.detail-row:last-child {
  border-bottom: none;
  font-size: 16px;
  font-weight: 600;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 2px solid #e6ebf1;
}

.detail-row strong {
  color: #00d924;
}

.success-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  transition: all 0.2s;
}

.btn-primary {
  background: #6772e5;
  color: white;
}

.btn-primary:hover {
  background: #5469d4;
  transform: translateY(-1px);
}

.btn-secondary {
  background: #f6f9fc;
  color: #6b7c93;
  border: 1px solid #e6ebf1;
}

.btn-secondary:hover {
  background: #e6ebf1;
}

@media (max-width: 640px) {
  .success-content {
    padding: 32px 24px;
  }
  
  .success-actions {
    flex-direction: column;
  }
}

/* Footer overrides only for checkout page */
.checkout-body .site-footer {
  background: #1b2b3c;
}

.checkout-body .footer-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.checkout-body .footer-brand p.muted {
  text-align: center;
  color: #ccc;
}

.checkout-body .footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  margin-bottom: 30px;
}

.checkout-body .footer-nav a {
  color: #999;
  text-decoration: none;
}

.checkout-body .footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Hide only FC26 logo in footer on /checkout (keep copyright visible) */
.checkout-body .footer-brand .logo-mini {
  display: none;
}

@media (max-width: 640px) {
  .checkout-body .footer-grid,
  .checkout-body .footer-nav,
  .checkout-body .footer-brand p.muted {
    text-align: center;
    justify-content: center;
  }
}
