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

/* Postal Rain Background Animation */
#postal-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.falling-item {
    position: absolute;
    top: -100px;
    opacity: 0.8;
    pointer-events: none;
    animation-name: fall;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

@keyframes fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.9;
    }
    100% {
        transform: translateY(110vh) rotate(360deg);
        opacity: 1;
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* Main green background behind the rain */
    background: linear-gradient(135deg, #2c5f2d 0%, #97bc62 50%, #2c5f2d 100%);
    min-height: 100vh;
    padding: 20px;
    position: relative;
    color: #f0f0f0; /* Default text color changed to light for dark mode */
}

.container {
    max-width: 900px;
    position: relative;
    z-index: 1;
    margin: 0 auto;
    /* CHANGED: Transparent black overlay */
    background: rgba(255, 255, 255, 0.68);
    /* Optional: Blur effect for readability over the rain */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

header {
    /* Made header slightly transparent to match theme */
    background: linear-gradient(135deg, rgba(44, 95, 45, 0.9) 0%, rgba(74, 124, 89, 0.9) 100%);
    color: white;
    padding: 30px;
    text-align: center;
    border-bottom: 4px solid #97bc62;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

h2, h3 {
    color: #97bc62; /* Ensure headers are white */
}

/* ShippingGoat Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.logo-icon {
    width: 120px;
    height: 120px;
    animation: float 3s ease-in-out infinite;
    will-change: transform;
    image-rendering: pixelated;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0px 4px 8px rgba(0,0,0,0.3));
}

/* Goat animations in SVG */
.goat-breathe {
    animation: breathe 4s ease-in-out infinite;
    transform-origin: center bottom;
}

.goat-head {
    animation: headBob 4s ease-in-out infinite;
    transform-origin: 60px 80px;
    animation-delay: -1s;
}

.goat-tail {
    animation: tailWag 3s ease-in-out infinite;
    transform-origin: 138px 85px;
}

.goat-ear {
    animation: earTwitch 6s infinite;
    transform-origin: 75px 55px;
}

@keyframes breathe {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(2px); }
}

@keyframes headBob {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(1deg) translateY(1px); }
}

@keyframes tailWag {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

@keyframes earTwitch {
    0%, 90% { transform: rotate(0deg); }
    92% { transform: rotate(-10deg); }
    95% { transform: rotate(0deg); }
}

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

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-name {
    font-size: 2.8em;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.brand-tagline {
    font-size: 0.9em;
    opacity: 0.95;
    font-weight: 400;
    letter-spacing: 1px;
    margin-top: 2px;
}

.subtitle {
    font-size: 1.1em;
    opacity: 0.9;
}

.content {
    padding: 30px;
    color: #2c3e50; /* Update: Dark text color for readability on white/glass background */
}

.step {
    display: none;
    animation: fadeIn 0.5s;
}

.step.active {
    display: block;
}

.sub-step {
    display: none;
    animation: fadeIn 0.5s;
}

.sub-step.active {
    display: block;
}

/* Adjusted input for Dark Mode readability */
.autocomplete-input {
    font-size: 16px;
    padding: 15px;
    border: 3px solid #4a7c59;
    background: rgba(255, 255, 255, 0.95); /* Opaque enough to read text */
    color: #333;
    box-shadow: 0 4px 15px rgba(74, 124, 89, 0.2);
}

.autocomplete-input:focus {
    border-color: #2c5f2d;
    box-shadow: 0 6px 20px rgba(44, 95, 45, 0.3);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1); /* Update: Darker border for visibility */
}

.step-item {
    flex: 1;
    text-align: center;
    position: relative;
    color: #555; /* Update: Darker grey for inactive steps to be viewable */
}

.step-item.active {
    color: #2c5f2d; /* Update: Dark green for active step text */
    font-weight: bold;
}

.step-item.completed {
    color: #2ecc71;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1); /* Update: Darker transparent bg for inactive steps */
    color: #333; /* Update: Dark text for inactive numbers */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: bold;
    border: 2px solid rgba(0,0,0,0.05);
}

.step-item.active .step-number {
    background: #4a7c59;
    color: white; /* Ensure active number is white */
    border-color: #4a7c59;
}

.step-item.completed .step-number {
    background: #2ecc71;
    color: white; /* Ensure completed number is white */
    border-color: #2ecc71;
}

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

label {
    display: block;
    margin-bottom: 5px;
    color: #1a1a1a; /* Update: Much darker color for readability on light bg */
    font-weight: 600; /* Update: slightly bolder for legibility */
}

input, select {
    width: 100%;
    padding: 10px;
    border: 2px solid rgba(0, 0, 0, 0.1); /* Update: Darker border */
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
    background: rgba(255, 255, 255, 0.95); /* Opaque for readability */
    color: #333;
}

input:focus, select:focus {
    outline: none;
    border-color: #4a7c59;
    background: #fff;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

button {
    background: linear-gradient(135deg, #2c5f2d 0%, #4a7c59 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-right: 10px;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

button.secondary {
    background: #6c757d;
}

.rate-option {
    border: 2px solid rgba(0, 0, 0, 0.1); /* Darker border */
    background: rgba(255, 255, 255, 0.5); /* Lighter bg */
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rate-option:hover {
    border-color: #4a7c59;
    background: rgba(255, 255, 255, 0.8);
}

.rate-option.selected {
    border-color: #4a7c59;
    background: rgba(74, 124, 89, 0.1);
}

.rate-info {
    flex: 1;
}

.rate-carrier {
    font-weight: bold;
    color: #2c3e50; /* Darker text */
    font-size: 1.1em;
}

.rate-service {
    color: #555; /* Darker text */
    margin-top: 5px;
}

.rate-delivery {
    color: #666; /* Darker text */
    font-size: 0.9em;
    margin-top: 5px;
}

.rate-price {
    font-size: 1.5em;
    font-weight: bold;
    color: #2c5f2d; /* Brand Green */
}

.rate-base-price {
    font-size: 0.8em;
    color: #888;
    text-decoration: line-through;
}

.success-message {
    background: rgba(21, 87, 36, 0.8);
    border: 1px solid #c3e6cb;
    color: #d4edda;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.error-message {
    background: rgba(114, 28, 36, 0.8);
    border: 1px solid #f5c6cb;
    color: #f8d7da;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.verified-address {
    background: rgba(33, 150, 243, 0.15);
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
    border-left: 4px solid #2196f3;
    color: #2c3e50; /* Darker text for readability */
}

.loading {
    text-align: center;
    padding: 20px;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #97bc62;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

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

.label-preview {
    margin-top: 20px;
    text-align: center;
}

.label-preview img {
    max-width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 15px;
}

.tracking-info {
    background: rgba(255, 243, 205, 0.4);
    border: 1px solid #ffc107;
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
    color: #333; /* Dark text */
}

.tracking-code {
    font-size: 1.3em;
    font-weight: bold;
    color: #d39e00;
    margin-top: 10px;
}

/* Premium Label Page Styles - Dark Mode */
.premium-label-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.success-header {
    text-align: center;
    margin-bottom: 40px;
}

.success-icon {
    font-size: 4em;
    color: #2ecc71;
    margin-bottom: 20px;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.success-title {
    font-size: 2.5em;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 700;
}

.success-subtitle {
    font-size: 1.2em;
    color: #ccc;
}

.tracking-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.tracking-label {
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aaa;
    font-weight: 600;
    margin-bottom: 10px;
}

.tracking-number-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.tracking-number-display:hover {
    border-color: #4a7c59;
    box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
}

.tracking-number-text {
    font-size: 1.8em;
    font-weight: 700;
    color: #fff;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.copy-button {
    background: linear-gradient(135deg, #2c5f2d 0%, #4a7c59 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.copy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 95, 45, 0.4);
}

.copy-button:active {
    transform: translateY(0);
}

.copy-button.copied {
    background: #2ecc71;
}

.usps-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #97bc62;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.usps-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.label-preview-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.label-preview-section h3 {
    color: #fff;
    font-size: 1.5em;
    margin-bottom: 20px;
    font-weight: 700;
}

.label-image-container {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.label-image {
    max-width: 100%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.label-image:hover {
    transform: scale(1.02);
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
}

.action-button.primary {
    background: linear-gradient(135deg, #2c5f2d 0%, #4a7c59 100%);
    color: white;
}

.action-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 95, 45, 0.4);
}

.action-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid #4a7c59;
}

.action-button.secondary:hover {
    background: rgba(74, 124, 89, 0.2);
    transform: translateY(-2px);
}

.email-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.email-section h3 {
    color: #fff;
    font-size: 1.5em;
    margin-bottom: 20px;
    font-weight: 700;
}

.email-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-wrapper:hover {
    background: rgba(255, 255, 255, 0.15);
}

.checkbox-wrapper input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #4a7c59;
}

.checkbox-wrapper label {
    font-size: 1em;
    color: #fff;
    cursor: pointer;
    margin: 0;
}

.email-button {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.email-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.email-button:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
}

.shipment-details {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.shipment-details h3 {
    color: #fff;
    font-size: 1.5em;
    margin-bottom: 20px;
    font-weight: 700;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.detail-label {
    font-weight: 600;
    color: #aaa;
}

.detail-value {
    color: #fff;
    font-weight: 500;
}

.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #2ecc71;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    font-weight: 600;
    z-index: 10000;
    animation: slideIn 0.3s ease-out;
    display: none;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.new-label-button {
    background: linear-gradient(135deg, #2c5f2d 0%, #4a7c59 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
    display: block;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.new-label-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 95, 45, 0.4);
}

.package-type-option {
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.5); /* Glassy background */
    color: #333;
}

.package-type-option:hover {
    border-color: #4a7c59;
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 124, 89, 0.2);
}

.package-type-option.selected {
    border-color: #4a7c59;
    background: linear-gradient(135deg, rgba(74, 124, 89, 0.3) 0%, rgba(44, 95, 45, 0.3) 100%);
    box-shadow: 0 4px 15px rgba(44, 95, 45, 0.3);
    color: #1a1a1a;
}

/* Payment method selection styles */
input[type="radio"][name="payment-method"] {
    accent-color: #4a7c59;
}

input[type="radio"][name="payment-method"]:checked + span {
    color: #2c5f2d;
    font-weight: bold;
}

label:has(input[type="radio"][name="payment-method"]:checked) {
    border-color: #4a7c59 !important;
    background: linear-gradient(to bottom, #ffffff, #f1f8f4) !important;
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.3);
}

/* Special case for radio selected to keep text readable (black) */
label:has(input[type="radio"][name="payment-method"]:checked) .payment-option-content {
    color: #333 !important;
}
label:has(input[type="radio"][name="payment-method"]:checked) .payment-option-content div {
    color: #333 !important;
}

@media (max-width: 768px) {
    .two-column {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 1.8em;
    }

    .step-indicator {
        font-size: 0.8em;
    }

    .logo-container {
        flex-direction: column;
        gap: 5px;
    }

    .logo-icon {
        font-size: 3em;
    }

    .brand-name {
        font-size: 2em;
    }
}

/* Footer Styles */
.site-footer {
    background: linear-gradient(135deg, rgba(26, 58, 28, 0.95) 0%, rgba(44, 95, 45, 0.95) 100%);
    color: white;
    padding: 30px 20px;
    text-align: center;
    border-top: 4px solid #97bc62;
    margin-top: 30px;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-logo {
    width: 60px;
    height: 60px;
}

.footer-logo svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.3));
}

.footer-brand-name {
    font-size: 1.8em;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.footer-tagline {
    font-size: 1em;
    opacity: 0.9;
    margin-bottom: 15px;
    font-style: italic;
}

.footer-legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95em;
    padding: 5px 10px;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
}

.footer-legal-link:hover {
    color: #97bc62;
    border-bottom: 2px solid #97bc62;
}

.footer-link-separator {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 5px;
}

.footer-copy {
    font-size: 0.9em;
    opacity: 0.8;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
    margin-top: 15px;
}

/* Header action button */
.header-new-label-btn {
    background: rgba(255,255,255,0.2);
    border: 2px solid white;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s;
}

.header-new-label-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: none;
    box-shadow: none;
}

/* Header layout */
.header-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content {
    flex: 1;
}

.header-title-section {
    margin-top: 15px;
}

/* No Account Required Messaging */
.no-account-required {
    font-size: 1em;
    margin-top: 10px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: inline-block;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

/* Crypto Highlight Banner */
.crypto-highlight-banner {
    background: linear-gradient(135deg, rgba(255, 249, 230, 0.95) 0%, rgba(255, 232, 161, 0.95) 100%);
    border: 3px solid #F7931A;
    border-radius: 12px;
    padding: 18px 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(247, 147, 26, 0.3);
}

.crypto-highlight-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.highlight-icon {
    font-size: 2.2em;
    animation: pulse 2s ease-in-out infinite;
}

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

.highlight-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.highlight-text strong {
    font-size: 1.3em;
    color: #2c3e50;
    font-weight: 700;
}

.highlight-text span {
    font-size: 1em;
    color: #555;
    font-weight: 500;
}

/* Payment Option Styling */
.payment-option {
    position: relative;
    overflow: hidden;
}

.payment-option input[type="radio"][name="payment-method"]:checked {
    font-weight: bold;
}

.payment-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

.crypto-option {
    box-shadow: 0 6px 20px rgba(247, 147, 26, 0.4);
    position: relative;
    color: #333; /* Override white text for inside this card */
}

.crypto-option::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #F7931A 0%, #ff9800 100%);
    border-radius: 8px;
    z-index: -1;
    opacity: 0.3;
}

.crypto-option:hover {
    box-shadow: 0 8px 30px rgba(247, 147, 26, 0.5);
    border-color: #e68a00;
}

.card-option {
    /* Keep card option light so logos look good */
    background: rgba(255, 255, 255, 0.9) !important;
    color: #333 !important;
}

.card-option:hover {
    border-color: #999;
}

.payment-option-content {
    margin-left: 28px;
}

/* Logo image styling */
.crypto-logos img,
.card-logos img {
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.1));
    transition: transform 0.2s;
}

.crypto-logos img:hover,
.card-logos img:hover {
    transform: scale(1.1);
}

/* Footer Crypto Section - Premium Showcase Style */
.footer-crypto-section {
    margin: 25px 0;
    padding: 25px 0;
    border-top: 2px solid rgba(255,255,255,0.15);
    border-bottom: 2px solid rgba(255,255,255,0.15);
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, transparent 100%);
}

.crypto-accepted-text {
    color: #ffc107;
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.crypto-icons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    position: relative;
    flex-wrap: wrap;
}

.footer-crypto-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    object-fit: contain;
    padding: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);

    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    position: relative;
    cursor: pointer;
    filter: brightness(0.9) saturate(0.8);
    opacity: 0.85;
}

.footer-crypto-icon:hover {
    transform: translateY(-12px) scale(1.2);
    filter: brightness(1.1) saturate(1.2);
    opacity: 1;
    box-shadow: 0 20px 40px rgba(255,193,7,0.4), 0 0 0 5px rgba(255,193,7,0.2);
    border-color: #ffc107;
    animation: iconFloat 2s ease-in-out infinite;
}

/* Add subtle animation on hover */
@keyframes iconFloat {
    0%, 100% { transform: translateY(-12px) scale(1.2); }
    50% { transform: translateY(-16px) scale(1.2); }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .crypto-highlight-content {
        flex-direction: column;
        text-align: center;
    }

    .payment-option {
        min-width: 100% !important;
    }

    .crypto-logos,
    .card-logos {
        justify-content: center;
    }

    /* Adjust footer crypto icons for mobile */
    .footer-crypto-icon {
        width: 55px;
        height: 55px;
        padding: 10px;
    }

    .footer-crypto-icon:hover {
        transform: translateY(-8px) scale(1.15);
    }

    .crypto-icons-container {
        gap: 15px;
        padding: 15px;
    }
}

/* ============================================
   BRAND ANIMATIONS STYLES
   ============================================ */

/* Container for brand animations */
.brand-animation-container {
    text-align: center;
    padding: 30px 20px;
}

.brand-animation-scene {
    width: 90vmin;
    height: 90vmin;
    max-width: 400px;
    max-height: 400px;
    position: relative;
    margin: 0 auto;
    background-color: rgba(26, 26, 26, 0.8);
    background-image:
            linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
}

.brand-animation-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(0px 10px 20px rgba(0,0,0,0.6));
    image-rendering: pixelated;
}

.brand-animation-message {
    margin-top: 20px;
    font-size: 1.2em;
    font-weight: 600;
    color: #97bc62;
}

/* Loading Animation (Grass/Grazing Goat) */
.anim-neck {
    animation: grazingCycle 4s ease-in-out infinite;
    transform-origin: 50px 70px;
}

.anim-jaw {
    animation: chewingAction 4s infinite;
}

.anim-floor-grass {
    animation: grassDisappear 4s steps(1) infinite;
}

.anim-mouth-grass {
    animation: grassInMouth 4s steps(1) infinite;
}

.anim-tail {
    animation: tailWag 1s ease-in-out infinite;
    transform-origin: 138px 85px;
}

@keyframes grazingCycle {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(0deg); }
    25% { transform: rotate(55deg) translate(-5px, 5px); }
    35% { transform: rotate(55deg) translate(-5px, 5px); }
    45% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

@keyframes chewingAction {
    0%, 45% { transform: translateY(0); }
    50% { transform: translateY(2px); }
    60% { transform: translateY(0); }
    70% { transform: translateY(2px); }
    80% { transform: translateY(0); }
    90% { transform: translateY(2px); }
    100% { transform: translateY(0); }
}

@keyframes grassDisappear {
    0% { opacity: 1; }
    30% { opacity: 0; }
    90% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes grassInMouth {
    0%, 40% { opacity: 0; }
    45% { opacity: 1; }
    95% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes tailWag {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(10deg); }
}

/* Success Scene */
.success-scene {
    background: radial-gradient(circle at center, rgba(42, 42, 42, 0.9) 0%, rgba(0, 0, 0, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-checkmark {
    font-size: 8em;
    color: #4CAF50;
    animation: checkmarkPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-message {
    color: #4CAF50;
}

@keyframes checkmarkPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Error Scene */
.error-scene {
    background: repeating-conic-gradient(rgba(37, 37, 37, 0.9) 0 15deg, rgba(32, 32, 32, 0.9) 15deg 30deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-mark {
    font-size: 8em;
    color: #e74c3c;
    animation: errorShake 0.6s cubic-bezier(.36,.07,.19,.97) both;
}

.error-message {
    color: #e74c3c;
}

@keyframes errorShake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-10px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(10px);
    }
}

/* Terms Acceptance Section */
.terms-acceptance-container {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 25px;
    margin-top: 30px;
}

.terms-checkbox-group {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.terms-checkbox-group:hover {
    border-color: #2c5f2d;
    box-shadow: 0 2px 8px rgba(44, 95, 45, 0.1);
}

.terms-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    margin: 0;
}

.terms-checkbox {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #2c5f2d;
}

.checkbox-text {
    flex: 1;
    line-height: 1.6;
    color: #333; /* Kept dark because background is light (rgba 0.9) */
    font-size: 0.95em;
}

.terms-link {
    color: #2c5f2d;
    font-weight: 600;
    text-decoration: underline;
}

.terms-link:hover {
    color: #4a7c59;
    text-decoration: none;
}