.create-page {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.top-nav {
    background: white;
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-nav .container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.back-btn {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
}

.top-nav h1 {
    font-size: 1.5rem;
}

.step-section {
    padding: 3rem 0;
}

.step-section.hidden {
    display: none;
}

.step-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.upload-options {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 3rem 0;
}

.upload-btn {
    padding: 2rem 3rem;
    font-size: 1.5rem;
    font-weight: 700;
    background: white;
    border: 3px dashed var(--primary);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
}

.image-preview {
    max-width: 600px;
    margin: 2rem auto;
    min-height: 400px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.image-preview img {
    max-width: 100%;
    max-height: 600px;
}

.placeholder {
    color: #999;
    font-size: 1.2rem;
}

.editor-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.canvas-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

#memeCanvas {
    width: 100%;
    display: block;
    border-radius: 10px;
}

.controls-panel {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.control-group {
    margin-bottom: 1.5rem;
}

.control-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.control-group input[type="text"],
.control-group select {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: 'Heebo', sans-serif;
}

.control-group input[type="range"] {
    width: 100%;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 0.5rem;
}

.btn-large {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.3rem;
    margin-top: 2rem;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    max-width: 480px;
    margin: 0 1rem;
}

.modal-content h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.modal-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 0.5rem;
}

.modal-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.modal-actions .btn {
    flex: 1 1 auto;
    min-width: 120px;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 2rem 1.5rem;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
    }
    
    .modal-subtitle {
        font-size: 0.9rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions .btn {
        width: 100%;
    }
}

@media (max-width: 968px) {
    .editor-layout {
        grid-template-columns: 1fr;
    }
    .upload-options {
        flex-direction: column;
    }
}
