* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.card {
    background: #ffffff;
    backdrop-filter: none;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
    border: 1px solid #e0e0e0;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    grid-column: 1 / -1;
}

.header h1 {
    font-size: 3em;
    color: #222222;
    background: none;
    margin-bottom: 15px;
}

.header p {
    font-size: 1.2em;
    color: #666666;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: bold;
    color: #222222;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: #fafafa;
    color: #222222;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #333333;
    box-shadow: 0 0 0 2px #cccccc;
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.generate-btn {
    width: 100%;
    background: #333333;
    color: #ffffff;
    border: none;
    padding: 18px 30px;
    border-radius: 15px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.generate-btn:hover {
    background: #555555;
    box-shadow: 0 8px 20px rgba(0,0,0,0.10);
}

.generate-btn:active {
    transform: translateY(-1px);
}

.qr-section {
    text-align: center;
}

.qr-section h2 {
    color: #222222;
    margin-bottom: 30px;
    font-size: 2em;
}

.qr-container {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    border: 2px solid #e0e0e0;
}

#qrcode {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    border: 2px dashed #cccccc;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999999;
    font-size: 1.1em;
    margin: 0 auto 20px;
}

.generated-link {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0;
    word-break: break-all;
    font-family: monospace;
    font-size: 0.9em;
    color: #333333;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #333333;
    color: #ffffff;
}

.btn:hover {
    background: #555555;
    box-shadow: 0 4px 12px rgba(0,0,0,0.10);
}

.btn-primary, .btn-success, .btn-info {
    background: #333333;
    color: #ffffff;
}

.preview-card {
    background: #fafafa;
    color: #222222;
    border-radius: 20px;
    padding: 30px;
    margin-top: 30px;
    text-align: left;
}

.preview-card h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    text-align: center;
}

.preview-info {
    display: grid;
    gap: 12px;
}

.preview-info div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.preview-info div:last-child {
    border-bottom: none;
}

.preview-info span:first-child {
    font-weight: bold;
    min-width: 80px;
}

.emoji {
    font-size: 1.2em;
    min-width: 25px;
}

.success-message {
    background: #e0e0e0;
    color: #222222;
    border: 1px solid #cccccc;
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0;
    display: none;
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card {
        padding: 25px;
    }
    
    .header h1 {
        font-size: 2.2em;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
}

.example-section {
    background: #f5f5f5;
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
    color: #222222;
    text-align: center;
}

.example-section h3 {
    margin-bottom: 15px;
    font-size: 1.5em;
}

.example-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.example-item {
    background: #fafafa;
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
}

.example-item:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}