/* style_kd82mxp1a.css | coffeedoge | All visual styles for the Dogecoin widget generator UI. */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: #fff;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeIn 0.8s ease;
}

.header h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.3);
}

.header p {
    font-size: 1.2em;
    opacity: 0.95;
}

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

.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    color: #333;
    animation: slideUp 0.8s ease;
}

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

label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #555;
}

input[type="text"] {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1em;
    transition: border 0.3s;
}

input[type="text"]:focus {
    outline: none;
    border-color: #667eea;
}

.btn {
    background: linear-gradient(135deg, #ffcc00 0%, #ff9500 100%);
    color: #000;
    border: none;
    padding: 18px 40px;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    width: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 5px 20px rgba(255, 204, 0, 0.4);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 204, 0, 0.6);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.result {
    display: none;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
}

.result.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

.qr-display {
    text-align: center;
    margin: 30px 0;
}

.qr-display img {
    max-width: 300px;
    border: 8px solid #f0f0f0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.address-box {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    word-break: break-all;
    border-left: 4px solid #667eea;
}

.wif-box {
    background: #fff3cd;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid #ff9500;
}

.warning {
    color: #dc3545;
    font-weight: bold;
}

.copy-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    margin: 5px;
    font-size: 0.9em;
    transition: background 0.2s;
}

.copy-btn:hover {
    background: #5568d3;
}

.embed-code {
    background: #2d2d2d;
    color: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 0.85em;
    overflow-x: auto;
    margin: 20px 0;
    white-space: pre-wrap;
    word-break: break-all;
}

.preview {
    background: #0f0f23;
    padding: 30px;
    border-radius: 15px;
    margin: 20px 0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.section-title {
    font-size: 1.5em;
    margin: 30px 0 15px;
    color: #667eea;
}

.about-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    z-index: 1000;
}

.about-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    padding: 20px;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 700px;
    width: 100%;
    color: #333;
    position: relative;
    animation: slideUp 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f0f0f0;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5em;
    line-height: 1;
    transition: background 0.2s;
}

.modal-close:hover {
    background: #e0e0e0;
}

.modal-content h2 {
    color: #667eea;
    margin-bottom: 20px;
}

.modal-content h3 {
    color: #764ba2;
    margin-top: 25px;
    margin-bottom: 10px;
}

.modal-content p, .modal-content ul {
    line-height: 1.6;
    margin-bottom: 15px;
}

.modal-content ul {
    padding-left: 25px;
}

.modal-content li {
    margin-bottom: 8px;
}

.security-badge {
    background: #d4edda;
    border-left: 4px solid #28a745;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.warning-badge {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}
