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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 32px;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    max-width: 600px;
    width: 100%;
    backdrop-filter: blur(10px);
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 32px;
}

.back-link {
    display: inline-block;
    margin-bottom: 16px;
    color: #6c757d;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.back-link:hover {
    color: #f7931a;
}

.header h1 {
    color: #1a1a2e;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-top: 8px;
}

.header .subtitle {
    color: #6c757d;
    font-size: 14px;
    margin-top: 8px;
    line-height: 1.5;
}

.header .bitcoin-symbol {
    color: #f7931a;
    font-size: 48px;
    font-weight: bold;
    text-shadow: 0 2px 8px rgba(247, 147, 26, 0.3);
}

/* Tutorial Grid */
.tutorials-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tutorial-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #e9ecef;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.tutorial-card:hover {
    border-color: #f7931a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.tutorial-card:hover .tutorial-arrow {
    transform: translateX(4px);
    color: #f7931a;
}

.tutorial-icon {
    flex-shrink: 0;
}

.wallet-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    font-size: 28px;
    font-weight: 700;
}

.blockstream-icon {
    background: linear-gradient(135deg, #00b894 0%, #009d7d 100%);
    color: white;
}

.aqua-icon {
    background: linear-gradient(135deg, #00cec9 0%, #0984e3 100%);
}

.bull-icon {
    background: linear-gradient(135deg, #ff6b35 0%, #e55100 100%);
}

.tutorial-card h2 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.tutorial-card p {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.4;
}

.tutorial-arrow {
    margin-left: auto;
    font-size: 24px;
    color: #adb5bd;
    transition: all 0.2s;
    flex-shrink: 0;
}

/* Footer */
.docs-footer {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.docs-footer p {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.6;
}

/* Tutorial Page Specific Styles */
.tutorial-content {
    line-height: 1.7;
}

.tutorial-content h2 {
    font-size: 20px;
    color: #1a1a2e;
    margin: 24px 0 12px 0;
    font-weight: 600;
}

.tutorial-content h2:first-child {
    margin-top: 0;
}

.tutorial-content p {
    margin-bottom: 16px;
    color: #495057;
}

.tutorial-content ol,
.tutorial-content ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.tutorial-content li {
    margin-bottom: 12px;
    color: #495057;
}

.tutorial-content code {
    background: #f1f3f4;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #1a1a2e;
}

.tutorial-content .note {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    border: 2px solid #f7931a;
    border-radius: 12px;
    padding: 16px;
    margin: 20px 0;
}

.tutorial-content .note-title {
    font-weight: 600;
    color: #b45309;
    margin-bottom: 8px;
}

.tutorial-content .note p {
    margin-bottom: 0;
    color: #92400e;
    font-size: 14px;
}

.tutorial-content .warning {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    border: 2px solid #fc8181;
    border-radius: 12px;
    padding: 16px;
    margin: 20px 0;
}

.tutorial-content .warning-title {
    font-weight: 600;
    color: #c53030;
    margin-bottom: 8px;
}

.tutorial-content .warning p {
    margin-bottom: 0;
    color: #9b2c2c;
    font-size: 14px;
}

.placeholder-message {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
    border-radius: 16px;
    margin: 20px 0;
}

.placeholder-message .icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.placeholder-message h3 {
    color: #1a1a2e;
    font-size: 18px;
    margin-bottom: 8px;
}

.placeholder-message p {
    color: #6c757d;
    font-size: 14px;
}

/* Screenshot Gallery */
.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.screenshot-item {
    position: relative;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s;
}

.screenshot-item:hover {
    border-color: #f7931a;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

.step-number {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #f7931a 0%, #e8830f 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(247, 147, 26, 0.4);
}

/* Mobile responsive */
@media (max-width: 480px) {
    body {
        padding: 12px;
    }

    .container {
        padding: 20px;
        border-radius: 20px;
    }

    .tutorial-card {
        padding: 16px;
    }

    .wallet-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .tutorial-card h2 {
        font-size: 16px;
    }

    .tutorial-card p {
        font-size: 13px;
    }

    .screenshot-gallery {
        grid-template-columns: 1fr;
    }

    .step-number {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
}